Auto-commit of loaddefs files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0ff7851c
MR
12012-11-16 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (enlarge-window, shrink-window): Don't mention return
4 value in doc-string (Bug#12896).
5 (window--display-buffer): Don't resize frames - it won't work
6 with all window managers and defeat pop-up-frame-alist.
7 (display-buffer-alist): In doc-string explain that CONDITION can
8 be a function and which arguments are passed to it (Bug#12854).
9 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
10 expressions (Bug#12854).
11 (display-buffer): Pass ACTION argument to
12 display-buffer-assq-regexp.
13
dedd1884
GM
142012-11-16 Glenn Morris <rgm@gnu.org>
15
7c82753d
GM
16 * window.el (fit-frame-to-buffer-bottom-margin)
17 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
18
dedd1884
GM
19 * faces.el (face-underline-p): Use face-attribute-specified-or.
20
662b0ee6
JB
212012-11-15 Juanma Barranquero <lekktu@gmail.com>
22
23 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
24
eb31fa40
SM
252012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
28
e2e13f18
GM
292012-11-15 Glenn Morris <rgm@gnu.org>
30
17c083ac
GM
31 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
32 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
33
bde3c6c0
GM
34 * faces.el (face-underline-p): Doc fix. Handle :underline being
35 things other than `t' (a string, a list).
36 (face-inverse-video-p): Doc fix.
37 (set-face-underline): Rename it back from set-face-underline-p.
38 Doc fix. Allow interactive input of values other than t.
39 (read-face-attribute): Apply formatting to :underline,
40 since like :box and :stipple it can take list values.
41
e2e13f18
GM
42 * term.el (ansi-term): Don't let C-x escape-char binding
43 clobber the more standard C-c binding. (Bug#12842)
44
3a514ab0
SM
452012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
48 (bug#12879).
49
e0ea8060
GM
502012-11-14 Glenn Morris <rgm@gnu.org>
51
52 * subr.el (set-temporary-overlay-map): Doc fix.
53
92346275
MR
542012-11-13 Martin Rudalics <rudalics@gmx.at>
55
56 * window.el (record-window-buffer)
57 (display-buffer-record-window): When copying the markers to
58 window-point preserve window-point-insertion-type. (Bug#12588)
59
7b1bf173
GM
602012-11-13 Glenn Morris <rgm@gnu.org>
61
62 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
63 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
64 Use new names for hooks rather than obsolete aliases.
65
f8705f6e
SM
662012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
69
9db94175
WJ
702012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
71
72 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
73 39 and 49. This fixes bug#12792. Also, treat unimplemented
74 parameters as 0, thereby restoring the behavior of revisions prior
75 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
76
2e6625b5
FEG
772012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
78
79 Fix end-of-defun misbehavior.
80 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
81 python-beginning-of-defun-function. Handle nested defuns
82 correctly.
83 (python-nav-end-of-defun): Rename from
84 python-end-of-defun-function. Ensure forward movement.
f8705f6e 85 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
86 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
87 parent defuns as soon as possible.
88
24c38527
GM
892012-11-12 Glenn Morris <rgm@gnu.org>
90
91 * progmodes/flymake.el (flymake-error-bitmap)
92 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
93 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
94
d1e1e53d
DG
952012-11-12 Dmitry Gutov <dgutov@yandex.ru>
96
97 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
98 backward, always stop at indentation. Reverts the change from
99 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
100
68146aa5
GM
1012012-11-11 Glenn Morris <rgm@gnu.org>
102
a1d3e07e
GM
103 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
104 Add ibuffer-filter-by-derived-mode.
105
84acf328
GM
106 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
107 the same name shadowing each other.
108
38785e75
GM
109 * window.el (with-temp-buffer-window): Doc tweak.
110
57fc0fee
GM
111 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
112
6ba6a3e5
GM
113 * help.el (temp-buffer-max-height):
114 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
115 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
116
e4e46889
LL
1172012-11-10 Leo Liu <sdl.web@gmail.com>
118
119 * ido.el (ido-set-matches-1): Fix split-string args to avoid
120 performance issue. (Bug#12796)
121
19e09879
GM
1222012-11-10 Glenn Morris <rgm@gnu.org>
123
bf67dafa
GM
124 * term.el (term-default-fg-color, term-default-bg-color):
125 Make obsolete, rather than just saying "deprecated" in the doc.
126
19e09879
GM
127 * term.el (term): Rename from `term-face'.
128 (term-current-face, ansi-term-color-vector)
129 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
130 Update all users.
131
d743088d
JD
1322012-11-09 Jan Djärv <jan.h.d@swipnet.se>
133
f8705f6e 134 * server.el (server-create-window-system-frame): Improve comment.
d743088d 135
531bdce6
JD
1362012-11-08 Jan Djärv <jan.h.d@swipnet.se>
137
138 * server.el (server-create-window-system-frame): Handle Nextstep
139 specially (Bug#12780).
140
fedb154e
GM
1412012-11-08 Glenn Morris <rgm@gnu.org>
142
143 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
144 Unautoload, and make obsolete. (Bug#7449)
145
9d9e48d9
CY
1462012-11-08 Chong Yidong <cyd@gnu.org>
147
148 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
149 rename from diff-remove-trailing-whitespace (Bug#12831).
150
32170f7f
SM
1512012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
154 miscompilation of trace.el.
155
26f59676
GM
1562012-11-08 Glenn Morris <rgm@gnu.org>
157
158 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
159
41626722
SM
1602012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
163 (bug#12812).
164
7d806bfe
CY
1652012-11-07 Chong Yidong <cyd@gnu.org>
166
167 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
168 a defcustom with an appropriate :set function.
169 (minibuffer-default--in-prompt-regexps): New function.
170
2ee1d59f
GM
1712012-11-07 Glenn Morris <rgm@gnu.org>
172
031b2ea7
GM
173 * emacs-lisp/cl.el (define-setf-expander, defsetf)
174 (define-modify-macro): Doc fixes.
175
2ee1d59f
GM
176 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
177 (gv-define-simple-setter): Update doc of `fix-return'.
178
d57c286e
SM
1792012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
180
b715ed44
SM
181 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
182 twice when `fix-return' is set (bug#12813).
183
d57c286e
SM
184 * emacs-lisp/cl.el (defsetf): Pass the third arg to
185 gv-define-simple-setter (bug#12812).
186
c9cac599
SM
1872012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
190 (bug#12756).
191
6b3770fb
GM
1922012-11-06 Glenn Morris <rgm@gnu.org>
193
194 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
195
5593ed90
GM
1962012-11-05 Glenn Morris <rgm@gnu.org>
197
198 * emacs-lisp/cl-extra.el (cl-prettyexpand):
199 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
200 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
201 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
202
203 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
204
5c677d44
GM
2052012-11-03 Glenn Morris <rgm@gnu.org>
206
49138400
GM
207 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
208 Rename handler properties back from cl-- to cl-. (Bug#12788)
209
5c677d44
GM
210 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
211
1d4341f9
EZ
2122012-11-03 Eli Zaretskii <eliz@gnu.org>
213
214 * term/pc-win.el: Don't load term/internal from here.
215
216 * loadup.el: Load term/internal from here.
217
12fd5ee1
FEG
2182012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
219
220 * progmodes/python.el (inferior-python-mode): Fix hang in
221 jit-lock (Bug#12645).
222
43bcfda6
MR
2232012-11-03 Martin Rudalics <rudalics@gmx.at>
224
225 * window.el (switch-to-visible-buffer)
226 (switch-to-buffer-preserve-window-point): Fix doc-strings.
227
b4b096e4
SB
2282012-11-01 Stephen Berman <stephen.berman@gmx.net>
229
230 * play/gomoku.el (gomoku-display-statistics): Update mode line
231 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
232
218e997a
MR
2332012-10-31 Martin Rudalics <rudalics@gmx.at>
234
235 * window.el (quit-restore-window): If the window has been
236 created on an existing frame and ended up as the sole window on
237 that frame, do not delete it (Bug#12764).
238
b08b6da7
SM
2392012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
240
3618df45
SM
241 * progmodes/sh-script.el (sh--inside-noncommand-expression):
242 Rename from sh--inside-arithmetic-expression, handle more cases
243 (bug#11263).
244
b08b6da7
SM
245 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
246 (sh-font-lock-open-heredoc): Use it (bug#12770).
247
4ddedf94
GM
2482012-10-30 Glenn Morris <rgm@gnu.org>
249
f43a5263
GM
250 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
251
4ddedf94
GM
252 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
253
748b0d84
CY
2542012-10-29 Chong Yidong <cyd@gnu.org>
255
b5dd9a77
CY
256 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
257 function key is stored in a keyboard macro (Bug#4894).
258
748b0d84
CY
259 * thingatpt.el (number-at-point): Apply a thing-at-point property.
260
e07fcbdc
SM
2612012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
262
d7f9cc85
SM
263 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
264 header comments".
265 (diff-unified->context, diff-context->unified)
266 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
267
c606253c
SM
268 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
269
e07fcbdc
SM
270 * files.el (find-alternate-file): Only ask one question (bug#12487).
271
894b9dd9
CY
2722012-10-29 Chong Yidong <cyd@gnu.org>
273
1dc2755a
CY
274 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
275 Suggested by Dan Nicolaescu (Bug#6326).
276
329c48d8
CY
277 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
278
2230fa5b 279 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 280
e84cad57
CY
281 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
282
1913c5f5
CY
283 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
284
894b9dd9
CY
285 * face-remap.el (face-remap-add-relative): Handle the case where a
286 face-remapping-alist entry is a cons cell (Bug#12762).
287
329c48d8
CY
2882012-10-29 Kevin Ryde <user42@zip.com.au>
289
290 * woman.el (woman-parse-numeric-value): Handle picas correctly
291 (Bug#12639).
292
a0ccbcbd
GM
2932012-10-29 Glenn Morris <rgm@gnu.org>
294
295 * emacs-lisp/cl.el (defsetf): Doc fix.
296
b3871e59
SM
2972012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
300 syntax to the matching opener, if any (bug#12547).
301 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
302 matching open as a "case-(".
303 (sh-smie-rc-grammar): Add a corresponding rule for it.
304
cd44022c
DH
3052012-10-28 Daniel Hackney <dan@haxney.org>
306
307 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
308 "PKGNAME-autoloads.el" in case we created it.
309
70edffb1
SM
3102012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
311
86957a0c
SM
312 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
313 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 314 (completion--twq-all): Disable too-strict assertions.
86957a0c 315
70edffb1
SM
316 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
317
d069271c
EZ
3182012-10-27 Eli Zaretskii <eliz@gnu.org>
319
320 * profiler.el (profiler-report-make-entry-part): Fix help-echo
321 text to match the real keybindings.
322
e2f022a3
JL
3232012-10-27 Juri Linkov <juri@jurta.org>
324
325 * wdired.el (wdired-keep-marker-rename): New defcustom.
326 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
327 (Bug#11795)
328
329 * dired.el (dired-keep-marker-rename): Add reference to
330 `wdired-keep-marker-rename' in the docstring.
331 Add default character value ?R to display initially in
332 Customization UI instead of ?@.
333
df171c23
MR
3342012-10-27 Martin Rudalics <rudalics@gmx.at>
335
336 * window.el (display-buffer): In doc-string describe
337 window-height and window-width alist entries.
338
339 * time.el (display-time-world): Restore fit-window-to-buffer
340 behavior.
341
05b621a6
CY
3422012-10-27 Chong Yidong <cyd@gnu.org>
343
344 * subr.el (insert-buffer-substring-as-yank): Doc fix.
345
55f197b2
J
3462012-10-26 Jambunathan K <kjambunathan@gmail.com>
347
348 * minibuffer.el (completion-category-overrides): New completion
349 category `bookmark' (bug#11131).
350
372212df
SM
3512012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
352
150f809c
SM
353 * emacs-lisp/advice.el (ad-assemble-advised-definition):
354 Silence bogus compiler warnings for ad-do-it.
355
372212df
SM
356 * bookmark.el (bookmark-completing-read): Set the completion category
357 to `bookmark' (bug#11131).
358
c5772569
B
3592012-10-26 Bastien <bzg@altern.org>
360 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * face-remap.el: Use lexical-binding.
363 (text-scale-adjust): Improve docstring. Use itself for the temporary
364 overlay-map bindings, so as to repeat the "Use..." message each time.
365
a2be0357
SM
3662012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
367
63314e57
SM
368 * emacs-lisp/macroexp.el (macroexp--expand-all):
369 Obey byte-compile-warning-enabled-p (bug#12486).
370
a2be0357
SM
371 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
372 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
373
8c7727c3
MR
3742012-10-26 Martin Rudalics <rudalics@gmx.at>
375
376 * mouse.el (mouse-drag-line): Move last form into preceding when
377 clause (Bug#12731).
378
379 * help.el (resize-temp-buffer-window): Fix doc-string.
380
3f2a848d
DE
3812012-10-25 David Engster <deng@randomsample.de>
382
383 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 384 Remove. This feature is already integrated in imenu.
3f2a848d
DE
385
386 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
387 always loaded. Require `speedbar' unconditionally.
388
a7723be6
SM
3892012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
390
aaabfc8b
SM
391 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
392
414a8595
SM
393 * minibuffer.el (minibuffer-force-complete): Fix thinko.
394
fb5b9475
SM
395 * net/ldap.el (ldap-search-internal): The official ldif format starts
396 with a "version: 1" header (bug#12724).
397
a7723be6
SM
398 * emacs-lisp/package.el (package-installed-p): Warn if not ready
399 (bug#12721).
400
a05cb6e3
GM
4012012-10-25 Glenn Morris <rgm@gnu.org>
402
403 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
404
3c92de70
SM
4052012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
406
407 * minibuffer.el (minibuffer-force-complete): Use one more marker
408 for the temporary-overlay-map command (bug#12619).
409
a4b6d7c6
CY
4102012-10-24 Chong Yidong <cyd@gnu.org>
411
412 * time.el (display-time-world-mode): Derive from special-mode.
413 (display-time-world): Use display-buffer (Bug#12708).
414 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
415 (display-time-world-display): Wrap the final delete-char inside
416 inhibit-read-only.
a4b6d7c6 417
75e8f9d2
CY
4182012-10-24 Chong Yidong <cyd@gnu.org>
419
cd996018
CY
420 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
421 Doc fix.
422
75e8f9d2
CY
423 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
424
d92df117
SM
4252012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * minibuffer.el (completion--all-sorted-completions-location): New var.
428 (completion--cache-all-sorted-completions)
429 (completion--flush-all-sorted-completions): Use it.
430 (completion-in-region, completion-in-region--postch)
431 (completion-at-point, completion-help-at-point): Use markers in
432 completion-in-region--data (bug#12619).
433
9c3e39f3
SM
4342012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
435
c79825bd
SM
436 * progmodes/compile.el (compilation-start): Try to handle common
437 quoting of `cd' argument (bug#12640).
438
9c3e39f3
SM
439 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
440 (bug#12671).
441
a6709bc7
GM
4422012-10-23 Glenn Morris <rgm@gnu.org>
443
444 * progmodes/gud.el (gud-menu-map):
445 Check gdb-active-process is bound. (Bug#12358)
446
d1069532
SM
4472012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
448
d20d69c0
SM
449 * repeat.el (repeat): Set real-this-command (bug#12232).
450
d1069532
SM
451 * htmlfontify.el (hfy-post-html-hook):
452 * filesets.el (filesets-cache-fill-content-hook):
453 * arc-mode.el (archive-extract-hook):
454 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
455 * net/rcirc.el (rcirc-sentinel-functions)
456 (rcirc-receive-message-functions, rcirc-activity-functions)
457 (rcirc-print-functions):
458 * net/dbus.el (dbus-event-error-functions):
459 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
460 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
461 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
462 * term/sun.el (sun-raw-prefix-hooks):
463 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
464
f7eac6d8
MA
4652012-10-23 Michael Albinus <michael.albinus@gmx.de>
466
d1069532
SM
467 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
468 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
469 (tramp-smb-wait-for-output): Add timeout to
470 `tramp-accept-process-output' calls.
471
608d9d7c
CY
4722012-10-23 Chong Yidong <cyd@gnu.org>
473
49238e7f
CY
474 * faces.el (font-list-limit): Define as an obsolete variable.
475
476 * startup.el (command-line):
477 * cus-start.el: Don't refer to font-list-limit.
478
608d9d7c
CY
479 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
480
4ff5b1b2
SM
4812012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 * subr.el (internal-temp-output-buffer-show): Rename from
484 temp-output-buffer-show, since previously compiled files expect this name.
485
ea1d4aac
GM
4862012-10-23 Glenn Morris <rgm@gnu.org>
487
488 * image.el (image-type-from-file-name): If multiple types match,
489 return the first one that is supported. (Bug#9045)
490
eda82a31
GM
4912012-10-22 Glenn Morris <rgm@gnu.org>
492
493 * image.el (imagemagick-enabled-types): Doc fix.
494
4f020bec
TA
4952012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
496
497 * progmodes/which-func.el (which-func-current): The hash-table may have
498 an explicit nil (bug#12338).
499
c77d37e2
SM
5002012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * electric.el (electric-pair-delete-selection-self-insert-function):
503 Rename to electric-pair-will-use-region, return a boolean.
504 (electric-pair-mode): Adjust accordingly. Don't require delsel.
505
506 * delsel.el (delete-selection-helper): Use a function instead of a hook.
507 (delete-selection-pre-hook): Use use-region-p.
508 (delete-selection-self-insert-function): Remove.
509 (self-insert-command): Obey self-insert-uses-region-functions.
510 (self-insert-iso): Revert to previous setting, since we don't actually
511 know what that command does.
512 (delete-selection-self-insert-hooks): Remove.
513
b1d39ccc
SL
5142012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
515
516 * delsel.el (delete-selection-helper): New function, extracted from
517 delete-selection-pre-hook.
518 (delete-selection-pre-hook): Use it.
519 (delete-selection-self-insert-function): New function.
520 (delete-selection-self-insert-hooks): New hook.
521 (self-insert-command, self-insert-iso): Use it.
522 * electric.el (electric-pair-syntax): New function, extracted from
523 electric-pair-post-self-insert-function.
524 (electric-pair-post-self-insert-function): Use it.
525 (electric-pair-delete-selection-self-insert-function): New function.
526 (electric-pair-mode): Require delsel and setup
527 delete-selection-self-insert-hooks (bug#11520).
528
045ef729
CY
5292012-10-20 Chong Yidong <cyd@gnu.org>
530
4c5d08a8
CY
531 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
532 no changes to show (Bug#12586).
533
045ef729
CY
534 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
535 list explicitly (Bug#12571).
536
3503c798 5372012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 538
b1d39ccc
SL
539 * progmodes/flymake.el (flymake-create-temp-inplace):
540 Use file-truename.
79e1997a 541
2068905b
EZ
5422012-10-20 Eli Zaretskii <eliz@gnu.org>
543
544 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
545
4c9e9550
JB
5462012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
547
548 * calc/calc-units.el (math-extract-units): Properly extract powers
549 of units.
550
1a6e7e38
DC
5512012-10-20 Daniel Colascione <dancol@dancol.org>
552
553 * frame.el (make-frame): Set x-display-name as we used to in order
554 to unbreak creating an X11 frame from an Emacs daemon started
555 without a display.
556
8e808318
SM
5572012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
558
559 * minibuffer.el (minibuffer-force-complete): Make the next completion use
560 the same completion-field (bug@12221).
561
fb0104da
MR
5622012-10-19 Martin Rudalics <rudalics@gmx.at>
563
564 * emacs-lisp/debug.el (debug): Record height of debugger window
565 also when debugger will be back (Bug#8789).
566
8c27235e
CY
5672012-10-18 Chong Yidong <cyd@gnu.org>
568
569 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
570 Convert to defcustom.
571 (gdb-get-source-file): Don't bind pop-up-windows.
572
573 * progmodes/gud.el (gud-display-line): Don't specially re-use
574 other frames for the gdb-mi case (Bug#12648).
575
90eacf99
SM
5762012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
577
aaf0c300
SM
578 * emacs-lisp/advice.el: Clean up commentary a bit.
579 (ad-do-advised-functions, ad-with-originals): Use `declare'.
580 (byte-code-function-p): Never redefine.
581
90eacf99
SM
582 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
583
281c9d2b
GM
5842012-10-18 Glenn Morris <rgm@gnu.org>
585
40714e3d
GM
586 * dired.el (dired-sort-toggle): Some ls implementations only allow
587 a single option string. (Bug#12666)
588
281c9d2b
GM
589 * minibuffer.el (completion-cycle-threshold): Doc fix.
590
b278604e
KH
5912012-10-17 Kenichi Handa <handa@gnu.org>
592
90eacf99
SM
593 * international/mule.el (set-keyboard-coding-system):
594 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
595 Supply TERMINAL arg to set-input-meta-mode.
596
df171c23 5972012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
598
599 * wdired.el (wdired-old-marks): New variable.
600 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
601 (wdired-do-renames): Move point with renamed file and don't lose
602 mark status (Bug#11795).
603
e5a94ec4
JL
6042012-10-16 Juri Linkov <juri@jurta.org>
605
606 * replace.el (query-replace-help): Mention multi-buffer replacement
607 keys in the Help message. (Bug#12655)
608
d18a0d24
CY
6092012-10-15 Chong Yidong <cyd@gnu.org>
610
611 * emacs-lisp/byte-run.el (defsubst): Doc fix.
612
8111f5e6
EZ
6132012-10-14 Eli Zaretskii <eliz@gnu.org>
614
7b9abf24
EZ
615 * window.el (display-buffer): Doc fix.
616
8111f5e6
EZ
617 * progmodes/compile.el (compilation-error-regexp-alist-alist):
618 Adjust the msft regexp to the output of Studio 2010, and move msft
619 before edg-1. See the discussion on emacs-devel,
620 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
621 for the details.
622
5046ef67
SM
6232012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
624
9760c73c
SM
625 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
626 (oset): Move uses of object-class-fast macro after its definition.
627
5046ef67
SM
628 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
629
0d11ff1c
CY
6302012-10-13 Chong Yidong <cyd@gnu.org>
631
632 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
633 enabled, re-enable it (Bug#11963).
634
88ded8ac
MR
6352012-10-13 Martin Rudalics <rudalics@gmx.at>
636
637 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
638 non-nil, restore window configuration (Bug#12623).
639
bd0ffffd
SM
6402012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
641
06485aa8
SM
642 * help-fns.el (describe-variable, describe-function-1):
643 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
644
bd0ffffd
SM
645 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
646
3a989246
GM
6472012-10-12 Glenn Morris <rgm@gnu.org>
648
649 * mail/rmailsum.el (rmail-header-summary):
650 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
651
55cd00c8
FEG
6522012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
653
bd0ffffd
SM
654 * progmodes/python.el (python-mode-map):
655 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
656 (python-nav--up-list): Fix behavior for blocks on the same level.
657
ac9fc2c7
SM
6582012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
659
d8cc4c00 660 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 661
5253a5fd
SM
662 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
663 changes to the format of load-history.
664
ac9fc2c7
SM
665 * international/mule-cmds.el (read-char-by-name): Move let-binding of
666 completion-ignore-case in case that var is buffer-local (bug#12615).
667
cde44a77
KH
6682012-10-11 Kenichi Handa <handa@gnu.org>
669
670 * international/eucjp-ms.el: Re-generated.
671
4ef4a10d
KH
6722012-10-10 Kenichi Handa <handa@gnu.org>
673
674 * select.el (xselect--encode-string): If a coding is specified for
675 selection, and that is compatible with COMPOUND_TEXT, use it.
676
9d7f027b
MR
6772012-10-10 Martin Rudalics <rudalics@gmx.at>
678
679 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
680 (switch-to-buffer):
681 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 682
238f3a58
SM
6832012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
686 Don't document nil as a useful value (bug#12583).
687
1d51f99c
MA
6882012-10-09 Michael Albinus <michael.albinus@gmx.de>
689
238f3a58
SM
690 * net/tramp.el (tramp-debug-message):
691 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
692 (with-tramp-progress-reporter): Rename from
693 `tramp-with-progress-reporter'.
238f3a58
SM
694 (with-tramp-file-property, with-tramp-connection-property):
695 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
696 `with-connection-property', respectively.
697
698 * net/tramp-cache.el: Remove `with-file-property' and
699 `with-connection-property'.
700
701 * net/tramp.el:
702 * net/tramp-gvfs.el:
703 * net/tramp-sh.el:
704 * net/tramp-smb.el: Adapt callees.
705
706 * net/trampver.el: Update release number.
707
26b77251
GM
7082012-10-09 Glenn Morris <rgm@gnu.org>
709
9a5f296f
GM
710 * w32-fns.el (set-message-beep):
711 * term/w32-win.el (set-message-beep): Update declarations.
712
94c66ce5
SM
7132012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
714
10766e9e
SM
715 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
716 (mode-line-widen, mode-line-input-method-map)
717 (mode-line-coding-system-map, mode-line-remote)
718 (mode-line-unbury-buffer, mode-line-bury-buffer)
719 (mode-line-next-buffer, mode-line-previous-buffer):
720 Replace save-selected-window+select-window => with-selected-window.
721
f754db08
SM
722 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
723 * progmodes/cc-vars.el (bq-process): Remove, unused.
724
94c66ce5
SM
725 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
726
a4ff7fe1
FEG
7272012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
728
729 Implemented `backward-up-list'-like navigation.
730 * progmodes/python.el (python-nav-up-list)
731 (python-nav-backward-up-list): New functions.
732 (python-mode-map): Define substitute key for backward-up-list to
733 python-nav-backward-up-list.
734
24517d82
FEG
7352012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
736
737 * progmodes/python.el (python-fill-paragraph): Rename from
738 python-fill-paragraph-function. Fixed fill-paragraph for
739 decorators (Bug#12605).
740
51867ae2
FEG
7412012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
742
743 * progmodes/python.el (python-shell-output-filter): Handle extra
744 carriage return in OSX (Bug#12409).
745
a5b773c4
FEG
7462012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
747
748 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 749 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
750 (python-syntax-propertize-function): Use it.
751 (python-shell-output-syntax-table): New var.
752 (inferior-python-mode): Prevent unbalanced parens/quotes from
753 previous output mess with current input context.
754
13373538
JB
7552012-10-08 Juanma Barranquero <lekktu@gmail.com>
756
757 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
758 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
759
775a132d
MA
7602012-10-08 Michael Albinus <michael.albinus@gmx.de>
761
762 * ffap.el (ffap-replace-file-component): Support Tramp file name
763 syntax, not only ange-ftp's one.
764
3ab44929
GM
7652012-10-08 Glenn Morris <rgm@gnu.org>
766
57f1dee4
GM
767 * cus-start.el (message-log-max): Set :version.
768
3ab44929
GM
769 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
770
6a088630
MR
7712012-10-08 Martin Rudalics <rudalics@gmx.at>
772
773 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
774 the minibuffer window (Bug#10851).
775
8dbce54c
FEG
7762012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
777
778 Enhancements on forward-sexp movement.
779 * progmodes/python.el (python-nav-beginning-of-statement)
780 (python-nav-end-of-statement): Return point-marker.
781 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
782 (python-info-current-symbol)
783 (python-info-statement-starts-block-p): Rename from
784 python-info-beginning-of-block-p.
785 (python-info-statement-ends-block-p): Rename from
786 python-info-end-of-block-p.
787 (python-info-beginning-of-statement-p)
788 (python-info-end-of-statement-p)
789 (python-info-beginning-of-block-p, python-info-end-of-block-p):
790 New functions.
791
5acd2b3e
SM
7922012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
795 frame-selected-windows.
796
e08348a0
DC
7972012-10-08 Daniel Colascione <dancol@dancol.org>
798
799 * battery.el (battery-status-function): Check for
800 w32-battery-status itself, not system-time windows-nt.
801
802 * frame.el: Require cl-lib.
803 (display-format-alist): New variable mapping frame types to
804 functions that initialize them.
805 (window-system-for-display): New function: interprets
806 display-format-alist.
807 (make-frame-on-display): Remove existing display-selection logic
808 and just forward to make-frame, which will now DTRT.
809 (make-frame): Restructure to use window-system-for-display to
810 figure out how to create a frame on a given display.
811 (display-mouse-p): Look for frame-type w32, not a particular
812 system-type.
813
814 * loadup.el: Load w32 lisp code when we have the w32 feature.
815
816 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
817 system-type windows-nt.
818
819 * server.el (server-create-window-system-frame): Look for window
820 type.
821 (server-proces-filter): Only force a window system when windows-nt
822 _and_ w32. Explain why.
823
824 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
825 of window systems we configure for the mode.
826
827 * startup.el (command-line): Mark window system is initialized
828 after we've done it.
829
830 * common-win.el (x-select-text): Look for w32, not windows-nt.
831
832 * ns-win.el: Require cl-lib. Add ourselves to
833 display-format-alist.
834 (ns-initialize-window-system): Assert we're not initialized twice.
835
836 * w32-win.el: Enable lexical binding; require cl-lib; add
837 ourselves to display-format-alist.
838 (w32-handle-dropped-file): Convert incoming dropped files from
839 Windows paths to Cygwin ones before passing them on to the rest of
840 Emacs.
841 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
842 (w32-initialize-window-system): Assert we're not initialized twice.
843
844 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
845 (x-initialize-window-system): Assert we're not initialized twice.
846
847 * w32-common-fns.el: New File.
848 (w32-version, w32-using-nt, w32-get-clipboard-data)
849 (w32-set-clipboard-data, x-set-selection, x-get-selection)
850 (w32-charset-info-alist, x-last-selected, text)
851 (x-get-selection-value, x-selection-value): Move here.
852
853 * w32-fns.el: Require w32-common-fns.
854 (w32-version, w32-using-nt, w32-get-clipboard-data)
855 (w32-set-clipboard-data, x-set-selection, x-get-selection)
856 (w32-charset-info-alist, x-last-selected, text)
857 (x-get-selection-value, x-selection-value): Move to
858 w32-common-fns.
859
860 * w32-vars.el:
861 (w32-allow-system-shell, w32-system-shells): Define only in
862 non-cygwin case.
863
795b1482
SM
8642012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
867 (read-passwd): Remove a few more potential sources of leaks.
868
f27c99dc
FEG
8692012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
870
871 * progmodes/python.el (inferior-python-mode)
795b1482 872 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
873 variables copied from parent buffer.
874
fcacb558
JD
8752012-10-07 Jan Djärv <jan.h.d@swipnet.se>
876
877 * term/ns-win.el (ns-read-file-name): Update declaration to match
878 nsfns.m.
879 (ns-respond-to-change-font): Change fontsize separatly so we are sure
880 it is set when font is acted upon.
881
be0d5bae
FEG
8822012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
883
884 Enhancements to indentation.
885 * progmodes/python.el (python-indent-context): Give priority to
886 inside-string context. Make comments indentation markers.
887 (python-indent-region): Do not mess with strings, unless it's the
888 enclosing set of quotes.
889
13af0d10
SM
8902012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
891
662a9d0e
SM
892 * window.el (internal--before-save-selected-window)
893 (internal--after-save-selected-window): New functions extracted from
894 save-selected-window. Make sure we return the `alist' we construct.
895 (save-selected-window): Use them.
896
897 * textmodes/tex-mode.el (tex-recenter-output-buffer):
898 Use with-selected-window.
899
13af0d10
SM
900 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
901 forms that define macros (bug#12593).
902
6aa75fb6
KH
9032012-10-07 Kenichi Handa <handa@gnu.org>
904
13af0d10
SM
905 * international/mule-conf.el (compound-text-with-extensions):
906 Add :mime-charset property as x-ctext.
6aa75fb6 907
78d876b9
SM
9082012-10-07 Stefan Merten <smerten@oekonux.de>
909
910 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
911 (rst-indent-literal-normal, rst-indent-literal-minimized)
912 (rst-indent-comment): Correct :version tag.
557337e9 913 (rst-official-cvs-rev): Correct version string.
78d876b9 914
99a1e701
GM
9152012-10-07 Glenn Morris <rgm@gnu.org>
916
917 * mail/rmailmm.el (rmail-mime-process-multipart):
918 Do not confuse a multipart message with an epilogue
919 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
920
08f18c3d
FEG
9212012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
922
923 Fix shell output retrieval and comint-prompt-regexp init.
924 * progmodes/python.el (inferior-python-mode):
925 (python-shell-make-comint): Fix initialization of
926 comint-prompt-regexp from copied file local variables.
927 (python-shell-fetched-lines): Remove var.
928 (python-shell-output-filter-in-progress): Rename from
929 python-shell-fetch-lines-in-progress.
930 (python-shell-output-filter-buffer): Rename from
931 python-shell-fetch-lines-string.
932 (python-shell-fetch-lines-filter): Delete function.
933 (python-shell-output-filter): New function.
934 (python-shell-send-string-no-output): Use them.
935
82ed3ab4
GM
9362012-10-07 Glenn Morris <rgm@gnu.org>
937
1595ecfa
GM
938 * hi-lock.el (hi-lock-process-phrase):
939 Try to make it less fragile. (Bug#7161)
940
82ed3ab4
GM
941 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
942
f1f4dba0
GM
9432012-10-06 Glenn Morris <rgm@gnu.org>
944
addc11ed 945 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
946 non-existent mode `help'.
947 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 948
460042b8
GM
949 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
950 (reftex-create-bibtex-footer): Fix custom types.
951
67667c70
GM
952 * progmodes/sh-script.el (sh-indent-after-continuation):
953 Add explicit :group.
954
18dec750
GM
955 * textmodes/rst.el (rst-preferred-decorations)
956 (rst-shift-basic-offset): Clarify obsolescence versions.
957
d1a1c7e6
GM
958 * profiler.el (profiler): Add missing group :version tag.
959 * avoid.el (mouse-avoidance-banish-position):
960 * proced.el (proced-renice-command):
961 * calc/calc.el (calc-ensure-consistent-units):
962 * calendar/icalendar.el (icalendar-import-format-uid):
963 * net/tramp.el (tramp-save-ad-hoc-proxies):
964 * progmodes/bug-reference.el (bug-reference-bug-regexp):
965 * progmodes/flymake.el (flymake-error-bitmap)
966 (flymake-warning-bitmap, flymake-fringe-indicator-position):
967 * progmodes/sh-script.el (sh-indent-after-continuation):
968 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
969 (verilog-before-save-font-hook, verilog-after-save-font-hook):
970 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
971 (vhdl-array-index-record-field-in-sensitivity-list)
972 (vhdl-indent-comment-like-next-code-line):
973 * textmodes/reftex-vars.el (reftex-ref-style-alist)
974 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
975 (reftex-cite-key-separator, reftex-create-bibtex-header)
976 (reftex-create-bibtex-footer):
977 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
978 (rst-indent-literal-normal, rst-indent-literal-minimized)
979 (rst-indent-comment): Add missing custom :version tags.
980
ef35abb4
GM
981 * calendar/timeclock.el (timeclock-modeline-display):
982 Add missing obsolete alias for renamed user option.
983
d1aae614
GM
984 * strokes.el (strokes-modeline-string):
985 * emulation/crisp.el (crisp-mode-modeline-string):
986 * eshell/esh-mode.el (eshell-status-in-modeline):
987 Aliases to defcustoms must come before the defcustom.
988
f1f4dba0
GM
989 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
990 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
991 (cal-tex-cursor-week-monday): Doc fixes.
992 (cal-tex-cursor-week2-summary): Doc fix.
993 Rename from cal-tex-cursor-week-at-a-glance.
994
995 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
996 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
997
998 * calendar/calendar.el (calendar-mode-map):
999 Add cal-tex-cursor-week2-summary.
1000
d39109c3
SM
10012012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1002
685f87b0
SM
1003 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1004
d39109c3
SM
1005 * subr.el (read-passwd-map): New var.
1006 (read-passwd): Use `read-string' again.
1007 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1008
5694896d
J
10092012-10-06 Jambunathan K <kjambunathan@gmail.com>
1010
1011 * register.el (append-to-register, prepend-to-register):
1012 Deactivate mark, as does `copy-to-register' (bug#12389).
1013
9414dd8d
CY
10142012-10-06 Chong Yidong <cyd@gnu.org>
1015
1016 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1017
2b89bca4
KH
10182012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1019
1020 * international/characters.el: Fix simple mistake ((car chars) ->
1021 elt), delete duplicated code.
1022
d5acb99a
GM
10232012-10-06 Glenn Morris <rgm@gnu.org>
1024
1025 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1026
123ec157
JS
10272012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1028
1029 * color.el (color-hsl-to-rgb): Fix incorrect results for
1030 small and large hue values. (Bug#12559)
1031
7fa36ccb
FEG
10322012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1033
1034 Enhancements to docstring formatting when filling paragraphs.
1035 * progmodes/python.el (python-fill-docstring-style): Rename from
1036 python-fill-string-style. Added new style.
1037 (python-fill-string): Use new style. Better checks for
1038 docstrings.
1039
d8788e1e
GM
10402012-10-05 Glenn Morris <rgm@gnu.org>
1041
204f3953
GM
1042 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1043
d8788e1e
GM
1044 * color.el (color-name-to-rgb, color-rgb-to-hex)
1045 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1046 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1047 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1048 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1049
8d956cef
GM
1050 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1051
e8757f09 10522012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1053
1054 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1055 to get the correct size across symlinks.
1056
e8757f09
GM
1057 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1058
0e2ae83d
JL
10592012-10-04 Juri Linkov <juri@jurta.org>
1060
1061 * replace.el (query-replace-interactive): Declare obsolete.
1062 (query-replace-read-from): Add the last incremental search string
1063 to the list of default values accessible via M-n.
1064 (map-query-replace-regexp): Use `read-regexp'.
1065 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1066 (map-query-replace-regexp, replace-string, replace-regexp):
1067 Fix docstrings to replace mentions of `query-replace-interactive'
1068 with alternatives. (Bug#12526)
1069
93cacb6d
JL
10702012-10-04 Juri Linkov <juri@jurta.org>
1071
1072 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1073 (dired-pop-to-buffer): Declare obsolete.
1074 (dired-mark-pop-up): Doc fix.
1075
fc345011
FEG
10762012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1077
1078 Allow user to set docstring style for fill-paragraph.
1079 * progmodes/python.el
1080 (python-fill-comment-function, python-fill-string-function)
1081 (python-fill-decorator-function, python-fill-paren-function):
1082 Remove :safe for defcustoms.
1083 (python-fill-string-style): New defcustom
5694896d 1084 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1085 (python-fill-string): Honor python-fill-string-style settings.
1086
6bab5d8b
MR
10872012-10-04 Martin Rudalics <rudalics@gmx.at>
1088
1089 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1090 after setting its buffer (Bug#10805).
1091
a1a9f411
FEG
10922012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1093
1094 Fix cornercase for string syntax.
1095 * progmodes/python.el (python-syntax-propertize-function):
1096 Simplify and enhance the regexp for unescaped quotes. Now it also
1097 matches quotes in weird situations like the single quote in
1098 "something\"'".
1099 (python-syntax-stringify): Simplify num-quotes detecting code.
1100
05e153a6
GM
11012012-10-03 Glenn Morris <rgm@gnu.org>
1102
1103 * help-macro.el (three-step-help):
1104 Revert 2012-09-29 change. (Bug#12567)
1105
2e566ecb
MR
11062012-10-03 Martin Rudalics <rudalics@gmx.at>
1107
96ef9ccd
MR
1108 * menu-bar.el (kill-this-buffer): Don't do anything when
1109 `menu-frame' is not alive or visible (Bug#8184).
1110
2e566ecb
MR
1111 * emacs-lisp/debug.el (debug): When quitting the debugger window
1112 restore current buffer (Bug#12502).
1113
a96e1cb7
CY
11142012-10-02 Chong Yidong <cyd@gnu.org>
1115
5694896d
J
1116 * progmodes/hideif.el (hif-lookup, hif-defined):
1117 Handle semantic-c-takeover-hideif.
a96e1cb7 1118
b3ecad33
PE
11192012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1120
1121 Change sampling interval units from ms to ns.
1122 * profiler.el (profiler-sampling-interval): Change units
1123 from ms to ns, multiplying the default by 1000000 so that
1124 it remains 1 ms.
1125 (profiler-report-cpu-line-format): Give enough room for
1126 the maximum counters on 64-bit hosts.
1127 (profiler-report-render-calltree-1): Call them "CPU samples",
1128 not "Time (ms)", since they are not milliseconds now (and
1129 never really were).
1130
8cb51b66 11312012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1132
5694896d
J
1133 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1134 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1135
fd795bf4
CY
11362012-10-02 Chong Yidong <cyd@gnu.org>
1137
1138 * emacs-lisp/eieio.el: Restore Version header.
1139
fe0a74f9
SM
11402012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1141
6be9197e
SM
1142 * vc/diff-mode.el (diff--auto-refine-data): New var.
1143 (diff-hunk): Use it to delay refinement.
1144 (diff-mode): Remove overlays when we turn off font-lock.
1145
18486139
SM
1146 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1147 (table-initialize-table-fixed-width-mode)
1148 (table-set-table-fixed-width-mode): Remove functions.
1149 (table-command-list): Move initialization into declaration.
1150 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1151 (table-with-cache-buffer): Use `declare'.
1152 (table-span-cell): Simplify via CSE.
1153 (table-fixed-width-mode): Use define-minor-mode.
1154 (table-call-interactively, table-funcall, table-apply): Remove.
1155 (table-function): New function, to replace them.
1156
d83ef976
SM
1157 * bookmark.el (bookmark-search-pattern): Remove var.
1158 (bookmark-read-search-input): Remove function.
1159 (bookmark-bmenu-search): Reimplement using a minibuffer.
1160
cd386662
SM
1161 * faces.el (modeline): Remove obsolete face name.
1162
fe0a74f9
SM
1163 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1164 and give a non-nil default value.
1165 (add-change-log-entry): Simplify accordingly.
1166
9f7b98f8
DG
11672012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1168
1169 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1170 (vc-git-log-edit-toggle-amend): New function.
1171 (vc-git-log-edit-toggle-signoff): New function.
1172 (vc-git-log-edit-mode): New major mode.
1173 (vc-git-log-edit-mode-map): Keymap for it.
1174 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1175
1176 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1177 header names.
1178 (log-edit-toggle-header): New function.
1179 (log-edit-extract-headers): Accept function values in HEADERS alist.
1180
62a81506
CY
11812012-10-01 David Engster <deng@randomsample.de>
1182
1183 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1184 from symbol property and change message to be more consistent with
1185 Emacs proper.
1186 (eieio-describe-generic): Add filename for each implementation.
1187 Fix indices for generic and normal methods.
1188 (eieio-method-def, eieio-class-def): New buttons.
1189 (eieio-help-find-method-definition)
1190 (eieio-help-find-class-definition): New functions.
1191 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1192 class, constructor and method definitions.
1193
1194 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1195 information in symbol property.
1196 (scoped-class): Remove.
1197 (eieio-slot-name-index, call-next-method): Check if it is bound.
1198
11992012-10-01 Leo P. White <lpw25@cam.ac.uk>
1200
1201 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1202 (eieio-custom-mode): New major mode.
1203 (eieio-customize-object): Use it.
1204
12052012-10-01 Eric Ludlam <zappo@gnu.org>
1206
1207 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1208 specifying the expected class, and whether subclassing is allowed.
1209 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1210 (eieio-persistent-validate/fix-slot-value)
1211 (eieio-persistent-slot-type-is-class-p): New functions.
1212 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1213
1214 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1215 Stop using unused publd variable.
1216
1217 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1218 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1219 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1220 (eieio-speedbar-handle-click): Do not specify a class for the
1221 method. Fixes method invocation order problems with EDE.
1222
375e49d4
SM
12232012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1224
1225 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1226 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1227
16ce6ccd
KF
12282012-10-01 Karl Fogel <kfogel@red-bean.com>
1229
1230 * bookmark.el (bookmark-version-control): Give tags in the
1231 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1232 (bookmark-write-file): Bind `print-circle' to `t' to allow
1233 circular custom bookmark types. (Bug#12503)
16ce6ccd 1234
19e54a4d
PE
12352012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1236
86ec63ba
PE
1237 Revert the FOLLOW-SYMLINKS change for file-attributes.
1238 * files.el (remote-file-name-inhibit-cache, after-find-file):
1239 * time.el (display-time-file-nonempty-p): Undo last change.
1240
19e54a4d
PE
1241 * profiler.el (profiler-sampling-interval): Change default back to 1.
1242 See Stefan Monnier in
1243 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1244
0478776b
FEG
12452012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1246
1247 Shell output catching a la gud-gdb.
1248 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1249 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1250 New Vars.
0478776b
FEG
1251 (python-shell-fetch-lines-filter): New function.
1252 (python-shell-send-string-no-output): Use them.
1253
c22bac2c
TM
12542012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1255
1256 * profiler.el (profiler-sampling-interval): Rename from
1257 profiler-sample-interval.
1258 (profiler-sampling-interval): Default to 10.
1259 (profiler-find-profile): New command (was profiler-find-log).
1260 (profiler-find-profile-other-window): New command.
1261 (profiler-find-profile-other-frame): New command.
1262 (profiler-profile): Introduce API-level data structure.
1263
e7a2937b
PE
12642012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1265
1266 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1267 * files.el (remote-file-name-inhibit-cache):
1268 * time.el (display-time-file-nonempty-p): Use it.
1269 * files.el (after-find-file): Don't chase links before calling
1270 file-exists-p, as file-exists-p already does the right thing.
1271
4f595e15
RA
12722012-09-30 Ralf Angeli <angeli@caeruleus.net>
1273
1274 Merge from standalone RefTeX repository.
1275
1276 The following ChangeLog entries are shortened versions of the
1277 original ones with file paths adapted. A not so strongly edited
1278 version of the original ChangeLog can be found in the commit log.
1279
1280 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1281 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1282 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1283
1284 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1285 that entries with whitespace at various places are found.
1286 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1287 Include @String definitions in the resulting bib file. Add header
1288 and footer defined in `reftex-create-bibtex-header' and
1289 `reftex-create-bibtex-footer'.
1290 (reftex-do-citation): Make it possible again to insert
1291 non-existent entries. Save match data when asking for optional
1292 arguments. Return all keys, not just the first one.
1293 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1294 all citations in the same line.
1295 (reftex-parse-bibtex-entry): Accept additional optional argument
1296 `raw' and keep quotes or braces if it is non-nil. Match fields
1297 containing hyphens besides word constituents.
1298 (reftex-get-string-refs): New function.
1299 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1300 and ask if it should be reread in case it did.
1301 (reftex-pop-to-bibtex-entry)
1302 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1303 entries with spaces or tabs in front of arguments.
1304 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1305 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1306 Match entries containing numbers and symbol constituents.
1307 (reftex-do-citation, reftex-figure-out-cite-format):
1308 Use `reftex-cite-key-separator'.
4f595e15
RA
1309
1310 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1311 (reftex-mouse-view-crossref): Explain why point is set.
1312
1313 * textmodes/reftex-global.el: Whitespace changes.
1314
1315 * textmodes/reftex-index.el: Move provide statement to end of
1316 file.
1317 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1318 (reftex-index-visit-phrases-buffer): Set marker when visiting
1319 buffer. This allows for returning from the phrases file to the
1320 file one was just editing instead of the file where the last
1321 phrases was added from.
1322 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1323 punctuation syntax as it usually is not used as string quote in
1324 TeX-related modes and may occur unmatched. The change also
1325 prevents fontification of quoted content.
1326 (reftex-index-phrases-mode): Use it.
1327
375e49d4
SM
1328 * textmodes/reftex-parse.el (reftex-parse-from-file):
1329 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1330 (reftex-parse-from-file): Use beginning of match instead of end as
1331 bound.
1332
1333 * textmodes/reftex-ref.el: Adapt creation of
1334 `reftex-<package>-<macro>' functions to new structure of
1335 `reftex-ref-style-alist'.
375e49d4
SM
1336 (reftex-reference): Use `reftex-ref-style-list' function.
1337 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1338 reference macro if `reftex-ref-macro-prompt' is non-nil.
1339 (reftex-reference): Pass refstyle to `reftex-format-special'.
1340 Determine reference macro by looking at
375e49d4
SM
1341 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1342 Use only one special format function.
4f595e15
RA
1343 (reftex-varioref-vref, reftex-fancyref-fref)
1344 (reftex-fancyref-Fref): Remove definitions. The functions are now
1345 generated from `reftex-ref-style-alist'.
1346 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1347 Remove.
1348 (reftex-format-special): New function.
1349
1350 * textmodes/reftex-sel.el
1351 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1352 of `reftex-ref-style-alist'. Remove code for testing macro type.
1353 (reftex-select-toggle-varioref)
1354 (reftex-select-toggle-fancyref): Remove.
1355 (reftex-select-cycle-ref-style-internal)
1356 (reftex-select-cycle-ref-style-forward)
1357 (reftex-select-cycle-ref-style-backward): New functions.
1358 (reftex-select-label-map): Use `v' and `V' for general cycling
1359 through reference styles. Add `p' for switching between number
1360 and page reference types.
1361
375e49d4
SM
1362 * textmodes/reftex-toc.el (reftex-re-enlarge):
1363 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1364 the horizontal version throws an error even if the parameter is 0.
1365
1366 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1367 (reftex-plug-into-AUCTeX): Doc fix.
1368 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1369 string. Adapt to new name.
1370 (reftex-ref-style-alist): Change structure so that it is not
1371 possible to use multiple different package names within a style.
375e49d4
SM
1372 Remove the symbols for symbols for macro type distinction.
1373 Add characters for macro selection.
4f595e15
RA
1374 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1375 (reftex-create-bibtex-footer): New variables.
1376 (reftex-format-ref-function): Mention third argument of special
1377 format function.
375e49d4
SM
1378 (reftex-ref-style-alist, reftex-ref-style-default-list):
1379 New variables.
4f595e15
RA
1380 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1381 to new implementation. Mark as obsolete. Add compatibility code
1382 for honoring the variable values in case they are set.
375e49d4
SM
1383 (reftex-cite-format-builtin, reftex-bibliography-commands):
1384 Add support for ConTeXt.
1385 (reftex-format-ref-function, reftex-format-cite-function):
1386 Fix custom type.
4f595e15
RA
1387 (reftex-cite-key-separator): New variable.
1388
1389 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1390 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1391 `reftex-syntax-table' because parens have to retain their paren
1392 syntax in order for parsing of BibTeX entries like @book(...) to
1393 work.
1394 (reftex-in-comment): Do not error out if `comment-start-skip' is
1395 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1396 (reftex-tie-multifile-symbols): Add doc string.
1397 Initialize `reftex-ref-style-list'.
4f595e15
RA
1398 (reftex-untie-multifile-symbols): Add doc string.
1399 (reftex-add-index-macros): Doc fix.
1400 (reftex-ref-style-activate, reftex-ref-style-toggle)
1401 (reftex-ref-style-list): New functions.
1402 (reftex-mode-menu): Use them. Adapt to new structure of
1403 `reftex-ref-style-alist'.
1404 (reftex-select-with-char): Kill the RefTeX Select buffer when
1405 done.
1406 (reftex-remove-if): New function.
1407 (reftex-erase-all-selection-and-index-buffers)
1408 (reftex-mode-menu): Reference styles are now computed from
1409 `reftex-ref-style-alist'. Fix typo.
1410 (reftex-report-bug): New function.
1411 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1412 algorithms with O(n log n). Introduce optional argument SORT (not
1413 yet used).
1414
440ba395
FEG
14152012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1416
1417 Enhancements for triple-quote string syntax.
375e49d4
SM
1418 * progmodes/python.el (python-syntax-propertize-function):
1419 Match both quote cases in one regexp.
440ba395
FEG
1420 (python-syntax-stringify): Handle matches properly.
1421
4c478e6b
JL
14222012-09-30 Juri Linkov <juri@jurta.org>
1423
1424 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1425 to nil around the call to `insert' to prevent
4c478e6b
JL
1426 directory time modification by lock_file. (Bug#2295)
1427 * tar-mode.el (tar-summarize-buffer): Idem.
1428
d80d54b2
JL
14292012-09-30 Juri Linkov <juri@jurta.org>
1430
1431 * facemenu.el (list-colors-sort): Add option "Luminance".
1432 (list-colors-sort-key): Implement it.
1433
1434 * vc/diff-mode.el (diff-refine-removed):
1435 * vc/ediff-init.el (ediff-fine-diff-A):
1436 * vc/smerge-mode.el (smerge-refined-removed):
1437 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1438
d7e642cc
JD
14392012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1440
1441 * term/ns-win.el (x-file-dialog): New function.
1442
ee41332b
JB
14432012-09-30 Juanma Barranquero <lekktu@gmail.com>
1444
1445 * ido.el (ido-max-directory-size): Default to nil; the current
1446 default is small for POSIX systems, and impractical on Windows 7
1447 now that lstat returns directory sizes for NTFS.
1448
5938d519
MR
14492012-09-30 Martin Rudalics <rudalics@gmx.at>
1450
1451 In buffer display functions handle window-height/window-width
1452 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1453 * window.el (window--display-buffer): New argument ALIST.
1454 Obey window-height and window-width alist entries.
1455 (window--try-to-split-window): New argument ALIST.
1456 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1457 changed and window-combination-limit equals `window-size'.
1458 (display-buffer-in-atom-window)
1459 (display-buffer-in-major-side-window)
1460 (display-buffer-in-side-window, display-buffer-same-window)
1461 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1462 (display-buffer-pop-up-window, display-buffer-below-selected)
1463 (display-buffer-at-bottom, display-buffer-in-previous-window)
1464 (display-buffer-use-some-window): Adjust all callers of
1465 window--display-buffer and window--try-to-split-window.
1466 (fit-frame-to-buffer): New option.
1467 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1468 is non-nil.
1469 (display-buffer-in-major-side-window): Evaluate window-height /
1470 window-width alist entries.
1471
1472 * help.el (temp-buffer-resize-frames)
1473 (temp-buffer-resize-regexps): Remove options.
1474 (temp-buffer-resize-mode): Adjust doc-string.
1475 (resize-temp-buffer-window): Don't consult
1476 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1477 temp-buffer-resize-frames.
1478
375e49d4
SM
1479 * dired.el (dired-mark-pop-up):
1480 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1481 entry.
1482
c4c0c2df
CY
14832012-09-30 Chong Yidong <cyd@gnu.org>
1484
48de8b12
CY
1485 * server.el (server-host): Document the security implications.
1486 (server-auth-key): Doc fix.
1487
1488 * startup.el (initial-buffer-choice): Doc fix.
1489
1490 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1491
a97dc380
CY
1492 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1493 restriction change.
1494
d39d3c8e
CY
1495 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1496
c4c0c2df
CY
1497 * help-fns.el (help-fns--obsolete): Fix last change.
1498
98a5e33b
SM
14992012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1500
34cf6f39
SM
1501 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1502 (minor-mode-map-alist): Remove redundant code.
1503
e01c13fe
SM
1504 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1505 visited in a buffer.
1506 (cvs-insert-visited-file): New function.
1507 (find-file-hook): Use it.
1508
1509 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1510
02661b3a
SM
1511 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1512 chose face.
1513 (log-edit-empty-buffer-p): Don't require a space after a header.
1514
43711d4b
SM
1515 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1516
38a30d64
SM
1517 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1518
4ffb41a9
SM
1519 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1520 a proper minor-mode.
1521
98a5e33b
SM
1522 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1523
de82e29b
GM
15242012-09-29 Glenn Morris <rgm@gnu.org>
1525
5cc2e639
GM
1526 * winner.el (winner-mode): Remove variable (let define-minor-mode
1527 handle it).
1528 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1529 Doc fixes.
1530 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1531 (winner-mode): Use define-minor-mode.
1532
7bd302eb
GM
1533 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1534 the full definition in loaddefs, rather than duplicating it.
1535
2923922f 1536 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1537
0e3e4156
GM
1538 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1539 (inferior-lisp-program, inferior-lisp-load-command)
1540 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1541 No need to autoload defcustoms.
0e3e4156 1542
de82e29b
GM
1543 * hippie-exp.el (hippie-expand-try-functions-list)
1544 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1545 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1546 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1547 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1548 * progmodes/vhdl-mode.el (vhdl-line-expand):
1549 Explicitly load hippie-exp, so it does not get autoloaded
1550 while hippie-expand-try-functions-list is let-bound.
1551
e60b51ab
GM
15522012-09-28 Glenn Morris <rgm@gnu.org>
1553
277f0cfa
GM
1554 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1555
e60b51ab
GM
1556 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1557 Only "cl.el" counts as cl these days.
1558
53baf48a
JL
15592012-09-28 Juri Linkov <juri@jurta.org>
1560
1561 Display archive errors in the echo area instead of inserting
1562 to the file buffer.
1563
1564 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1565 to STDERR-TEST that can be a regexp matching a successful output.
1566 Create a temporary file and redirect stderr to it. Search for
1567 STDERR-TEST in the stderr output and display it in the echo area
1568 if no match is found.
1569 (archive-extract-by-file): New function like
1570 `archive-extract-by-stdout' but extracting archives to files
1571 and looking for successful matches in stdout. Function body is
1572 mostly copied from `archive-rar-extract'.
1573 (archive-rar-extract): Use `archive-extract-by-file'.
1574 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1575
9c1228c3
LL
15762012-09-28 Leo Liu <sdl.web@gmail.com>
1577
375e49d4
SM
1578 * pcomplete.el (pcomplete-show-completions):
1579 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1580
9c1228c3
LL
1581 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1582
7f457c06
SM
15832012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1584
3df749b0
SM
1585 * type-break.el: Use lexical-binding.
1586 (type-break-mode): Use define-minor-mode.
1587
7f457c06
SM
1588 * emacs-lisp/pcase.el (pcase--mark-used): New.
1589 (pcase--u1): Use it (bug#12512).
1590
1591 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1592 in load-history with the right file name.
1593
c00ebc98
TH
15942012-09-28 Tassilo Horn <tsdh@gnu.org>
1595
1596 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1597 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1598 (doc-view-get-bounding-box): Make bounding box slicing work for
1599 ODF and DVI documents.
1600
96fb7170
GM
16012012-09-28 Glenn Morris <rgm@gnu.org>
1602
1603 * type-break.el (type-break-mode, type-break-interval)
1604 (type-break-good-rest-interval, type-break-keystroke-threshold):
1605 No need to autoload.
1606 (type-break-good-rest-interval, type-break-keystroke-threshold):
1607 Add :set-after.
1608
5bc93c67
CY
16092012-09-28 Chong Yidong <cyd@gnu.org>
1610
1611 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1612 Add :version tag.
1613
9cad61d6
SM
16142012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1615
e28e67b3 1616 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1617
daee954c
GM
16182012-09-27 Glenn Morris <rgm@gnu.org>
1619
a88324d4
GM
1620 * faces.el (x-display-name): Declare (for without-x builds).
1621
8e5064e5
GM
1622 * linum.el (linum-format): Don't autoload it. Improve :type.
1623
cc1783c2
GM
1624 * progmodes/tcl.el: Don't require outline when compiling.
1625 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1626 * textmodes/sgml-mode.el: Don't require outline when compiling.
1627 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1628
48c339f2
GM
1629 * term.el (term-ansi-reset):
1630 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1631
daee954c
GM
1632 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1633 files for RCS and SCCS. (Bug#9781)
1634
b7f42161
CY
16352012-09-27 Chong Yidong <cyd@gnu.org>
1636
1637 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1638 change; value should be t.
1639
a2e770db
SM
16402012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1641
83600dc8
SM
1642 * image-mode.el: Use lexical-binding.
1643 (image-mode-winprops): Use t to stand for the window of
1644 a buffer that's not displayed.
1645 * doc-view.el (doc-view-new-window-function): Handle the new
1646 t in winprops.
1647 (doc-view-enlarge): Make it a real nop if the size is not changed.
1648 (doc-view-display): Handle the case where the buffer is not (yet?)
1649 displayed in any window.
1650 (doc-view-saved-settings): New var.
1651 (doc-view-mode): Use it.
1652 (doc-view-fallback-mode): Set it.
1653
a2e770db
SM
1654 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1655 Set lexical-binding.
1656 (minibuffer-eldef-shorten-default): New var.
1657 (minibuffer-default-in-prompt-regexps): Use it for new default.
1658 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1659
e3b60857
JB
16602012-09-26 Juanma Barranquero <lekktu@gmail.com>
1661
1662 * international/uni-bidi.el:
1663 * international/uni-category.el:
1664 * international/uni-name.el:
1665 * international/uni-numeric.el: Regenerate.
1666
3a880af4
SM
16672012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1668 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * profiler.el: New file.
1671
07b1a5fb
SM
16722012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1675 (testcover-reinstrument): Simplify with CSE.
1676
42019c2e
JB
16772012-09-26 Juanma Barranquero <lekktu@gmail.com>
1678
1679 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1680
179f044b
WS
16812012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1682
1683 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1684 (verilog-auto-input, verilog-auto-insert-lisp)
1685 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1686 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1687 (verilog-auto-unused, verilog-auto-wire)
1688 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1689 newline. Reported by Andrew Jones.
1690 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1691 Reported by Brad Dobbie.
07b1a5fb
SM
1692 (verilog-batch-delete-trailing-whitespace):
1693 Create verilog-batch-delete-trailing-whitespace.
1694 Reported by Brad Dobbie.
179f044b
WS
1695 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1696 parameters from another module. Reported by Dan Katz.
1697 (verilog-auto, verilog-auto-assign-modport)
1698 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1699 AUTOINOUTMODPORT for UVM interface module shell generation.
1700 Reported by Brad Dobbie.
1701 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1702 standard behavior.
1703 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1704 Reported by Matt Martin.
1705
9c52dd5a
MR
17062012-09-25 Martin Rudalics <rudalics@gmx.at>
1707
1708 * window.el (window--resize-child-windows): When resizing child
1709 windows proportionally, process them in reverse order to
1710 preserve the "when splitting a window the new one gets the odd
1711 line" behavior.
1712 (window--resize-root-window-vertically): When resizing the
1713 minibuffer window try to affect only windows at the bottom of the
1714 frame. (Bug#12419)
1715
863666eb
CY
17162012-09-25 Chong Yidong <cyd@gnu.org>
1717
1718 * subr.el (declare): Doc fix.
1719
1720 * help-fns.el (help-fns--obsolete): Handle macros properly.
1721
59f7af81
CY
17222012-09-25 Chong Yidong <cyd@gnu.org>
1723
1724 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1725 this function obsolete.
1726
1727 * calendar/cal-x.el (calendar-two-frame-setup)
1728 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1729 * calendar/calendar.el (american-calendar, european-calendar)
1730 (calendar-for-loop):
1731 * comint.el (comint-dynamic-simple-complete)
1732 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1733 * desktop.el (desktop-load-default):
1734 * dired-x.el (dired-omit-here-always)
1735 (dired-hack-local-variables, dired-default-directory):
1736 * emacs-lisp/derived.el (derived-mode-class):
1737 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1738 * emacs-lock.el (toggle-emacs-lock):
1739 * epa.el (epa-display-verify-result):
1740 * epg.el (epg-sign-keys, epg-start-sign-keys)
1741 (epg-passphrase-callback-function):
1742 * eshell/esh-util.el (eshell-for):
1743 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1744 (eshell-add-to-window-buffer-names):
1745 * files.el (locate-file-completion):
1746 * imenu.el (imenu-example--create-c-index)
1747 (imenu-example--create-lisp-index)
1748 (imenu-example--lisp-extract-index-name)
1749 (imenu-example--name-and-position):
1750 * international/mule-cmds.el (princ-list):
1751 * international/mule-diag.el (decode-codepage-char):
1752 * international/mule-util.el (detect-coding-with-priority):
1753 * iswitchb.el (iswitchb-read-buffer):
1754 * mail/mailalias.el (mail-complete):
1755 * mail/sendmail.el (mail-sent-via):
1756 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1757 (mouse-major-mode-menu):
1758 * password-cache.el (password-read-and-add):
1759 * pcomplete.el (pcomplete-parse-comint-arguments):
1760 * progmodes/sh-script.el (sh-maybe-here-document):
1761 * replace.el (query-replace-regexp-eval):
1762 * savehist.el (savehist-load):
1763 * simple.el (choose-completion-delete-max-match):
1764 * term.el (term-dynamic-simple-complete):
1765 * vc/ediff-init.el (ediff-check-version):
1766 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1767 * vc/vc.el (vc-diff-switches-list):
1768 * view.el (view-return-to-alist-update): Likewise.
1769
1770 * subr.el (eval-next-after-load, makehash, insert-string)
1771 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1772 mark obsolete.
1773 (mode-line-inverse-video): Variable deleted.
1774
1775 * international/mule-util.el (string-to-sequence): Remove.
1776
1777 * calendar/calendar.el (calendar-version):
1778 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1779 (icalendar-convert-diary-to-ical):
1780 * cus-edit.el (custom-mode):
1781 * ansi-color.el (ansi-color-unfontify-region):
1782 * international/latin1-disp.el (latin1-char-displayable-p):
1783 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1784 * progmodes/which-func.el (which-func-update-1):
1785 Use define-obsolete-function-alias.
59f7af81
CY
1786
1787 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1788 * net/newst-treeview.el (newsticker-groups-filename):
1789 Fix incorrect obsolescence declaration.
59f7af81
CY
1790
1791 * allout.el (allout-passphrase-hint-string): Likewise.
1792 (allout-init): Use a declare form to mark obsolete.
1793
1794 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1795 this applies to functions.
1796
1797 * iswitchb.el (iswitchb-read-buffer): Move code of
1798 iswitchb-define-mode-map here, and delete that obsolete function.
1799
1800 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1801 font-lock-reference-face.
1802
cca96c97
GM
18032012-09-25 Glenn Morris <rgm@gnu.org>
1804
b06eeda8
GM
1805 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1806 Doc fixes.
1807
cca96c97
GM
1808 * eshell/em-term.el (eshell-term-name):
1809 Default to term-term-name. (Bug#12485)
1810
dc4f818b
FEG
18112012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1812
cca96c97
GM
1813 * progmodes/python.el (python-shell-send-buffer): Better handling
1814 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1815
289c24bd
GM
18162012-09-24 Glenn Morris <rgm@gnu.org>
1817
1818 * eshell/esh-cmd.el (eshell-find-alias-function):
1819 Tighten up file-name regexp. (Bug#12499)
1820
8fb8b88f
FEG
18212012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1822
1823 Enhancements for triple-quote string syntax.
1824 * progmodes/python.el (python-quote-syntax): Remove.
1825 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1826 (python-syntax-count-quotes, python-syntax-stringify):
1827 New functions.
8fb8b88f 1828
6c27f0f8
CY
18292012-09-24 Chong Yidong <cyd@gnu.org>
1830
a5f2b6ec
CY
1831 * mail/supercite.el (sc-version): Remove obsolete function.
1832 (sc-describe): Don't mark as obsolete, since it is bound.
1833 (sc-submit-bug-report): Remove.
1834
1835 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1836 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1837 (log-edit-require-final-newline)
1838 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1839
1840 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1841 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1842 * vc/vc.el (vc-checkout-carefully): Likewise.
1843
1844 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1845 (emerge-version): Remove.
1846
1847 * progmodes/compile.el (compile-internal): Remove.
1848 (compilation-parse-errors-function): Fix typo.
1849
1850 * international/mule.el (set-char-table-default): Remove.
1851 (set-coding-priority, make-coding-system, generic-char-p)
1852 (charset-list, charset-bytes, charset-id): Use declare to mark
1853 functions as obsolete.
1854
1855 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1856 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1857 * vc/vc-hooks.el (vc-default-registered): Don't use
1858 vc-master-templates.
1859
07b1a5fb
SM
1860 * font-lock.el (font-lock-reference-face):
1861 Use define-obsolete-variable-alias.
6c27f0f8
CY
1862
1863 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1864 * calendar/calendar.el (calendar-font-lock-keywords):
1865 * calendar/diary-lib.el (diary-font-lock-keywords)
1866 (diary-fancy-font-lock-keywords):
1867 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1868 * textmodes/reftex-index.el (reftex-insert-index):
1869 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1870 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1871 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1872 * progmodes/prolog.el (prolog-font-lock-keywords):
1873 * progmodes/idlwave.el (idlwave-idl-keywords):
1874 * progmodes/ada-mode.el (ada-font-lock-keywords):
1875 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1876
bcc0adbf
GM
18772012-09-24 Glenn Morris <rgm@gnu.org>
1878
1879 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1880
095bb823
FEG
18812012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1882
1883 * progmodes/python.el (python-indent-line): More consistent cursor
1884 movement behavior.
1885
70efc5c9
SM
18862012-09-23 Stefan Merten <smerten@oekonux.de>
1887
1888 * textmodes/rst.el: Fix compiler warning.
1889
2f438239
RW
18902012-09-23 Roland Winkler <winkler@gnu.org>
1891
07b1a5fb
SM
1892 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1893 Transcribe also LaTeX hyphenation.
2f438239
RW
1894 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1895 bibtex-reformat-previous-options.
1896
936ad041
RW
18972012-09-23 Roland Winkler <winkler@gnu.org>
1898
1899 * proced.el (proced-renice-command): New variable.
1900 (proced-marked-processes): New function.
1901 (proced-with-processes-buffer): New macro.
1902 (proced-send-signal): Use them.
1903 (proced-renice): New command bound to r.
1904
6fab0274
RW
19052012-09-23 Roland Winkler <winkler@gnu.org>
1906
1907 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1908 ibuffer-saved-filter-groups has one element, shortcut the call of
1909 completing-read. (Bug#12331)
1910
9a930676
CY
19112012-09-23 Chong Yidong <cyd@gnu.org>
1912
1913 * bindings.el (mode-line-toggle-read-only):
1914 * bs.el (bs-toggle-readonly):
1915 * buff-menu.el (Buffer-menu-toggle-read-only):
1916 * dired.el (dired-toggle-read-only):
1917 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1918
d07ff9db
CY
19192012-09-23 Chong Yidong <cyd@gnu.org>
1920
1921 * image.el (image-type-available-p): Adapt to init-image-library
1922 argument changes.
1923
51c4474e
JL
19242012-09-22 Juri Linkov <juri@jurta.org>
1925
1926 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1927 `dired-toggle-read-only'. (Bug#12462)
1928
43bf5e8e
MR
19292012-09-22 Martin Rudalics <rudalics@gmx.at>
1930
1931 * subr.el (temp-output-buffer-show): New function.
1932 (with-output-to-temp-buffer): Call temp-output-buffer-show
1933 instead of internal-temp-output-buffer-show.
1934
c88b867f
CY
19352012-09-22 Chong Yidong <cyd@gnu.org>
1936
3df47cd5
CY
1937 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1938 (Bug#12462).
1939
c88b867f
CY
1940 * repeat.el (repeat): Doc fix (Bug#12348).
1941
1942 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1943 (Bug#10909).
1944
1945 * simple.el (shell-command-on-region): Doc fix.
3171e303 1946 (read-only-mode): Doc fix.
c88b867f 1947
df9685f3
EZ
19482012-09-22 Eli Zaretskii <eliz@gnu.org>
1949
1950 * emacs-lisp/timer.el (run-with-idle-timer)
1951 (timer-activate-when-idle): Warn against reinvoking an idle timer
1952 from within its own timer action. (Bug#12447)
1953
8e17c9ba
MR
19542012-09-22 Martin Rudalics <rudalics@gmx.at>
1955
1956 * cus-start.el (window-combination-limit): Add new optional
1957 values.
1958 * window.el (temp-buffer-window-show)
1959 (window--try-to-split-window): Handle new values of
1960 window-combination-limit (Bug#1806).
1961 (split-window): Test window-combination-limit for t instead of
1962 non-nil.
1963 (display-buffer-at-bottom): New buffer display action function.
1964 * help.el (temp-buffer-resize-regexps): New option.
1965 (temp-buffer-resize-mode): Rewrite doc-string.
1966 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1967 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1968
48a24920
SM
19692012-09-22 Stefan Merten <smerten@oekonux.de>
1970
70efc5c9 1971 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1972 (rst-official-version)
1973 (rst-package-emacs-version-alist): Sync with official version
1974 V1.4.0.
1975 (rst-faces-defaults, rst-set-level-default)
1976 (rst-level-face-max, rst-level-face-base-color)
1977 (rst-level-face-base-light, rst-level-face-format-light)
1978 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1979 (rst-adornment-faces-alist): Match new setup.
1980 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1981 (rst-level-5, rst-level-6): New faces.
1982
82f8cd94
CY
19832012-09-22 Chong Yidong <cyd@gnu.org>
1984
1985 * simple.el (undo): Handle indirect buffers (Bug#8207).
1986
acfa068f 19872012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1988
1989 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1990 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1991 (ido-set-matches-1): Use it. (Bug#2042)
1992
acfa068f 19932012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1994
1995 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1996 Fix 2011-05-17 change. (Bug#12418)
1997
acfa068f 19982012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1999
2000 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2001
acfa068f 20022012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2003
2004 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2005 Be more robust about locating simple.el.
2006
acfa068f 20072012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2008
2009 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2010
acfa068f
CY
20112012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2012
2013 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2014
41a97e6f
JL
20152012-09-20 Juri Linkov <juri@jurta.org>
2016
eb2deaff
JL
2017 * replace.el (query-replace-read-from): Use `read-regexp' instead
2018 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2019 (occur-read-primary-args): Use `read-regexp' instead of
2020 `read-string'.
2021 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2022 `read-from-minibuffer'.
2023 * isearch.el (isearch-occur): Use `read-regexp' instead of
2024 `read-string'.
2025 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2026 `read-from-minibuffer'.
2027 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2028 of `read-string'. (Bug#7567)
2029
5825610b
JL
2030 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2031 and allow accepting a list of strings prepended to a list of
2032 standard default values. Doc fix. (Bug#12321)
2033
eebbf404
JL
2034 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2035
41a97e6f
JL
2036 * replace.el (read-regexp): Don't add ": " when PROMPT already
2037 ends with a colon and space. (Bug#12321)
2038
c9e452d3
TH
20392012-09-20 Tassilo Horn <tsdh@gnu.org>
2040
2041 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2042 error.
2043
ee97deee
SM
20442012-09-20 Stefan Merten <smerten@oekonux.de>
2045
70efc5c9 2046 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2047 Fixes feature request bug#11711.
2048 (rst-mode): Create `imenu-create-index-function'.
2049 (rst-get-stripped-line): Delete after refactoring.
2050 (rst-section-tree, rst-section-tree-rec)
2051 (rst-section-tree-point): Refactor and document properly.
2052 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2053 (rst-imenu-convert-cell, rst-imenu-create-index):
2054 New function.
ee97deee 2055
f490dab9
SM
20562012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2057
95b9712e
SM
2058 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2059 (macroexp--expand-all): Use it.
2060 (macroexp--funcall-and-return): Remove by folding it into its sole
2061 caller (macroexp--warn-and-return).
2062 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2063 Use macroexp--obsolete-warning.
2064
f490dab9
SM
2065 * calc/calc.el: Fix last change by removing the whole chunk, since it
2066 was only needed back when Calc was not bundled.
2067
96e8d411
MR
20682012-09-20 Martin Rudalics <rudalics@gmx.at>
2069
2070 * emacs-lisp/debug.el (debug): Restore assignment to
2071 debugger-old-buffer removed on 2012-09-08.
2072
0876a82d
JL
20732012-09-20 Juri Linkov <juri@jurta.org>
2074
2075 * dired-aux.el (dired-diff): Remove (require 'diff) since
2076 `diff-latest-backup-file' is now autoloaded.
2077
9f7c28f0
CY
20782012-09-20 Chong Yidong <cyd@gnu.org>
2079
2080 * vc/diff.el (diff-latest-backup-file): Autoload.
2081
7a04bee9
SM
20822012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2083
e6f0a80d
SM
2084 * calc/calc.el: Remove redundant autoload shape check.
2085 (sel-mode): Don't defvar.
2086 (calc-get-stack-element): Add `sel-mode' arg instead.
2087 (calc-top, calc-top-list): Pass it this additional argument.
2088 * calc/calc-store.el (calc-store-map):
2089 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2090 (calc-map-equation, calc-outer-product, calc-inner-product):
2091 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2092
7a04bee9
SM
2093 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2094
12734222
JL
20952012-09-19 Juri Linkov <juri@jurta.org>
2096
2097 * dired-aux.el (dired-diff): Add (require 'diff) because
2098 `diff-latest-backup-file' is not autoloaded.
2099 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2100 of `dired-get-filename' to t to not report error when there is
2101 no default file on the current line.
2102
46624b4f
SM
21032012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2104
ce97595b
SM
2105 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2106 macroexp--eval-if-compile.
2107 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2108 (macroexp--expand-all): Use them (bug#12371).
2109
46624b4f
SM
2110 * doc-view.el (doc-view-guess-paper-size)
2111 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2112
db8a5a18
TH
21132012-09-19 Tassilo Horn <tsdh@gnu.org>
2114
2115 New feature: set optimal slice from BoundingBox information.
2116 * doc-view.el (doc-view-mode-map): Add keybinding.
2117 (doc-view-menu): Add menu entry.
2118 (doc-view-set-slice): Adapt docstring.
2119 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2120 (doc-view-scale-bounding-box)
2121 (doc-view-set-slice-from-bounding-box): New functions.
2122 (doc-view-paper-sizes): New defvar.
2123
69f6644c
GM
21242012-09-19 Glenn Morris <rgm@gnu.org>
2125
35f5b19d
GM
2126 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2127 (byte-compile-log-warning): Autoload. (Bug#12371)
2128
69f6644c
GM
2129 * calendar/calendar.el (calendar-american-month-header)
2130 (calendar-european-month-header, calendar-iso-month-header)
2131 (calendar-month-header): New options.
2132 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2133 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2134
e543ae91
JD
21352012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2136
2137 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2138
2fd5e67d
JL
21392012-09-18 Juri Linkov <juri@jurta.org>
2140
2141 * dired-aux.el (dired-diff): Restore original functionality of
2142 getting the default value, but keep new feature of using the
2143 latest existing backup file (`diff-latest-backup-file').
2144
42917e79
JL
21452012-09-18 Juri Linkov <juri@jurta.org>
2146
2147 * dired.el (dired-mark): If the region is active in Transient Mark
2148 mode, mark all files in the active region. Doc fix.
2149 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2150 Doc fix. (Bug#10624)
2151
20f70ede
JL
21522012-09-18 Juri Linkov <juri@jurta.org>
2153
2154 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2155 attributes for M-n are pulled from the file at point.
2156 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2157 Suggested by Drew Adams. (Bug#10624)
2158
32fb8162
DG
21592012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2160
2161 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2162 whitespace after "end".
2163 (ruby-do-end-to-brace): Collapse block to one line if it fits
2164 within fill-column.
2165
37ab5092
MR
21662012-09-18 Martin Rudalics <rudalics@gmx.at>
2167
2168 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2169 value.
2170 (debug): Don't remove debugger window when debugger is expected
2171 to be back.
2172
ed1f0bd3
CY
21732012-09-18 Chong Yidong <cyd@gnu.org>
2174
2175 * custom.el (defface): Doc fix.
2176
2177 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2178
a11035b8
MB
21792012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2180
2181 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2182 to initialize query-on-exit; then test that instead (bug#12288).
2183
64f6a736
SM
21842012-09-17 Stefan Merten <smerten@oekonux.de>
2185
70efc5c9 2186 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2187 (rst-defcustom-testcover, rst-testcover-add-compose)
2188 (rst-testcover-add-1value): New functions.
2189 (rst-portable-mark-active-p): Replace by `use-region-p'.
2190 (rst-update-section, rst-classify-adornment)
2191 (rst-find-title-line): Mark `1value' forms.
2192 (rst-classify-adornment): Remove superfluous form.
2193 (rst-update-section, rst-get-adornments-around)
2194 (rst-adornment-complete-p, rst-get-next-adornment)
2195 (rst-adjust, rst-promote-region)
2196 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2197 (rst-find-pfx-in-region, rst-section-tree-rec)
2198 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2199 (rst-toc-node, rst-toc, rst-forward-section)
2200 (rst-iterate-leftmost-paragraphs)
2201 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2202 (rst-bullet-list-region)
2203 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2204 (rst-compile-find-conf, rst-compile)
2205 (rst-repeat-last-character): Fix style.
2206
580bd868
CY
22072012-09-17 Chong Yidong <cyd@gnu.org>
2208
2209 * comint.el (comint--complete-file-name-data): Don't add a space
2210 if the status is `sole'; that adds a gratuitous space in the
2211 completion-cycling case (Bug#12092).
2212
2213 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2214
69de3ec6
RS
22152012-09-17 Richard Stallman <rms@gnu.org>
2216
0dee970c
RS
2217 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2218 only in the mime-shown mode, not in raw mode.
2219 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2220 mime processing. (Bug#12305)
0dee970c 2221
6b250df6
GM
2222 * mail/rmail.el (rmail-retry-failure):
2223 Turn off mime processing first. (Bug#12037)
acb1c47b 2224
69de3ec6
RS
2225 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2226
d079ee5f
CY
22272012-09-17 Chong Yidong <cyd@gnu.org>
2228
2229 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2230 (shell-dynamic-complete-functions): Convert to defcustom.
2231 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2232
865fe16f
CY
2233 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2234 * comint.el (comint-prompt-read-only):
2235 * custom.el (defcustom):
2236 * hi-lock.el (hi-lock-mode):
2237 * ibuffer.el (ibuffer-formats):
2238 * ielm.el (ielm-prompt-read-only):
2239 * novice.el (disable-command):
2240 * saveplace.el (toggle-save-place):
2241 * speedbar.el (speedbar-supported-extension-expressions):
2242 * startup.el (auto-save-list-file-prefix, init-file-user)
2243 (after-init-hook, inhibit-startup-echo-area-message):
2244 * strokes.el (strokes-help):
2245 * time-stamp.el (time-stamp):
2246 * calendar/calendar.el (calendar, diary-file):
2247 * calendar/diary-lib.el (diary-mail-entries, diary)
2248 (diary-list-entries-hook):
2249 * calendar/holidays.el (holidays, calendar-holidays):
2250 * calendar/lunar.el (lunar-phases):
2251 * calendar/solar.el (sunrise-sunset):
2252 * emulation/edt.el (edt-load-keys):
2253 * emulation/viper.el (viper-mode):
2254 * eshell/em-alias.el (eshell-command-aliases-list):
2255 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2256 * international/ogonek.el (ogonek-information):
2257 * net/tramp-cmds.el (tramp-bug):
2258 * net/quickurl.el (quickurl-reread-hook-postfix):
2259 * play/decipher.el (decipher-font-lock-keywords):
2260 * progmodes/cc-styles.el (c-set-style):
2261 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2262 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2263 * progmodes/octave-mod.el (octave-mode):
2264 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2265 * progmodes/verilog-mode.el (verilog-read-defines):
2266 * textmodes/two-column.el (2C-mode): Likewise.
2267
48093eb9
KY
22682012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2269
2270 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2271 that holds many addresses.
2272
c584eaf9
CY
22732012-09-16 Chong Yidong <cyd@gnu.org>
2274
40d70ecb
CY
2275 * align.el (align-areas): Call the indication function with
2276 positions instead of markers for arguments (Bug#12343).
2277
1667e065
CY
2278 * files.el (parse-colon-path): Use split-string (Bug#12351).
2279
fdc2806d 2280 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2281 (display-buffer-function): Mark as obsolete.
fdc2806d 2282
f1be615c 2283 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2284 values similar to font-lock-keywords (Bug#12136).
2285 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2286 (compilation-error-regexp-alist): Doc fix.
2287
f40a9709
GM
22882012-09-15 Glenn Morris <rgm@gnu.org>
2289
72aa16e1
GM
2290 * version.el (emacs-bzr-version-bzr): New function.
2291 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2292
82375160
GM
2293 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2294 checkouts, check the parent dirstate matches the branch.
2295 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2296 empty string.
2297
f40a9709
GM
2298 * version.el (emacs-bzr-version): Doc fix.
2299 (emacs-bzr-version-dirstate): New function.
2300 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2301 is local try and check that it matches the branch. If not, just
2302 use dirstate information. (Bug#12441)
2303
cb26b7f5
JL
23042012-09-14 Juri Linkov <juri@jurta.org>
2305
2306 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2307 (Bug#12399)
2308
2de39f08
SM
23092012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2310
0fb3cb7c
SM
2311 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2312
2de39f08
SM
2313 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2314 Remove obsolete byte-compiler hack that tried to silence some warnings.
2315 (edebug-submit-bug-report): Remove.
2316 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2317 Remove aliases, use the un-prefixed name instead.
2318 (edebug-pop-to-buffer): Consider other frames.
2319 (edebug-original-read):: Make it more obvious that it's always defined.
2320 (edebug--make-form-data-entry, edebug--form-data-name)
2321 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2322 single-dashed name, and implement with cl-defstruct.
2323 (edebug-set-form-data-entry): Use the standard accessors.
2324 (edebug-make-top-form-data-entry): Use push.
2325 (edebug-no-match): Drop useless `funcall'.
2326 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2327 to functions.
2328 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2329 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2330 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2331 (easy-menu-define, with-custom-print): Remove redundant specs.
2332 (edebug-outside-overriding-local-map)
2333 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2334 (edebug--display): Bind unread-command-events directly to nil rather
2335 than binding it to unread-command-events and later setting it to nil.
2336 (edebug--display): Kill edebug-eval-buffer here...
2337 (edebug--recursive-edit): ...rather than here.
2338 Bind standard-output and standard-input.
2339 (edebug-eval): Check cl-macroexpand-all is fboundp.
2340 (edebug-temp-display-freq-count): Fix last change.
2341
2342 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2343 * subr.el (noreturn, 1value): Add `debug' spec.
2344 * emacs-lisp/advice.el: Require cl-lib.
2345 (ad-copy-tree): Remove, use copy-tree instead.
2346 (ad-dolist): Remove use dolist or cl-dolist instead.
2347 (ad-do-return): Remove, use cl-return instead.
2348 (defadvice): Add `debug' spec.
2349
5b68b333
JL
23502012-09-13 Juri Linkov <juri@jurta.org>
2351
2352 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2353 (Bug#12399)
2354
b9800ec4
GM
23552012-09-13 Glenn Morris <rgm@gnu.org>
2356
6a2e6868
GM
2357 * calc/calc.el (math-compose-expr):
2358 * calc/calc-ext.el (math-compose-expr):
2359 * progmodes/cc-defs.el (cl-macroexpand-all):
2360 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2361 (cl-macroexpand-all): Update declarations.
2362
b9800ec4
GM
2363 * vc/vc.el: No need to require ediff.
2364 (ediff-load-version-control): Declare.
2365 (ediff-vc-internal): Fix declaration.
2366 (vc-version-ediff): Require ediff.
2367
c18e885b
PE
23682012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2369
2370 Use a more backwards-compatible timer format (Bug#12430).
2371 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2372 being right after USECS, as that better supports old code that
2373 inadvisedly looked directly at the timer vector.
2374
d607d303
KH
23752012-09-13 Kenichi Handa <handa@gnu.org>
2376
2377 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2378 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2379 `coding-priority' property of these language environment.
2380
72eac303
PE
23812012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2382
2383 Fix glitches caused by addition of psec to timers (Bug#12430).
2384 * image.el (image-animate-timer):
2385 * time.el (display-time-world-timer):
2386 Use timer--function and timer--args rather than raw access to
2387 timer vector.
2388
2168fe4f
GM
23892012-09-13 Glenn Morris <rgm@gnu.org>
2390
2391 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2392 If not compiling a file, try using load-file-name.
2393
bd8d6108
SM
23942012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2395
c0c54fbd
SM
2396 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2397 Fix last change.
2398 (edebug-update-eval-list): Use `push'.
2399
bd8d6108
SM
2400 * emacs-lisp/edebug.el: Use lexical-binding.
2401 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2402 Mark unused args with underscore.
2403 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2404 (edebug-form-data): Use defvar-local.
2405 (edebug-make-before-and-after-form, edebug-make-after-form):
2406 Use backquote.
2407 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2408 Not dynamically scoped any more.
2409 (edebug--enter-trace): Add arguments `function' and `args'.
2410 Rename from edebug-enter-trace.
2411 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2412 (edebug--update-coverage): Add `after-index' and `value' args.
2413 Rename from edebug-update-coverage.
2414 (edebug-slow-after): Call it accordingly.
2415 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2416 edebug-recursive-edit.
2417 (edebug--display): Call it accordingly. Add args `value',
2418 `offset-index', and `arg-mode'. Rename from edebug-display.
2419 (edebug-debugger, edebug): Call it accordingly.
2420 (edebug-eval-display-list): Use dolist.
2421
a9f9d9de
JL
24222012-09-12 Juri Linkov <juri@jurta.org>
2423
2424 * info.el (Info-search): Don't check for isearch-mode and
2425 isearch-regexp before let-binding search-spaces-regexp to
2426 Info-search-whitespace-regexp.
2427 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2428 search-whitespace-regexp if isearch-lax-whitespace or
2429 isearch-regexp-lax-whitespace is non-nil.
2430 (Info-mode): Don't set local variable search-whitespace-regexp.
2431 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2432
bfeae2cf
SM
24332012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2436 (debugger-env-macro): Remove support for unread-command-char.
2437
2438 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2439 the temporary map re-appearing on emulation-mode-map-alists.
2440
2441 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2442 since 22.1.
2443
2444 * ehelp.el (with-electric-help): Accept functions in
2445 electric-help-form-to-execute.
2446 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2447 And replace unread-command-char -> unread-command-events.
2448
fbbcaf1b
MA
24492012-09-12 Michael Albinus <michael.albinus@gmx.de>
2450
2451 Sync with Tramp 2.2.6.
2452
2453 * net/tramp.el (tramp-accept-process-output): Don't use
2454 JUST-THIS-ONE in the XEmacs case.
2455
2456 * net/trampver.el: Update release number.
2457
4dece104
MR
24582012-09-12 Martin Rudalics <rudalics@gmx.at>
2459
bfeae2cf
SM
2460 * emacs-lisp/debug.el (debugger-previous-window-height):
2461 New variable.
4dece104
MR
2462 (debug): When debugger-jumping-flag is non-nil try to restore
2463 height of debugger window. (Bug#8789)
2464
45b82ad0
SM
24652012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2466
60c49c0f
SM
2467 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2468 overriding-local-map and pre/post-command-hook here.
2469 (edebug-recursive-edit): Do it here instead (bug#12345).
2470 (edebug-outside-unread-command-char): Remove all uses of
2471 unread-command-char.
2472
45b82ad0
SM
2473 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2474 inhibit-debugger is bound instead.
2475
baa26ea0
BG
24762012-09-11 Bastien Guerry <bzg@gnu.org>
2477
2478 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2479 (Bug#12346)
baa26ea0 2480
04e8abfa
BG
24812012-09-11 Bastien Guerry <bzg@gnu.org>
2482
96d03571 2483 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2484 (Bug#12347)
96d03571
BG
2485
24862012-09-11 Bastien Guerry <bzg@gnu.org>
2487
fc0c31f8 2488 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2489
04e082b0
MM
24902012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2491
2492 * progmodes/sql.el: Version 3.1
2493 (sql-db2-escape-newlines): New variable.
2494 (sql-escape-newlines-filter): Use it.
2495
399a361b
JB
24962012-09-10 Juanma Barranquero <lekktu@gmail.com>
2497
2498 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2499
0780c517
DN
25002012-09-10 Dan Nicolaescu <dann@gnu.org>
2501
45b82ad0
SM
2502 * vc/diff-mode.el (diff-mode-menu):
2503 Bind diff-remove-trailing-whitespace.
0780c517 2504
9b851e25
SM
25052012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2508 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2509 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2510 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2511 (eval-defun-2): Remove bogus interactive spec.
2512 (lisp-indent-line): Remove redundant whole-exp code, now done in
2513 indent-according-to-mode.
2514 (save-match-data): Remove redundant indent data.
2515
2516 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2517 Use `declare'.
2518
3231d532
JL
25192012-09-09 Juri Linkov <juri@jurta.org>
2520
2521 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2522 (replace-lax-whitespace, query-replace-regexp)
2523 (query-replace-regexp-eval, replace-regexp): Doc fix.
2524 (perform-replace, replace-highlight): Let-bind
2525 isearch-lax-whitespace to replace-lax-whitespace and
2526 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2527
2528 * isearch.el (isearch-query-replace): Let-bind
2529 replace-lax-whitespace to isearch-lax-whitespace and
2530 replace-regexp-lax-whitespace to
2531 isearch-regexp-lax-whitespace. (Bug#10885)
2532
70fe8236
SM
25332012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2534
2535 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2536
8ed43f15
AM
25372012-09-09 Alan Mackenzie <acm@muc.de>
2538
70fe8236
SM
2539 * progmodes/cc-engine.el (c-state-cache-init):
2540 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2541 (c-record-parse-state-state):
2542 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2543
bfabf70a
AS
25442012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2545
2546 * register.el (register-separator): Rename from
2547 separator-register. All uses changed. Doc fix.
2548 (register): Fix version.
2549
011474aa
CY
25502012-09-09 Chong Yidong <cyd@gnu.org>
2551
2552 * replace.el (query-replace-map): Bind four new symbols for
2553 requesting window scrolling.
2554
2555 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2556 query-replace-map (Bug#8948).
2557
2558 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2559
2560 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2561 since they are now in query-replace-map.
2562
2563 * window.el (scroll-other-window-down): Make the arg optional.
2564
a8b7cd8d
CY
25652012-09-09 Chong Yidong <cyd@gnu.org>
2566
2567 * files.el (hack-local-variables-confirm): Use quit-window to kill
2568 the *Local Variables* buffer.
2569
c3268831
DG
25702012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2571
2572 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2573 not just expect to be at its beginning. Adjust callees.
2574 Succeed when do-end block has no space before the pipe character.
2575 (ruby-brace-to-do-end): When the original block is one-liner,
2576 convert to multiline. Reindent the result.
2577
0979429b
J
25782012-09-08 Jambunathan K <kjambunathan@gmail.com>
2579
2580 * register.el (register): New group.
27359e99 2581 (separator-register): New user option.
0979429b
J
2582 (increment-register): Route it to `append-to-register', if
2583 register contains text. Implication is that `C-x r +' can now be
2584 used for appending to a text register (bug#12217).
2585 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2586 `separator-register'.
0979429b 2587
ace2989a
AM
25882012-09-08 Alan Mackenzie <acm@muc.de>
2589
2590 AWK Mode: make auto-newline work when there's "==" in the pattern.
2591 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2592 correctly.
0979429b
J
2593 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2594 Test more rigorously for "=" token.
ace2989a 2595
616c6c36
DG
25962012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2597
0979429b
J
2598 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2599 Only fail when reached LIMIT.
616c6c36 2600
35d98877
CY
26012012-09-08 Chong Yidong <cyd@gnu.org>
2602
2603 * dired.el (dired-mode-map): Don't bind M-=.
2604
2605 * dired-aux.el (dired-diff): Use backup file as default.
2606
1715f2db
DA
26072012-09-08 Drew Adams <drew.adams@oracle.com>
2608
2609 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2610
6dcef6ec
CY
26112012-09-08 Chong Yidong <cyd@gnu.org>
2612
2613 * subr.el (syntax-after, syntax-class): Doc fix.
2614
fa2bcf43
MR
26152012-09-08 Martin Rudalics <rudalics@gmx.at>
2616
2617 * window.el (display-buffer-in-previous-window): New buffer
2618 display action function.
2619
2620 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2621 (debugger-previous-window): New variable.
2622 (debug): Rewrite using display-buffer-in-previous-window,
2623 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2624
daac280a
SM
26252012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2628
9dd40b00
MM
26292012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2630
daac280a
SM
2631 * progmodes/python.el (python-shell-send-string):
2632 When default-directory is remote, create temp file on remote
9dd40b00
MM
2633 filesystem.
2634 (python-shell-send-file): When file is remote, pass local view of
2635 file paths to remote Python interpreter. (Bug#12340)
2636
145823ec
CY
26372012-09-07 Chong Yidong <cyd@gnu.org>
2638
cee2e90d
CY
2639 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2640
0d7eb2ea
CY
2641 * files.el (after-find-file): Don't fail on a read-only buffer if
2642 require-final-newline is `visit' or `visit-save' (Bug#11156).
2643
145823ec
CY
2644 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2645
daac280a
SM
2646 * userlock.el (ask-user-about-supersession-threat):
2647 Use read-char-choice (Bug#12093).
145823ec 2648
74c582e6
CY
26492012-09-07 Chong Yidong <cyd@gnu.org>
2650
e5c2edf7
CY
2651 * subr.el (buffer-narrowed-p): New function.
2652
2653 * ses.el (ses-widen):
2654 * simple.el (count-words--buffer-message):
1f9f395d 2655 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2656
2657 * simple.el (count-words-region): Don't signal an error if there
2658 is a non-nil prefix arg and the mark is not set.
c640e87d 2659
74c582e6
CY
2660 * help.el (describe-key-briefly): Allow the message to be seen
2661 when invoked from the minibuffer (Bug#7014).
2662
d81ceaaf
DG
26632012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2664
2665 * progmodes/ruby-mode.el (ruby-end-of-defun)
2666 (ruby-beginning-of-defun): Simplify, allow indentation before
2667 block beginning and end keywords.
8f06acce
DG
2668 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2669 (ruby-end-of-defun): Expect that the point is at the beginning of
2670 the defun.
d81ceaaf 2671
d458ef98
SM
26722012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2675 (bug#12367).
2676 (cl--make-usage-args): Strip _ from argument names.
2677
20367d28
RS
26782012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2679
2680 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2681 obsolete alias speedbar-key-map.
2682 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2683 (vhdl-index-menu-init): Don't use obsolete variable
2684 font-lock-maximum-size.
2685
3424a4f6
CY
26862012-09-06 Chong Yidong <cyd@gnu.org>
2687
2688 * frame.el (window-system-version): Mark as obsolete.
2689
fcbfbdea
CY
2690 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2691 of obsolete variable speedbar-key-map.
2692
826b3235
JL
26932012-09-06 Juri Linkov <juri@jurta.org>
2694
2695 * replace.el (replace-lax-whitespace): New defcustom.
2696 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2697 (replace-string, replace-regexp): Mention it in docstrings.
2698 (perform-replace, replace-highlight): Let-bind
2699 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2700 to the values of replace-lax-whitespace and regexp-flag.
2701 Don't let-bind search-whitespace-regexp. (Bug#10885)
2702
2703 * isearch.el (isearch-query-replace): Let-bind
2704 replace-lax-whitespace instead of let-binding
2705 replace-search-function and replace-re-search-function.
2706 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2707 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2708 (isearch-toggle-symbol): Set isearch-regexp to nil
2709 in isearch-word mode (like in isearch-toggle-word).
2710
1ec5e41d
JL
27112012-09-06 Juri Linkov <juri@jurta.org>
2712
2713 * replace.el (replace-search-function)
2714 (replace-re-search-function): Set default values to nil.
2715 (perform-replace): Let-bind isearch-related variables based on
2716 replace-related values, call `isearch-search-fun' and let-bind
2717 the result to `search-function'. Remove code that sets
2718 `search-function' and `search-string' separately for
2719 `delimited-flag'.
2720 (replace-highlight): Add new argument `delimited-flag' and
2721 rename other arguments to the names used in `perform-replace'.
2722 Let-bind `isearch-word' to the argument `delimited-flag'.
2723 (Bug#10885, bug#10887)
2724
0ba2d4b6
DG
27252012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2726
2727 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2728 ruby-beginning-of-indent, simplify, allow all keywords to have
2729 indentation before them.
2730 (ruby-beginning-of-indent): Adjust for above. Search until the
2731 found point is not inside a string or comment.
2732 (ruby-font-lock-keywords): Allow symbols to start with "@"
2733 character, give them higher priority than variables.
2734 (ruby-syntax-propertize-function)
2735 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2736 matchers. Expression expansions are not comments when inside a
2737 string, and there comment syntax status is irrelevant.
2738 (ruby-match-expression-expansion): New function. Check that
2739 expression expansion is inside a string, and it's not escaped.
2740 (ruby-font-lock-keywords): Use it.
2741
ef654460
MR
27422012-09-05 Martin Rudalics <rudalics@gmx.at>
2743
2744 * help.el (temp-buffer-max-height): New default value.
2745 (temp-buffer-resize-frames): New option.
2746 (resize-temp-buffer-window): Optionally resize frame.
2747
2748 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2749 (fit-frame-to-buffer): New function.
2750
7e570fbf 27512012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2752
2753 * emulation/cua-rect.el (cua--init-rectangles):
2754 * textmodes/picture.el (picture-mode-map):
2755 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2756 like forward-char and backward-char. (Bug#12317)
2757
7e570fbf 27582012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2759
2760 * progmodes/flymake.el (flymake-warning-re): New variable.
2761 (flymake-parse-line): Use it.
2762
7e570fbf 27632012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2764
2765 * calendar/holidays.el (holiday-christian-holidays):
2766 Rename an entry. (Bug#12289)
2767
7e570fbf 27682012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2769
2770 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2771 (bug#12222).
2772
972debf2
SM
27732012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * loadup.el: Load macroexp. Remove hack.
2776 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2777 (macroexp--expand-all): Use it to get better warnings.
2778 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2779 (internal-macroexpand-for-load): New functions.
2780 (macroexp--pending-eager-loads): New var.
2781 (emacs-startup-hook): New hack to replace one in loadup.el.
2782 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2783 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2784 (cl-psetf): Simplify.
2785 (cl-defstruct): Add indent rule.
2786
8ce192e3
LI
27872012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2788
2789 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2790 over `user-mail-address' for the SMTP MAIL FROM envelope.
2791 (smtpmail-via-smtp): Ditto.
2792
6578b4d8
DG
27932012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2794
2795 * progmodes/ruby-mode.el: Clean up keybindings.
2796 (ruby-mode-map): Don't bind ruby-electric-brace,
2797 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2798 backward-kill-word, reindent-then-newline-and-indent.
2799 (ruby-mark-defun): Remove.
2800 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2801 (ruby-mode): Set local beginning-of-defun-function and
2802 end-of-defun-function values.
2803
c5e28e39
MR
28042012-09-03 Martin Rudalics <rudalics@gmx.at>
2805
2806 * window.el (temp-buffer-window-setup-hook)
2807 (temp-buffer-window-show-hook): New hooks.
2808 (temp-buffer-window-setup, temp-buffer-window-show)
2809 (with-temp-buffer-window): New functions.
972debf2
SM
2810 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2811 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2812
2813 * help.el (temp-buffer-resize-mode): Fix doc-string.
2814 (resize-temp-buffer-window): New optional argument WINDOW.
2815
2816 * files.el (recover-file, save-buffers-kill-emacs):
2817 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2818
73406194
MA
28192012-09-02 Michael Albinus <michael.albinus@gmx.de>
2820
2821 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2822 remote definition of `default-directory', ensure we can connect.
2823
63dd1c6f
JL
28242012-09-02 Juri Linkov <juri@jurta.org>
2825
2826 Toggle whitespace matching mode with M-s SPC.
2827 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2828
2829 * isearch.el (search-whitespace-regexp): Doc fix.
2830 Remove cons cell customization.
2831 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2832 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2833 New variables.
2834 (isearch-forward, isearch-forward-regexp): Doc fix.
2835 (isearch-toggle-lax-whitespace): New command.
2836 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2837 (re-search-forward-lax-whitespace)
2838 (re-search-backward-lax-whitespace): New functions.
2839 (isearch-whitespace-regexp): Remove function.
2840 (isearch-query-replace): Let-bind replace-search-function and
2841 replace-re-search-function.
2842 (isearch-occur): Let-bind search-spaces-regexp according to the
2843 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2844 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2845 condition for C-q SPC.
2846 (isearch-search-fun-default): Use new functions mentioned above.
2847 (isearch-search-forward, isearch-search-backward): Remove functions.
2848 (isearch-search): Don't let-bind search-spaces-regexp.
2849 (isearch-lazy-highlight-space-regexp): Remove variable.
2850 (isearch-lazy-highlight-lax-whitespace)
2851 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2852 (isearch-lazy-highlight-new-loop): Use them.
2853 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2854
af7dda05
CY
28552012-09-02 Chong Yidong <cyd@gnu.org>
2856
2857 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2858
d67d3afd
GM
28592012-09-02 Glenn Morris <rgm@gnu.org>
2860
2861 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2862
69678719
GM
28632012-09-01 Glenn Morris <rgm@gnu.org>
2864
2865 * term.el: Tidy up menu definitions.
2866 (term-mode-map): Use easymenu for In/Out, Complete menus.
2867 (term-pager-break-map): Initialize in the defvar.
2868 (term-terminal-menu, term-signals-menu): Define with easymenu.
2869 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2870 (term-pager-menu): New, extracted from term-process-pager.
2871 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2872 (term-update-mode-line): Propertize line/char and page items.
2873 (term-process-pager): Move keymap initialization elsewhere.
2874
78dd6ab1
MR
28752012-09-01 Martin Rudalics <rudalics@gmx.at>
2876
2877 * window.el (switch-to-prev-buffer): Handle additional values of
2878 BURY-OR-KILL argument. Don't switch in minibuffer window.
2879 (switch-to-next-buffer): Don't switch in minibuffer window.
2880 (quit-restore-window): New function based on quit-window.
2881 Handle additional values of former KILL argument.
2882 (quit-window): Call quit-restore-window with appropriate
2883 interpretation of KILL argument.
2884 (display-buffer-below-selected): New buffer display action
2885 function.
2886
3d10e134
SM
28872012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * minibuffer.el (completion-at-point-functions): Complete docstring
2890 (bug#12254).
2891
0e23ef9d
PE
28922012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2893
2894 Better seed support for (random).
2895 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2896 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2897 * play/mpuz.el, play/tetris.el, play/zone.el:
2898 * calc/calc-comb.el (math-init-random-base):
2899 * play/blackbox.el (bb-init-board):
2900 * play/life.el (life):
2901 * server.el (server-use-tcp):
2902 * type-break.el (type-break):
2903 Remove unnecessary call to (random t).
2904 * net/sasl.el (sasl-unique-id-function):
2905 Change (random t) to (random), now that the latter is more random.
2906 * play/life.el (life-initialized): Remove no-longer-needed var.
2907
862382df
MR
29082012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2909
2910 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2911 Consider frame's buffer predicate when choosing the buffer.
2912 (Bug#12081)
2913
262a66e1
RS
29142012-08-30 Richard Stallman <rms@gnu.org>
2915
2916 * simple.el (special-mode-map): Delete binding for `z'.
2917
f17e1d00
AS
29182012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2919
2920 * progmodes/compile.el (compilation-always-kill): Doc fix.
2921
24777832
CY
29222012-08-30 Chong Yidong <cyd@gnu.org>
2923
2924 * window.el (display-buffer-reuse-frames): Make the obsolescence
2925 message more informative.
2926
69ba1f04
GM
29272012-08-30 Glenn Morris <rgm@gnu.org>
2928
2929 * paren.el (show-paren-delay):
2930 Add a :set function. Doc fix. (Bug#12297)
2931
f0019ede
MB
29322012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2933
2934 * progmodes/compile.el (compilation-always-kill): New var.
2935 (compilation-start): Use it.
2936
35e62fc9
SM
29372012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2938
af070a1c
SM
2939 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2940 * files.el (read-only-mode): Move to simple.el.
2941
35e62fc9
SM
2942 * files.el (read-only-mode): New minor mode.
2943 (toggle-read-only): Use it and mark obsolete.
2944 (find-file--read-only):
2945 * vc/vc.el (vc-next-action, vc-checkout):
2946 * vc/vc-cvs.el (vc-cvs-checkout):
2947 * obsolete/vc-mcvs.el (vc-mcvs-update):
2948 * ffap.el (ffap--toggle-read-only): Update callers.
2949
c2c43c23
MA
29502012-08-29 Michael Albinus <michael.albinus@gmx.de>
2951
2952 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2953 remote shell scripts.
2954 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2955
2956 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2957 "/usr/local/sbin".
2958
9fba804b
SM
29592012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2962
eada0861 29632012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2964
806f0cc7
LL
2965 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2966 completion-at-point. (Bug#12220)
2967
3bb213b9
LL
2968 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2969
22ab32ef
LL
2970 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2971
eada0861 29722012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2973
19c17fc1
CY
2974 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2975 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2976
eada0861 29772012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2978
2979 * progmodes/hideif.el (hif-compress-define-list):
2980 Fix typo. (Bug#11951)
2981
eada0861 29822012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2983
2984 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2985 buffer local setting.
2986
27d6c5a8
LL
2987 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2988 rcirc-encode-coding-system.
2989
eada0861 29902012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2991
2992 * net/rcirc.el (rcirc-split-message): New function.
2993 (rcirc-send-message): Use it. (Bug#12051)
2994
d44688e4
JL
29952012-08-28 Juri Linkov <juri@jurta.org>
2996
2997 * info.el (Info-fontify-node): Hide empty lines at the end of
2998 the node. (Bug#12272)
2999
34f10d41
MR
30002012-08-27 Drew Adams <drew.adams@oracle.com>
3001
3002 * dired.el (dired-pop-to-buffer): Make window start at beginning
3003 of buffer (Bug#12281).
3004
77f1f99c
CY
30052012-08-26 Chong Yidong <cyd@gnu.org>
3006
3007 * window.el (special-display-regexps, special-display-frame-alist)
3008 (special-display-buffer-names, special-display-function)
3009 (display-buffer-reuse-frames): Mark as obsolete.
3010
3011 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3012
3013 * help.el (help-print-return-message): Don't treat
3014 display-buffer-reuse-frames specially.
3015
d97af5a0
CY
30162012-08-26 Chong Yidong <cyd@gnu.org>
3017
9fba804b
SM
3018 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3019 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3020 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3021 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3022 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3023 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3024 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3025 the functions directly with gdb-display-buffer-other-frame-action.
3026 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3027 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3028 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3029 (gdb-display-registers-buffer): Define directly.
3030 (def-gdb-display-buffer): Macro deleted.
3031 (gdb-display-buffer): Remove second and third args, callers don't
3032 use them. Defer to the default display-buffer behavior, apart
3033 from making windows dedicated.
3034 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3035
3036 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3037
3038 * window.el (display-buffer-pop-up-frame): Handle a
3039 pop-up-frame-parameters alist entry.
3040 (display-buffer): Document it.
3041
dd7ffad6
CY
30422012-08-26 Chong Yidong <cyd@gnu.org>
3043
3044 * isearch.el (search-whitespace-regexp): Make string and nil
3045 values apply to both ordinary and regexp search. Allow a cons
3046 cell value to distinguish between the two.
3047 (isearch-whitespace-regexp, isearch-search-forward)
3048 (isearch-search-backward): New functions.
3049 (isearch-occur, isearch-search-fun-default, isearch-search)
3050 (isearch-lazy-highlight-new-loop): Use them.
3051 (isearch-forward, isearch-forward-regexp): Doc fix.
3052
4c47bd1e
CY
30532012-08-26 Chong Yidong <cyd@gnu.org>
3054
3055 * faces.el (help-argument-name): Always inherit from italic
3056 (Bug#12213).
3057
9aba119d
MR
30582012-08-25 Martin Rudalics <rudalics@gmx.at>
3059
3060 * window.el (window--even-window-heights): Even heights when
3061 WINDOW and the selected window form a vertical combination.
3062 (display-buffer-use-some-window): Provide that window used gets
3063 sized back by quit-window. (Bug#11880) and (Bug#12091)
3064
ca5256ad
PE
30652012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3066
3067 Fix file time stamp problem with bzr and CVS (Bug#12001).
3068 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3069 in the file's time stamp, since the version control system loses
3070 that information.
3071
d1c0d176
JL
30722012-08-22 Juri Linkov <juri@jurta.org>
3073
3074 * info.el (Info-fontify-node): Hide the suffix of the
3075 Info file name in the header line. (Bug#12187)
3076
141562ff
GM
30772012-08-22 Glenn Morris <rgm@gnu.org>
3078
3079 * calendar/cal-tex.el (cal-tex-weekly-common):
3080 Restore leading blank page.
3081
61a48e19 30822012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3083
3084 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3085 the region under `shift-select-mode'. (Bug#12231)
3086
30872012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3088
3089 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3090 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3091 gives details on why the space is never needed.
3092
ea95074e
MR
30932012-08-22 Martin Rudalics <rudalics@gmx.at>
3094
9fba804b
SM
3095 * window.el (walk-window-tree, window-with-parameter):
3096 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3097 should run on the minibuffer window.
3098 (window-at-side-list): Don't operate on minibuffer window.
3099 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3100 (window--size-ignore): Rename to window--size-ignore-p.
3101 Update callers.
caceae25
MR
3102 (display-buffer-in-atom-window, window--major-non-side-window)
3103 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3104 (delete-side-window, display-buffer-in-side-window):
3105 New functions.
caceae25
MR
3106 (window--side-check, window-deletable-p, delete-window)
3107 (delete-other-windows, split-window): Handle side windows and
3108 atomic windows appropriately.
3109 (window--display-buffer): Call display-buffer-record-window also
3110 when the window buffer did not change.
ea95074e 3111
80a51fa0
CS
31122012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3113
3114 * help-fns.el (help-fns--key-bindings):
3115 Abbreviate non-symbol remap targets. (Bug#12174)
3116
fbb6300b
MR
31172012-08-22 Martin Rudalics <rudalics@gmx.at>
3118
3119 * dired.el (dired-mark-remembered): Don't clobber point.
3120 (Bug#11795)
3121
2b2c0794
GM
31222012-08-22 Glenn Morris <rgm@gnu.org>
3123
3124 * progmodes/bug-reference.el (bug-reference): New custom group.
3125 (bug-reference-bug-regexp): Make it a defcustom.
3126
37219830
DU
31272012-08-22 Daiki Ueno <ueno@unixuser.org>
3128
3129 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3130 (js-paren-indent-offset, js-square-indent-offset)
3131 (js-curly-indent-offset): Add :safe (Bug#12257).
3132
94e0e559
EC
31332012-08-22 Edward O'Connor <hober0@gmail.com>
3134
3135 * json.el (json-key-format): Add error properties.
3136 (json-encode-key): New function.
3137 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3138 Use json-encode-key.
3139
da485f5e
GM
31402012-08-22 Glenn Morris <rgm@gnu.org>
3141
3142 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3143 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3144 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3145 Update for above change.
3146
c6cc78b8
AS
31472012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3148
3149 * cus-face.el (custom-face-attributes): Fix customize type for the
3150 :underline attribute. (Bug#11805)
3151
5481664a
MR
31522012-08-21 Martin Rudalics <rudalics@gmx.at>
3153
3154 * window.el (window-point-1, set-window-point-1): Remove.
3155 (window-in-direction, record-window-buffer)
3156 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3157 (window--state-get-1, display-buffer-record-window):
3158 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3159 window-point and set-window-point respectively.
3160
6d74698e
GM
31612012-08-21 Glenn Morris <rgm@gnu.org>
3162
b7fa2691
GM
3163 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3164 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3165 Use it.
3166
52f56d5a
GM
3167 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3168 (cal-tex-shortday): New function.
3169 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3170 (cal-tex-cursor-filofax-daily): Use the above.
3171
9f1ee09e
GM
3172 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3173 New functions.
3174 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3175 (cal-tex-cursor-filofax-week): Use them.
3176
79858159
GM
3177 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3178 New constants.
3179 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3180 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3181
d346b2b4
GM
3182 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3183 (cal-tex-end-document): Don't rely on buffer name.
3184
b2403709
GM
3185 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3186 Use cal-tex-vspace.
3187 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3188 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3189 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3190 Use cal-tex-arg.
b2403709 3191
1cebb5c0
GM
3192 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3193 (cal-tex-cursor-week, cal-tex-cursor-week2)
3194 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3195 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3196 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3197 (cal-tex-insert-preamble, cal-tex-b-document)
3198 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3199 Improve cal-tex-cmd usage.
3200
c68cd5d4
GM
3201 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3202 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3203 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3204 (cal-tex-weekly-paper): New function.
3205 (cal-tex-cursor-week, cal-tex-cursor-week2)
3206 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3207 (cal-tex-cursor-day): Use it.
3208
9dca4801
GM
3209 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3210 (cal-tex-cursor-filofax-week): Remove leading blank page.
3211
1941e134
GM
3212 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3213 Add autoload cookie. For now at least, don't use color, since
3214 no other cal-tex function does.
3215
6d74698e
GM
3216 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3217 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3218 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3219
64cde199
JL
32202012-08-21 Juri Linkov <juri@jurta.org>
3221
3222 * info.el (Info-file-attributes): New variable.
3223 (info-insert-file-contents): Add file attributes to
3224 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3225 `Info-toc-nodes' when previous modtime of the Info file is less
3226 than new modtime.
3227 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3228 of info.el. (Bug#12230)
3229
32757648
GM
32302012-08-20 Glenn Morris <rgm@gnu.org>
3231
3232 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3233 * calendar/holidays.el (calendar-holiday-list):
3234 Report errors with display-warning rather than beep'n'sleep.
3235
a32fbbcf
MA
32362012-08-20 Michael Albinus <michael.albinus@gmx.de>
3237
3238 * net/tramp.el (tramp-accept-process-output): Accept only output
3239 from PROC. Otherwise, process filters and sentinels might be
3240 confused. (Bug#12145)
3241
a05731a0
CY
32422012-08-20 Chong Yidong <cyd@gnu.org>
3243
3244 * descr-text.el (describe-text-properties-1): Use overlays-in to
3245 report on empty overlays (Bug#3322).
3246
36e8d1eb
GM
32472012-08-20 Glenn Morris <rgm@gnu.org>
3248
3d300447
GM
3249 * mail/rmailout.el (rmail-output-read-file-name):
3250 Trap and report errors in rmail-output-file-alist elements.
3251
36e8d1eb
GM
3252 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3253 since most non-font-lock faces are not also variables).
3254
b96e5814
ER
32552012-08-20 Edward Reingold <reingold@iit.edu>
3256
3257 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3258 New function. (Bug12160)
3259
7cef3569
GM
32602012-08-19 Glenn Morris <rgm@gnu.org>
3261
3262 * mail/rmailout.el (rmail-output-read-file-name):
3263 Fix previous change (when the alist is nil or does not match).
3264
17975d7f
CY
32652012-08-19 Chong Yidong <cyd@gnu.org>
3266
3267 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3268 (Bug#12228).
3269
2170b1bd
CY
32702012-08-18 Chong Yidong <cyd@gnu.org>
3271
3272 * simple.el (yank-handled-properties): New defcustom.
3273 (yank-excluded-properties): Add font-lock-face and category.
3274 (yank): Doc fix.
3275
9fba804b
SM
3276 * subr.el (remove-yank-excluded-properties):
3277 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3278 and category is now done this way, instead of being hard-coded.
3279 (insert-for-yank-1): Remove font-lock-face handling.
3280 (yank-handle-font-lock-face-property)
3281 (yank-handle-category-property): New function.
3282
ee218151
GM
32832012-08-17 Glenn Morris <rgm@gnu.org>
3284
3285 * mail/rmailout.el (rmail-output-read-file-name):
3286 Check rmail-output-file-alist against the full message body
3287 in the correct rmail buffer. (Bug#12214)
3288
4a6bc3fd
MA
32892012-08-17 Michael Albinus <michael.albinus@gmx.de>
3290
9fba804b
SM
3291 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3292 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3293
383dcbf9
CY
32942012-08-17 Chong Yidong <cyd@gnu.org>
3295
3296 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3297 font spec, set the font directly (Bug#3228).
3298
998c4a6a
MR
32992012-08-17 Martin Rudalics <rudalics@gmx.at>
3300
3301 * window.el (delete-window): Fix last fix.
3302
52162052
MR
33032012-08-16 Martin Rudalics <rudalics@gmx.at>
3304
3305 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3306 (window-child, window-child-count, window-last-child)
3307 (window-normalize-window, window-combined-p)
3308 (window-combinations, window-atom-root, window-min-size)
3309 (window-sizable, window-sizable-p, window-size-fixed-p)
3310 (window-min-delta, window-max-delta, window--resizable)
3311 (window--resizable-p, window-resizable, window-total-size)
3312 (window-full-height-p, window-full-width-p, window-body-size)
3313 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3314 (minimize-window, window-deletable-p, delete-window)
3315 (delete-other-windows, set-window-buffer-start-and-point)
3316 (next-buffer, previous-buffer, split-window, balance-windows-2)
3317 (set-window-text-height, window-buffer-height)
3318 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3319 (truncated-partial-width-window-p): Minor code adjustments.
3320 In doc-strings state whether the argument window has to denote a
85c2386b 3321 live, valid or any window.
52162052 3322
1c308380
PS
33232012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3324
3325 * progmodes/subword.el (subword-forward-function)
3326 (subword-backward-function, subword-forward-regexp)
3327 (subword-backward-regexp): New variables.
3328 (subword-forward, subword-forward-internal, subword-backward-internal):
3329 Use new variables, eg so that different "word" definitions
3330 can be easily used. (Bug#11411)
3331
94c9ece1
SM
33322012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3335 for composite selectors.
3336 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3337 operation just because we can't find a previous revision.
3338
f2045622
CY
33392012-08-15 Chong Yidong <cyd@gnu.org>
3340
3341 * frame.el (set-frame-font): Accept font objects.
3342
582db660
SM
33432012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3346
2f29c200
WJ
33472012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3348
456e62c2
WJ
3349 * man.el (Man-overstrike-face, Man-underline-face)
3350 (Man-reverse-face): Remove variables.
3351 (Man-overstrike, Man-underline, Man-reverse): New faces.
3352 (Man-fontify-manpage): Use them instead of the variables.
3353 (Man-cleanup-manpage): Comment change.
3354 (Man-ansi-color-map): New variable.
3355 (Man-fontify-manpage): Use it.
3356 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3357
2f29c200
WJ
3358 Implement ANSI SGR parameters 22-27 (bug#12146).
3359 * ansi-color.el (ansi-colors): Doc fix.
3360 (ansi-color-context, ansi-color-context-region): Doc fix.
3361 (ansi-color--find-face): New function.
3362 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3363 Rename the local variable `face' to `codes' since it is now a list of
3364 ansi codes. Doc fix.
3365 (ansi-color-get-face): Remove.
3366 (ansi-color-parse-sequence): New function, derived from
3367 ansi-color-get-face.
3368 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3369 codes 22-27.
3370
b4f5e9df
SM
33712012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * subr.el (read-passwd): Allow use from a minibuffer.
3374
ba025fbd
EZ
33752012-08-14 Eli Zaretskii <eliz@gnu.org>
3376
3377 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3378 inside comments and strings as identifiers.
3379
3380 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3381 expression to evaluate. This allows to evaluate expressions with
3382 embedded whitespace.
3383 (gud-tooltip-tips): Add a blank before the newline in the
3384 message-box text, for the benefit of message-box emulation on
3385 MS-Windows.
3386
3387 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3388 messages from GDB, pop them up in a tooltip to give feedback to
3389 user.
b4f5e9df
SM
3390 (gdb-tooltip-print-1): Quote the expression to evaluate.
3391 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3392 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3393 if the TTY name is nil or empty (which happens when communicating
3394 with the inferior via pipes, e.g. on MS-Windows).
3395 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3396 don't send that to the GUD buffer.
3397
c548f821
GM
33982012-08-14 Glenn Morris <rgm@gnu.org>
3399
3400 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3401 Optimize away setq-default with no args, as for setq. (Bug#12195)
3402
55802e4a
CY
34032012-08-14 Chong Yidong <cyd@gnu.org>
3404
4abcdac8
CY
3405 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3406
55802e4a
CY
3407 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3408 (Bug#12085).
3409
3c3cda1a
GM
34102012-08-14 Glenn Morris <rgm@gnu.org>
3411
3412 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3413
e1873bd0
MA
34142012-08-14 Michael Albinus <michael.albinus@gmx.de>
3415
3416 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3417 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3418 Use cached shell name.
3419
925411b4
FEG
34202012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3421
3422 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3423 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3424
e636fafe
DG
34252012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3426
3427 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3428 (ruby-percent-literal-beg-re): New constant.
3429 (ruby-syntax-general-delimiters-goto-beg): Rename to
3430 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3431 (ruby-syntax-propertize-general-delimiters): Rename to
3432 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3433 popular term. Adjust comments everywhere.
3434 (ruby-syntax-propertize-percent-literal): Only propertize when not
3435 inside a simple string or comment. When the literal is unclosed,
3436 leave the text after it unpropertized.
f063063a
DG
3437 (ruby-syntax-methods-before-regexp): New constant.
3438 (ruby-syntax-propertize-function): Use it to recognize regexps.
3439 Don't look at the text after regexp, just use the whitelist.
e636fafe 3440
e5b19827
AS
34412012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3442
3443 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3444 non-nil always load the compiled file if it exists. (Bug#12197)
3445
a9f6f311
CY
34462012-08-14 Chong Yidong <cyd@gnu.org>
3447
3448 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3449 (hi-lock-set-pattern): When deciding whether to use font lock or
3450 overlays, look at font-lock-mode instead of font-lock-fontified
3451 (Bug#12168).
3452 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3453 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3454
7d806b1e
DU
34552012-08-14 Daiki Ueno <ueno@unixuser.org>
3456
3457 * subr.el (internal--after-with-selected-window): Fix typo
3458 (Bug#12193).
3459
5beed586
FEG
34602012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3461
3462 Use `completion-table-dynamic' for completion functions.
3463 * progmodes/python.el
3464 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3465 (python-shell-completion--get-completions):
3466 Remove functions.
5beed586
FEG
3467 (python-shell-completion-complete-at-point): New function.
3468 (python-completion-complete-at-point): Use it.
3469
92cb3b04
J
34702012-08-13 Jambunathan K <kjambunathan@gmail.com>
3471
3472 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3473 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3474
89660017
SM
34752012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3c98c962
SM
3477 * subr.el (function-get): Refine `autoload' arg so it can also
3478 autoload functions for gv.el (bug#12191).
3479 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3480 autoloads macros.
3481
aa7c6dbe
SM
3482 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3483 Prefer pcase-let over destructuring-bind.
3484 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3485 Also, remove whitespace as we go, rather than after accumulating the
3486 various places.
3487
89660017
SM
3488 * subr.el (internal--before-with-selected-window)
3489 (internal--after-with-selected-window): Fix typo seleted->selected.
3490 (with-selected-window): Adjust callers.
3491 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3492
31cd32c9
BG
34932012-08-13 Bastien Guerry <bzg@gnu.org>
3494
0fcd3d9f 3495 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3496 enhancement. (Bug#12172)
3497
1b15d8ad
AS
34982012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3499
31e54db0
AS
3500 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3501 type 1-6.
3502 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3503 extended headers.
3504
1b15d8ad
AS
3505 * files.el (hack-local-variables-filter): Remove useless eval.
3506
35cb9c06
MR
35072012-08-13 Martin Rudalics <rudalics@gmx.at>
3508
3509 * subr.el (with-selected-window): Fix last change.
3510
1439443b
SM
35112012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * subr.el (internal--before-with-seleted-window)
3514 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3515 (with-selected-window): Use them, to replace dependency on
3516 tty-top-frame.
1439443b 3517
0d9e2599
NN
35182012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3519
3520 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3521 binding for `newline'.
3522 (ruby-move-to-block): When moving backward, stop at block opening,
3523 not indentation.
3524 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3525 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3526 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3527 `ruby-toggle-block'.
3528
ba10c48c
SM
35292012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3530
3531 * ibuffer.el (ibuffer-do-toggle-read-only):
3532 * dired.el (dired-toggle-read-only):
3533 * buff-menu.el (Buffer-menu-toggle-read-only):
3534 * bindings.el (mode-line-toggle-read-only):
3535 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3536
9229c658
AS
35372012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3538
3539 * descr-text.el (describe-char): Put the overlays over the
3540 "displayed as" character.
3541
0fd09128
JB
35422012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3543
3544 * calc/calc-units.el (math-default-units-table): Give an
3545 initial value.
3546 (math-put-default-units): Add options to put composite units and
3547 unit systems in the default units table.
3548 (calc-convert-units): Send composite units to
3549 `math-put-default-units' when appropriate.
3550
9ff9402d 35512012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3552
fbb5e336
GM
3553 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3554
7aacaf15
GM
3555 * tutorial.el (help-with-tutorial):
3556 * emacs-lisp/copyright.el (copyright-update-directory):
3557 * emacs-lisp/autoload.el (autoload-find-generated-file)
3558 (autoload-find-file): Disable local eval: (for insurance).
3559
f40b9f10
GM
3560 * files.el (hack-local-variables-filter): If an eval: form is not
3561 known to be safe, and enable-local-variables is :safe, then ignore
3562 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3563 This is CVE-2012-3479.
f40b9f10 3564
daa9f1a6
SM
35652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3568 (rx-form): Simplify.
3569
9cd80478
DG
35702012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3571
0d9e2599
NN
3572 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3573 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3574 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3575 (ruby-syntax-propertize-function): Adjust for changes in
3576 `ruby-syntax-propertize-heredoc'.
3577
35782012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3579
9cd80478
DG
3580 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3581 binding (use `M-;' instead).
9cd80478 3582 (ruby-singleton-class-p): New function.
0d9e2599 3583 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3584
d301b413
SM
35852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3588
1530c98e
CY
35892012-08-10 Chong Yidong <cyd@gnu.org>
3590
3591 * progmodes/python.el (python-shell-get-process-name): Don't mess
3592 with same-window-buffer-names.
3593
3594 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3595 (eshell-remove-from-window-buffer-names): Make obsolete.
3596 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3597 (eshell): Just use pop-to-buffer-same-window instead.
3598
e1293765
CY
35992012-08-10 Chong Yidong <cyd@gnu.org>
3600
3601 * bindings.el: Bind M-= back to count-words-region.
3602
3603 * simple.el (count-words-region): Accept a prefix arg for acting
3604 on the entire buffer.
3605 (count-words--buffer-message): New helper function.
3606
e1894109
SM
36072012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3610 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3611 (event-start, event-end): Use posn-at-point to return a more
3612 informative posn.
3613 (posnp): New function.
3614 * mouse.el (popup-menu-normalize-position): Use it.
3615
c69f56a2
MY
36162012-08-10 Masatake YAMATO <yamato@redhat.com>
3617
3618 * mouse.el (popup-menu-normalize-position): New function.
3619 (popup-menu): Use `popup-menu-normalize-position' to normalize
3620 the form for POSITION argument.
3621
3622 * term/x-win.el (x-menu-bar-open):
3623 Use the value returend from (posn-at-point) as position
3624 passed to `popup-menu'.
3625
31673780
JB
36262012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3627
3628 * calc/calccomp.el (math-compose-expr): Add extra argument
3629 indicating that parentheses should be put around products in
3630 denominators. Give multiplication precedence over division during
3631 composition.
3632
dab7711b
CY
36332012-08-09 Chong Yidong <cyd@gnu.org>
3634
dee4ef93
CY
3635 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3636 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3637 (Man-untabify-command, manual-program): Convert to defcustom
3638 (Bug#10429).
3639
73e2bbc5
CY
3640 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3641
3e861c8a
CY
3642 * descr-text.el (describe-char): Don't insert extra newlines
3643 (Bug#10127).
3644
a9f5a649
CY
3645 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3646 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3647
dab7711b
CY
3648 * align.el (align-region): Delete temporary markers (Bug#10047).
3649 Plus some code cleanups.
3650
e0cc4efa
FEG
36512012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3652
3653 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3654 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3655 (python-shell-internal-last-output): Use make-local-variable
3656 instead of make-variable-buffer-local.
3657
489af14f
FEG
36582012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3659
3660 * progmodes/python.el: Enhancements to forward-sexp.
3661 (python-nav-forward-sexp): Rename from
3662 python-nav-forward-sexp-function.
c69f56a2
MY
3663 (python-nav--forward-sexp, python-nav--backward-sexp):
3664 New functions.
489af14f 3665
0fc50303
JB
36662012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3667
3668 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3669 modes and simplification modes.
3670
5d65606a
SM
36712012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * delsel.el (delete-selection-pre-hook): Don't propagate the
3674 file-supersession signals (bug#12161).
3675
4250fdf5
SM
36762012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3677
3678 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3679 (cl-map-extents): Add compatibility aliases (bug#12135).
3680
d9f9b465
MA
36812012-08-08 Michael Albinus <michael.albinus@gmx.de>
3682
3683 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3684 tests by `ignore-error'.
3685 (tramp-find-shell): Open also a new shell, when cache is already
3686 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3687
ce0fcefa
JL
36882012-08-08 Juri Linkov <juri@jurta.org>
3689
3690 * bookmark.el: Add `defaults' property to the bookmark record.
3691 (bookmark-current-buffer): Doc fix.
3692 (bookmark-make-record): Add `defaults' property with default values
3693 to the bookmark record.
3694 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3695 with `bookmark-insert-current-bookmark'.
3696 (bookmark-set): Get `defaults' property from the bookmark record
3697 and use it in `read-from-minibuffer'.
3698 (bookmark-insert-current-bookmark): Remove function.
3699
3700 * info.el (Info-bookmark-make-record): Add `defaults' property
3701 with values of canonical Info node name, the current Info file
3702 name and the current Info node name. (Bug#12107)
3703
53fa8652
JL
37042012-08-08 Juri Linkov <juri@jurta.org>
3705
3706 * files.el (basic-save-buffer): Use `buffer-name' as the default
3707 of `read-file-name' when buffer is not visiting a file (bug#12128).
3708
242c0a95
JL
37092012-08-08 Juri Linkov <juri@jurta.org>
3710
3711 * info.el (Info-isearch-search): Doc fix.
3712 (Info-search): Change search-failed message from "initial node" to
3713 "end of node" (bug#12078).
3714 (Info-isearch-search): Change `isearch-string-state' to
3715 `isearch--state-string'.
3716
32ac3a6b
GM
37172012-08-08 Glenn Morris <rgm@gnu.org>
3718
3719 * language/persian.el: Remove file.
f8c1afd5 3720 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3721 * loadup.el: Remove language/persian.
3722
2c2d9c9c
OF
37232012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3724
3725 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3726
2d79ec42
FEG
37272012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3728
3729 * progmodes/python.el Fixed defsubst warning.
3730 (python-syntax-context) Rename from python-info-ppss-context.
3731 (python-syntax-context-type): Rename from
3732 python-info-ppss-context-type.
3733 (python-syntax-comment-or-string-p): Rename from
3734 python-info-ppss-comment-or-string-p.
3735
2bd255dd
JB
37362012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3737
3738 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3739
c395097f
AS
37402012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3741
6125983e
AS
3742 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3743 a defcustom that is quoted with backquote.
3744
4250fdf5
SM
3745 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3746 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3747 (math-do-arg-check, math-define-function-body): Use backquote forms.
3748 * calc/calc-ext.el (math-defcache): Likewise.
3749 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3750 * allout.el (allout-new-exposure): Likewise.
3751 * calc/calcalg2.el (math-tracing-integral): Likewise.
3752 * info.el (Info-last-menu-item): Likewise.
3753 * emulation/vip.el (vip-loop): Likewise.
3754 * textmodes/artist.el (artist-funcall): Likewise.
3755 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3756 Construct menu-item directly.
3757
4250fdf5
SM
3758 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3759 Don't declare.
c395097f 3760
5fb50dd3
CY
37612012-08-07 Chong Yidong <cyd@gnu.org>
3762
3763 * simple.el (deactivate-mark): Preserve text properties when
3764 saving the primary selection (Bug#8384).
3765
54eea618
KR
37662012-08-07 Kevin Ryde <user42@zip.com.au>
3767
3768 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3769 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3770 and continue processing (Bug#12110).
3771
638eaeb9
SM
37722012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3775 syntax-propertize-function (bug#10095).
3776
ea376861
SM
37772012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3778
f91b35be
SM
3779 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3780 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3781 describe-function-1.
3782 (describe-function-1): Use them. Move compiler macro after sig.
3783 (help-fns--compiler-macro): Use function-get. Assume we're already in
3784 standard-output. Adjust layout to new call order.
3785
ea376861
SM
3786 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3787 re-binding a symbol that has a symbol-macro (bug#12119).
3788
d5be7bd0
MB
37892012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3790
3791 * language/persian.el: New file. (Bug#11812)
3792 * loadup.el: Add language/persian.el.
3793
90749b53
CY
37942012-08-06 Chong Yidong <cyd@gnu.org>
3795
3796 * window.el (window--maybe-raise-frame): New function.
3797 (window--display-buffer): Split off from here.
3798 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3799 (display-buffer-pop-up-window, display-buffer-use-some-window):
3800 Obey an inhibit-switch-frame action alist entry.
3801 (display-buffer): Update doc.
3802
3803 * replace.el (occur-after-change-function): Avoid losing focus by
3804 using the inhibit-switch-frame display parameter (Bug#12139).
3805
ba7b0154
FEG
38062012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3807
3808 Make internal shell process buffer names start with space.
3809 * progmodes/python.el (python-shell-make-comint): Add optional
3810 argument INTERNAL.
3811 (run-python-internal): Use it.
3812 (python-shell-internal-get-or-create-process): Check for new
3813 internal buffer names.
3814
5eaeacb5
GM
38152012-08-06 Glenn Morris <rgm@gnu.org>
3816
e296d94b 3817 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3818 Do less getting and setting of environment variables.
3819
b7ccbdc2
CY
38202012-08-05 Chong Yidong <cyd@gnu.org>
3821
777fe95e
CY
3822 * proced.el (proced): Add substitution string to docstring to
3823 trigger autoloading of the proced library on C-h f (Bug#1768).
3824
4250fdf5
SM
3825 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3826 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3827
3828 * imenu.el (imenu-generic-expression): Move documentation here
3829 from imenu--generic-function.
3830 (imenu--generic-function): Refer to imenu-generic-expression.
3831
9e3b7800 38322012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3833
3834 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3835 indentation declaration.
3836 (viper-loop): Add indentation declaration (Bug#7025).
3837
e5d9c0d1
CY
38382012-08-05 Chong Yidong <cyd@gnu.org>
3839
f0422feb
CY
3840 * help-fns.el (describe-variable): Add hyperlink for
3841 directory-local variables files. Improve buffer-local and
3842 permanent-local reporting; suggested by MON KEY (Bug#6644).
3843
3844 * help-mode.el (help-dir-local-var-def): New button type.
3845
e5d9c0d1
CY
3846 * files.el (kill-buffer-hook): Provide a defvar.
3847
a4f2deaa
GM
38482012-08-05 Glenn Morris <rgm@gnu.org>
3849
3850 * eshell/esh-ext.el (eshell/addpath):
3851 Also update eshell-path-env. (Bug#12013)
3852
a9dd5754
CY
38532012-08-05 Chong Yidong <cyd@gnu.org>
3854
a4f2deaa 3855 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3856
d014c740
CY
3857 * fringe.el (fringe-styles): Add docstring.
3858 (fringe--check-mode): New function.
3859 (set-fringe-mode, set-fringe-style): Use it.
3860 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3861
a9dd5754
CY
3862 * files.el (set-auto-mode): Fix invalid setq call.
3863
7c2dc8bd
SM
38642012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * isearch.el: Misc simplification; use defstruct.
3867 (isearch-mode-map): Dense maps now work like sparse ones.
3868 (isearch--state): New defstruct.
3869 (isearch-string-state, isearch-message-state, isearch-point-state)
3870 (isearch-success-state, isearch-forward-state)
3871 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3872 (isearch-wrapped-state, isearch-barrier-state)
3873 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3874 replaced by defstruct's accessors.
3875 (isearch--set-state): Rename from isearch-top-state and change
3876 calling convention.
3877 (isearch-push-state): Use new isearch--get-state.
3878 (isearch-toggle-word): Disable regexp when enabling word.
3879 (isearch-message-prefix): Remove unused arg _c-q-hack.
3880 (isearch-message-suffix): Remove unused arg _ellipsis.
3881
7fcc0070
AS
38822012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3883
3884 * simple.el (list-processes--refresh): For a server use :host or
3885 :local as the address.
97ad0769 3886 (list-processes): Doc fix.
7fcc0070 3887
a11035b8 38882012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3889
3890 * lisp/mpc.el: Support password in host argument.
3891 (mpc--proc-connect): Parse and use new password element.
3892 Set mpc-proc variable instead of returning process.
3893 (mpc-proc): Adjust accordingly.
3894
6dad7178
EZ
38952012-08-03 Eli Zaretskii <eliz@gnu.org>
3896
18949c2f
EZ
3897 * whitespace.el (whitespace-display-mappings): Use Unicode
3898 codepoints, instead of emacs-mule codepoints. See
3899 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3900 for the details.
3901
6dad7178
EZ
3902 * files.el (file-truename): Don't skip symlink-chasing part on
3903 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3904 Windows into the loop that recursively chases symlinks.
3905 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3906 MS-DOS.
3907
385b0198
CY
39082012-08-03 Chong Yidong <cyd@gnu.org>
3909
6200f3c4
CY
3910 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3911
385b0198
CY
3912 * sort.el (sort-regexp-fields): Doc fix.
3913
b9e74744
TH
39142012-08-03 Tassilo Horn <tsdh@gnu.org>
3915
3916 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3917 labels regex position point at the expected place.
3918
41013cb4
MK
39192012-08-03 MON KEY <monkey@sandpframing.com>
3920
3921 * net/imap.el (imap-interactive-login, imap-authenticate)
3922 (imap-mailbox-lsub, imap-mailbox-list)
3923 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3924 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3925 (imap-parse-response): Doc fix.
3926
0ffee616
JT
39272012-08-03 João Távora <joaotavora@gmail.com>
3928
3929 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3930 if sexp scanning does not move point (Bug#5734).
3931
cfcc9cc8
TH
39322012-08-02 Tassilo Horn <tsdh@gnu.org>
3933
3934 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3935 Add listings, minted, and ctable packages.
3936 (reftex-label-alist-builtin): Move listings, minted, and ctable
3937 entries before LaTeX.
a01bbb84 3938 (reftex-label-alist): Docfix.
cfcc9cc8 3939
66ec2442
BG
39402012-08-02 Bastien Guerry <bzg@gnu.org>
3941
3942 * replace.el (occur): Fix docstring (bug#12122).
3943
837b365b
GM
39442012-08-02 Glenn Morris <rgm@gnu.org>
3945
3946 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3947
e098de97
PE
39482012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3949
3950 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3951 * international/mule-cmds.el: Create
3952 inactivate-current-input-method-function as an obsolete alias for
3953 deactivate-current-input-method-function. See Katsumi Yamaoka in
3954 <http://bugs.gnu.org/10150#46>.
3955
a0f95636
JB
39562012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3957
3958 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3959 of nested `if's.
3960
0d26d7c4
GM
39612012-08-01 Glenn Morris <rgm@gnu.org>
3962
3963 * progmodes/autoconf.el (autoconf-definition-regexp):
3964 Add AH_TEMPLATE, adjust submatch numbering.
3965 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3966 (autoconf-current-defun-function): Update for above change.
3967 (autoconf-current-defun-function): First skip to end of current word.
3968
b686ba06
RS
39692012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3970
3971 * calendar/cal-html.el (cal-html-insert-agenda-days):
3972 Fix typo. (Bug#12018)
3973
0d49da68
FEG
39742012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3975
3976 Shell processes: enhancements to startup and CEDET compatibility.
3977 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3978 (python-shell-make-comint): accept-process-output at startup.
3979 (run-python-internal): Set inferior-python-mode-hook to nil.
3980 (python-shell-internal-get-or-create-process): call sit-for.
3981 (python-preoutput-result): Add obsolete alias.
3982 (python-shell-internal-send-string): Use it.
3983 (python-shell-send-setup-code): Remove call to
3984 accept-process-output.
3985
f1a71c6e
AS
39862012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3987
3988 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3989 (Bug#12108)
3990
d2605269
JB
39912012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3992
3993 * calc-mode.el (calc-basic-simplification-mode): Rename from
3994 `calc-limited-simplification-mode'.
3995 (calc-alg-simplification-mode): New function.
fc0c31f8 3996 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3997
d2605269
JB
3998 * calc.el (calc-set-mode-line): Adjust mode line display for
3999 basic simplification mode.
4000
4001 * calc-help.el (calc-m-prefix-help): Update help message.
4002
4003 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4004 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4005
a3827a43
BG
40062012-07-31 Bastien Guerry <bzg@gnu.org>
4007
4008 * man.el (man): Fix comment. (bug#12101)
4009
502e3f89
MR
40102012-07-31 Martin Rudalics <rudalics@gmx.at>
4011
4012 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4013 Don't return a non-nil value when no suitable buffer was found.
4014
d7714961
FEG
40152012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4016
4017 * progmodes/python.el (run-python-internal): Disable font lock for
4018 internal shells.
4019
1f45e27e
SM
40202012-07-30 Stefan Merten <smerten@oekonux.de>
4021
70efc5c9 4022 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4023 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4024 (rst-official-version, rst-official-cvs-rev)
4025 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4026 (rst-mode-map): New key binding.
4027
0aee6912
PE
40282012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4029
4030 Update .PHONY listings in makefiles.
4031 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4032 autoloads, update-subdirs, updates, bzr-update, update-authors,
4033 compile-onefile, compile-calc, backup-compiled-files,
4034 compile-after-backup, compile-one-process, mh-autoloads,
4035 bootstrap-clean, distclean, maintainer-clean.
4036
9052f9f0
JB
40372012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4038
1823ac5a
JB
4039 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4040 (calc-set-mode-line): Don't display "AlgSimp ".
4041
4042 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4043 (calc-lim-simplify-mode): New function.
4044 (calc-set-simplify-mode): Default to 'alg.
4045 (calc-default-simplify-mode): Make algebraic simplifications
4046 the default.
4047
4048 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4049 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4050
8d7c7eed 4051 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4052 indicate new simplification modes.
4053
1823ac5a
JB
4054 * calc/README: Mention new default simplification mode.
4055
9052f9f0
JB
4056 * calc/calc.el (math-normalize-error): New variable.
4057 (math-normalize): Set `math-normalize-error' to t
4058 when there's an error.
4059
4060 * calc/calc-alg.el (math-simplify): Don't simplify when
4061 `math-normalize' returns an error.
4062
20ba0cb4
EZ
40632012-07-29 Eli Zaretskii <eliz@gnu.org>
4064
4065 * international/mule-cmds.el (set-locale-environment): Revert last
4066 change, since display-graphic-p returns nil when this function is
4067 called during startup. Instead...
4068
4069 * term/w32console.el (terminal-init-w32console): ...setup the
4070 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4071
a5dcc929
JL
40722012-07-29 Juri Linkov <juri@jurta.org>
4073
4074 * simple.el (goto-line): Don't display default line number in the
4075 prompt because it should be displayed by `read-number' (bug#9952).
4076 Add the current line number to the defaults of `goto-line' to
4077 allow its easier modification by users with `M-n' (bug#9201).
4078
4079 * subr.el (read-number): Support multiple default values like in
4080 other minibuffer reading functions. Replace `read' with
4081 `string-to-number' for consistency with `number-to-string'.
4082
72b255c7
PE
40832012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4084
4085 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4086 * emulation/viper-init.el (viper-deactivate-input-method-action):
4087 Rename from viper-inactivate-input-method-action.
4088 (viper-deactivate-input-method):
4089 Rename from viper-inactivate-input-method.
4090 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4091 * international/mule-cmds.el (deactivate-input-method):
4092 Rename from inactivate-input-method.
4093 Also run input-method-deactivate-hook.
4094 (deactivate-current-input-method-function):
4095 Rename from inactivate-current-input-method-function.
4096 (input-method-deactivate-hook): New hook.
4097 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4098 (inactivate-input-method): Mark obsolete.
4099
72b255c7
PE
4100 * international/quail.el (quail-activate):
4101 Also run quail-deactivate-hook.
4102 (quail-deactivate): Rename from quail-inactivate.
4103 * international/robin.el (robin-activate):
4104 Also run robin-deactivate-hook.
4105 (robin-deactivate): Rename from robin-inactivate.
4106
2549c068
CY
41072012-07-29 Chong Yidong <cyd@gnu.org>
4108
4109 * simple.el (indicate-copied-region): New function.
4110 (kill-ring-save): Split off from here.
4111
4112 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4113 (kill-rectangle): Set deactivate-mark to t on read-only error.
4114
4115 * register.el (copy-to-register, copy-rectangle-to-register):
4116 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4117 (append-to-register, prepend-to-register): Call indicate-copied-region.
4118
41192012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4120
4121 * simple.el (async-shell-command-buffer): New defcustom.
4122 (shell-command): Use it. (Bug#4719)
4123
01bd1b0d
EZ
41242012-07-28 Eli Zaretskii <eliz@gnu.org>
4125
4126 * international/mule-cmds.el (set-locale-environment): In a
4127 console session on MS-Windows, set up keyboard and terminal
4128 encoding from the OEM codepage, not the ANSI codepage.
4129 (Bug#12055)
4130
a55739d3
CY
41312012-07-28 Chong Yidong <cyd@gnu.org>
4132
4133 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4134 gdb-get-location.
4135
0e1a094f 41362012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4137
4138 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4139 the alist (bug#12029).
4140
20329d73
EZ
41412012-07-28 Eli Zaretskii <eliz@gnu.org>
4142
4143 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4144 (compile-always, compile-first)
4145 ($(lisp)/calendar/cal-loaddefs.el)
4146 ($(lisp)/calendar/diary-loaddefs.el)
4147 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4148 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4149 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4150 instead of on update-subdirs.
4151 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4152
345a2258
CY
41532012-07-28 Chong Yidong <cyd@gnu.org>
4154
1eee6341
CY
4155 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4156 directory if vc-deduce-backend returns nil (Bug#7350).
4157
345a2258
CY
4158 * simple.el (delete-trailing-lines): New option.
4159 (delete-trailing-whitespace): Obey it (Bug#11879).
4160
049a0936
DE
41612012-07-28 David Engster <deng@randomsample.de>
4162
4163 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4164 Explanation of new 'symbol-qnames feature in doc-strings.
4165 (xml-maybe-do-ns): Return expanded names as plain symbols if
4166 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4167 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4168
aa81af71
FEG
41692012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4170
4171 Consistent completion in inferior python with emacs -nw.
4172 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4173 binding in inferior-python-mode-map with "\t".
4174 (python-shell-completion-complete-at-point)
4175 (python-completion-complete-at-point): Remove interactive spec.
4176
e827b1eb
JB
41772012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4178
4179 * calc/calccomp.el (math-compose-expr): Undo previous change.
4180
a90dfb95
FEG
41812012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4182
4250fdf5 4183 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4184 run-python.
4185 (python-shell-make-comint): Fix pop-to-buffer call.
4186 (run-python): Autoload. New arg SHOW.
4187 (python-shell-get-or-create-process): Do not pop python process
4188 buffer.
4189
32770973 41902012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4191
4192 * notifications.el (notifications-on-action-signal)
4193 (notifications-on-closed-signal): Use also the bus address for the map.
4194 (notifications-notify, notifications-close-notification)
fc0c31f8 4195 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4196
86332df2
TH
41972012-07-27 Tassilo Horn <tsdh@gnu.org>
4198
4250fdf5
SM
4199 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4200 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4201 ctable macro.
4202 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4203 labels written in keyvals syntax.
4204
ca1302a4
JB
42052012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4206
4207 * calc/calccomp.el (math-compose-expr): Use parentheses when
4208 there is a product in the denominator of a fraction.
4209
f8b91036
EZ
42102012-07-26 Eli Zaretskii <eliz@gnu.org>
4211
4212 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4213 ($(lisp)/calendar/diary-loaddefs.el)
4214 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4215 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4216 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4217 rewritten while the autoload files are built at the same time,
4218 which needs to load subdirs.el.
4219
c8e5a42c
MR
42202012-07-26 Martin Rudalics <rudalics@gmx.at>
4221
4222 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4223 (mouse-drag-line): Don't exit tracking when a switch-frame or
4224 switch-window event occurs (Bug#12006).
4225
670d85ea
SM
42262012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * mouse.el (popup-menu): Fix last change.
4229
7abaf5cc
SM
42302012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 Autoload from Lisp with more care. Follow aliases when looking for
4233 function properties.
4234 * subr.el (autoloadp): New function.
4235 (symbol-file): Use it.
4236 (function-get): New function.
4237 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4238 autoload-do-load.
4239 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4240 (lisp-indent-function):
4241 * emacs-lisp/gv.el (gv-get):
4242 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4243 * emacs-lisp/byte-opt.el (byte-optimize-form):
4244 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4245 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4246 Use function-get.
4247 * emacs-lisp/cl.el: Don't propagate function properties any more.
4248
4249 * speedbar.el (speedbar-add-localized-speedbar-support):
4250 * emacs-lisp/disass.el (disassemble-internal):
4251 * desktop.el (desktop-load-file):
4252 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4253 (describe-function-1):
4254 * emacs-lisp/find-func.el (find-function-noselect):
4255 * emacs-lisp/elp.el (elp-instrument-function):
4256 * emacs-lisp/advice.el (ad-has-proper-definition):
4257 * apropos.el (apropos-safe-documentation, apropos-macrop):
4258 * emacs-lisp/debug.el (debug-on-entry):
4259 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4260 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4261 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4262
b1364986
AA
42632012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4264
4265 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4266 function, not an obsolete variable (Bug#12046).
4267
67ada220
AS
42682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4269
4270 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4271
f08088e3
CS
42722012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4273
4274 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4275 window only if it is still live (Bug#12034).
4276
8137e7b3
MR
42772012-07-25 Martin Rudalics <rudalics@gmx.at>
4278
4279 * subr.el (redirect-frame-focus): Add advertised calling
4280 convention (Bug#12030).
4281
09ae5da1
PE
42822012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4283
4284 Prefer typical American spelling for "acknowledgment".
4285 * vc/add-log.el (change-log-acknowledgment): Rename from
4286 change-log-acknowledgement, with an alias for the old name.
4287
3cc5a3a8
JB
42882012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4289
4290 * calc-alg.el (math-simplify-divide): Don't cross multiply
4291 in an equation when the lhs is a variable.
4292
b7af7f62
JD
42932012-07-24 Julien Danjou <julien@danjou.info>
4294
4295 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4296 Remove, unused.
4297
ec1b09b1
EZ
42982012-07-23 Eli Zaretskii <eliz@gnu.org>
4299
4300 * startup.el (command-line): Don't display an empty user name in
4301 the error message about non-existent home directory, when
4302 init-file-user was set to an empty string. See
4303 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4304 for the details and context.
4305
b525fd8a
VB
43062012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4307
4308 * ses.el (ses-cell-formula-aset): New macro.
4309 (ses-cell-references-aset): New macro.
4310 (ses-cell-p): New function.
4311 (ses-rename-cell): Do no longer rely on complex operations like
4312 ses-cell-set-formula or ses-set-cell to change the cell and handle
4313 the undo at the same time, but rather use lower level new macros
4314 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4315 the undo directly. Refresh the mode line.
b525fd8a 4316
2c73e345
LL
43172012-07-21 Leo Liu <sdl.web@gmail.com>
4318
670d85ea
SM
4319 * progmodes/cc-cmds.el (c-defun-name):
4320 Use match-string-no-properties instead for consistency.
2c73e345 4321
542dfbde
LL
43222012-07-20 Leo Liu <sdl.web@gmail.com>
4323
3646bcd6
LL
4324 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4325 (Bug#7879)
4326
542dfbde
LL
4327 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4328
25721031
CY
43292012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4330
4331 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4332 * progmodes/bug-reference.el, misearch.el: Provide themselves
4333 (bug#11915).
4334
4335 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4336 of narrowed buffer (bug#11966).
4337
316e68a7
VB
43382012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4339
4340 * ses.el (ses-rename-cell): Set new name also in reference list of
4341 cells of which the renamed cell depends.
4342
bbf0e7d9
MY
43432012-07-20 Masatake YAMATO <yamato@redhat.com>
4344
4345 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4346 to check whether menu-bar is shown or not. If not shown,
4347 show the menu-bar as a popup menu instead of using tmm.
4348 * mouse.el (popup-menu): Accept `point' as `position' argument.
4349
c28662a8
DG
43502012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4351
4352 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4353 up inside string symbol literal (bug#11923).
4354
87ab808f
EZ
43552012-07-20 Eli Zaretskii <eliz@gnu.org>
4356
4357 * startup.el (fancy-startup-text): Read the whole tutorial, not
4358 just its first 256 bytes. Prevents gibberish in display of the
4359 tutorial title.
4360
89dea803
DA
43612012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4362
4363 Drop idle buffer compaction due to an absence of the
4364 proved efficiency.
4365 * compact.el: Remove.
4366
8a4e6db8
SS
43672012-07-19 Sam Steingold <sds@gnu.org>
4368
4369 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4370 vc-bzr-pull & vc-bzr-merge-branch.
4371 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4372 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4373 for consistency with compilation-error-regexp-alist.
4374 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4375 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4376 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4377 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4378
5db81e33
SM
43792012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * emacs-lisp/chart.el: Use lexical-binding.
4382 (chart-emacs-storage): Don't hardcode the list of entries.
4383
5b835e1d
DA
43842012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4385
4386 Next round of tweaks caused by Fgarbage_collect changes.
4387 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4388
9cd47b72
DA
43892012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4390
4391 Compact buffers when idle.
4392 * compact.el: New file.
4393
1d6fc0df
SM
43942012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * subr.el (eventp): Presume that if it looks vaguely like an event,
4397 it's an event (bug#10190).
4398
1d29cc7d
FEG
43992012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4400
4401 Enhancements to ppss related code (thanks Stefan).
4402 * progmodes/python.el (python-indent-context)
4403 (python-indent-calculate-indentation, python-indent-dedent-line)
4404 (python-indent-electric-colon, python-nav-forward-block)
4405 (python-mode-abbrev-table)
1d6fc0df 4406 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4407 for ppss context.
4408 (python-info-continuation-line-p): Cleanup.
4409 (python-info-ppss-context): Do not catch 'quote.
4410 (python-info-ppss-context-type)
4411 (python-info-ppss-comment-or-string-p): Simplify.
4412
d583cbe6
FEG
44132012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4414
4415 * progmodes/python.el: Enhancements to eldoc support.
4416 (python-info-current-symbol): New function.
4417 (python-eldoc-at-point): Use python-info-current-symbol.
4418 (python-info-current-defun): Fix cornercase on first defun scan.
4419 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4420 and signal error when no inferior python process is available.
4421
eceb6feb
DG
44222012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4423
4424 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4425 assume it's always t.
4426 (vc-git-registered): Remove caching, the function is only called
4427 once.
4428 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4429
4c8ff0fe
CY
44302012-07-18 Chong Yidong <cyd@gnu.org>
4431
19fb7186
CY
4432 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4433
9587c688
CY
4434 * simple.el (count-words): Report on narrowing (Bug#9959).
4435
0fe776a1
CY
4436 * bindings.el: Bind M-= to count-words.
4437
4c8ff0fe
CY
4438 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4439
7f5331cc
MY
44402012-07-18 Masatake YAMATO <yamato@redhat.com>
4441
4442 * progmodes/sh-script.el (sh-imenu-generic-expression):
4443 Capture a function with `function' keyword and without parentheses
4444 like "function FOO" (bug#11856).
4445
2dc2a609
TH
44462012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4447
4448 * window.el (split-window-sensibly): Make WINDOW argument
4449 optional.
4450
439f7677
CY
44512012-07-18 Chong Yidong <cyd@gnu.org>
4452
9aeb25a6
CY
4453 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4454
439f7677
CY
4455 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4456 and make C-x 8 RET exit isearch (Bug#11439).
4457
4458 * international/iso-transl.el: Move isearch-mode-map key
4459 definitions to isearch.el.
4460
12999ea8
SM
44612012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4464 (eieio-defclass): Use gv-define-setter when possible.
4465
3ab6e069
DA
44662012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4467
4468 Reflect recent changes in Fgarbage_collect.
4469 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4470 reflect new format of data returned by Fgarbage_collect.
4471
0a60bc10
FEG
44722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4473
4474 New utility functions + python-info-ppss-context fix (Bug#11910).
4475 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4476 (python-info-ppss-comment-or-string-p): New functions.
4477 (python-info-ppss-context): Small fix for string check.
4478
6dafa0d5
JL
44792012-07-17 Juri Linkov <juri@jurta.org>
4480
4481 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4482 (dired-do-async-shell-command): Don't add `*' at the end of the
4483 command (Bug#11815).
4484 (dired-do-shell-command): Doc fix.
4485 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4486 Join the individual commands using either "&" or ";" as the
4487 separator depending on the values of these trailing characters.
4488 At the end re-add the trailing "&". (Bug#10598)
4489
4490 * simple.el (async-shell-command): Sync the interactive spec with
4491 `shell-command'. Doc fix.
4492 (shell-command): Doc fix.
4493
b19dd9d1
JL
44942012-07-17 Juri Linkov <juri@jurta.org>
4495
4496 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4497
bcdc27d7 44982012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4499
bcdc27d7 4500 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4501 * progmodes/python.el (python-nav-beginning-of-statement):
4502 Rename from python-nav-statement-start.
bcdc27d7
FEG
4503 (python-nav-end-of-statement): Rename from
4504 python-nav-statement-end.
4505 (python-nav-beginning-of-block): Rename from
4506 python-nav-block-start.
4507 (python-nav-end-of-block): Rename from python-nav-block-end.
4508
191da00e
FEG
45092012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4510
7f5331cc
MY
4511 * progmodes/python.el (python-shell-send-string-no-output):
4512 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4513 future interactions (Bug#11868).
4514
4dc7c8d5 45152012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4516
88ecaf8f
SM
4517 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4518
ef501ef0
SM
4519 * emacs-lisp/elint.el (elint-find-args-in-code):
4520 Use help-function-arglist, so as to handle lexical byte-code.
4521
aa7aaf8f
SM
4522 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4523 change (bug#11826).
4524
45fd731c
SM
45252012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4526
2143fa32
SM
4527 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4528 Avoid spuriously marking the buffer as modified because of c-is-sws.
4529
efc26dbe
SM
4530 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4531 as not-a-comment (bug#11946).
4532
f5695c9a
SM
4533 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4534 for uninterned vars.
4535
4536 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4537 Use read-event since we don't really want to read chars but bytes.
4538
45fd731c
SM
4539 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4540 $$..$$ but also $..$ using regexps (bug#11953).
4541 Use tex-verbatim for \url and \path.
4542 (tex-font-lock-keywords): Define as defconst like the others.
4543 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4544
ddfc8813
RK
45452012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4546
4547 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4548 alias for insert-char.
4549
758e556a
FEG
45502012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4551
4552 * progmodes/python.el: Simplified imenu implementation.
4553 (python-nav-jump-to-defun): Remove command.
4554 (python-mode-map): Use `imenu' instead.
4555 (python-nav-list-defun-positions-cache)
4556 (python-imenu-include-defun-type, python-imenu-make-tree)
4557 (python-imenu-subtree-root-label, python-imenu-index-alist):
4558 Remove vars.
4559 (python-nav-list-defun-positions, python-nav-read-defun)
4560 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4561 (python-imenu-make-tree, python-imenu-create-index):
4562 Remove functions.
758e556a
FEG
4563 (python-mode): Update to interact with imenu by setting
4564 `imenu-extract-index-name-function' only.
4565
032d23ab
FEG
45662012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4567
4568 * progmodes/python.el: Enhancements to navigation commands.
4569 (python-nav-backward-sentence)
4570 (python-nav-forward-sentence): Remove.
4571 (python-nav-backward-statement, python-nav-forward-statement)
4572 (python-nav-statement-start, python-nav-statement-end)
4573 (python-nav-backward-block, python-nav-forward-block)
4574 (python-nav-block-start, python-nav-block-end)
4575 (python-nav-forward-sexp-function)
4576 (python-info-current-line-comment-p)
4577 (python-info-current-line-empty-p): New functions.
4578 (python-indent-context): Use `python-nav-statement-start'.
4579
01795a1b
MA
45802012-07-16 Michael Albinus <michael.albinus@gmx.de>
4581
9328d9aa
MA
4582 * eshell/em-ls.el (eshell/ls): Use `apply'.
4583
4584 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4585 multi-hops, instead of Tramp internals.
4586
01795a1b
MA
4587 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4588
4589 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4590 when F1 and F2 are located on different hosts.
4591
63408057
CY
45922012-07-14 Chong Yidong <cyd@gnu.org>
4593
4594 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4595 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4596 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4597 (xterm-mouse--read-event-sequence-1000)
4598 (xterm-mouse--read-event-sequence-1006): New functions. For old
4599 mouse protocol, handle M-mouse-X events correctly.
4600 (xterm-mouse-event): New arg specifying mouse protocol.
4601 (turn-on-xterm-mouse-tracking-on-terminal)
4602 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4603 sequence to toggle extended coordinates on newer XTerms.
4604 This appears to be harmless on terminals which do not support this.
63408057 4605
cd276f6e
LL
46062012-07-14 Leo Liu <sdl.web@gmail.com>
4607
28ca98ac
LL
4608 Add fringe bitmap indicators for flymake. (Bug#11253)
4609 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4610 (flymake-make-overlay): New arg BITMAP.
4611 (flymake-error-bitmap, flymake-warning-bitmap)
4612 (flymake-fringe-indicator-position): New user variables.
4613
cd276f6e
LL
4614 * fringe.el: New bitmap exclamation-mark.
4615
04408072
JD
46162012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4617
4618 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4619 also (Bug#7879).
4620
b5cf7fc4
CY
46212012-07-14 Chong Yidong <cyd@gnu.org>
4622
4623 * electric.el (electric-pair-post-self-insert-function): Fix pair
4624 insertion in empty-region case (Bug#11520).
4625
be755c79
RT
46262012-07-14 Chong Yidong <cyd@gnu.org>
4627
45fd731c
SM
4628 * bindings.el: Consolidate ctl-x-r-map bindings.
4629 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4630
4631 * rect.el, register.el: Move bindings to bindings.el.
4632
46332012-07-14 Reuben Thomas <rrt@sc3d.org>
4634
4635 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4636
7f5b3198
AS
46372012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4638
4639 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4640
97662200
JB
46412012-07-13 Juanma Barranquero <lekktu@gmail.com>
4642
80185fed
JB
4643 * bindings.el (top): Use `mapc' instead of `mapcar'.
4644
97662200
JB
4645 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4646
2bb1ae55
MA
46472012-07-13 Michael Albinus <michael.albinus@gmx.de>
4648
4649 * progmodes/sql.el (sql-comint): Suppress the check for program on
4650 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4651 (Bug#11908)
4652
dea31bd3
CY
46532012-07-13 Chong Yidong <cyd@gnu.org>
4654
4655 * bindings.el: Assign a non-nil permanent-local property to
4656 per-buffer variables which lack a default value (Bug#11930).
4657
4658 * help-fns.el (describe-variable): In the "automatically becomes
4659 local" notice, take note of permanent-local variables.
4660
b68b3337
CY
46612012-07-13 Chong Yidong <cyd@gnu.org>
4662
4663 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4664 to allow printing the message when called from Lisp.
4665
4666 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4667 Remove toggle-read-only.
4668
4669 * bs.el (bs-toggle-readonly):
45fd731c
SM
4670 * buff-menu.el (Buffer-menu-toggle-read-only):
4671 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4672
4673 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4674 Remove with-no-warnings around toggle-read-only.
4675 (ffap-read-only, ffap-read-only-other-window)
4676 (ffap-read-only-other-frame): Callers changed.
4677
4678 * help-mode.el: Don't require view package.
4679 (help-mode-finish): Set buffer-read-only instead of calling
4680 toggle-read-only.
4681
4682 * bindings.el (mode-line-toggle-read-only):
4683 * dired.el (dired-toggle-read-only):
4684 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4685 with non-nil second arg.
4686
4687 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4688 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4689 directly.
4690
56bc1586
EZ
46912012-07-12 Eli Zaretskii <eliz@gnu.org>
4692
4693 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4694 not incf.
4695
a464a6c7
SM
46962012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 More CL cleanups and reduction of use of cl.el.
4699 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4700 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4701 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4702 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4703 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4704 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4705 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4706 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4707 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4708 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4709 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4710 * eshell/em-cmpl.el, eshell/em-banner.el:
4711 * calendar/parse-time.el: Use cl-lib.
4712 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4713 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4714 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4715 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4716 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4717 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4718 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4719 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4720 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4721 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4722 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4723 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4724 `lambda' rather than with `quote'.
4725 (eshell-do-opt): Adjust accordingly.
4726 (eshell-process-option): Simplify.
4727 * eshell/esh-var.el:
4728 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4729 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4730 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4731 to `pcase--dontcare'.
4732 * emacs-lisp/cl.el (labels): Mark obsolete.
4733 (cl--letf, letf): Move to cl-lib.
4734 (cl--letf*, letf*): Remove.
4735 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4736 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4737 (cl-progv): Rewrite.
4738 (cl--letf, cl-letf): Move from cl.el.
4739 (cl-letf*): New macro.
4740 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4741
7ad4afe1
MA
47422012-07-11 Michael Albinus <michael.albinus@gmx.de>
4743
4744 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4745
9af57756
CY
47462012-07-11 Chong Yidong <cyd@gnu.org>
4747
4748 * vc/log-edit.el (log-edit-vc-backend): New variable.
4749 (log-edit): Doc fix.
4750
4751 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4752 argument of log-edit to set up all local variables.
4753 (vc-start-logentry): New optional arg specifying VC backend.
4754
4755 * vc/vc.el (vc-checkin): Use it.
4756 (vc-deduce-fileset): Handle Log Edit buffers.
4757 (vc-diff): Make first argument optional too.
4758
4759 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4760
8477cc7a
MA
47612012-07-10 Michael Albinus <michael.albinus@gmx.de>
4762
4763 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4764 command, just in case. The function is not needed anymore.
4765 (eshell-external-command): Do not call `eshell-remote-command'.
4766
19faa8e8
SM
47672012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4768
f58e0fd5
SM
4769 Reduce use of (require 'cl).
4770 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4771 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4772 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4773 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4774 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4775 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4776 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4777 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4778 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4779 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4780 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4781 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4782 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4783 (byte-compile-unfold-bcf, byte-compile-check-variable):
4784 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4785 (byte-compile-nilconstp):
4786 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4787 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4788
2519d43a
SM
4789 * emacs-lisp/gv.el (cond): Make it a valid place.
4790 (if): Simplify slightly.
4791
19faa8e8
SM
4792 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4793 (pcase--self-quoting-p): New function.
4794 (pcase--u1): Use it.
4795
c4907a5e
GM
47962012-07-10 Glenn Morris <rgm@gnu.org>
4797
4798 * emacs-lisp/authors.el (authors-fixed-entries):
4799 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4800
c4444d16
PE
48012012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4802
4803 Rename configure.in to configure.ac (Bug#11603).
4804 * emacs-lisp/authors.el (authors-canonical-file-name):
4805 * progmodes/autoconf.el (autoconf-mode):
4806 Prefer configure.ac to configure.in.
4807
d75be97d
CY
48082012-07-08 Chong Yidong <cyd@gnu.org>
4809
01ac65bd
CY
4810 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4811 Implement the mouse-1-click-follows-link handling properly.
4812
4813 * info.el (Info-link-keymap): Use follow-link mechanism for
4814 header-line links (Bug#374).
4815
d75be97d
CY
4816 * simple.el (deactivate-mark): Do not set the primary selection
4817 if another program has acquired it (Bug#11772).
4818
87a92845 48192012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4820
4821 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4822 (woman-decode-region): Replace escaped-escapes without destroying
4823 bold or underline (Bug#11552).
87a92845 4824 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4825
621b9d6c
CY
48262012-07-07 Chong Yidong <cyd@gnu.org>
4827
4828 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4829 (interprogram-cut-function, interprogram-paste-function):
4830 Mention that we typically mean the clipboard.
621b9d6c 4831
133a11fc
GM
48322012-07-06 Glenn Morris <rgm@gnu.org>
4833
0d27a45e
GM
4834 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4835
133a11fc
GM
4836 * files.el (toggle-read-only): Restrict message to interactive use.
4837
07b151f1
MA
48382012-07-06 Michael Albinus <michael.albinus@gmx.de>
4839
4840 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4841
4842 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4843
211b896b
GM
48442012-07-06 Glenn Morris <rgm@gnu.org>
4845
50394322
GM
4846 * Makefile.in (compile-one-process): Rename from "recompile".
4847
211b896b
GM
4848 * Makefile.in (bzr-update): "compile" is the same as "recompile
4849 autoloads", but parallelizable, so use that instead.
4850
4737eec9
DG
48512012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4852
4853 * window.el (quit-window): Always restore window height when
8137e7b3 4854 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4855
226c3633 48562012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4857
4858 * simple.el (kill-whole-line): Doc tweak.
4859
226c3633 48602012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4861
4862 * files.el (file-relative-name): Compare file names
4863 case-insensitively if on MS-Windows or MS-DOS, or if
4864 read-file-name-completion-ignore-case is non-nil. Don't use
4865 case-fold-search for this purpose. (Bug#11827)
4866
4dc7c8d5
SM
48672012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4868
4869 * calendar/cal-dst.el (calendar-current-time-zone):
4870 Return calendar-current-time-zone-cache if non-nil.
4871
48722012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 48732012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4874
19faa8e8
SM
4875 * calendar/cal-dst.el (calendar-current-time-zone):
4876 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4877
60198fc9
GM
48782012-07-06 Glenn Morris <rgm@gnu.org>
4879
4880 * Makefile.in (cvs-update): Remove old alias.
4881
957b3189
MA
48822012-07-05 Michael Albinus <michael.albinus@gmx.de>
4883
4884 Sync with Tramp 2.2.6-pre.
4885
4886 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4887 compatible declaration.
4888
19faa8e8
SM
4889 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4890 Protect `list-load-path-shadows' call.
957b3189
MA
4891
4892 * net/tramp-compat.el (top): Require packages, which aren't
4893 autoloaded anymore for XEmacs. Protect call of
4894 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4895 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4896 it hurts at least for SXEmacs.
4897 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4898 standard-value for `temporary-file-directory'.
4899
4900 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4901 Redirect stderr to /dev/null.
4902 (tramp-sh-handle-write-region): uid and gid can be floats.
4903 Reported by Russell Sim <russell.sim@gmail.com>.
4904 (tramp-sh-handle-vc-registered): Hide errors.
4905 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4906 and `start-file-process'.
4907 (tramp-maybe-open-connection): Check also whether `non-essential'
4908 is bound.
4909
566df3fc
CY
49102012-07-04 Chong Yidong <cyd@gnu.org>
4911
4912 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4913 (xml-parse-tag): Likewise, and avoid changing entity tables.
4914 (xml-syntax-table): Define from scratch, making sure not to give
4915 x2000 and other Unicode spaces whitespace syntax, since those are
4916 not spaces in XML.
4917 (xml-parse-fragment): Delete unused function.
4918 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4919 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4920 (xml-entity-ref, xml-pe-reference-re)
4921 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4922 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4923 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4924 (xml-entity-value-re): Use syntax references in regexps where
4925 possible; no need to define inside a let-binding.
4926 (xml-parse-dtd): Use xml-pe-reference-re.
4927 (xml-entity-or-char-ref-re): New defconst.
4928 (xml-parse-string, xml-substitute-special): Use it.
4929
30eabd7a
SM
49302012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4931
0781098a
SM
4932 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4933 (find-file--read-only): New function.
4934 (find-file-read-only, find-file-read-only-other-window)
4935 (find-file-read-only-other-frame): Use it.
4936 (insert-file-contents-literally): Don't `fset'.
4937 (get-free-disk-space): Use locate-dominating-file.
4938
b5771c0d
SM
4939 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4940 function is already compiled.
4941
30eabd7a
SM
4942 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4943
b4886f6e
MA
49442012-07-03 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4947 files on the same host.
4948
b9d82339
AS
49492012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4950
4951 * help-fns.el (describe-function-1): Only call
4952 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4953
a76e6535
CY
49542012-07-03 Chong Yidong <cyd@gnu.org>
4955
4956 * xml.el: Protect parser against XML bombs.
4957 (xml-entity-expansion-limit): New variable.
4958 (xml-parse-string, xml-substitute-special): Use it.
4959 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4960
b544fef2
GM
49612012-07-03 Glenn Morris <rgm@gnu.org>
4962
4963 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4964 Allow linking to specific messages in debbugs reports (eg 123#5).
4965
a7aef6f5
CY
49662012-07-02 Chong Yidong <cyd@gnu.org>
4967
4968 * xml.el: Fix entity and character reference expansion, allowing
4969 them to expand into markup as per XML spec.
4970 (xml-default-ns): New variable.
4971 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4972 (xml-parse-region): Make first two arguments optional.
4973 Discard text properties.
4974 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4975 All callers changed.
a7aef6f5
CY
4976 (xml-parse-tag): Call xml-parse-tag-1. For backward
4977 compatibility, this function should not modify buffer contents.
4978 (xml-parse-tag-1): Fix opening-tag regexp.
4979 (xml-parse-string): Rewrite, handling entity and character
4980 references properly.
4981 (xml--entity-replacement-text): Signal an error if a parameter
4982 entity is undefined.
4983
3df31c9f
SM
49842012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4985
2b5208f1
SM
4986 * comint.el (comint-output-filter): Filter out repeated prompts.
4987
3df31c9f
SM
4988 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4989 and file-name-absolute-p.
4990 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4991 internal calls.
4992
e3ac1281
PE
49932012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4994
4995 Spelling fixes.
4996 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4997 Rename from byte-compile--refiy-function. All uses changed.
4998
fbf2e7ad
CY
49992012-07-01 Chong Yidong <cyd@gnu.org>
5000
5001 * xml.el (xml--parse-buffer): New function. Move most of
5002 xml-parse-region here.
5003 (xml-parse-region): Copy region into a temporary buffer, since
5004 parameter entity substitution requires changing buffer contents.
5005 Use xml--parse-buffer.
5006 (xml-parse-file): Use xml--parse-buffer.
5007 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5008 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5009
9bf0aa15
GM
50102012-06-30 Glenn Morris <rgm@gnu.org>
5011
bbce2853
GM
5012 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5013
9bf0aa15
GM
5014 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5015 Remove outdated and unnecessary dbus declarations.
5016
0d23c240
EZ
50172012-06-30 Eli Zaretskii <eliz@gnu.org>
5018
5019 * emacs-lisp/timer.el (timer-until): Subtract results of
5020 float-time, instead of taking float-time of the result of
5021 time-subtract, since float-time signals an error for negative time
5022 arguments.
5023
b3218de1
CY
50242012-06-30 Chong Yidong <cyd@gnu.org>
5025
5026 * xml.el (xml-*-re): Convert defvars into defconsts, and
5027 eval-and-compile them so eval-and-compile works on derivatives.
5028 (xml--entity-replacement-text): Use eval-and-comple.
5029
a40c87a0
MA
50302012-06-30 Michael Albinus <michael.albinus@gmx.de>
5031
5032 * vc/vc-git.el (vc-git-registered): Use cache property
5033 `git-registered'.
5034 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5035 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5036 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5037
ac87de97
DG
50382012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5039
5040 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5041 removed (likely outside Emacs). (Bug#11757)
ac87de97 5042
ac10fe06
SM
50432012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5044
3df31c9f 5045 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5046
7f3fbd5d
CY
50472012-06-30 Chong Yidong <cyd@gnu.org>
5048
5049 * xml.el: Implement XML parameter entities.
5050 (xml-parameter-entity-alist): New variable.
5051 (xml-parse-region, xml-parse-fragment): Preserve previous values
5052 of xml-entity-alist and xml-parameter-entity-alist, so that
5053 repeated calls on different documents do not change them.
5054 (xml-parse-tag): Fix doctype regexp.
5055 (xml--entity-replacement-text): New function.
5056 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5057 properly requires url retrieval which is unimplemented.
5058 (xml-escape-string): Doc fix.
5059
3cfbebba
SM
50602012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5061
5062 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5063
2af3565e
DA
50642012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5065
5066 * fringe.el (fringe-mode): Doc fix.
5067
929df0e7
MA
50682012-06-29 Michael Albinus <michael.albinus@gmx.de>
5069
5070 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5071 is non-nil.
5072 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5073 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5074
c8d3a25c 50752012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5076
c8d3a25c
GM
5077 * calendar/cal-dst.el (calendar-current-time-zone):
5078 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5079
c8d3a25c 50802012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5081
5082 * progmodes/which-func.el (which-func-format):
5083 Add mouse-face. (Bug#11698)
5084
c8d3a25c
GM
50852012-06-29 Leo Liu <sdl.web@gmail.com>
5086
5087 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5088
50892012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * minibuffer.el (minibuffer-confirm-exit-commands):
5092 Add completion-at-point (bug#11725).
5093
50942012-06-29 Glenn Morris <rgm@gnu.org>
5095
5096 * progmodes/f90.el (f90-font-lock-keywords-2):
5097 Add some preprocessor elements. (Bug#10499)
5098
50992012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5102 Use syntax-propertize (bug#11739).
5103
2badeec4
JB
51042012-06-28 Juanma Barranquero <lekktu@gmail.com>
5105
5106 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5107
ae4969c2
JD
51082012-06-28 Julien Danjou <julien@danjou.info>
5109
5110 * term.el (term-handle-colors-array): Use a set of new faces to
5111 color the terminal. Also uses :inverse-video property.
5112 (term-default-fg-color): Set to nil by default, deprecate in favor
5113 of `term-face'.
5114 (term-default-bg-color): Set to nil by default, deprecate in favor
5115 of `term-face'.
5116 (term-current-face): Use `term-face' by default.
5117 (term-bold-attribute): Variable deleted.
5118
1c9bd870
GM
51192012-06-28 Glenn Morris <rgm@gnu.org>
5120
5121 * simple.el (completion-list-mode-finish):
5122 Don't use toggle-read-only. (Since completion-list-mode has
5123 a special mode-class, it wasn't doing anything extra anyway.)
5124
c207708c
SM
51252012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 Make inlining of other-mode interpreted functions work (bug#11799).
5128 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5129 (byte-compile): Use it to fix compilation of lexical-binding closures.
5130 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5131 function, if needed.
5132
3fd56834
SM
51332012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5134
04901786
SM
5135 * help-mode.el (help-make-xrefs): Don't just withstand
5136 cyclic-variable-indirection but any error in documentation-property.
5137
1ec4b7b2
SM
5138 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5139 memory use.
5140 * bindings.el (bindings--define-key): New function.
5141 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5142 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5143 * bindings.el: Use it to purecopy define-key bindings.
5144
e309e2a5
SM
5145 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5146
d5c6faf9
SM
5147 * emacs-lisp/cl.el (flet): Mark obsolete.
5148 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5149 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5150 * progmodes/js.el (js-c-fill-paragraph):
5151 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5152 (ebrowse-switch-member-buffer-to-derived-class):
5153 * play/5x5.el (5x5-solver): Use cl-flet.
5154
6e9590e2
SM
5155 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5156 (cl--symbol-function): New macro.
5157 (cl--letf, cl--letf*): Use it.
5158
3fd56834
SM
5159 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5160 Strip "toggle-" if any.
5161
35ff222c
GM
51622012-06-27 Glenn Morris <rgm@gnu.org>
5163
1ba6038a
GM
5164 * info.el (Info-default-directory-list): Move here from paths.el.
5165 * paths.el: Remove file, which is now empty.
5166 * loadup.el: No longer load "paths".
5167
0ea0e51b
GM
5168 * custom.el (custom-initialize-delay): Doc fix.
5169
35ff222c
GM
5170 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5171 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5172 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5173 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5174 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5175 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5176 * eshell/eshell.el (eshell-defgroup): Remove alias.
5177
c89926a5
CY
51782012-06-27 Chong Yidong <cyd@gnu.org>
5179
5180 * help.el (help-enable-auto-load): New variable.
5181
5182 * help-fns.el (help-fns--autoloaded-p): New function.
5183 (describe-function-1): Refer to a function as "autoloaded" if it
5184 was autoloaded at any time in the past. Perform autoloading if
5185 help-enable-auto-load is non-nil.
5186
cc06e7e7
EZ
51872012-06-26 Eli Zaretskii <eliz@gnu.org>
5188
5189 * makefile.w32-in (compile, compile-always): Depend on
5190 update-subdirs, not on subdirs.el. Otherwise, several different
5191 sub-targets of 'bootstrap' running in parallel could
5192 simultaneously write to subdirs.el, producing a garbled file.
5193
d2c32364
SS
51942012-06-26 Sam Steingold <sds@gnu.org>
5195
5196 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5197 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5198 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5199 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5200 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5201 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5202 * textmodes/tex-mode.el: Use it.
5203 Did not touch cedet and org because they are maintained elsewhere.
5204
5cf983b2
MR
52052012-06-26 Martin Rudalics <rudalics@gmx.at>
5206
5207 * calendar/calendar.el (calendar-exit): Don't try to delete or
5208 iconify last frame. See:
5209 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5210
8c4f2952
JD
52112012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5212
5213 * server.el (server-process-filter): Remember dir in the
5214 process's `server-client-directory' properties.
5215
772b2e2c
CY
52162012-06-24 Chong Yidong <cyd@gnu.org>
5217
5218 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5219 non-tag text.
5220
711b11e1
JB
52212012-06-23 Juanma Barranquero <lekktu@gmail.com>
5222
5223 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5224
dc5d230c
SM
52252012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * help-fns.el (describe-variable): Don't croak when doc is not found.
5228 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5229 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5230 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5231 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5232 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5233 ((lambda ..) ..).
5234 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5235
136e1c1d
CY
52362012-06-23 Chong Yidong <cyd@gnu.org>
5237
e8c1cabf
CY
5238 * info.el (Info-mouse-follow-link): Accept symbol values of
5239 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5240 (Info-fontify-node): Use Info-link-keymap for all navigation
5241 buttons, with link-args property to perform the desired action.
5242 (Info-link-keymap): Doc fix.
5243 (Info-next-link-keymap, Info-prev-link-keymap)
5244 (Info-up-link-keymap): Delete now-unused keymaps.
5245
0e9e6c6a
CY
52462012-06-23 Chong Yidong <cyd@gnu.org>
5247
05e89fea
CY
5248 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5249
0e9e6c6a
CY
5250 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5251 system abbrevs.
5252
5253 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5254
e33c6771
SM
52552012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5256
b68581e2
SM
5257 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5258 (bug#11719).
5259
e33c6771
SM
5260 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5261 the requote function doesn't work properly (bug#11714).
5262
7117e105
GM
52632012-06-23 Glenn Morris <rgm@gnu.org>
5264
5265 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5266
36cec983
SM
52672012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 Further GV/CL cleanups.
5270 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5271 gv-expander.
5272 (gv--defun-declaration): New function.
5273 (defun-declarations-alist): Use it.
5274 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5275 (gv-place): Autoload.
5276 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5277 original definition of dotimes and dolist.
5278 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5279 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5280 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5281 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5282 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5283 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5284 to the function's definition.
5285 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5286 * window.el:
5287 * files.el:
5288 * faces.el:
5289 * env.el: Don't use CL.
5290
d35af63c
PE
52912012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5292
5293 Support higher-resolution time stamps (Bug#9000).
5294
5295 * calendar/time-date.el (with-decoded-time-value): New arg
5296 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5297 (encode-time-value): New optional arg PICO. New type 3.
5298 (time-to-seconds) [!float-time]: Support the new picoseconds
5299 component if it's used.
5300 (seconds-to-time, time-subtract, time-add):
5301 Support ps-resolution time stamps as well.
5302
5303 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5304 (timerp): Timer vectors now have length 9, not 8.
5305 (timer--time): Support new-style (4-part) time stamps.
5306 (timer-next-integral-multiple-of-time): Time stamps now have
5307 picosecond resolution, so take a bit more care about rounding.
5308 (timer-relative-time, timer-inc-time): New optional arg psecs.
5309 (timer-set-time-with-usecs): Set psecs to 0.
5310 (timer--activate): Check psecs component, too.
5311
5312 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5313
ac77b21a
SM
53142012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5315
f143bfe3
SM
5316 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5317 Move the non-essential binding to the post/pre-command-hook where it is
5318 more obviously correct.
5319
ac77b21a
SM
5320 * subr.el (read-passwd): Don't use a history at all.
5321 * savehist.el (savehist-save): Remove password saved accidentally
5322 because of the above bug.
5323
76386c5a
BG
53242012-06-22 Bastien Guerry <bzg@gnu.org>
5325
5326 * files.el (toggle-read-only): Display a message telling whether
5327 the buffer is read-only or not (bug#11726).
5328
2ee3d7f0
SM
53292012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5330
5331 * emacs-lisp/gv.el: New file.
5332 * subr.el (push, pop): Extend to generalized variables.
5333 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5334 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5335 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5336 gv-define-simple-setter, and gv-define-expander.
5337 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5338 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5339 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5340 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5341 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5342 gv-letplace.
5343 (cl-defstruct): Don't define setf-method any more.
5344 * emacs-lisp/cl.el (flet): Don't autoload.
5345 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5346 (define-setf-expander, defsetf, define-modify-macro)
5347 (cl-struct-setf-expander): Move from cl-lib.el.
5348 * emacs-lisp/syntax.el:
5349 * emacs-lisp/ewoc.el:
5350 * emacs-lisp/smie.el:
5351 * emacs-lisp/cconv.el:
5352 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5353 (timer--time): Use gv-define-simple-setter.
5354 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5355 to avoid coding-system problems in subr.el. Adjust all users.
5356 (macroexp--maxsize, macroexp-small-p): New functions.
5357 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5358 * scroll-bar.el (scroll-bar-mode):
5359 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5360 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5361 * winner.el (winner-configuration, winner-make-point-alist)
5362 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5363 * files.el (locate-file-completion-table): Avoid list*.
5364
c5695d1d
CY
53652012-06-22 Chong Yidong <cyd@gnu.org>
5366
5367 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5368 (dired-create-files): Doc fix (Bug#11329).
5369 (dired-do-copy): Doc fix (Bug#11334).
5370 (dired-mark-read-string): Doc fix (Bug#11553).
5371
2ee3d7f0
SM
5372 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5373 Doc fix (Bug#11326).
c5695d1d
CY
5374 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5375 (dired-dwim-target): Doc fix.
5376
5377 * wdired.el (wdired-mode): Doc fix.
5378
89b5595a
GM
53792012-06-22 Glenn Morris <rgm@gnu.org>
5380
575db3f1
GM
5381 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5382 (pcmpl-rpm-cache-stamp-file): New constant.
5383 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5384 (pcmpl-rpm-packages): Optionally cache list of packages.
5385
a4c8dd51
GM
5386 * pcmpl-rpm.el (pcmpl-rpm): New group.
5387 (pcmpl-rpm-query-options): New option.
5388 (pcmpl-rpm-packages): No need to inline it.
5389 Use pcmpl-rpm-query-options.
5390
89b5595a
GM
5391 * calendar/calendar.el (calendar-in-read-only-buffer):
5392 Avoid some needless mode changes.
5393
e76f0800
CY
53942012-06-21 Chong Yidong <cyd@gnu.org>
5395
5396 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5397 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5398 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5399
297a8f1d
CY
54002012-06-20 Chong Yidong <cyd@gnu.org>
5401
5402 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5403
d34c18b1
DR
54042012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5405
5406 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5407 (bug#11201).
5408
32f7f28e
CY
54092012-06-20 Chong Yidong <cyd@gnu.org>
5410
5411 * term.el (term-window-width): Handle the case of a missing right
5412 fringe (Bug#8837).
5413 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5414 (term-mode): Use define-derived-mode. Minor cleanups.
5415 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5416 (term-move-columns, term-insert-char, term-emulate-terminal)
5417 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5418
493c6688
MA
54192012-06-20 Michael Albinus <michael.albinus@gmx.de>
5420
d34c18b1
DR
5421 * net/ange-ftp.el (ange-ftp-get-passwd):
5422 Bind `enable-recursive-minibuffers'.
493c6688
MA
5423 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5424
3f06ecf4
DR
54252012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5426
5427 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5428
68f12411
GM
54292012-06-19 Glenn Morris <rgm@gnu.org>
5430
5431 * progmodes/python.el (python-mode): Derive from prog-mode.
5432
b3820318
KG
54332012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5434
5435 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5436 (edt-user-menu-bar-update-buffers): New functions.
5437 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5438
c6bf3022
CY
54392012-06-19 Chong Yidong <cyd@gnu.org>
5440
5441 * subr.el (with-selected-window): Preserve the selected window's
5442 terminal's top-frame (Bug#4702).
5443
5444 * window.el (save-selected-window): Likewise.
5445
25f09295
SM
54462012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * progmodes/python.el (python-rx-constituents): Move backquote.
5449 (python-skeleton-define, python-define-auxiliary-skeleton):
5450 Use `declare'.
5451
6b11952a
MA
54522012-06-18 Michael Albinus <michael.albinus@gmx.de>
5453
5454 * minibuffer.el (read-file-name-default): Revert the patch from
5455 2012-06-17.
5456
ee4b1330
SM
54572012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5460 (pcase--u1, pcase--q1): Don't use apply-partially.
5461
35647f79
GM
54622012-06-18 Glenn Morris <rgm@gnu.org>
5463
5464 * progmodes/python.el (python-proc, python-buffer)
5465 (python-send-receive, python-send-string): Fix obsolete versions.
5466
24b0cff0
MR
54672012-06-18 Martin Rudalics <rudalics@gmx.at>
5468
5469 * window.el (special-display-p): Completely remove stringp
5470 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5471
29855149
MA
54722012-06-17 Michael Albinus <michael.albinus@gmx.de>
5473
5474 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5475
5476 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5477
5478 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5479 * net/tramp-sh.el (tramp-maybe-open-connection):
5480 Throw if `non-essential' is non-nil.
5481
07463363
MR
54822012-06-17 Martin Rudalics <rudalics@gmx.at>
5483
5484 * window.el (special-display-p): Signal an error if BUFFER-NAME
5485 is not a string (Bug#11713).
5486
48d1354e
PE
54872012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5488
5489 * progmodes/python.el (python-info-beginning-of-backslash):
5490 Rename from python-info-beginning-of-backlash, as a spelling fix.
5491
eb4a8a9a
CY
54922012-06-17 Chong Yidong <cyd@gnu.org>
5493
5494 * term.el (term-emulate-terminal): If term-check-size is called,
5495 move point to the process mark without resetting point (Bug#4635).
5496
ddfbf826 54972012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5498
5499 * international/mule-cmds.el (mule-menu-keymap)
5500 (set-language-environment, set-locale-environment): Doc tweaks.
5501
9b0e3eba
AA
55022012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5503
5504 * cus-face.el (custom-face-attributes): Add wave-style underline
5505 attribute.
5506 * faces.el (set-face-attribute): Update docstring to describe
5507 wave-style underline attribute.
5508
771e3eae
CY
55092012-06-16 Chong Yidong <cyd@gnu.org>
5510
5511 * term/xterm.el (terminal-init-xterm): Discard input before
5512 querying background mode (Bug#10959).
5513
7ae2ea10
SM
55142012-06-16 Stefan Merten <smerten@oekonux.de>
5515
5516 * textmodes/rst.el: Added and corrected some comments.
5517 (rst-re-alist-def): Improve symbol syntax.
5518 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5519 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5520 (rst-official-version, rst-official-cvs-rev): Update version
5521 information.
7ae2ea10 5522
b6974efa
JB
55232012-06-15 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5526 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5527
8826d473
GM
55282012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5529
5530 * progmodes/python.el: New python.el merge.
5531 (python-guess-indent): Obsolete var.
5532 (python-indent-guess-indent-offset): New defcustom.
5533 (python-indent): Obsolete var.
5534 (python-indent-offset): New defcustom.
5535 (python-python-command, python-jython-command): Delete var.
5536 (python-shell-interpreter): New defcustom.
5537 (python-pdbtrack-do-tracking-p): Delete var.
5538 (python-pdbtrack-activate): New defcustom.
5539 (python-use-skeletons): Obsolete var.
5540 (python-skeleton-autoinsert): New defcustom.
5541 (inferior-python-filter-regexp, python-continuation-offset)
5542 (python-honour-comment-indentation, python-indent-string-contents)
5543 (python-jython-packages, python-mode-hook)
5544 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5545 (python-shell-prompt-alist)
5546 (python-source-modes): Delete defcustoms.
5547 (python-check-buffer-name, python-eldoc-setup-code)
5548 (python-eldoc-string-code, python-ffap-setup-code)
5549 (python-ffap-string-code, python-fill-comment-function)
5550 (python-fill-decorator-function, python-fill-paren-function)
5551 (python-fill-string-function, python-imenu-include-defun-type)
5552 (python-imenu-make-tree, python-imenu-subtree-root-label)
5553 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5554 (python-shell-compilation-regexp-alist)
5555 (python-shell-completion-module-string-code)
5556 (python-shell-completion-pdb-string-code)
5557 (python-shell-completion-setup-code)
5558 (python-shell-completion-string-code)
5559 (python-shell-enable-font-lock, python-shell-exec-path)
5560 (python-shell-extra-pythonpaths)
5561 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5562 (python-shell-process-environment)
5563 (python-shell-prompt-block-regexp)
5564 (python-shell-prompt-output-regexp)
5565 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5566 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5567 (python-shell-virtualenv-path): New defcustoms.
5568 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5569 (inferior-python-mode-syntax-table, python--prompt-regexp)
5570 (python-buffer, python-command python-python-command)
5571 (python-default-template, python-imports, python-indent-index)
5572 (python-indent-list, python-indent-list-length)
5573 (python-mode-running, python-pdbtrack-is-tracking-p)
5574 (python-preoutput-continuation, python-preoutput-leftover)
5575 (python-preoutput-result, python-preoutput-skip-next-prompt)
5576 (python-prev-dir/file, python-recursing)
5577 (python-saved-check-command, python-version-checked)
5578 (python-which-func-length-limit)
5579 (view-return-to-alist): Delete vars.
5580 (python-check-custom-command, python-dotty-syntax-table)
5581 (python-imenu-index-alist, python-indent-current-level)
5582 (python-indent-dedenters, python-indent-levels)
5583 (python-nav-beginning-of-defun-regexp)
5584 (python-nav-list-defun-positions-cache)
5585 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5586 (python-shell-internal-buffer)
5587 (python-skeleton-available): New vars.
5588 (def-python-skeleton): Delete macro.
5589 (python-skeleton-define): New macro.
5590 (python-define-auxiliary-skeleton, python-rx): New macros.
5591 (python-insert-class): Delete command.
5592 (python-skeleton-class): New command.
5593 (python-insert-def): Delete command.
5594 (python-skeleton-def): New command.
5595 (python-insert-for): Delete command.
5596 (python-skeleton-for): New command.
5597 (python-insert-if): Delete command.
5598 (python-skeleton-if): New command.
5599 (python-insert-try/except, python-insert-try/finally): Delete commands.
5600 (python-skeleton-try): New command.
5601 (python-insert-while): Delete command.
5602 (python-skeleton-while): New command.
5603 (python-backspace): Delete command.
5604 (python-indent-dedent-line-backspace): New command.
5605 (python-electric-colon): Delete command.
5606 (python-indent-electric-colon): New command.
5607 (python-guess-indent): Delete command.
5608 (python-indent-guess-indent-offset): New command.
5609 (python-shift-left): Delete command.
5610 (python-indent-shift-left): New command.
5611 (python-shift-right): Delete command.
5612 (python-indent-shift-right): New command.
5613 (python-find-function): Delete command.
5614 (python-nav-jump-to-defun): New command.
5615 (python-next-statement): Delete command.
5616 (python-nav-forward-sentence): New command.
5617 (python-previous-statement): Delete command.
5618 (python-nav-backward-sentence): New command.
5619 (python-fill-paragraph): Delete command.
5620 (python-fill-paragraph-function): New command.
5621 (python-send-buffer): Delete command.
5622 (python-shell-send-buffer): New command.
5623 (python-send-defun): Delete command.
5624 (python-shell-send-defun): New command.
5625 (python-send-region, python-send-region-and-go): Delete commands.
5626 (python-shell-send-region)
5627 (python-shell-switch-to-shell): New commands.
5628 (python-send-string): Delete command.
5629 (python-shell-send-string): New command.
5630 (python-switch-to-python): Delete command.
5631 (python-shell-switch-to-shell): New command.
5632 (python-describe-symbol): Delete command.
5633 (python-eldoc-at-point): New command.
5634 (python--set-prompt-regexp, python-args-to-list)
5635 (python-after-info-look, python-check-version)
5636 (python-check-comint-prompt, python-find-imports)
5637 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5638 (python-unload-function, python-expand-template)
5639 (python-maybe-jython, python-preoutput-filter)
5640 (python-pdbtrack-get-source-buffer)
5641 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5642 (python-pdbtrack-toggle-stack-tracking)
5643 (python-pdbtrack-track-stack-file, python-initial-text)
5644 (python-first-word, python-comment-line-p, python-send-command)
5645 (python-setup-brm, python-sentinel, python-set-proc)
5646 (python-skip-out, python-input-filter, python-outdent-p)
5647 (python-outline-level, python-backslash-continuation-line-p)
5648 (python-end-of-block, python-end-of-statement, python-mark-block)
5649 (python-beginning-of-block, python-beginning-of-statement)
5650 (python-blank-line-p, python-beginning-of-string)
5651 (python-open-block-statement-p): Delete functions.
5652 (python-indent-line, python-indent-line-1): Delete functions.
5653 (python-indent-line): New function.
5654 (python-indentation-levels): Delete function.
5655 (python-indent-calculate-levels): New function.
5656 (python-proc): Delete function.
5657 (python-shell-get-process): New function.
5658 (python-send-receive): Delete function.
5659 (python-shell-send-string-no-output): New function.
5660 (python-module-path): Delete function.
5661 (python-ffap-module-path): New function.
5662 (python-completion-at-point)
5663 (python-symbol-completions): Delete functions.
5664 (python-completion-complete-at-point): New function.
5665 (python-load-file): Delete function.
5666 (python-shell-send-file): New function.
5667 (python-calculate-indentation): Delete function.
5668 (python-indent-calculate-indentation): New function.
5669 (python-skip-comments/blanks): Delete function.
5670 (python-util-forward-comment): New function.
5671 (python-continuation-line-p): Delete function.
5672 (python-info-continuation-line-p): New function.
5673 (python-which-func, python-current-defun): Delete function.
5674 (python-info-current-defun): New function.
5675 (python-beginning-of-defun): Delete function.
5676 (python-nav-beginning-of-defun): New function.
5677 (python-close-block-statement-p)
5678 (python-block-end-p): Delete function.
5679 (python-info-closing-block): New function.
5680 (python-comint-output-filter-function)
5681 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5682 (python-fill-comment, python-fill-decorator, python-fill-paren)
5683 (python-fill-string, python-imenu-make-element-tree)
5684 (python-imenu-make-tree, python-imenu-tree-assoc)
5685 (python-indent-context, python-indent-dedent-line)
5686 (python-indent-line-function)
5687 (python-indent-post-self-insert-function)
5688 (python-indent-toggle-levels)
5689 (python-info-assignment-continuation-line-p)
5690 (python-info-beginning-of-backlash)
5691 (python-info-block-continuation-line-p)
5692 (python-info-closing-block-message)
5693 (python-info-line-ends-backslash-p)
5694 (python-info-looking-at-beginning-of-defun)
5695 (python-info-ppss-context, python-info-ppss-context-type)
5696 (python-nav-list-defun-positions, python-nav-read-defun)
5697 (python-nav-sentence-end, python-nav-sentence-start)
5698 (python-pdbtrack-comint-output-filter-function)
5699 (python-pdbtrack-set-tracked-buffer)
5700 (python-shell-calculate-exec-path)
5701 (python-shell-calculate-process-environment)
5702 (python-shell-completion--do-completion-at-point)
5703 (python-shell-completion--get-completions)
5704 (python-shell-completion-complete-at-point)
5705 (python-shell-completion-complete-or-indent)
5706 (python-shell-get-or-create-process)
5707 (python-shell-get-process-name)
5708 (python-shell-internal-get-or-create-process)
5709 (python-shell-internal-get-process-name)
5710 (python-shell-internal-send-string, python-shell-make-comint)
5711 (python-shell-parse-command, python-shell-send-setup-code)
5712 (python-skeleton-add-menu-items)
5713 (python-util-clone-local-variables, python-util-position)
5714 (run-python-internal, python-indentation-levels)
5715 (python-nav-beginning-of-defun)
5716 (python-completion-complete-at-point): New functions.
5717 (run-python): Change arguments. New API requirements.
5718
4302f5ba
SM
57192012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5720
f38ea36d
SM
5721 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5722 (bug#11649).
5723
5724 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5725 (macroexp--expand-all): Use it.
5726
4302f5ba
SM
5727 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5728 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5729 Use `cl-function' instead.
5730
33377562
JB
57312012-06-14 Juanma Barranquero <lekktu@gmail.com>
5732
5733 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5734 Suggested by Stefan Monnier while discussing bug#11657.
5735
54c5ba1a
SS
57362012-06-14 Sam Steingold <sds@gnu.org>
5737
5738 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5739
f9f1b1fe
AS
57402012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5741
5742 * play/doctor.el (doctor-doc): Remove parameter and use
5743 doctor-sent instead of sent.
5744 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5745
a81068ba
SM
57462012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5a315f9c
SM
5748 * files.el: Require cl-lib.
5749 (file-name-non-special): Replace case -> cl-case.
5750
5751 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5752
a81068ba
SM
5753 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5754 mapping from #' to function*.
5755
8cca9703
CY
57562012-06-13 Chong Yidong <cyd@gnu.org>
5757
5758 * mouse.el (mouse-drag-track): Do not set the mark if the user
5759 releases the mouse without selecting anything (Bug#11588).
5760
a12ac9d7
SM
57612012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5762
ccf1dc18
SM
5763 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5764 as well (bug#11646).
5765
ef62b23d
SM
5766 * loadup.el: Count byte-code functions as well.
5767
c4c8444a
SM
5768 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5769 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5770
a12ac9d7
SM
5771 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5772 (bug#11649). Add cl-defun and cl-defmacro.
5773
87e6e64f
DA
57742012-06-13 Drew Adams <drew.adams@oracle.com>
5775
5776 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5777 Fix last change.
5778
682cefaf
MA
57792012-06-13 Michael Albinus <michael.albinus@gmx.de>
5780
5781 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5782 Otherwise, it blocks in batch mode.
5783
773e1f08
JB
57842012-06-13 Juanma Barranquero <lekktu@gmail.com>
5785
5786 * help-mode.el (bookmark-make-record-default): Declare.
5787
60057926
CY
57882012-06-13 Chong Yidong <cyd@gnu.org>
5789
5790 * emacs-lisp/package.el (list-packages): Compute a list of
5791 packages that are newly-available since the last list-packages
5792 invocation.
5793 (package-menu--new-package-list): New var.
5794 (package-menu--generate, package-menu--print-info)
5795 (package-menu--status-predicate, package-menu-mark-install):
5796 Handle new status label "new".
5797
ad4d226c
SM
57982012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5801 conversion to backquotes.
5802
f1a4e679
CY
58032012-06-12 Chong Yidong <cyd@gnu.org>
5804
5805 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5806 Rename from gud-inhibit-global-bindings.
5807
5808 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5809
5810 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5811 hook from nxml-glyph-set-hook.
5812
5813 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5814 declaration.
5815
5816 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5817
5818 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5819 Convert to defcustom.
5820
0c9e42b5
DA
58212012-06-12 Drew Adams <drew.adams@oracle.com>
5822
5823 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5824 New functions.
5825 (help-mode): Use them.
5826
09e06855
GM
58272012-06-11 Glenn Morris <rgm@gnu.org>
5828
5829 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5830 Use preprocessor face for directives.
5831 (fortran-directive-re): Doc fix.
5832
71adb94b
SM
58332012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5834
2eb87922
SM
5835 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5836 conversion to backquotes (bug#11652).
5837
71adb94b
SM
5838 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5839 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5840 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5841 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5842 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5843 (cl-ninth, cl-tenth): Mark them as inlinable.
5844 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5845 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5846 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5847 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5848 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5849 (cl-list*, cl-adjoin): Don't put an autoload manually.
5850 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5851 (cl--compiler-macro-list*): Add autoload cookie.
5852 (cl--compiler-macro-cXXr): New function.
2eb87922 5853
71adb94b
SM
5854 * help-fns.el (help-fns--compiler-macro): New function extracted from
5855 describe-function-1; follow aliases and use `compiler-macro' property.
5856 (describe-function-1): Use it.
5857
a6674402
CY
58582012-06-11 Chong Yidong <cyd@gnu.org>
5859
5860 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5861 is uninstalled, if imagemagick is installed.
5862
bb3faf5b
SM
58632012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * emacs-lisp/cl-lib.el: Use lexical-binding.
5866 (cl-map-extents, cl-maclisp-member): Remove.
5867 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5868 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5869 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5870 * emacs-lisp/cl-extra.el: Use lexical-binding.
5871 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5872 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5873 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5874 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5875 * emacs-lisp/cl-seq.el: Use lexical-binding.
5876 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5877 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5878 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5879 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5880 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5881 CL's internals.
5882
2fe4b125
MA
58832012-06-11 Michael Albinus <michael.albinus@gmx.de>
5884
5885 Sync with Tramp 2.2.6-pre.
5886
5887 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5888 `print-length' and `print-level' to nil, in order to avoid
5889 truncation. Reported by Christopher Schmidt
5890 <christopher@ristopher.com>.
5891
5892 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5893
5894 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5895 New defmacro.
5896 (tramp-compat-copy-directory): Add optional argument
5897 COPY-CONTENTS. It is not handled yet.
5898
5899 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5900 (tramp-ftp-file-name-p): Simplify.
5901
5902 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5903 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5904 connection vector.
5905
5906 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5907 (tramp-methods): Do not use `tramp-password-end-of-line'.
5908 (tramp-completion-function-alist-putty): Handle UNIX case.
5909 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5910 (tramp-do-file-attributes-with-stat)
5911 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5912 gid as real numbers. They could run out of integer range on cygwin.
5913 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5914 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5915 (tramp-open-connection-setup-interactive-shell):
5916 Use `tramp-cleanup'. Move check for busyboxes ...
5917 (tramp-find-shell): ... here. Simplify implementation.
5918 Set "remote-shell" property also for alternative shells.
5919 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5920 If failing, a regular file would be written otherwise.
5921 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5922 (tramp-find-inline-encoding): Cache the coding commands in the
5923 process cache. Apply test command on the remote side, if defined.
5924 (tramp-find-inline-compress): Cache the compress commands in the
5925 process cache.
5926 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5927 when requested. Handle hops.
5928 (tramp-current-connection): New defvar.
87e6e64f
DA
5929 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5930 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5931 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5932 (tramp-get-inline-compress, tramp-get-inline-coding):
5933 Read connection properties from the process cache.
2fe4b125
MA
5934
5935 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5936 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5937 New defconsts.
2fe4b125
MA
5938 (tramp-smb-prompt): Extend for powershell prompt.
5939 (tramp-smb-file-name-handler-alist): Add handlers for
5940 `process-file', `shell-command' and `start-file-process'.
5941 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5942 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5943 (tramp-smb-file-name-p): Simplify.
5944 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5945 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5946 (tramp-smb-shell-quote-argument): New defuns.
5947 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5948 Implement using "tar". By this, time-stamps are preserved.
5949 (tramp-smb-handle-copy-file): Handle also the case of directories.
5950 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5951 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5952 Use `tramp-get-connection-buffer').
2fe4b125
MA
5953 (tramp-smb-handle-rename-file): Use "rename", when source and
5954 target are on the same share.
87e6e64f
DA
5955 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5956 Use `tramp-smb-server-version'.
2fe4b125
MA
5957 (tramp-smb-wait-for-output): Remove prompt.
5958
5959 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5960 (tramp-methods, tramp-rsh-end-of-line):
5961 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5962 (tramp-save-ad-hoc-proxies): New defcustom.
5963 (tramp-completion-function-alist): Adapt docstring.
5964 (tramp-default-password-end-of-line): Remove defcustom.
5965 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5966 (tramp-user-regexp, tramp-file-name-regexp-unified)
5967 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5968 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5969 (tramp-remote-file-name-spec-regexp): New defconst.
5970 (tramp-file-name-structure): Extend structure for hops.
5971 (tramp-get-method-parameter): Move up.
5972 (tramp-file-name-p, tramp-dissect-file-name)
5973 (with-parsed-tramp-file-name): Handle hops.
5974 (tramp-file-name-hop): New defun.
5975 (tramp-make-tramp-file-name): New optional arg HOP.
5976 (tramp-message-show-progress-reporter-message): New defvar.
5977 (tramp-with-progress-reporter): Use it. We cannot use
5978 `tramp-message-show-message' here, because this suppresses also
5979 error buffers.
5980 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5981 `tramp-message-show-message' is nil.
5982 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5983 (tramp-cleanup): New defun.
5984 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5985 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5986 an error unchanged.
5987 (tramp-completion-handle-file-name-all-completions): Handle hops.
5988 Fix an error when called from ido.
5989 (tramp-completion-dissect-file-name): Use better local variable
5990 name. Add hop to the vector.
5991 (tramp-handle-insert-file-contents): Use progress-reporter for the
5992 whole scenario.
5993 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5994 to `t'.
5995 (tramp-check-for-regexp): Simplify search.
5996 (tramp-enter-password): Remove it. Move implementation ...
5997 (tramp-action-password): ... here.
5998 (tramp-mode-string-to-int, tramp-local-host-p)
5999 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6000 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6001 Set tramp-autoload cookie.
2fe4b125
MA
6002
6003 * net/trampver.el: Update release number.
6004
60052012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6006 Michael Albinus <michael.albinus@gmx.de>
6007
6008 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6009 (tramp-parse-group, tramp-parse-file)
6010 (tramp-parse-shostkeys-sknownhosts): New defuns.
6011 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6012 (tramp-parse-shosts-group, tramp-parse-sconfig)
6013 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6014 (tramp-parse-sknownhosts, tramp-parse-hosts)
6015 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6016 Use them.
6017 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6018 (tramp-parse-putty-group): Don't narrow.
6019 (tramp-parse-putty): Make a loop.
6020 (tramp-file-name-handler): Catch the `suppress' signal.
6021
72834e10
CY
60222012-06-11 Chong Yidong <cyd@gnu.org>
6023
6024 * image.el (imagemagick-register-types): Put the ImageMagick entry
6025 at the end of image-type-file-name-regexps.
6026
a4712e11
JB
60272012-06-11 Johan Bockgård <bojohan@gnu.org>
6028
6029 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6030 (pcase, pcase-let*, pcase-dolist): Use them.
6031
82ad98e3
SM
60322012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * emacs-lisp/pcase.el (pcase--let*): New function.
6035 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6036 (pcase--expand): Use macroexp-let².
6037
f80efb86
SM
60382012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6041 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6042 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6043 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6044 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6045 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6046
31ca4639 60472012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6048
31ca4639
CY
6049 * mail/rmail.el (rmail-yank-current-message): Leave point at
6050 correct position. (Bug#11660)
94f0aa34 6051
31ca4639 60522012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6053
31ca4639 6054 * allout-widgets.el: Fix code header.
9e1b8ec4 6055
31ca4639 60562012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6057
f80efb86
SM
6058 * cus-edit.el (customize-changed-options-previous-release):
6059 Bump to 24.1.
31ca4639 6060
642b6d30
AS
60612012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6062
6063 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6064
4f5d2ba1
CY
60652012-06-09 Chong Yidong <cyd@gnu.org>
6066
6067 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6068
e75852fd
MR
60692012-06-09 Martin Rudalics <rudalics@gmx.at>
6070
6071 * window.el (special-display-popup-frame): Don't use
6072 window--display-buffer (Bug#11651).
6073
1e48e282
EZ
60742012-06-09 Eli Zaretskii <eliz@gnu.org>
6075
8a26b487
EZ
6076 Fix parallel builds: make sure loaddefs.el is not being written
6077 while Lisp files are compiled.
6078 (compile): Don't depend on 'mh-autoloads'.
6079 (compile-CMD, compile-SH): Depend on 'autoloads'.
6080 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6081
1e48e282
EZ
6082 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6083
6175e34b
CY
60842012-06-09 Chong Yidong <cyd@gnu.org>
6085
6086 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6087 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6088 Doc fixes (Bug#11225).
6089
d9857e53
SM
60902012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6093 a function if there's a clear indication that it has a compiler-macro.
6094 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6095 (macro-declarations-alist): Add arglist to declaration functions.
6096 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6097 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6098 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6099 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6100 Also add autoload to find the compiler macro.
6101 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6102 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6103 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6104 (cl--compiler-macro-get): New functions, replacing calls to
6105 cl-define-compiler-macro.
6106 (cl-typep) [compiler-macro]: Use macroexp-let².
6107
f81298f8 61082012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6109
6110 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6111 string properly, fixes Bug#11473.
6112
4b56d0fe
CY
61132012-06-08 Chong Yidong <cyd@gnu.org>
6114
6115 * faces.el (set-face-attribute): Doc fix.
6116 (modify-face): Don't use :bold and :italic.
6117 (error, warning, success): Tweak definitions.
6118
6119 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6120 (custom-modified, custom-set, custom-changed, custom-themed)
6121 (custom-saved, custom-button, custom-button-mouse)
6122 (custom-button-pressed, custom-state, custom-comment-tag)
6123 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6124 (custom-group-subtitle): Use new-style face specs.
6125 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6126 (custom-set-face, custom-changed-face, custom-saved-face)
6127 (custom-button-face, custom-button-pressed-face)
6128 (custom-documentation-face, custom-state-face)
6129 (custom-comment-face, custom-comment-tag-face)
6130 (custom-variable-tag-face, custom-variable-button-face)
6131 (custom-face-tag-face, custom-group-tag-face-1)
6132 (custom-group-tag-face): Remove obsolete face alias.
6133
6134 * epa.el (epa-validity-high, epa-validity-medium)
6135 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6136 (epa-field-name, epa-field-body):
6137 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6138 (font-lock-keyword-face, font-lock-builtin-face)
6139 (font-lock-function-name-face, font-lock-variable-name-face)
6140 (font-lock-type-face, font-lock-constant-face):
6141 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6142 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6143 * speedbar.el (speedbar-button-face, speedbar-file-face)
6144 (speedbar-directory-face, speedbar-tag-face)
6145 (speedbar-selected-face, speedbar-highlight-face)
6146 (speedbar-separator-face):
6147 * whitespace.el (whitespace-newline, whitespace-space)
6148 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6149 (whitespace-line, whitespace-space-before-tab)
6150 (whitespace-space-after-tab, whitespace-indentation)
6151 (whitespace-empty):
6152 * emulation/cua-base.el (cua-global-mark):
6153 * eshell/em-prompt.el (eshell-prompt):
6154 * net/newst-plainview.el (newsticker-new-item-face)
6155 (newsticker-old-item-face, newsticker-immortal-item-face)
6156 (newsticker-obsolete-item-face, newsticker-date-face)
6157 (newsticker-statistics-face, newsticker-default-face):
6158 * net/newst-reader.el (newsticker-feed-face)
6159 (newsticker-extra-face, newsticker-enclosure-face):
6160 * net/newst-treeview.el (newsticker-treeview-face)
6161 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6162 (newsticker-treeview-immortal-face)
6163 (newsticker-treeview-obsolete-face)
6164 (newsticker-treeview-selection-face):
6165 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6166 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6167 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6168 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6169 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6170 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6171 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6172 (mpuz-text):
6173 * progmodes/vera-mode.el (vera-font-lock-number)
6174 (vera-font-lock-function, vera-font-lock-interface):
6175 * textmodes/table.el (table-cell): Use new-style face specs, and
6176 don't use the old :bold and :italic attributes.
6177
6178 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6179 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6180 (ebrowse-member-class, ebrowse-progress): Likewise.
6181 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6182 (ebrowse-file-name-face, ebrowse-default-face)
6183 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6184 (ebrowse-progress-face): Remove obsolete faces.
6185
6186 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6187 Inherit from error and warning faces respectively.
6188
6189 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6190 Likewise.
f80efb86
SM
6191 (flyspell-incorrect-face, flyspell-duplicate-face):
6192 Remove obsolete aliases.
4b56d0fe 6193
03310646
MA
61942012-06-08 Michael Albinus <michael.albinus@gmx.de>
6195
6196 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6197 Avoid infloop.
6198
513749ee
SM
61992012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * startup.el (argv, argi): Make lexically scoped.
6202 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6203 * emacs-lisp/cl-macs.el: Use lexical-binding.
6204 Rename cl-bind-* to cl--bind-*.
6205 * files.el: Don't require `cl' since it doesn't use it.
6206 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6207
595ef4ad
JB
62082012-06-08 Juanma Barranquero <lekktu@gmail.com>
6209
6210 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6211 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6212 instead of calling external sort utility.
6213 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6214
e9f66fcb
EZ
62152012-06-08 Eli Zaretskii <eliz@gnu.org>
6216
6217 * descr-text.el (describe-char): Mention how to insert the
6218 character, if the current input method doesn't support it.
6219 See the discussion in this thread for the details:
6220 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6221
3d10db47
SS
62222012-06-08 Sam Steingold <sds@gnu.org>
6223
6224 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6225 XF86Back to previous-buffer.
6226 (minibuffer-local-map): Bind them to next-history-element and
6227 previous-history-element respectively.
6228 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6229 help-go-back respectively.
6230 * info.el (Info-mode-map): Bind them to Info-history-forward and
6231 Info-history-back respectively.
6232 These are the keys next to Up on the ThinkPad keyboard.
6233
de7e2b36
SM
62342012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6237 * emacs-lisp/cl-macs.el: Provide itself.
6238 (cl--labels-convert-cache): New var.
6239 (cl--labels-convert): New function.
6240 (cl-flet, cl-labels): New implementation with new semantics, relying on
6241 lexical-binding.
6242 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6243 (cl-closure-vars, cl--function-convert-cache)
6244 (cl--function-convert): Move from cl-macs.el.
6245 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6246 rename by removing the "cl-" prefix.
6247 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6248
6fa6c4ae
SM
62492012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6252 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6253 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6254 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6255 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6256 (cl-hash-table-count): Add old compatibility aliases.
6257
6258 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6259 Use macroexpand-all-environment instead.
6260 (cl--old-macroexpand): New var.
6261 (cl--sm-macroexpand): New function.
6262 (cl-symbol-macrolet): Use it during macro expansion.
6263 (cl--function-convert-cache): New var.
6264 (cl--function-convert): New function, extracted from
6265 cl-macroexpand-all.
6266 (cl-lexical-let): Use it.
6267
6268 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6269 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6270 (cl-member): Remove old alias.
6271
6272 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6273 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6274 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6275 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6276 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6277 (cl-macroexpand-cmacs): Remove var.
6278 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6279 Use macroexpand-all instead.
6280
4dd1c416
SM
62812012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6284 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6285 (macroexp-copyable-p): New functions and macros.
6286 * emacs-lisp/edebug.el (edebug-unwrap):
6287 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6288 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6289 (pcase--let*): Remove.
6290 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6291 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6292 macroexp-const-p instead.
6293 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6294
6295 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6296 instead of "cl-" for internal definitions. Use macroexp-const-p.
6297 (cl-old-bc-file-form): Remove var.
6298 (cl-const-exprs-p): Remove fun.
6299 (cl-labels, cl-macrolet): Use backquote.
6300 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6301 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6302 (cl-define-setf-expander): Rename from cl-define-setf-method.
6303 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6304
6305 * international/mule-cmds.el: Don't require CL.
6306 (view-hello-file): Don't use `letf'.
6307
ed8bd4d7
SM
63082012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6309
7287f2f3
SM
6310 * tmm.el (tmm-prompt): Use string-prefix-p.
6311 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6312 (tmm-add-prompt): Use minibuffer-completion-help.
6313 (tmm-delete-map): Remove.
6314
ed8bd4d7
SM
6315 * subr.el (kbd): Make it its own function.
6316
7b4cdbf4
SM
63172012-06-07 Stefan Merten <smerten@oekonux.de>
6318
6319 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6320 Silence compiler warnings. Fix versions.
ed8bd4d7 6321 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6322 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6323 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6324 (rst-package-emacs-version-alist): Correct Emacs version to
6325 represent major merge with upstream.
ed8bd4d7 6326 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6327
2b48d721
GM
63282012-06-06 Glenn Morris <rgm@gnu.org>
6329
6330 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6331 Only print environment variables if set.
6332
fa779ab0
SM
63332012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6336 (macroexp--cons): Rename from maybe-cons.
6337 (macroexp--accumulate): Rename from macroexp-accumulate.
6338 (macroexp--all-forms): Rename from macroexpand-all-forms.
6339 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6340 (macroexp--expand-all): Rename from macroexpand-all-1.
6341
628299e0
SS
63422012-06-06 Sam Steingold <sds@gnu.org>
6343
6344 * calendar/calendar.el (calendar-in-read-only-buffer):
6345 Call `special-mode' to enable the standard read-only keybindings.
6346
b7bb5838
SM
63472012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6350 with "loading" messages (bug#11635).
6351
dfb308ba
MA
63522012-06-06 Michael Albinus <michael.albinus@gmx.de>
6353
6354 * files.el (enable-remote-dir-locals): New option.
6355 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6356
0372ee92
MA
6357 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6358 Ensure, that the temp directory is local.
6359
6360 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6361 `temporary-file-directory'.
6362
eed0bb91
MA
6363 * progmodes/python.el (python-send-region): Ensure, that the
6364 temporary file is created also in the remote case.
6365
7a58f64d
GM
63662012-06-06 Glenn Morris <rgm@gnu.org>
6367
f7dd4e98
GM
6368 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6369 (vc-rcs-update-changelog): Use it.
6370
090bd7cb 6371 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6372
7a58f64d
GM
6373 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6374 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6375 (vc-sccs-diff): Replace use of the external vcdiff script.
6376
daed4003
GM
63772012-06-05 Glenn Morris <rgm@gnu.org>
6378
6379 * ledit.el: Move to obsolete/.
6380
48c455c7
SS
63812012-06-05 Sam Steingold <sds@gnu.org>
6382
ed9265fc 6383 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6384 patch (Bug#11140).
6385
57a7d507
SM
63862012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6387
090bd7cb 6388 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6389
53aacf21
SM
6390 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6391 compiler-macro expansion.
6392
57a7d507
SM
6393 Add native compiler-macro support.
6394 * emacs-lisp/macroexp.el (macroexpand-all-1):
6395 Support compiler-macros directly. Properly follow aliases and apply
6396 the compiler macros more thoroughly.
6397 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6398 macroexpand now properly follows aliases.
6399 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6400 (cl-compiler-macroexpand): Use new prop.
6401 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6402
6403 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6404
51a5f9d8
MR
64052012-06-05 Martin Rudalics <rudalics@gmx.at>
6406
6407 * window.el (get-lru-window, get-mru-window, get-largest-window):
6408 New argument NOT-SELECTED to avoid picking the selected window.
6409 (window--display-buffer-1, window--display-buffer-2): Replace by
6410 new function window--display-buffer
6411 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6412 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6413 Use window--display-buffer.
51a5f9d8
MR
6414 (display-buffer-use-some-window): Remove temporary dedication
6415 hack by calling get-lru-window and get-largest-window with
6416 NOT-SELECTED argument non-nil. Call window--display-buffer.
6417
08f9f738
GM
64182012-06-05 Glenn Morris <rgm@gnu.org>
6419
6420 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6421 Replace external vcdiff script.
6422
e364a2b7
SM
64232012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6426
041df390
CY
64272012-06-04 Chong Yidong <cyd@gnu.org>
6428
e364a2b7
SM
6429 * image.el (imagemagick-types-inhibit): Revert last change.
6430 Add INFO and M.
47b36b94 6431 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6432
7c1898a7
SM
64332012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * emacs-lisp/cl-lib.el: Rename from cl.el.
6436 * emacs-lisp/cl.el: New compatibility file.
6437 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6438 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6439 to obey the "cl-" prefix.
6440 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6441
0c3461de
GM
64422012-06-03 Glenn Morris <rgm@gnu.org>
6443
1e266c88
GM
6444 * emacs-lisp/authors.el (authors-aliases): Addition.
6445
0c3461de
GM
6446 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6447 Fix :version.
6448
d8a52e15
SM
64492012-06-03 Stefan Merten <smerten@oekonux.de>
6450
6451 * textmodes/rst.el: Add comments.
6452 (rst-transition, rst-adornment): New faces.
6453 (rst-adornment-faces-alist): Make default safe to reevaluate.
6454 Fixes
6455 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6456 Improve customization tags.
6457 (rst-define-level-faces): Clarify meaning.
6458
5205d6f6
CY
64592012-06-03 Chong Yidong <cyd@gnu.org>
6460
6461 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6462 (compilation-mode-line-run, compilation-mode-line-exit):
6463 New faces.
5205d6f6
CY
6464 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6465
757ee657
JD
64662012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6467
7c1898a7
SM
6468 * progmodes/which-func.el (which-func-update-ediff-windows):
6469 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6470
5f2c76c6
CY
64712012-06-03 Chong Yidong <cyd@gnu.org>
6472
6473 * bindings.el: Remove explicit help text from format-mode-line.
6474 It is now supplied by mode-line-default-help-echo.
6475 (mode-line-front-space, mode-line-end-spaces)
6476 (mode-line-misc-info): New variables.
6477 (mode-line-modes, mode-line-position): Move the default value to
6478 the variable definition.
6479 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6480 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6481 (mode-line-modified-help-echo): New functions.
6482 (mode-line-mule-info, mode-line-modified): Use them.
6483 (mode-line-eol-desc, propertized-buffer-identification):
6484 Consistency fixes for help text.
cbe46e5f
CY
6485 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6486 set-buffer-file-coding-system (Bug#289).
6487 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6488
f2d6a3df
SM
64892012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * simple.el (execute-extended-command): Set real-this-command
6492 (bug#11506).
6493
37269466
CY
64942012-06-02 Chong Yidong <cyd@gnu.org>
6495
6496 Remove incorrect uses of "modeline" in comments, docstrings, and
6497 function/variable names (Bug#10329).
6498
6499 * cus-edit.el (mode-line):
6500 * dframe.el (dframe-mouse-hscroll):
6501 * emacs-lisp/re-builder.el:
6502 * emacs-lisp/easy-mmode.el (define-minor-mode):
6503 * frame.el (set-frame-name):
6504 * help.el (lookup-minor-mode-from-indicator):
6505 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6506 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6507 (c-toggle-hungry-state):
6508 * progmodes/antlr-mode.el (antlr-language-alist):
6509 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6510 * progmodes/vhdl-mode.el (vhdl-mode):
6511 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6512 * term/ns-win.el (ns-face-at-pos):
6513 * term/sup-mouse.el (sup-mouse-report):
6514 * textmodes/flyspell.el (flyspell-mode-line-string):
6515 * textmodes/ispell.el (ispell-highlight-face):
6516 * textmodes/reftex-global.el:
6517 * vc/vc-arch.el (vc-arch-mode-line-string):
6518 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6519 * vc/vc-git.el (vc-git-mode-line-string):
6520 * vc/vc-hooks.el (vc-display-status)
6521 (vc-default-mode-line-string):
6522 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6523
6524 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6525
6526 * dired.el (dired-sort-set-mode-line): Rename from
6527 dired-sort-set-modeline. All callers changed.
6528
6529 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6530 eshell-status-in-modeline.
6531
6532 * foldout.el (foldout-mode-line-string): Rename from
6533 foldout-modeline-string. All callers changed.
6534 (foldout-update-mode-line): Rename from foldout-update-modeline.
6535
6536 * subr.el (redraw-modeline): Make into obsolete alias.
6537
6538 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6539 timeclock-modeline-display. Make old name an alias.
6540 (timeclock-update-mode-line): Likewise. All callers changed.
6541 (timeclock-mode-line-display): No need to check before using
6542 add-hook.
6543 (timeclock-relative, timeclock-day-over-hook)
6544 (timeclock-use-elapsed, timeclock-mode-string)
6545 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6546
6547 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6548 crisp-mode-modeline-string.
6549
6550 * play/solitaire.el (solitaire-build-mode-line): Rename from
6551 solitaire-build-modeline. All callers changed.
6552
6553 * play/zone.el (zone-hiding-mode-line): Rename from
6554 zone-hiding-modeline. All callers changed.
6555 (zone): Remove unusued `modeline-hidden-level' property.
6556
6557 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6558 xscheme-modeline-initialize. All callers changed.
6559
6560 * strokes.el (strokes-lighter): Rename from
6561 strokes-modeline-string.
6562
6563 * textmodes/sgml-mode.el (html-face-tag-alist)
6564 (html-tag-face-alist): Use mode-line face instead of obsolete
6565 alias modeline.
6566
42152ee4
SM
65672012-06-02 Stefan Merten <smerten@oekonux.de>
6568
6569 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6570 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6571
95f520b5
CY
65722012-06-02 Chong Yidong <cyd@gnu.org>
6573
6574 * image.el (imagemagick-enabled-types): Rename from
6575 imagemagick-types-enable. Add many more types.
6576 (imagemagick-types-inhibit): Change default to nil.
6577 (imagemagick-filter-types): Caller changed.
6578
4a5f187a
SM
65792012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6580
03fef3e6
SM
6581 * emacs-lisp/cl-macs.el: Use backquotes.
6582 (cl-transform-function-property): Use eval-and-compile rather than
6583 abusing `require'.
6584 (defstruct): Use declare-function instead of with-no-warnings.
6585
4a5f187a
SM
6586 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6587 (byte-compile-output-docform): Re-add the print-circle bindings.
6588 (byte-compile-fix-header): Use #$ just because it's shorter.
6589 (byte-compile-output-file-form): Remove defun/defmacro.
6590
bd56924f
MR
65912012-06-01 Martin Rudalics <rudalics@gmx.at>
6592
6593 * simple.el (choose-completion): Remove now obsolete binding for
6594 owindow.
6595
046e38ce
MA
65962012-06-01 Michael Albinus <michael.albinus@gmx.de>
6597
6598 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6599 in order to avoid "Stack overflow in regexp matcher".
6600
32d72c2f
GM
66012012-05-31 Glenn Morris <rgm@gnu.org>
6602
6603 * image.el: For clarity, call imagemagick-register-types at
6604 top-level, rather than relying on a custom :initialize.
6605 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6606 (imagemagick-filter-types): New function. (Bug#7406)
6607 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6608 If disabling support, remove elements altogether rather
6609 than using an impossible regexp.
6610 (imagemagick-types-inhibit): Give it the default init function.
6611
dd41169b
SM
66122012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6613
4a5f187a
SM
6614 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6615 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6616
efc00ab1 66172012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6618
6619 * desktop.el (desktop-read): Clear previous and next buffers for
6620 all windows and bury *Messages* buffer (bug#11556).
6621
500fcedc
SM
66222012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 Add `declare' for `defun'. Align `defmacro's with it.
6625 * emacs-lisp/easy-mmode.el (define-minor-mode)
6626 (define-globalized-minor-mode): Don't autoload the var definitions.
6627 * emacs-lisp/byte-run.el: Use lexical-binding.
6628 (defun-declarations-alist, macro-declarations-alist): New vars.
6629 (defmacro, defun): Use them.
6630 (make-obsolete, define-obsolete-function-alias)
6631 (make-obsolete-variable, define-obsolete-variable-alias):
6632 Use `declare'.
6633 (macro-declaration-function): Mark obsolete.
6634 * emacs-lisp/autoload.el: Use lexical-binding.
6635 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6636
6e8a1786
AM
66372012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6638
6639 * textmodes/ispell.el (ispell-with-no-warnings):
6640 Define as a macro.
500fcedc
SM
6641 (ispell-kill-ispell, ispell-change-dictionary):
6642 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6643 `interactive-p'.
6644
61b108cc
SM
66452012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6648 (macro-declaration-function): Move var from C code.
6649 (macro-declaration-function): Define function with defalias.
6650 * emacs-lisp/macroexp.el (macroexpand-all-1):
6651 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6652 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6653 defun/defmacro any more.
6654 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6655 Provide fallback for unknown arglist.
6656 (byte-compile-arglist-warn): Change calling convention.
6657 (byte-compile-output-file-form): Move print-vars binding.
6658 (byte-compile-output-docform): Simplify accordingly.
6659 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6660 (byte-compile-defmacro-declaration): Remove.
6661 (byte-compile-file-form-defmumble): Generalize to defalias.
6662 (byte-compile-output-as-comment): Return byte-positions.
6663 Simplify callers accordingly.
6664 (byte-compile-lambda): Use `assert'.
6665 (byte-compile-defun, byte-compile-defmacro): Remove.
6666 (byte-compile-file-form-defalias):
6667 Use byte-compile-file-form-defmumble.
6668 (byte-compile-defalias-warn): Remove.
6669
6d3f7c2f
SM
66702012-05-29 Stefan Merten <smerten@oekonux.de>
6671
6672 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6673 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6674
6675 (rst-mode-abbrev-table): Merge definition.
6676 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6677 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6678
6dbaa1c7
UJ
66792012-05-29 Ulf Jasper <ulf.jasper@web.de>
6680
6681 * calendar/icalendar.el
6682 (icalendar-export-region): Export UID properly.
6683
d209e2fb 66842012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6685 * calendar/icalendar.el (icalendar-import-format):
6686 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6687 (icalendar-import-format-uid): New.
6688 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6689 Export UID.
6690
6876a58d
SM
66912012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6694 different alternative patterns.
6695 (pcase-codegen): Be more careful to preserve identity.
6696 (pcase--u1): Don't forget to mark vars as used.
6697
6698 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6699 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6700 (byte-compile-from-buffer): ...rather than here.
6701
6702 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6703 functions from byte-compile-function-environment.
6704
46b7967e
TN
67052012-05-29 Troels Nielsen <bn.troels@gmail.com>
6706
6707 * window.el (window-deletable-p): Avoid deleting the root window
6708 of a frame with an active minibuffer.
6709
69d565e2
MR
67102012-05-29 Martin Rudalics <rudalics@gmx.at>
6711
6712 * simple.el (choose-completion): Use quit-window (Bug#11567).
6713
a149fa51
CY
67142012-05-29 Chong Yidong <cyd@gnu.org>
6715
6716 * whitespace.el (whitespace-cleanup): Fix usage of
6717 whitespace-empty-at-bob-regexp (Bug#11492).
6718
2b311310
AH
67192012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6720
6721 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6722 revert (Bug#11488).
6723
b9cb2387
JL
67242012-05-29 Juri Linkov <juri@jurta.org>
6725
6726 * isearch.el (isearch-mode-map): Bind `M-s _' to
6727 `isearch-toggle-symbol'. Bind `M-s c' to
6728 `isearch-toggle-case-fold'.
6729 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6730 (isearch-forward): Add `M-s _' to the docstring.
6731 (isearch-forward-symbol, isearch-toggle-case-fold)
6732 (isearch-symbol-regexp): New functions. (Bug#11381)
6733
d5e61c1c
JL
67342012-05-29 Juri Linkov <juri@jurta.org>
6735
6736 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6737 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6738 a function, call it to get the regexp.
6739 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6740 property `isearch-message-prefix' instead of the string "word ".
6741 (isearch-search-fun-default): For the case of `isearch-word',
6742 return a lambda that calls re-search-forward/re-search-backward
6743 with a regexp returned by `word-search-regexp' or by the function
6744 in `isearch-word'.
6745
8cbd80f7
JL
67462012-05-29 Juri Linkov <juri@jurta.org>
6747
6748 * isearch.el (isearch-search-fun-default): New function.
6749 (isearch-search-fun): Move default part to the new function
6750 `isearch-search-fun-default'.
6751 (isearch-search-fun-function): Set the default value to
6752 `isearch-search-fun-default'. (Bug#11381)
6753
6754 * comint.el (comint-history-isearch-end):
6755 Use `isearch-search-fun-default'.
6756 (comint-history-isearch-search): Use `isearch-search-fun-default'
6757 and remove spacial case for `isearch-word'.
6758 (comint-history-isearch-wrap): Remove spacial case for
6759 `isearch-word'.
6760
6761 * hexl.el (hexl-isearch-search-function):
6762 Use `isearch-search-fun-default'.
6763
6764 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6765 Use `word-search-regexp' for `isearch-word'.
6766
6767 * misearch.el (multi-isearch-search-fun):
6768 Use `isearch-search-fun-default'.
6769
6770 * simple.el (minibuffer-history-isearch-search):
6771 Use `isearch-search-fun-default' and remove spacial case for
6772 `isearch-word'.
6773 (minibuffer-history-isearch-wrap): Remove spacial case for
6774 `isearch-word'.
6775
6776 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6777 Remove spacial case for `isearch-word'.
6778 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6779
85c8c5b6
AM
67802012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6781
6782 Decrease XEmacs incompatibilities.
6783 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6784 Use `string-match'.
6785 (flyspell-delete-region-overlays): Use alternative definition for
6786 XEmacs.
6787 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6788 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6789 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6790 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6791 `define-obsolete-face-alias' under XEmacs, but old method.
6792
6793 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6794 `with-no-warnings' definition or Emacs alias.
6795 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6796 (ispell-word): Do not use `region-p' if XEmacs.
6797
8cab9efc
AM
67982012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6799
6800 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6801 Check for `ispell-dictionary-base-alist' instead of full
6802 `ispell-dictionary-alist'.
6803 (ispell-init-process): Show spellchecker when starting new Ispell
6804 process.
6805
fda91268
RZ
68062012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6809 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6810
694ea8e3
JB
68112012-05-27 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * version.el (motif-version-string, gtk-version-string)
6814 (ns-version-string): Declare.
6815
e4d4f539
JL
68162012-05-27 Juri Linkov <juri@jurta.org>
6817
6818 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6819 after the `eval-defun-1' specialcaseing
6820 like in `edebug-eval-defun' (bug#10181).
6821
6822 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6823 like in `eval-defun-1'.
6824
33017faf 68252012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6826
fda91268
RZ
6827 * mail/sendmail.el (mail-yank-region):
6828 Recognize rmail-yank-current-message in addition to insert-buffer.
6829 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6830 a *mail* buffer created through rmail-start-mail with sendmail as
6831 mail-user-agent.
6832
33017faf
GM
68332012-05-27 Chong Yidong <cyd@gnu.org>
6834
6835 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6836 Default to 256 (Bug#11267).
6837
6838 * help.el (describe-mode): Doc fix.
6839
04188bb9
GM
68402012-05-26 Glenn Morris <rgm@gnu.org>
6841
38264cc9
GM
6842 * w32-fns.el (w32-init-info): Remove.
6843 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6844
eb7afdad
GM
6845 * info.el (info-initialize): For self-contained NS builds, put the
6846 included info/ directory at the front. (Bug#2791)
6847
04188bb9
GM
6848 * paths.el (Info-default-directory-list): Make it a defcustom,
6849 mainly so that we can use custom-initialize-delay.
6850
a179e3f7
SM
68512012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6852
43416392
SM
6853 * subr.el (buffer-has-markers-at): Mark obsolete.
6854
a179e3f7 6855 * subr.el (lambda): Use declare.
43416392 6856
a179e3f7
SM
6857 * emacs-lisp/lisp-mode.el (lambda):
6858 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6859
34a008d9
AH
68602012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6861
6862 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6863
0a3b289f
GM
68642012-05-26 Glenn Morris <rgm@gnu.org>
6865
6866 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6867
758c81e8
GM
68682012-05-25 Glenn Morris <rgm@gnu.org>
6869
f9f334f0
GM
6870 * paths.el: Remove no-byte-compile.
6871 * loadup.el: No need to load paths.el uncompiled.
6872
87eb79c2
GM
6873 * image.el (imagemagick-types-inhibit): Doc fix.
6874
758c81e8
GM
6875 * version.el: Remove no-byte-compile and associated formatting.
6876 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6877 is ancient code from when there was an "inc-vers.el".
6878
e7e85dc0
SM
68792012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * progmodes/gdb-mi.el: Minor style changes.
6882 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6883 Turn into minor modes.
6884 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6885 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6886 (gdb-shell): Remove unneeded let-binding.
6887 (gdb-get-many-fields): Eliminate O(n²) behavior.
6888
f31237a4
EZ
68892012-05-25 Eli Zaretskii <eliz@gnu.org>
6890
6891 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6892 platforms that don't link in fontset.c.
6893
bc1b21bb
JL
68942012-05-25 Juri Linkov <juri@jurta.org>
6895
6896 Use the same diff color scheme as in modern VCSes (bug#10181).
6897
6898 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6899 to avoid confusion with `diff-added' that now uses green colors.
6900 (diff-removed): Use shades of red.
6901 (diff-added): Use shades of green.
6902 (diff-changed): Leave just the yellow color.
6903 (diff-use-changed-face): New variable.
6904 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6905 how to highlight context diff changes.
6906 (diff-refine-change): Use shades of yellow.
6907 (diff-refine-removed): New face that uses shades of red.
6908 (diff-refine-added): New face that uses shades of green.
6909 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6910 `diff-refine-removed' in the call to `smerge-refine-subst'
6911 depending on the value of `diff-use-changed-face'.
6912
6913 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6914 (smerge-other): Use shades of green.
6915 (smerge-base): Use shades of yellow.
6916 (smerge-refined-change): Empty face.
6917 (smerge-refined-removed): New face that uses shades of red.
6918 (smerge-refined-added): New face that uses shades of green.
6919 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6920 args `props-r' and `props-a', and use them. Doc fix.
6921 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6922 on its value use different faces `smerge-refined-change',
6923 `smerge-refined-removed', `smerge-refined-added' in the call to
6924 `smerge-refine-subst'.
6925
6926 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6927 Add face condition `min-colors 88' with shades of red.
6928 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6929 `min-colors 88' with shades of green.
6930 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6931 `min-colors 88' with shades of yellow.
6932
6df9112c
GM
69332012-05-24 Glenn Morris <rgm@gnu.org>
6934
ead5edc0
GM
6935 * paths.el (prune-directory-list, remote-shell-program): Move to...
6936 * files.el (prune-directory-list, remote-shell-program): ...here.
6937 For the latter, delay initialization, prefer ssh, just search PATH.
6938
f18b81e6
GM
6939 * paths.el (term-file-prefix): Move to faces.el (the only user).
6940 * faces.el (term-file-prefix): Move here, make it a defcustom.
6941
ee2f89a6
GM
6942 * paths.el (news-directory, news-path, news-inews-program):
6943 Move to gnus/nnspool.el.
61a583ca 6944
f8815e4c
GM
6945 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6946
c8f3b42c
GM
6947 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6948 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6949 Make the latter a defcustom, with a delayed initialization.
6950
6df9112c
GM
6951 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6952 These were deleted from Gnus itself late 2010.
6953
5dadff36
JB
69542012-05-22 Juanma Barranquero <lekktu@gmail.com>
6955
9e1701c6
JB
6956 * progmodes/which-func.el (which-func-ff-hook):
6957 Check against user-error, not error.
6958
bd7239f5 6959 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6960 cl-specs.el, which no longer exists.
6961
3290526d
GM
69622012-05-22 Glenn Morris <rgm@gnu.org>
6963
6964 * info.el (info-emacs-bug): New command.
6965 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6966 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6967
ff0c3cfb
GM
69682012-05-21 Glenn Morris <rgm@gnu.org>
6969
6970 * makefile.w32-in (update-subdirs-SH):
6971 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6972
5814f126
SM
69732012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6974
a52c0aa0
SM
6975 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6976
5814f126
SM
6977 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6978 Simplify Maven regexp, and make sure the file can't start with a space
6979 (bug#11517).
6980
b847032c
GM
69812012-05-21 Glenn Morris <rgm@gnu.org>
6982
6983 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6984 Scrap superfluous subshells.
6985
3858bfe7
SM
69862012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6989 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6990
d14b0029
JB
69912012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6992
6993 * calc/calc.el (calc-ensure-consistent-units): New variable.
6994
a52c0aa0
SM
6995 * calc/calc-units.el (math-consistent-units-p)
6996 (math-check-unit-consistency): New functions.
6997 (calc-quick-units, calc-convert-units):
6998 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6999 is non-nil.
d14b0029
JB
7000 (calc-extract-units): Fix typo.
7001
60c4db3a
SM
70022012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7003
77f3b62e
SM
7004 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7005
60c4db3a
SM
7006 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7007 (flyspell-default-deplacement-commands): Don't spell check after
7008 repeated window/frame switches (e.g. triggered by mouse-movement).
7009 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7010 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7011 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7012 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7013 Remove unused vars.
7014 (flyspell-get-casechars, flyspell-get-not-casechars):
7015 Simplify; Don't bother removing a ] just to add it back.
7016 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7017
d209e2fb 70182012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7019
7020 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7021 New functions.
bd7239f5 7022 (math-function-table): Add support for more C functions.
b1a10716 7023
3f1b25b5
AM
70242012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7025
090bd7cb
JB
7026 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7027 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7028 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7029
b581bb5c
SM
70302012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7031
7032 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7033 their respective macro declarations.
7034 * skeleton.el (define-skeleton):
7035 * progmodes/compile.el (define-compilation-mode):
7036 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7037 (define-ibuffer-filter):
7038 * emacs-lisp/generic.el (define-generic-mode):
7039 * emacs-lisp/easy-mmode.el (define-minor-mode)
7040 (define-globalized-minor-mode):
7041 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7042 * emacs-lisp/byte-run.el (defsubst):
7043 * custom.el (deftheme): Add doc-string metadata.
7044
70b8ef8f
SM
70452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7048
b1198e17
SM
70492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7050
9abdc45d
SM
7051 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7052
b1198e17
SM
7053 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7054 * emacs-lisp/cl-macs.el: Idem.
7055 * emacs-lisp/cl-specs.el: Remove.
7056
4735906a
SM
70572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 Minor renaming of internal CL functions and variables.
7060 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7061 (cl--position): Rename from cl-position.
7062 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7063 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7064 (cl--random-state): Rename from *random-state*.
7065
ac348012
SM
70662012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7069 parens around the arg list (bug#11499).
7070
a0a79cde
JL
70712012-05-17 Juri Linkov <juri@jurta.org>
7072
7073 * isearch.el (word-search-regexp, word-search-backward)
7074 (word-search-forward, word-search-backward-lax)
7075 (word-search-forward-lax): Move functions from search.c
7076 (bug#10145, bug#11381).
7077
65034a51
AM
70782012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7079
090bd7cb
JB
7080 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7081 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7082 Delay for otherchars as for normal word components.
65034a51 7083
1a72a195
SM
70842012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * minibuffer.el (completion--sifn-requote): Fix last change.
7087 (minibuffer-local-must-match-filename-map):
7088 Move define-obsolete-variable-alias before its var.
7089
fdb058c2
SM
70902012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7091
c41045e6
SM
7092 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7093
036dfb8b
SM
7094 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7095 behavior.
7096 (completion--string-equal-p): New function.
7097 (completion--twq-all): Use it to get better assertion failure data.
7098
2473256d
SM
7099 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7100 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7101 (shell--requote-argument): New functions.
7102 (shell-completion-vars): Use them.
7103 (shell--parse-pcomplete-arguments): Rename from
7104 shell-parse-pcomplete-arguments.
7105 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7106 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7107 Obey comint-file-name-quote-list.
7108
fdb058c2
SM
7109 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7110 (smie-indent-keyword): Use it.
7111
51fa99f1
SM
71122012-05-14 Stefan Merten <smerten@oekonux.de>
7113
7114 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7115
e18afed7 71162012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7117
7118 * net/rlogin.el (rlogin-mode-map): Fix last change.
7119
e18afed7 71202012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7121
7122 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7123 the following \r\n using a single `process-send-string', since the
7124 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7125 with two `process-send-string's (Bug#11444).
8633b1f4 7126
e18afed7 71272012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7128
fdb058c2
SM
7129 * shell.el (shell-parse-pcomplete-arguments):
7130 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7131
2d21d7f6
WJ
71322012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7133
e18afed7 7134 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7135 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7136 (image-transform-width, image-transform-fit-width): New functions.
7137 (image-transform-properties): Use them.
7138 (image-transform-check-size): New function.
7139 (image-toggle-display-image): Use it (for testing).
7140 (image-transform-set-rotation): Reduce angle mod 360.
7141 Delete obsolete comment.
7142
7102e6d0
WJ
71432012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7144
7145 * image-mode.el: Fix scaling (bug#11399).
7146 (image-transform-resize): Doc fix.
7147 (image-transform-properties): Default scale is 1 and height should
7148 be an integer.
7149
06bc5e6e
SM
71502012-05-13 Johan Bockgård <bojohan@gnu.org>
7151
7152 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7153 than hard-coding `car', to fix misbehavior when moving forward.
7154
0ae03b6a
CY
71552012-05-13 Chong Yidong <cyd@gnu.org>
7156
7157 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7158 (tabulated-list-entries, tabulated-list-padding)
7159 (tabulated-list-sort-key): Make permanent-local.
7160
7161 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7162 (electric-buffer-list): Put electric buffer menu
7163 command descriptions in this docstring, instead of the docstring
7164 of electric-buffer-menu-mode. Code cleanups.
7165 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7166 Electric-buffer-menu-mode.
7167 (electric-buffer-update-highlight): Minor code cleanup.
7168
205a7391
MA
71692012-05-13 Michael Albinus <michael.albinus@gmx.de>
7170
7171 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7172 (Bug#11447)
7173
e5bd0a28
SM
71742012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7175
7176 Move define-obsolete-variable-alias before the var's definition.
7177 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7178 * tooltip.el (tooltip-hook):
7179 * textmodes/reftex-toc.el (reftex-toc-map):
7180 * textmodes/reftex-sel.el (reftex-select-label-map)
7181 (reftex-select-bib-map):
7182 * textmodes/reftex-index.el (reftex-index-map)
7183 (reftex-index-phrases-map):
7184 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7185 * progmodes/meta-mode.el (meta-mode-map):
7186 * novice.el (disabled-command-hook):
7187 * loadhist.el (unload-hook-features-list):
7188 * frame.el (blink-cursor):
7189 * files.el (find-file-not-found-hooks, write-file-hooks)
7190 (write-contents-hooks):
7191 * emulation/tpu-edt.el (GOLD-map):
7192 * emacs-lock.el (emacs-lock-from-exiting):
7193 * emacs-lisp/generic.el (generic-font-lock-defaults):
7194 * emacs-lisp/chart.el (chart-map):
7195 * dos-fns.el (register-name-alist):
7196 * dired-x.el (dired-omit-files-p):
7197 * desktop.el (desktop-enable):
7198 * cus-edit.el (custom-mode-hook):
7199 * buff-menu.el (buffer-menu-mode-hook):
7200 * bookmark.el (bookmark-read-annotation-text-func)
7201 (bookmark-exit-hooks):
7202 * allout.el (allout-mode-deactivate-hook)
7203 (allout-exposure-change-hook, allout-structure-added-hook)
7204 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7205 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7206 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7207 comes before the corresponding variable's definition.
7208
ac59c2f6
CY
72092012-05-12 Chong Yidong <cyd@gnu.org>
7210
7211 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7212 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7213 (Buffer-menu-mode-map): Bind it.
7214 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7215
dee6c9a3
SM
72162012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7217
2171cea5
SM
7218 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7219 (prolog-upper-case-string, prolog-lower-case-string)
7220 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7221 (prolog-use-smie, prolog-smie-grammar): New vars.
7222 (prolog-smie-forward-token, prolog-smie-backward-token)
7223 (prolog-smie-rules): New funs.
7224 (prolog-comment-indent): Remove.
7225 (prolog-mode-variables): Use default comment indentation instead.
7226 Setup SMIE.
7227 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7228 (prolog-mode): Don't call them any more.
7229 (prolog-electric-colon, prolog-electric-dash)
7230 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7231
aa0382bd
SM
7232 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7233
dbacb4bd
SM
7234 * minibuffer.el (completion--twq-all): Again, allow case differences.
7235
13bdd94c
SM
7236 * term.el: Move keymap initialization code to be more idiomatic.
7237 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7238 (term-terminal-menu): Move initialization into declaration.
7239 (term-escape-char): Let the user set it in her .emacs.
7240
ff46c759
SM
7241 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7242 Provide SMIE-based indentation (not enabled by default yet).
7243 (sh-mode-map): Don't bind electric keys.
7244 Use electric-pair-mode instead of skeleton-pair.
7245 (sh-assignment-regexp): Fit within 80 columns.
7246 (sh-indent-supported): Specify actual shell name instead of boolean.
7247 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7248 (sh-maybe-here-document): Use it. Make obsolete.
7249 (sh-electric-here-document-mode) New minor mode.
7250 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7251 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7252 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7253 (sh-smie-rc-grammar, sh-use-smie): New vars.
7254 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7255 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7256 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7257 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7258 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7259 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7260 (sh-set-shell): Use smie-setup if requested.
7261
dee6c9a3
SM
7262 * term.el (term-set-escape-char): Properly set term-escape-char.
7263 See http://stackoverflow.com/questions/10524656.
7264
9f9aa044
CY
72652012-05-10 Chong Yidong <cyd@gnu.org>
7266
7267 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7268 Use url-generic-parse-url, and handle host names and Windows
7269 filenames properly.
7270 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7271 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7272 URL schemes to work on.
7273 (ffap--toggle-read-only): New function.
7274 (ffap-read-only, ffap-read-only-other-window)
7275 (ffap-read-only-other-frame): Use it.
7276 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7277 necessary for ffap-url-unwrap-remote.
7278
836d29b3
DA
72792012-05-10 Dave Abrahams <dave@boostpro.com>
7280
7281 * cus-start.el (create-lockfiles): Add it.
7282
00fd78ed
CY
72832012-05-09 Chong Yidong <cyd@gnu.org>
7284
7285 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7286 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7287
666b903b 72882012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7289
7290 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7291
666b903b 72922012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7293
7294 * ansi-color.el (ansi-color-process-output): Check for validity of
7295 comint-last-output-start before using it. This avoids a bad
7296 interaction with gdb-mi's input/output buffer.
7297
666b903b 72982012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7299
7300 * files.el (dir-locals-read-from-file):
7301 Mention dir-locals in any error message.
7302
666b903b 73032012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7304
7305 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7306 package (Bug#11410).
7307
f677562b
CY
7308 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7309 variables into description.
7310
666b903b 73112012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7312
7313 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7314 shell-delimiter-argument-list (bug#11348).
7315 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7316
b499d8d0
JB
73172012-05-09 Juanma Barranquero <lekktu@gmail.com>
7318
8f6b6da8
JB
7319 * textmodes/rst.el: Silence byte-compiler warnings.
7320 (rst-re-alist, rst-reset-section-caches): Move around.
7321 (rst-re): Use `characterp', not `char-valid-p'.
7322 (font-lock-beg, font-lock-end): Declare.
7323
4824146a
JB
7324 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7325 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7326
b499d8d0
JB
7327 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7328
ad89bb83
GM
73292012-05-08 Glenn Morris <rgm@gnu.org>
7330
7331 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7332
8bba5a75
SM
73332012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7334
49ed9c8e
SM
7335 * vc/log-edit.el: Add GNU coding standards highlighting.
7336 (log-edit-font-lock-gnu-style)
7337 (log-edit-font-lock-gnu-keywords): New vars.
7338 (log-edit-font-lock-keywords): New fun.
7339 (log-edit-mode): Don't fold case in font-lock.
7340 (log-edit-font-lock-keywords): Do not assume case-folding.
7341
07d00b56
SM
7342 * imenu.el: Misc cleanup. Make docstrings out of comments.
7343 Use lexical-binding.
7344 (imenu--index-alist, imenu--last-menubar-index-alist)
7345 (imenu-menubar-modified-tick): Use defvar-local.
7346 (imenu--split-menu): Remove unused var.
7347 (imenu--cleanup-seen): Declare as global.
7348 (imenu--cleanup): Use dolist.
7349
8bba5a75
SM
7350 * subr.el (defvar-local): Add debug spec and doc-string position.
7351
5075bdb5
GM
73522012-05-08 Glenn Morris <rgm@gnu.org>
7353
090bd7cb 7354 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7355 * language/english.el, language/georgian.el, language/greek.el:
7356 * language/japanese.el, language/khmer.el, language/korean.el:
7357 * language/lao.el, language/misc-lang.el, language/romanian.el:
7358 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7359 * language/thai.el, language/utf-8-lang.el:
7360 Remove no-byte-compile setting.
7361
5075bdb5
GM
7362 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7363
06f679a7
AH
73642012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7365
7366 * progmodes/make-mode.el (makefile-browse):
7367 Remove unnecessary interactive. (Bug#11324)
7368
03794570
GM
73692012-05-07 Glenn Morris <rgm@gnu.org>
7370
af8630f4
GM
7371 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7372
03794570
GM
7373 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7374
f0809a9d
SM
73752012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7376
28be5ce7
SM
7377 * loadup.el: Preload newcomment.el.
7378 * newcomment.el: Move autoload-only code to toplevel.
7379
f0809a9d
SM
7380 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7381 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7382 Handle new :right-align column property.
7383 (tabulated-list-print-col): Idem, plus use `display' text-property to
7384 try and preserve alignment for variable pitch fonts.
7385
1241b724
CY
73862012-05-07 Chong Yidong <cyd@gnu.org>
7387
7388 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7389 (tabulated-list-use-header-line): New var.
7390 (tabulated-list-init-header): Use it.
7391 (tabulated-list-print-fake-header): New function.
7392 (tabulated-list-print): Use it.
7393 (tabulated-list-sort-button-map): Add non-header-line commands.
7394 (tabulated-list-init-header): Add column name property to basic
7395 labels as well.
7396 (tabulated-list-col-sort): Handle non-header-line button case.
7397 (tabulated-list--sort-by-column-name): Fix a corner case.
7398
f0809a9d
SM
7399 * buff-menu.el (list-buffers--refresh):
7400 Handle Buffer-menu-use-header-line.
1241b724 7401
e5f9458f
CY
74022012-05-06 Chong Yidong <cyd@gnu.org>
7403
7404 * buff-menu.el: Convert to Tabulated List mode.
7405 (Buffer-menu-buffer+size-width): Make obsolete.
7406 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7407 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7408 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7409 documentation into docstring of buffer-menu.
7410 (Buffer-menu-toggle-files-only): Add an informative message.
7411 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7412 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7413 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7414 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7415 (Buffer-menu-execute, Buffer-menu-select)
7416 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7417 (Buffer-menu-bury): Use Tabulated List machinery.
7418 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7419 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7420 Delete.
e5f9458f
CY
7421 (list-buffers--refresh): New function.
7422 (list-buffers-noselect): Use it.
7423 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7424 (Buffer-menu--pretty-file-name): New helper functions.
7425
7426 * loadup.el: Preload tabulated-list.
7427
7428 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7429 tabulated-list-sort-column.
7430 (tabulated-list-init-header): Add the initial aligning space even
7431 if tabulated-list-padding is zero.
7432
e129292c
CS
74332012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7434
7435 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7436 whose cdr is not a cons cell correctly (bug#11038).
7437
6632d361
CY
74382012-05-06 Chong Yidong <cyd@gnu.org>
7439
e129292c
CS
7440 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7441 Accept additional plist in column descriptors.
6632d361
CY
7442 (tabulated-list-init-header): Obey it.
7443 (tabulated-list-get-entry): New function.
7444 (tabulated-list-put-tag): Use it. Use string-width instead of
7445 length.
7446 (tabulated-list--column-number): New function.
7447 (tabulated-list-print): Use it.
e129292c
CS
7448 (tabulated-list-print-col): New function.
7449 Set `tabulated-list-column-name' property on each column's text.
6632d361 7450 (tabulated-list-print-entry): Use it.
e129292c
CS
7451 (tabulated-list-delete-entry, tabulated-list-set-col):
7452 New functions.
6632d361
CY
7453 (tabulated-list-sort-column): New command (Bug#11337).
7454
3cc99f68
CY
7455 * buff-menu.el (list-buffers): Move C-x C-b binding from
7456 buff-menu.el to bindings.el.
7457
7458 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7459 :advertised-binding feature.
7460
52b61776
TN
74612012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7462
7463 * progmodes/compile.el (compilation-internal-error-properties):
7464 Calculate start position correctly when end-col is set but
7465 end-line is not (Bug#11382).
7466
ebfe2597
WJ
74672012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7468
7469 * man.el (Man-unindent): Use text-property-default-nonsticky to
7470 prevent untabify from inheriting face properties (Bug#11408).
7471
6d3f7c2f
SM
74722012-05-05 Stefan Merten <smerten@oekonux.de>
7473
7474 * textmodes/rst.el: Major merge with upstream development up to
7475 Docutils SVN r7399 / rst.el V1.2.1.
7476
7477 Clarify maintainership and authors.
7478
7479 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7480 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7481 (rst-official-version, rst-official-cvs-rev, rst-version)
7482 (rst-package-emacs-version-alist): New functions and variables
7483 for version information.
7484
7485 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7486 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7487 (rst-mode-syntax-table, rst-mode): New and corrected functions
7488 and variables representing reStructuredText features.
7489
7490 (rst-re): New function for reStructuredText regexes. Use in
7491 many places.
7492
7493 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7494 (rst-mode-map): Rebind keys.
7495
7496 (rst-mode-lazy, rst-font-lock-keywords)
7497 (rst-font-lock-extend-region)
7498 (rst-font-lock-extend-region-internal)
7499 (rst-font-lock-extend-region-extend)
7500 (rst-font-lock-find-unindented-line-limit)
7501 (rst-font-lock-find-unindented-line-match)
7502 (rst-adornment-level, rst-font-lock-adornment-level)
7503 (rst-font-lock-adornment-match)
7504 (rst-font-lock-handle-adornment-pre-match-form)
7505 (rst-font-lock-handle-adornment-matcher): Major revision of
7506 font-locking. Integrate with other code. Use `jit-lock-mode'.
7507
7508 (rst-preferred-adornments, rst-adjust-hook)
7509 (rst-new-adornment-down, rst-preferred-bullets)
7510 (rst-preferred-bullets, rst-indent, rst-indent-width)
7511 (rst-indent-field, rst-indent-literal-normal)
7512 (rst-indent-literal-minimized, rst-indent-comment): Change,
7513 extend and improve customization.
7514
7515 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7516 (rst-normalize-cursor-position, rst-get-decoration)
7517 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7518 (rst-rstrip, rst-toc-insert-find-delete-contents)
7519 (rst-shift-fill-region, rst-compute-bullet-tabs)
7520 (rst-debug-print-tabs, rst-debug-mark-found)
7521 (rst-shift-region-guts, rst-shift-region-right)
7522 (rst-shift-region-left, rst-use-char-classes)
7523 (rst-font-lock-keywords-function)
7524 (rst-font-lock-indentation-point)
7525 (rst-font-lock-find-unindented-line-begin)
7526 (rst-font-lock-find-unindented-line-end)
7527 (rst-font-lock-find-unindented-line)
7528 (rst-font-lock-adornment-point, rst-font-lock-level)
7529 (rst-adornment-level-alist): Remove functions and variables.
7530
7531 (rst-compare-adornments, rst-get-adornment-match)
7532 (rst-suggest-new-adornment, rst-get-adornments-around)
7533 (rst-adornment-complete-p, rst-get-next-adornment)
7534 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7535 (rst-straighten-adornments): Standardize function names to
7536 use "adornment" instead of "decoration". Correct callers.
7537 Similar standardizing in many places.
7538
7539 (rst-update-section, rst-adjust, rst-promote-region)
7540 (rst-enumerate-region, rst-bullet-list-region)
7541 (rst-repeat-last-character): Correct use of `interactive'.
7542
7543 (rst-classify-adornment, rst-find-all-adornments)
7544 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7545 (rst-find-leftmost-column, rst-repeat-last-character):
7546 Refactor functions.
7547
7548 (rst-find-title-line, rst-reset-section-caches)
7549 (rst-get-adornments-around, rst-adjust-adornment-work)
7550 (rst-arabic-to-roman, rst-roman-to-arabic)
7551 (rst-insert-list-pos, rst-insert-list-new-item)
7552 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7553 New functions.
7554
7555 (rst-all-sections, rst-section-hierarchy)
7556 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7557 New variables.
7558
7559 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7560 configuration instead of only buffer. Change where necessary.
7561
7562 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7563 (rst-shift-region, rst-adaptive-fill): New functions for
7564 indentation and filling.
7565
7566 (rst-comment-line-break, rst-comment-indent)
7567 (rst-comment-insert-comment, rst-comment-region)
7568 (rst-uncomment-region): New functions for handling comments.
7569
7570 (rst-compile): Quote shell arguments.
7571
7572 (rst-compile-pdf-preview, rst-compile-slides-preview):
7573 Delete temporary files after use.
7574
a43f98b3
GM
75752012-05-05 Glenn Morris <rgm@gnu.org>
7576
48176e8b
GM
7577 * calendar/cal-html.el: Optionally include holidays in the output.
7578 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7579 (cal-html-holidays): New option.
7580 (cal-html-css-default): Add holiday entry.
7581 (holiday-in-range): Autoload it.
7582 (cal-html-htmlify-entry): Add optional class argument.
7583 (cal-html-htmlify-list): Add optional holidays argument.
7584 (cal-html-insert-agenda-days): Include holidays in the output.
7585 (cal-html-one-month): Maybe include holidays.
7586
a43f98b3
GM
7587 * calendar/holidays.el (holiday-in-range):
7588 Move here from cal-tex-list-holidays.
7589 * calendar/cal-tex.el (cal-tex-list-holidays):
7590 Make it an obsolete alias for holiday-in-range. Update all callers.
7591
fef9d149 75922012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7593
7594 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7595 Nextstep.
7596
248da2f4
RW
75972012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7598
7599 * files.el (file-auto-mode-skip): New var.
7600 (set-auto-mode-1): Use it.
7601
f95e9344
SM
76022012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7603
df96ab1e
SM
7604 * repeat.el: Use lexical-binding.
7605 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7606 (repeat-undo-count): Remove.
7607 (repeat):
7608 * progmodes/octave-mod.el (octave-abbrev-start):
7609 * progmodes/f90.el (f90-abbrev-start):
7610 * face-remap.el (text-scale-adjust):
7611 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7612
5342bb06
SM
7613 * emacs-lisp/pcase.el (pcase--let*): New function.
7614 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7615 a bit more.
7616 (pcase--split-pred): Be more clever about ruling out overlap between
7617 a predicate and some constant pattern.
7618 (pcase--q1): Use `null' instead of (eq foo nil).
7619
f95e9344
SM
7620 * subr.el (setq-local, defvar-local): New macros.
7621 (kbd): Redefine as an alias.
7622 (with-selected-window): Leave unrelated frames alone.
7623 (set-temporary-overlay-map): New function.
7624
71873e2b
SM
76252012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7626
7627 * subr.el (user-error): New function.
7628 * window.el (switch-to-buffer):
7629 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7630 (smerge-match-conflict):
7631 * simple.el (previous-matching-history-element)
7632 (next-matching-history-element, goto-history-element, undo-more)
7633 (undo-start):
7634 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7635 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7636 (next-file, tags-loop-scan, list-tags, complete-tag):
7637 * progmodes/compile.el (compilation-loop):
7638 * mouse.el (mouse-minibuffer-check):
7639 * man.el (Man-bgproc-sentinel, Man-goto-page):
7640 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7641 (Info-history-forward, Info-follow-reference, Info-menu)
7642 (Info-extract-menu-item, Info-extract-menu-counting)
7643 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7644 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7645 (Info-next-reference, Info-prev-reference, Info-index)
7646 (Info-index-next, Info-follow-nearest-node)
7647 (Info-copy-current-node-name):
7648 * imenu.el (imenu--make-index-alist)
7649 (imenu-default-create-index-function, imenu-add-to-menubar):
7650 * files.el (basic-save-buffer, recover-file):
7651 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7652 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7653 (checkdoc-message-text, checkdoc-defun):
7654 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7655 * cus-edit.el (customize-changed-options, customize-rogue)
7656 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7657 (custom-variable-mark-to-reset-standard)
7658 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7659 (custom-file):
7660 * completion.el (check-completion-length):
7661 * comint.el (comint-search-arg)
7662 (comint-previous-matching-input-string-position)
7663 (comint-previous-matching-input)
7664 (comint-replace-by-expanded-history-before-point, comint-send-input)
7665 (comint-copy-old-input, comint-backward-matching-input)
7666 (comint-goto-process-mark, comint-set-process-mark):
7667 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7668 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7669
8a61ee22
SM
76702012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7671
66408d1e
SM
7672 * dabbrev.el (dabbrev--ignore-case-p): New function.
7673 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7674 Use it.
7675
8a61ee22
SM
7676 * files.el (automount-dir-prefix): Mark as obsolete.
7677
3c74813a
GM
76782012-05-04 Glenn Morris <rgm@gnu.org>
7679
7680 * patcomp.el, play/bruce.el: Move to obsolete/.
7681
0bfcf5c5
PE
76822012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7683
7684 Fix minor Y10k bugs.
7685 * arc-mode.el (archive-unixdate):
7686 * autoinsert.el (auto-insert-alist):
7687 * calc/calc-forms.el (math-this-year):
7688 * emacs-lisp/copyright.el (copyright-current-year)
7689 (copyright-update-year, copyright):
7690 * tar-mode.el (tar-clip-time-string):
7691 * time.el (display-time-update):
7692 Don't assume years have 4 digits.
7693
78f3273a
CY
76942012-05-04 Chong Yidong <cyd@gnu.org>
7695
7696 * dos-w32.el (file-name-buffer-file-type-alist)
7697 (direct-print-region-use-command-dot-com):
7698 * ffap.el (ffap-menu-regexp):
7699 * find-file.el (ff-special-constructs):
7700 * follow.el (follow-debug):
7701 * forms.el (forms--debug):
7702 * iswitchb.el (iswitchb-all-frames):
7703 * ido.el (ido-all-frames):
7704 * emacs-lisp/timer.el (timer-max-repeats):
7705 * mail/feedmail.el (feedmail-mail-send-hook)
7706 (feedmail-mail-send-hook-queued):
7707 * mail/footnote.el (footnote-signature-separator):
7708 * mail/mailabbrev.el (mail-alias-separator-string)
7709 (mail-abbrev-mode-regexp):
7710 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7711 * progmodes/idlwave.el (idlwave-libinfo-file)
7712 (idlwave-default-completion-case-is-down)
7713 (idlwave-library-routines): Convert defvars to defcustoms.
7714
7715 * mail/rmail.el (rmail-decode-mime-charset):
7716 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7717 (idlwave-shell-fix-inserted-breaks)
7718 (idlwave-shell-activate-alt-keybindings)
7719 (idlwave-shell-use-breakpoint-glyph):
7720 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7721
f7ae6719
SM
77222012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7725
47086495
WS
77262012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7727
7728 * progmodes/verilog-mode.el (font-lock-keywords):
7729 Fix mis-highligting auto. Reported by Craig Barner.
7730 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7731 defines from global name space. Reported by Dan Dever.
47086495
WS
7732 (verilog-auto-reset, verilog-auto-reset-widths)
7733 (verilog-auto-tieoff): Support using unbased numbers for
7734 AUTORESET and AUTOTIEOFF.
7735 (verilog-submit-bug-report): Update variable list.
7736 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7737 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7738 (verilog-auto-template-lint): Fix hash error when linting modules
7739 with no used templates.
7740 (verilog-warn, verilog-warn-error)
7741 (verilog-warn-fatal): When non-interactive report multiple
7742 warnings before exiting. Suggested by Brad Dobbie.
7743 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7744 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7745 to report unused template errors. Reported by Brad Dobbie.
7746 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7747 nets, bug438. Reported by Vns Blore.
47086495
WS
7748 (verilog-auto-inout-module, verilog-auto-reg)
7749 (verilog-read-decls, verilog-read-sub-decls-sig)
7750 (verilog-signals-edit-wire-reg, verilog-signals-with):
7751 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7752 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7753 "reg" for backwards compatibility presuming Verilog 2001.
7754 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7755 (verilog-preprocess): Fix replication of preprocess output.
7756 Reported by Brad Dobbie.
7757 (verilog-auto-inst-interfaced-ports):
7758 Create verilog-auto-inst-interfaced-ports, bug429.
7759 Reported by Julian Gorfajn.
7760 (verilog-after-save-font-hook)
7761 (verilog-before-save-font-hook): New variable.
7762 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7763 (verilog-save-font-mods): Wrap disabling fontification, reported
7764 by David Rogoff.
7765 (verilog-do-indent, verilog-pretty-declarations-auto)
7766 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7767 Reported by Pierre-David Pfister.
7768 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7769 of class declarations, bug292. Reported by Kevin Heilman.
7770 (verilog-read-decls): Fix 'parameter type' not appearing in
7771 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7772 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7773 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7774 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7775 Reported by David Kravitz.
7776
77772012-05-03 Michael McNamara <mac@mail.brushroad.com>
7778
7779 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7780 assignment with tests in ifs and for loops.
7781 (verilog-extended-complete-re, verilog-complete-reg): Change so
7782 that DPI inport functions don't look like fuction declarations.
7783 (verilog-pretty-expr): Don't line up assignment
7784 operations to the test and increment in if and for loops
7785 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7786 that DPI inport functions don't look like fuction declarations.
47086495 7787
2e51d4b5
KH
77882012-05-03 Kenichi Handa <handa@m17n.org>
7789
7790 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7791 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7792 (Bug#11282).
7793
2bd785a2
SM
77942012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * emacs-lisp/bytecomp.el
7797 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7798 since cconv.el might have introduced :fun-body, internal-make-closure,
7799 and friends for bytecomp to handle (bug#11391).
7800 * custom.el (defcustom): Avoid ((λ ..) ..).
7801
99d27583
SM
78022012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7803
7804 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7805
55a71479
JB
78062012-05-02 Juanma Barranquero <lekktu@gmail.com>
7807
7808 * notifications.el (dbus-debug):
7809 * term/linux.el (gpm-mouse-enable):
7810 * term/screen.el (xterm-register-default-colors): Declare.
7811
7b97c764
CY
78122012-05-02 Chong Yidong <cyd@gnu.org>
7813
2bc356d7
CY
7814 * cus-start.el (gc-cons-percentage, exec-suffixes)
7815 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7816 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7817 (make-cursor-line-fully-visible, void-text-area-pointer)
7818 (font-list-limit): Add customization data.
7819
7b97c764
CY
7820 * allout.el (allout-exposure-change-functions)
7821 (allout-structure-added-functions)
7822 (allout-structure-deleted-functions)
7823 (allout-structure-shifted-functions): Rename abnormal hooks from
7824 *-hook, and convert to defcustoms.
5d3385a0
JB
7825 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7826 Convert to defcustoms.
7b97c764
CY
7827 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7828
7829 * allout-widgets.el: Hook callers changed.
7830
90207a15 78312012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7832
7833 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7834 the yanked message in preference to the default value of
7835 buffer-file-coding-system.
7836
90207a15 78372012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7838
5d3385a0
JB
7839 * window.el (display-buffer--action-function-custom-type):
7840 Fix entry.
d9558cad 7841
90207a15 78422012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7843
7844 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7845
d80ac57b
GM
78462012-05-01 Glenn Morris <rgm@gnu.org>
7847
976f7668
GM
7848 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7849
beb83b5a
GM
7850 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7851
d80ac57b
GM
7852 * cus-edit.el (custom-variable-documentation): Simplify with format.
7853
b593d6a9 78542012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7855 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7856
7857 * simple.el (suggest-key-bindings, execute-extended-command):
7858 Move from keyboard.c.
7859
782fbf2a
CY
78602012-05-01 Chong Yidong <cyd@gnu.org>
7861
7862 * follow.el: Eliminate advice.
7863 (set-process-filter, process-filter, sit-for): Advice deleted.
7864 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7865 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7866 Vars deleted.
782fbf2a
CY
7867 (follow-auto): Use a :set function.
7868 (follow-mode): Rewritten. Don't advise process filters.
7869 (follow-switch-to-current-buffer-all, follow-scroll-up)
7870 (follow-scroll-down): Assume follow-mode is bound.
7871 (follow-comint-scroll-to-bottom)
7872 (follow-align-compilation-windows): New functions.
7873 (follow--window-sorter): New function.
7874 (follow-all-followers): Use it to explicitly sort windows by their
7875 positions; don't make assumptions about next-window order.
7876 (follow-windows-start-end, follow-delete-other-windows-and-split)
7877 (follow-calc-win-start): Doc fix.
7878 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7879 vertical-motion unnecessarily.
7880 (follow-adjust-window): New function.
7881 (follow-post-command-hook): Use it.
7882 (follow-call-set-process-filter, follow-call-process-filter)
7883 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7884 (follow-stop-intercept-process-output, follow-generic-filter):
7885 Functions deleted.
7886 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7887 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7888 New functions, replacing advice on scroll-bar-* commands.
87233a14 7889 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7890
7891 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7892 (comint-postoutput-scroll-to-bottom): Use it.
7893 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7894
290af740
GM
78952012-05-01 Glenn Morris <rgm@gnu.org>
7896
7897 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7898 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7899 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7900 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7901 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7902 Remove no-byte-compile setting.
7903
6eac8dc9
SM
79042012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7907 all-completions code to not return a number in the last cdr.
7908
9cc7819c
LL
79092012-04-30 Leo Liu <sdl.web@gmail.com>
7910
7911 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7912 read-only error.
7913
c93b886f
CY
79142012-04-29 Chong Yidong <cyd@gnu.org>
7915
7916 * follow.el (follow-calc-win-end): Rewrite to handle partial
7917 screen lines correctly (Bug#8390).
7918 (follow-avoid-tail-recenter): Minor cleanup.
7919
8b6c19f4
SM
79202012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 Avoid the obsolete `assoc' package.
7923 * speedbar.el (speedbar-refresh): Avoid adelete.
7924 (speedbar-file-lists): Simplify and avoid aput.
7925 * man.el (Man--sections, Man--refpages): New vars, replacing
7926 Man-sections-alist and Man-refpages-alist.
7927 (Man-build-section-alist, Man-build-references-alist):
7928 Use them; avoid aput.
7929 (Man--last-section, Man--last-refpage): New vars.
7930 (Man-follow-manual-reference): Use them.
7931 Use the `default' arg of completing-read.
7932 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7933
c5bb7569
CY
79342012-04-27 Chong Yidong <cyd@gnu.org>
7935
d1d2e2e8
CY
7936 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7937
15cd8efd
CY
7938 * startup.el (x-apply-session-resources): New function.
7939
7940 * term/ns-win.el (ns-initialize-window-system):
7941 * term/w32-win.el (w32-initialize-window-system):
7942 * term/x-win.el (x-initialize-window-system): Use it to properly
7943 set menu-bar-mode and other vars from X resources, even if the
7944 initial frame is not a window-system frame (Bug#2299).
7945
c5bb7569
CY
7946 * subr.el (read-key): Avoid running filter function when setting
7947 up temporary tool bar entries (Bug#9922).
7948
a8e7d6d7 79492012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7950
7951 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7952 (Bug#11344)
7953
a8e7d6d7 79542012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7955
7956 * select.el (xselect--encode-string): New function, split from
7957 xselect-convert-to-string.
7958 (xselect-convert-to-string): Use it.
7959 (xselect-convert-to-filename, xselect-convert-to-os)
7960 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7961 returned strings are properly encoded (Bug#11315).
7962
a8e7d6d7 79632012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7964
7965 * simple.el (delete-active-region): Move to killing custom group.
7966
a8e7d6d7 79672012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7968
7969 * progmodes/which-func.el (which-func-current): Quote %
7970 characters for mode-line processing.
7971
578c1d4b 79722012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7973
7974 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7975 reaching eob (Bug#11286).
7976
a8e7d6d7 79772012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7978
7979 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7980 (gdb): Make it buffer-local and init to zero.
7981 (gdb-control-commands-regexp): New variable.
7982 (gdb-send): Don't wrap in "-interpreter-exec console" if
7983 gdb-control-level is positive. Increment gdb-control-level
7984 whenever the command matches gdb-control-commands-regexp, and
7985 decrement it each time the command is "end". (Bug#11279)
7986
a8e7d6d7 79872012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7988
7989 * window.el (adjust-window-trailing-edge, enlarge-window)
7990 (shrink-window, window-resize):
7991 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7992 windows (Bug#11276).
7993
b3608390
CY
79942012-04-27 Chong Yidong <cyd@gnu.org>
7995
7996 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7997 fix "missing prefix" warning. All callers changed.
b3608390 7998
797e6e88
SM
79992012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * emacs-lisp/assoc.el: Move to obsolete/.
8002
e95a67dc
SM
80032012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8004
657c21e4 8005 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8006
8007 * term/ns-win.el (ns-define-service):
8008 * progmodes/pascal.el (pascal-goto-defun):
8009 * progmodes/js.el (js--read-tab):
8010 * progmodes/etags.el (tags-lazy-completion-table):
8011 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8012 * emacs-lisp/ewoc.el (ewoc--wrap):
8013 * emacs-lisp/assoc.el (aput, adelete, amake):
8014 * doc-view.el (doc-view-convert-current-doc):
8015 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8016
cb3e7ae0
CY
80172012-04-26 Chong Yidong <cyd@gnu.org>
8018
dce04f7f
CY
8019 * image.el (image-type-from-buffer): Only return supported image
8020 type (Bug#9045).
8021
cb3e7ae0
CY
8022 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8023 value, for symmetry with diff-end-of-hunk.
8024 (diff-split-hunk, diff-find-source-location)
8025 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8026 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8027 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8028 compute the relevant hunk or file properly (Bug#6005).
8029 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8030
0d42eb3e
SM
80312012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 * vc/vc-mtn.el:
8034 * vc/vc-hg.el:
8035 * vc/vc-git.el:
8036 * vc/vc-dir.el:
8037 * vc/vc-cvs.el:
8038 * vc/vc-bzr.el:
8039 * vc/vc-arch.el:
8040 * vc/vc.el: Replace lexical-let by lexical-binding.
8041 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8042 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8043 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8044
f08ae1c9
CY
80452012-04-26 Chong Yidong <cyd@gnu.org>
8046
8b71081d
CY
8047 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8048 (diff-mode-shared-map): Bind it to / and [remap undo].
8049
f08ae1c9
CY
8050 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8051 (ediff-window-setup-function): Use it as the default, to set up
8052 windows based on whether the current frame is graphical (Bug#2138).
8053 (ediff-choose-window-setup-function-automatically): Make obsolete.
8054
8055 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8056
ef24141c
SM
80572012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8058
cc356a5d
SM
8059 * ffap.el: Remove old code for obsolete package.
8060 (ffap-complete-as-file-p): Remove.
8061
b4ff4f1f
SM
8062 Use completion-table-with-quoting for comint and pcomplete.
8063 * comint.el (comint--unquote&requote-argument)
8064 (comint--unquote-argument, comint--requote-argument): New functions.
8065 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8066 (comint-quote-filename): Use regexp-opt-charset.
8067 (comint--common-suffix, comint--common-quoted-suffix)
8068 (comint--table-subvert): Remove.
8069 (comint-unquote-function, comint-requote-function): New vars.
8070 (comint--complete-file-name-data): Use them with
8071 completion-table-with-quoting.
8072 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8073 * pcomplete.el (pcomplete-arg-quote-list)
8074 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8075 (pcomplete-unquote-argument-function): Default to non-nil.
8076 (pcomplete-unquote-argument): Simplify.
8077 (pcomplete--common-quoted-suffix): Remove.
8078 (pcomplete-requote-argument-function): New var.
8079 (pcomplete--common-suffix): New function.
8080 (pcomplete-completions-at-point): Use completion-table-with-quoting
8081 and completion-table-subvert.
8082
79c4eeb4
SM
8083 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8084 (minibuffer--double-dollars): Preserve properties.
8085 (completion--sifn-requote): New function.
8086 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8087
ef24141c
SM
8088 * minibuffer.el: Add support for completion of quoted/escaped data.
8089 (completion-table-with-quoting, completion-table-subvert): New funs.
8090 (completion--twq-try, completion--twq-all): New functions.
8091 (completion--nth-completion): New function.
8092 (completion-try-completion, completion-all-completions): Use it.
8093
784e7d6e
LL
80942012-04-25 Leo Liu <sdl.web@gmail.com>
8095
dd2ac746
SM
8096 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8097 Use compilation-message if available to find real filename.
784e7d6e 8098
07875ee7
CY
80992012-04-25 Chong Yidong <cyd@gnu.org>
8100
8101 * vc/diff-mode.el (diff-setup-whitespace): New function.
8102 (diff-mode): Use it.
8103
8104 * vc/diff.el (diff-sentinel):
8105 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8106 Whitespace mode variables based on diff style (Bug#8612).
8107
5055880d
LL
81082012-04-25 Leo Liu <sdl.web@gmail.com>
8109
daf75653
LL
8110 * progmodes/python.el (python-send-region): Add suffix .py to the
8111 temp file.
8112
5055880d
LL
8113 * files.el (auto-mode-alist): Use javascript-mode instead.
8114
db9b177b
AH
81152012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8116
ef24141c 8117 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8118
090bd7cb 8119 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8120 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8121 references, see Bug#9.
ef24141c 8122 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8123 when receiving a fault reply.
ef24141c 8124 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8125
090bd7cb 8126 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8127 (soap-inspect-simple-type): New function.
db9b177b 8128
090bd7cb 8129 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8130 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8131 (soap-decode-basic-type, soap-encode-basic-type):
8132 support unsignedInt and double basic types.
db9b177b 8133 (soap-resolve-references-for-simple-type)
ef24141c
SM
8134 (soap-parse-simple-type, soap-encode-simple-type): New function.
8135 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8136
090bd7cb 8137 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8138 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8139 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8140 the local name of "soapenc:Array".
8141 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8142 decoding integer, byte and anyURI xsd types.
8143
1fc6097b
CY
81442012-04-25 Chong Yidong <cyd@gnu.org>
8145
8146 * cus-edit.el (custom-buffer-create-internal): Update header text.
8147
afc6df87
EZ
81482012-04-25 Eli Zaretskii <eliz@gnu.org>
8149
8150 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8151 settings on 'system-type', not on 'window-system'. On MS-Windows,
8152 set interactive-mode on in GDB.
8153
dfbd787f
SM
81542012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8157 (ruby-syntax-propertize-regexp): Remove.
8158 (ruby-syntax-propertize-function): Split regexp into chunks.
8159 Match following code directly.
8160
85222d44
DG
81612012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8162
51a8ea2a
DG
8163 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8164 (ruby-syntax-propertize-regexp): New function.
8165 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8166 by a special keyword.
8167
85222d44
DG
8168 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8169 (ruby-syntax-general-delimiters-goto-beg)
8170 (ruby-syntax-propertize-general-delimiters): New functions.
8171 (ruby-syntax-propertize-function): Use them to handle GDL.
8172 (ruby-font-lock-keywords): Move old handling of GDL...
8173 (ruby-font-lock-syntactic-keywords): .. to here.
8174 (ruby-calculate-indent): Adjust indentation for GDL.
8175
b613912b
MA
81762012-04-24 Michael Albinus <michael.albinus@gmx.de>
8177
b5380639
MA
8178 * notifications.el (top): Remove unneeded declarations.
8179 (notifications-specification-version): Change to "1.2".
e43042fe 8180 (notifications-interface, notifications-notify-method)
b613912b
MA
8181 (notifications-close-notification-method): Fix docstring.
8182 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8183 (notifications-notify): Add :action-items, :resident and
8184 :transient hints. Change "image_data" to "image-data" and
8185 "image_path" to "image-path".
b613912b
MA
8186 (notifications-get-capabilities): New defun.
8187
257440aa
LL
81882012-04-24 Leo Liu <sdl.web@gmail.com>
8189
8190 * progmodes/python.el: Move hideshow setup to the end.
8191
b1bac16e
MR
81922012-04-24 Martin Rudalics <rudalics@gmx.at>
8193
8194 * window.el (handle-select-window): Clear echo area since this is
8195 no more done by read_char (Bug#11304).
8196
d81bd059
SM
81972012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8200 and `/ M' to filter-derived-mode.
8201 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8202 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8203 (ibuffer-mark-by-mode): Use default rather than initial-input.
8204 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8205
c4cf6d91
IA
82062012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8207
8208 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8209 (ibuffer-filter-by-derived-mode): New filter.
8210 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8211
7511ded8
CY
82122012-04-23 Andreas Politz <politza@fh-trier.de>
8213
8214 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8215
775c916b
CY
82162012-04-23 Chong Yidong <cyd@gnu.org>
8217
8218 * cus-edit.el (customize-apropos, customize-apropos-options):
8219 Disable matching of non-option variables (Bug#11176).
8220 (customize-option, customize-option-other-window)
8221 (customize-changed-options): Doc fix.
8222 (customize-apropos-options, customize-apropos-faces)
8223 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8224
8225 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8226 Fix word list splitting (Bug#11132).
46c71e23
CY
8227 (apropos-symbol, apropos-keybinding, apropos-label)
8228 (apropos-property, apropos-function-button)
8229 (apropos-variable-button, apropos-misc-button): New faces.
8230 (apropos-symbol-face, apropos-keybinding-face)
8231 (apropos-label-face, apropos-property-face, apropos-match-face):
8232 Variables removed (Bug#8396).
8233 (apropos-library-button, apropos-format-plist, apropos-print)
8234 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8235
2df41f9c
MA
82362012-04-23 Michael Albinus <michael.albinus@gmx.de>
8237
8238 * net/xesam.el (xesam-mode-map): Use let-bound map in
8239 initialization. (Bug#11292)
8240
da00640a
AM
82412012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8242
8243 Preserve ispell session localwords when switching back to
8244 original buffer.
8245
090bd7cb
JB
8246 * textmodes/ispell.el (ispell-buffer-session-localwords):
8247 New buffer-local variable to hold buffer session localwords.
ed9265fc 8248 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8249 localwords.
8250 (ispell-command-loop, ispell-change-dictionary)
8251 (ispell-buffer-local-words): Preserve session localwords when
8252 needed.
8253
090bd7cb
JB
8254 * textmodes/flyspell.el (flyspell-process-localwords)
8255 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8256
f621ccf5
AM
82572012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8258
090bd7cb
JB
8259 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8260 using obsolete `translation-table-for-input'.
ef24141c
SM
8261 (ispell-word, ispell-process-line, ispell-complete-word):
8262 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8263
c2d1019e
CY
82642012-04-22 Chong Yidong <cyd@gnu.org>
8265
8266 * cus-edit.el (custom-variable-menu)
8267 (custom-variable-reset-saved, custom-face-menu)
8268 (custom-face-reset-saved): If there is no saved value, make the
8269 "reset-saved" operation bring back the default (Bug#9509).
8270 (custom-face-state): Properly detect themed faces.
8271
eeddc531
CY
8272 * faces.el (face-spec-set): Stop supporting deprecated form of
8273 third arg.
8274
dcbf5805
MA
82752012-04-22 Michael Albinus <michael.albinus@gmx.de>
8276
8277 Move functions from C to Lisp. Make non-blocking method calls
8278 the default. Implement further D-Bus standard interfaces.
8279
ef24141c
SM
8280 * net/dbus.el (dbus-message-internal): Declare function.
8281 Remove unneeded function declarations.
dcbf5805
MA
8282 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8283 (dbus-message-type-method-return, dbus-message-type-error)
8284 (dbus-message-type-signal): Declare variables. Remove local
8285 definitions.
8286 (dbus-interface-dbus, dbus-interface-peer)
8287 (dbus-interface-introspectable, dbus-interface-properties)
8288 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8289 Adapt docstring.
8290 (dbus-interface-objectmanager): New defconst.
8291 (dbus-call-method, dbus-call-method-asynchronously)
8292 (dbus-send-signal, dbus-method-return-internal)
8293 (dbus-method-error-internal, dbus-register-service)
8294 (dbus-register-signal, dbus-register-method): New defuns, moved
8295 from dbusbind.c
8296 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8297 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8298 New defuns.
dcbf5805
MA
8299 (dbus-call-method-non-blocking): Make it an obsolete function.
8300 (dbus-unregister-object, dbus-unregister-service)
8301 (dbus-handle-event, dbus-register-property)
8302 (dbus-property-handler): Obey the new structure of
8303 `bus-registered-objects'.
8304 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8305 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8306 Use `dbus-call-method'.
8307
cf20dee0
CY
83082012-04-22 Chong Yidong <cyd@gnu.org>
8309
8310 * cus-edit.el (custom-commands, custom-reset-menu)
8311 (Custom-reset-standard): Tweak labels.
8312 (custom-reset-button-menu): Change default to t.
8313 (custom-buffer-create-internal): For the custom-reset-button-menu
8314 case, put the revert button first.
8315 (custom-group-subtitle): New face.
8316 (custom-group-value-create): Align docstring to a specific column.
8317
8318 * wid-edit.el (widget-documentation-link-add): Don't handle
8319 indentation in this function.
8320 (widget-documentation-string-indent-to): New function.
8321 (widget-documentation-string-value-create): Use it.
8322
8323 * autorevert.el (auto-revert):
8324 * epg-config.el (epg):
8325 * ibuffer.el (ibuffer):
8326 * mpc.el (mpc):
8327 * ses.el (ses):
8328 * eshell/eshell.el (eshell):
8329 * net/ange-ftp.el (ange-ftp):
8330 * progmodes/ebnf2ps.el (postscript):
8331 * progmodes/flymake.el (flymake):
8332 * progmodes/prolog.el (prolog):
8333 * progmodes/verilog-mode.el (verilog-mode):
8334 * progmodes/which-func.el (which-func):
8335 * term/xterm.el (xterm):
8336 * textmodes/picture.el (picture):
8337 * textmodes/tildify.el (tildify):
8338 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8339 customization buffers.
8340
583e23bd
AM
83412012-04-22 Alan Mackenzie <acm@muc.de>
8342
8343 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8344 Adding a ) can hide the resulting (..) from searches. Fix it.
8345 Bound the backward search to the position of the existing (.
8346
7dd51bf1
JB
83472012-04-21 Juanma Barranquero <lekktu@gmail.com>
8348
8349 * progmodes/verilog-mode.el (verilog-mode): Check whether
8350 which-func-modes is t before adding verilog-mode.
8351 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8352
d64a438f
LL
83532012-04-21 Leo Liu <sdl.web@gmail.com>
8354
7dd51bf1 8355 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8356
081e8d65
MV
83572012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8358
8359 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8360 filling of the last column of a table (Bug#5635).
8361 (woman-find-next-control-line): New arg, specifying an additional
8362 regexp component for the control line.
8363 (woman2-roff-buffer): Use it.
8364 (woman-break-table): New function.
8365 (woman2-TS): Use it.
8366
83672012-04-21 Chong Yidong <cyd@gnu.org>
8368
8369 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8370 (woman-horizontal-escapes, woman-negative-vertical-space)
8371 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8372 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8373
ed571ccb
SM
83742012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * minibuffer.el (completion-file-name-table): Complete user names.
8377
39773899
LL
83782012-04-20 Leo Liu <sdl.web@gmail.com>
8379
8380 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8381 and pcase-let*.
8382
de6ff46d
CY
83832012-04-20 Chong Yidong <cyd@gnu.org>
8384
8385 * server.el (server-execute): Respect initial-buffer-choice if it
8386 is a string and there are no files to open (Bug#2825).
8387 (server-create-window-system-frame, server-create-tty-frame):
8388 Don't switch buffers here.
2d0e8e61
CY
8389 (server-process-filter): Only try to open a window system frame if
8390 compiled with graphical support (Bug#8314).
de6ff46d 8391
54071013
DN
83922012-04-20 Dan Nicolaescu <dann@gnu.org>
8393
8394 * battery.el (battery-echo-area-format): Display remaining time
8395 for sysfs backend too (Bug#11269).
8396 (battery-linux-sysfs): Fix conditional for the charge.
8397
f30d612a
CY
83982012-04-20 Chong Yidong <cyd@gnu.org>
8399
c07a4c0b 8400 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8401 (gdb-inferior-io--init-proc): New function.
8402 (gdb-init-1): Use it.
8403 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8404 responsible for allocating a new pty and hooking it to gdb when
8405 the old pty gets an EIO due to process exit.
8406 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8407 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8408 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8409
2116e93c
EZ
84102012-04-20 Eli Zaretskii <eliz@gnu.org>
8411
8412 * window.el (window-min-size, window-sizable, window-min-delta)
8413 (window-max-delta, window--resizable, window-resizable)
8414 (window-total-size, window-full-height-p, window-full-width-p)
8415 (window-in-direction, window--resize-mini-window, window-resize)
8416 (window--resize-child-windows-normal)
8417 (window--resize-child-windows, window--resize-siblings)
8418 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8419 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8420
c07a4c0b 84212012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8422
ef24141c
SM
8423 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8424 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8425 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8426 pty process (Bug#11273).
8427 (gdb-update): New arg to suppress talking to the gdb process.
8428 (gdb-done-or-error): Use it.
8429 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8430 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8431 sentinel not being called.
8432
8433 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8434
d02766ab
CY
8435 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8436
c07a4c0b 84372012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8438
8439 * net/network-stream.el (open-network-stream): Doc fix.
8440
c07a4c0b 84412012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8442
8443 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8444
c07a4c0b 84452012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8446
8447 Ensure searching for keywords is case sensitive.
8448
8449 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8450 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8451 (c-defun-name, c-mark-function, c-cpp-define-name)
8452 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8453 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8454
ef24141c
SM
8455 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8456 Bind case-fold-search to nil.
f0f6bc35 8457
c07a4c0b 84582012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8459
8460 * mail/sendmail.el (mail-bury): Call return action with the right
8461 Rmail buffer (Bug#11242).
8462
9a864fa2
CY
8463 * server.el (server-process-filter): Handle corner case where both
8464 tty and nowait options are present (Bug#11102).
8465
539aa513
EZ
84662012-04-20 Eli Zaretskii <eliz@gnu.org>
8467
8468 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8469 (top level): Put into the executable the ident-style '$Id:' tag on
8470 windows-nt as well.
539aa513 8471
cfc7d5da
SM
84722012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * electric.el (electric-indent-post-self-insert-function): Check that
8475 electric-indent-mode is enabled in current buffer.
8476
5b01685c
JB
84772012-04-19 Juanma Barranquero <lekktu@gmail.com>
8478
8479 * imenu.el (imenu-progress-message): Restore; it is "used" in
8480 erc/erc-imenu.el and net/snmp-mode.el.
8481
4d6769e1
JB
84822012-04-19 Juanma Barranquero <lekktu@gmail.com>
8483
8484 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8485 (mouse-avoidance-nudge-mouse): Remove unused binding.
8486
8487 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8488
8489 * descr-text.el (describe-char):
8490 * progmodes/python.el (python-describe-symbol):
8491 Don't call `toggle-read-only', set `buffer-read-only'.
8492
8493 * imenu.el (imenu-default-goto-function): Mark unused args.
8494 (imenu-progress-message): Remove obsolete macro; all callers changed.
8495
8496 * subr.el (keymap-canonicalize): Remove unused binding.
8497 (read-passwd): Mark unused arg.
8498
8499 * tutorial.el (tutorial--display-changes): Remove unused binding.
8500 (tutorial--save-tutorial-to): Remove unused variable.
8501
8502 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8503 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8504 (package-generate-autoloads, package-menu--generate)
8505 (package-menu--find-upgrades): Remove unused bindings.
8506
8507 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8508 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8509 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8510 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8511 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8512 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8513 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8514 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8515 (cua-delete-char-rectangle): Mark unused args.
8516 (cua-align-rectangle): Remove unused binding.
8517
8518 * mail/rmail.el (compilation--message->loc)
8519 (epa--find-coding-system-for-mime-charset): Declare.
8520
8521 * net/dbus.el (dbus-register-service): Declare.
8522 (dbus-name-owner-changed-handler): Remove unused binding.
8523
8524 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8525 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8526 (nxml-scan-backward-within): Mark unused arg.
8527 (nxml-dynamic-markup-word): Remove unused binding.
8528
8529 * mouse.el (mouse-menu-major-mode-map):
8530 * emacs-lisp/authors.el (authors-scan-change-log)
8531 (authors-add-to-author-list):
8532 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8533 * emacs-lisp/smie.el (smie-auto-fill):
8534 * mail/sendmail.el (mail-bury):
8535 * mail/unrmail.el (unrmail):
8536 * net/tls.el (open-tls-stream):
8537 * textmodes/picture.el (picture-mouse-set-point):
8538 Remove unused bindings.
8539
8c8fc5df
MA
85402012-04-19 Michael Albinus <michael.albinus@gmx.de>
8541
8542 * net/tramp.el (tramp-action-password): Let-bind
8543 `enable-recursive-minibuffers' to t.
8544
a77b0ac9
SS
85452012-04-18 Sam Steingold <sds@gnu.org>
8546
8547 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8548 instead of 'string to accommodate values like [f11].
8549 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8550 * progmodes/gdb-mi.el: Likewise.
8551
12a106a9
LL
85522012-04-18 Leo Liu <sdl.web@gmail.com>
8553
8554 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8555 current buffer.
8556 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8557 LOCAL is nil.
8558
bc6494ef
CY
85592012-04-18 Chong Yidong <cyd@gnu.org>
8560
8561 * simple.el (line-move): Use forward-line if in batch mode
8562 (Bug#11053).
8563
c09c46b2
CS
85642012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8565
8566 * files.el (after-find-file): Do not try to add a final newline if
8567 the buffer is read-only (Bug#11156).
8568
5f6530ea
RS
85692012-04-17 Richard Stallman <rms@gnu.org>
8570
8571 * mail/rmail.el (rmail-start-mail):
8572 Pass (rmail-mail-return...) for the return-action.
8573 Pass (rmail-yank-current-message...) for the yank-action.
8574 (rmail-yank-current-message): New function.
8575 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8576 (rmail-reply): Likewise.
8577 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8578
8579 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8580 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8581 buffer, not newbuf.
8582
197b6f3c
JB
85832012-04-17 Juanma Barranquero <lekktu@gmail.com>
8584
8585 * server.el (server-ensure-safe-dir): Simplify.
8586
2311d8e5 85872012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8588
2311d8e5
GM
8589 * emacs-lisp/smie.el: Provide smarter auto-filling.
8590 (smie-auto-fill): New function.
8591 (smie-setup): Use it.
98fb480e 8592
2311d8e5
GM
8593 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8594
85952012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8596
8597 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8598 (comment-indent): Use it.
8599
2311d8e5 86002012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8601
8602 * ses.el: The overall change is to add cell renaming, that is
8603 setting fancy names for cell symbols other than name matching
8604 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8605 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8606 (ses-create-cell-variable): New defun.
2311d8e5 8607 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8608 (ses-relocate-formula): Relocate formulas only for cells the
8609 symbols of which are not renamed, i.e. symbols whose names do not
8610 match regexp "\\`[A-Z]+[0-9]+\\'".
8611 (ses-relocate-all): Relocate values only for cells the symbols of
8612 which are not renamed.
8613 (ses-load): Create cells variables as the (ses-cell ...) are read,
8614 in order to check row col consistency with cell symbol name only
8615 for cells that are not renamed.
8616 (ses-replace-name-in-formula): New defun.
8617 (ses-rename-cell): New defun.
4bdf2ad2 8618
fc72b15c
PO
86192012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8620
8621 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8622 New option (bug#11118).
8623 (perl-calculate-indent): Respect it.
8624
12e10e61
GM
86252012-04-17 Glenn Morris <rgm@gnu.org>
8626
8627 * dired-aux.el (dired-mark-read-string): Doc fix.
8628
30009afd
DA
86292012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8630
8631 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8632 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8633
41f03f4d
GM
86342012-04-17 Glenn Morris <rgm@gnu.org>
8635
8636 * mouse.el (mouse-drag-track):
8637 * speedbar.el (speedbar-frame-mode):
8638 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8639
f45f90f3
LL
86402012-04-16 Leo Liu <sdl.web@gmail.com>
8641
8642 * progmodes/python.el: Trivial cleanup.
8643
94ee8db5
GM
86442012-04-16 Glenn Morris <rgm@gnu.org>
8645
121b8917
GM
8646 * vc/vc.el (vc-string-prefix-p):
8647 * vc/pcvs-util.el (cvs-string-prefix-p):
8648 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8649 * mpc.el (mpc-string-prefix-p):
8650 Make all of these into obsolete aliases for string-prefix-p.
8651 Update callers.
8652 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8653
1197ecfa
GM
8654 * textmodes/two-column.el: Move custom options to the start.
8655 (frame-width): Remove compat definition.
8656 (2C-associate-buffer, 2C-dissociate):
8657 Use with-current-buffer rather than save-excursion.
8658 (2C-dissociate): Force a mode-line update.
8659 (2C-autoscroll): Use ignore-errors.
8660
099e7202
GM
8661 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8662 Autoload trivia.
8663
bf350d6a
GM
8664 * emacs-lisp/cl-extra.el (*random-state*):
8665 Remove unnecessary declaration.
8666
0e829eab
GM
8667 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8668
e3ad7552
GM
8669 * play/cookie1.el (cookie-snarf):
8670 Give an explicit error if input file cannot be read.
8671
68892d27
GM
8672 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8673
20f0c46d
GM
8674 * progmodes/perl-mode.el (c-macro-expand):
8675 Remove unnecessary autoload (it is in loaddefs.el).
8676
5a0978ce
GM
8677 * textmodes/picture.el (picture-desired-column)
8678 (picture-update-desired-column): Convert comments to doc-strings.
8679 (picture-substitute): Remove function.
8680 (picture-mode-map): Initialize in the defvar.
8681
6b955486
GM
8682 * woman.el: Remove eval-after-load for tar-mode.
8683 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8684 (woman-tar-extract-file): Autoload it.
8685
94ee8db5
GM
8686 * frame.el (automatic-hscrolling): Make this alias obsolete.
8687
177eca34
AM
86882012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8689
090bd7cb 8690 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8691 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8692 (ispell-dictionary-base-alist): Revert to original XEmacs
8693 friendly version for default. [:alpha:] will be added in
090bd7cb 8694 `ispell-set-spellchecker-params' if needed.
177eca34 8695
c505aaeb
CY
86962012-04-16 Chong Yidong <cyd@gnu.org>
8697
b19dd9d1 8698 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8699 (imagemagick-register-types): Use it.
8700 (imagemagick-types-inhibit): Add :set function. Allow new value
8701 of t to inhibit all types.
8702
8703 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8704 so we can preload it.
8705
8706 * loadup.el (fboundp): Preload regexp-opt, needed by
8707 imagemagick-register-types.
8708
60efac0f
CY
87092012-04-15 Chong Yidong <cyd@gnu.org>
8710
8711 * frame.el (scrolling): Remove nearly unused customization group.
8712
8713 * scroll-all.el (scroll-all-mode): Move to windows group.
8714
5dd1713e
CY
87152012-04-15 Chong Yidong <cyd@gnu.org>
8716
8717 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8718
e6fd457e
CY
87192012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8722 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8723
e153c136
GM
87242012-04-15 Glenn Morris <rgm@gnu.org>
8725
8726 * simple.el (process-file-side-effects): Doc fix.
8727
e6fd457e 87282012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8729
8730 * international/mule-cmds.el (set-language-environment): Doc fix.
8731
3603c3b1
JB
87322012-04-14 Juanma Barranquero <lekktu@gmail.com>
8733
8734 * server.el (server-auth-key, server-generate-key): Doc fixes.
8735 (server-get-auth-key): Doc fix. Use `string-match-p'.
8736 (server-start): Reflow docstring.
8737
e6de100c
LI
87382012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8739
8740 * server.el (server-generate-key): `called-interactively-p'
8741 requires a parameter.
8742
29734c21
MN
87432012-04-14 Michal Nazarewicz <mina86@mina86.com>
8744
8745 * server.el (server-auth-key): New variable.
75f1671a 8746 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8747 (server-start): Use the new variable and functions to allow
8748 setting a permanent server key (bug#9423).
8749
d65c9521
LL
87502012-04-14 Leo Liu <sdl.web@gmail.com>
8751
8752 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8753
5ae255c7
PE
87542012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8755
8756 Spelling fixes.
8757 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8758 Emacs uses American spelling.
8759
d5e6342e
JB
87602012-04-14 Juanma Barranquero <lekktu@gmail.com>
8761
8762 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8763 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8764 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8765 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8766
ab036cd7
SM
87672012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * progmodes/which-func.el (which-func-modes): Change default.
8770
35dc09a1 87712012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8772
8773 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8774 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8775
35dc09a1 87762012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8777
8778 * custom.el (custom-theme-set-variables): Doc fix.
8779
35dc09a1 87802012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8781
8782 * international/mule.el (set-auto-coding-for-load): Doc fix.
8783
35dc09a1 87842012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8785
35dc09a1
GM
8786 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8787 imenu work again for Objective C Mode. Correct the *-index values,
8788 these having been disturbed by a previous change in 2011-08.
57f845ee 8789
0de3da9f
AM
8790 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8791 Correct two search limits.
8792
35dc09a1 87932012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8794
8795 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8796
35dc09a1 87972012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8798
8799 * international/characters.el: Fix sorting.
8800
35dc09a1 88012012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8802
8803 * international/characters.el: Add more missing Latin case pairs.
8804
35dc09a1 88052012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8806
8807 * files.el (dir-locals-set-class-variables): Doc fix.
8808
35dc09a1 88092012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8810
3f1b5bf8
EZ
8811 * international/characters.el: Add set-case-syntax-pair call for
8812 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8813 counterpart. (Bug#11209)
8814
9f847f41
EZ
8815 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8816
35dc09a1 88172012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8818
8819 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8820
35dc09a1 88212012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8822
35dc09a1
GM
8823 * textmodes/ispell.el (ispell-dictionary-base-alist):
8824 Add data for Hebrew.
e2627d21 8825
35dc09a1 88262012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8827
35dc09a1
GM
8828 * net/rcirc.el (rcirc-cmd-quit):
8829 Revert 2012-03-18 change (Bug#11192).
5c14e333 8830
35dc09a1 88312012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8832
8833 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8834
35dc09a1 88352012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8836
4517fe3a
SM
8837 * minibuffer.el (completion-in-region-mode-map):
8838 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8839
b472a594
VD
88402012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8841
8842 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8843
09b95ce3
MY
88442012-04-13 Masatake YAMATO <yamato@redhat.com>
8845
8846 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8847 to allow `C-M-f' and `C-M-b' to move to the nearest path
8848 separator (bug#9511).
8849
4b63a9ca
LI
88502012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8851
8852 * avoid.el: Require cl when compiling. And also move the
8853 `provide' to the end.
8854
7b55b8bf
TV
88552012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8856
8857 * avoid.el (mouse-avoidance-banish-position): New variable.
8858 (mouse-avoidance-banish-destination): Use it (bug#10165).
8859
adedaa1f
LL
88602012-04-13 Leo Liu <sdl.web@gmail.com>
8861
8862 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8863
70e74021
KB
88642012-04-13 Ken Brown <kbrown@cornell.edu>
8865
8866 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8867 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8868 (browse-url-filename-alist): For the same reason, don't modify
8869 file:// URLs on Cygwin.
8870
e75e89ba
SM
88712012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8872
8873 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8874 the region on shift if the binding is already shifted (bug#11221).
8875
82f289a4
GM
88762012-04-12 Glenn Morris <rgm@gnu.org>
8877
8878 * mail/mailpost.el: Move to obsolete/.
8879
d333dc4c
DA
88802012-04-12 Drew Adams <drew.adams@oracle.com>
8881
8882 * imenu.el (imenu--generic-function): Ignore invisible definitions
8883 (bug#10123).
8884
0d15b5ba
VD
88852012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8886
8887 * hexl.el (hexl-bits): New variable.
8888 (hexl-options): Mention the variable in the doc string.
75f1671a 8889 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8890 (hexl-mode): Mention the new variable.
75f1671a
JB
8891 (hexl-mode, hexl-current-address, hexl-current-address):
8892 Use the displen.
0d15b5ba
VD
8893 (hexl-ascii-start-column): New function.
8894 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8895 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8896
64a440db
AM
88972012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8898
8899 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8900 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8901 the encoding, as expected by hunspell.
8902
6decb6c2
SM
89032012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * battery.el (battery--linux-sysfs-regexp): New const.
8906 (battery-status-function): Use it. Remove yeeloong special case.
8907 (battery-yeeloong-sysfs): Remove.
8908 (battery-echo-area-format): Remove yeeloong special case.
8909
088be6fb
SM
89102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8911
6622e416
SM
8912 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8913 Reported by Noah Friedman.
8914
088be6fb
SM
8915 * subr.el (read-passwd): Use read-string.
8916
b49f886e
LMI
89172012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8918
8919 * vcursor.el (vcursor-move): Increase the priority of the overlay
8920 (bug#9663).
8921
a63067fc
DD
89222012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8923
8924 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8925 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8926
ac3cf14a
WS
89272012-04-11 William Stevenson <yhvh2000@gmail.com>
8928
8929 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8930 define-minor-mode (bug#10760).
8931
c4fc691b 89322012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8933
4d6769e1 8934 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8935 that directories matching `grep-find-ignored-files' won't be
8936 pruned (bug#10351).
8937
af23e2e5
CY
89382012-04-11 Chong Yidong <cyd@gnu.org>
8939
8940 * startup.el (command-line): Remove support for long-obsolete
8941 variable font-lock-face-attributes.
8942
ab7ce8c1
GM
89432012-04-11 Glenn Morris <rgm@gnu.org>
8944
8945 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8946
de8c03dc
SM
89472012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * window.el (window--state-get-1): Obey window-point-insertion-type.
8950
050cc68b
LB
89512012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8952
8953 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8954 to previous function when point is on the first character of a
75f1671a 8955 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8956
a38c310c
GM
89572012-04-11 Glenn Morris <rgm@gnu.org>
8958
effed0c2
GM
8959 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8960 not just file-errors.
8961
a38c310c
GM
8962 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8963 (vc-bzr-sha1): Use internal sha1.
8964
0221e323
SM
89652012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8966
8967 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8968
43956923
SG
89692012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8970
8971 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8972 that start in the middle of the line (bug#10496).
8973
6a8c9eaf
DN
89742012-04-10 Dan Nicolaescu <dann@gnu.org>
8975
8976 * battery.el (battery-linux-proc-acpi): Only one battery is
8977 discharged at a time, but that seems to confuse battery.el when
8978 computing `rate-type' for the battery not being discharged
8979 (bug#10332).
8980
1930bf5d
SM
89812012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8982
2a718f6f
SM
8983 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8984
599430d0
SM
8985 * international/quail.el: Use dolist and simplify.
8986 (quail-define-package, quail-update-keyboard-layout)
8987 (quail-define-rules): Use dolist.
8988 (quail-insert-kbd-layout, quail-get-translation): CSE.
8989
a2754b6c
SM
8990 * tmm.el: Use dolist, remove left over hook.
8991 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8992 Use dolist.
8993 (calendar-load-hook): Don't mess with it.
8994
1930bf5d
SM
8995 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8996 Use derived-mode-p. Run the diff asynchronously.
8997
9f67961c
LMI
89982012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8999
9000 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9001
2a8ce227
JB
90022012-04-10 Juanma Barranquero <lekktu@gmail.com>
9003
9004 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9005 (list-dynamic-libraries--loaded): New function.
9006 (list-dynamic-libraries--refresh): Use it.
9007
8f33b5f8
NW
90082012-04-10 Nathan Weizenbaum <nweiz@google.com>
9009
1930bf5d
SM
9010 * progmodes/python.el (python-fill-paragraph):
9011 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9012 disabled (bug#7018).
9013
b12f0439
L
90142012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9015
1930bf5d 9016 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9017 DOS/MS Windows for the Baltic languages. There are still plenty
9018 of texts written in this encoding/codepage (bug#6519).
b12f0439 9019
57c3bd01
GM
90202012-04-10 Glenn Morris <rgm@gnu.org>
9021
9022 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9023 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9024
6c3eab30
FA
90252012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9026
1930bf5d 9027 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9028 next-line "n" and previous-line "p" in order to make recentf more
9029 consistent with ibuffer, dired or org-mode (bug#9387).
9030
24d78a88
LMI
90312012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9032
bc72b5d9
LMI
9033 * image.el (put-image): Return the overlay created instead of the
9034 optional input string (bug#7834). Note that this may break code
9035 that is (for some reason or other) depending on `put-image'
9036 returning the string.
9037
bd2dba5a
LMI
9038 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9039
74beb59f
LMI
9040 * simple.el (zap-to-char): Allow zapping using input methods
9041 (bug#1580).
9042
24d78a88
LMI
9043 * textmodes/fill.el (fill-region): Leave point and mark where they
9044 were before filling (bug#5399).
9045
263f20cd
GM
90462012-04-09 Glenn Morris <rgm@gnu.org>
9047
9048 * version.el (emacs-bzr-get-version):
9049 Handle lightweight checkouts of local branches.
9050
58d1f797
AS
90512012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9052
263f20cd 9053 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9054
b4d3bc10
CY
90552012-04-09 Chong Yidong <cyd@gnu.org>
9056
9057 * custom.el (custom-variable-p): Return nil for non-symbol
9058 arguments instead of signaling an error.
9059 (user-variable-p): Obsolete alias for custom-variable-p.
9060
9061 * apropos.el (apropos-variable):
9062 * files-x.el (read-file-local-variable):
9063 * simple.el (set-variable):
9064 * woman.el (woman-mini-help):
9065 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9066
fd06db5d
GM
90672012-04-09 Glenn Morris <rgm@gnu.org>
9068
e5fcdb5e
GM
9069 * startup.el (normal-top-level): Don't look for leim-list.el
9070 in places where it will not be found. (Bug#910)
9071
fd06db5d
GM
9072 * international/mule-cmds.el (set-default-coding-systems):
9073 * files.el (normal-mode):
9074 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9075 This function was removed with ucs-tables.el in 2008.
9076
b39bb7e1
EZ
90772012-04-08 Eli Zaretskii <eliz@gnu.org>
9078
9079 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9080 ispell-encoding8-command to "-i", without a trailing space.
9081 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9082 separate command-line arguments, to specify the encoding, since
9083 that's how hunspell expects it.
9084
5c5b8e23
GM
90852012-04-08 Glenn Morris <rgm@gnu.org>
9086
9087 * loadup.el: Load bindings before cus-start.
9088 This reduces somewhat the number of "rogue" settings in emacs -Q.
9089
a1ed8b05
GM
90902012-04-07 Glenn Morris <rgm@gnu.org>
9091
9092 * version.el (emacs-bzr-get-version): New function.
dfae128a 9093 (emacs-bzr-version): New variable.
a1ed8b05
GM
9094 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9095 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9096
b142f158
EZ
90972012-04-07 Eli Zaretskii <eliz@gnu.org>
9098
dfae128a
GM
9099 * international/uni-bidi.el, international/uni-category.el:
9100 * international/uni-combining.el, international/uni-decimal.el:
9101 * international/uni-decomposition.el, international/uni-digit.el:
9102 * international/uni-lowercase.el, international/uni-mirrored.el:
9103 * international/uni-name.el, international/uni-numeric.el:
9104 * international/uni-titlecase.el, international/uni-uppercase.el:
9105 Update for Unicode 6.1.
b142f158 9106
9078ead6
EZ
91072012-04-07 Eli Zaretskii <eliz@gnu.org>
9108
9109 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9110
f23d2c7d
LMI
91112012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9112
9113 * window.el (shrink-window): Mention the `window-min-height'
9114 variable in the doc string.
9115
0a0a3573
BG
91162012-04-05 Bastien Guerry <bzg@altern.org>
9117
9118 * color.el (color-lighten-name): Fix typo.
9119
e5248ac9
SM
91202012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * server.el (server--on-display-p): New function.
9123 (server--on-display-p): Use it.
9124
b4243e22
GV
91252012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9126
9127 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9128 (bug#11145).
9129
305d9f44
SM
91302012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * comint.el (comint--common-quoted-suffix): Check string boundary
9133 before comparing (bug#11158).
9134 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9135
3d439cd1
CY
91362012-04-04 Chong Yidong <cyd@gnu.org>
9137
321cc491
CY
9138 * minibuffer.el (completion-extra-properties): Doc fix.
9139
3d439cd1
CY
9140 * subr.el (delayed-warnings-hook): Doc fix.
9141
2d562c0f
DU
91422012-04-04 Daiki Ueno <ueno@unixuser.org>
9143
9144 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9145 selection (Bug#11159).
9146 (epa-insert-keys): Inform that the default public key will be
9147 exported if no key is selected.
9148
4443f204
RS
91492012-04-04 Richard Stallman <rms@gnu.org>
9150
9151 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9152
529c06b6
CY
91532012-04-03 Chong Yidong <cyd@gnu.org>
9154
9155 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9156 mail-insert-file, not its obsolete alias mail-attach-file.
9157
66b907dc
MA
91582012-04-03 Michael Albinus <michael.albinus@gmx.de>
9159
9160 * notifications.el (notifications-notify): Fix docstring.
9161
c0ea195d
GM
91622012-04-02 Glenn Morris <rgm@gnu.org>
9163
9164 * emacs-lisp/authors.el (authors-aliases): Another addition.
9165
5ca64e00
MA
91662012-04-02 Michael Albinus <michael.albinus@gmx.de>
9167
9168 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9169 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9170 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9171
42ee526b
CY
91722012-04-01 Chong Yidong <cyd@gnu.org>
9173
9174 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9175 Handle root directory properly.
9176 (copy-directory): Caller changed.
9177
9178 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9179 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9180
0b021094
GM
91812012-03-31 Glenn Morris <rgm@gnu.org>
9182
40f86458
GM
9183 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9184
7019c177
GM
9185 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9186
a1daddd6
GM
9187 * calendar/calendar.el (calendar-window-list)
9188 (calendar-hide-window): Restore. (Bug#11140)
9189 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9190
0b021094
GM
9191 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9192
40311efc
TV
91932012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9194
9195 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9196 Check if file is a symlink (Bug#10489).
9197
9198 * files.el (copy-directory): Likewise.
9199
5319014e
CY
92002012-03-30 Chong Yidong <cyd@gnu.org>
9201
9202 * image.el (imagemagick-types-inhibit)
9203 (imagemagick-register-types): Doc fix.
9204
935d1290
AM
92052012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9206
090bd7cb 9207 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9208 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9209 and treats ~word as ordinary words in pipe mode.
935d1290 9210
61c6e8fd
GM
92112012-03-30 Glenn Morris <rgm@gnu.org>
9212
9213 * tutorial.el (help-with-tutorial): Ensure local variables don't
9214 happen to make the buffer read-only. (Bug#11127)
9215
81fdff00
SM
92162012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9219 (perl-calculate-indent): Return `noindent' in strings.
9220
6e7a6ec0
SS
92212012-03-28 Sam Steingold <sds@gnu.org>
9222
9223 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9224 instead of the broken adhockery which does not prevent calendar
9225 buffers from being displayed at random after exit.
9226 (calendar-window-list, calendar-hide-window): Remove the broken
9227 adhockery.
9228
fee88ca0
GM
92292012-03-28 Glenn Morris <rgm@gnu.org>
9230
9231 * replace.el (query-replace-map): Doc fix.
9232
38de3354
AS
92332012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9234
9235 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9236 contents. (Bug#11109)
9237
b973155e
SM
92382012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9241 (bug#11077).
9242 (avl-tree--check, avl-tree--check-node): New funs.
9243
dcb6e7b3
MR
92442012-03-27 Martin Rudalics <rudalics@gmx.at>
9245
9246 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9247 (switch-to-prev-buffer, switch-to-next-buffer):
9248 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9249 showing a buffer already is done on the same frame.
9250
b4fa35fa
GM
92512012-03-27 Glenn Morris <rgm@gnu.org>
9252
9253 * startup.el (mail-host-address): Doc fix.
9254
f9210e18
SM
92552012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9258 than 197 variables.
9259
c0bf7753
AF
92602012-03-26 Ami Fischman <ami@fischman.org>
9261
9262 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9263
33da7b16
GM
92642012-03-26 Glenn Morris <rgm@gnu.org>
9265
02243d9d
GM
9266 * files.el (save-buffers-kill-emacs): Doc fix.
9267
33da7b16
GM
9268 * startup.el (normal-top-level, command-line, command-line-1):
9269 Give them doc strings.
9270
e5a69fd0
EZ
92712012-03-25 Eli Zaretskii <eliz@gnu.org>
9272
9273 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9274 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9275
9a69676a
CY
92762012-03-25 Chong Yidong <cyd@gnu.org>
9277
4125cb8b
CY
9278 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9279 theme if it was previously enabled before (Bug#11031).
9280
dd470960
CY
9281 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9282 spec with custom-face-get-current-spec if its :shown-value is not
9283 determined yet (Bug#9337).
4125cb8b 9284 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9285
9a69676a
CY
9286 * button.el (button-at): Minor addition to docstring.
9287
6e7e90fa
SL
92882012-03-24 Simon Leinen <simon.leinen@gmail.com>
9289
9290 * vc/vc.el (vc-merge): Fix a prompt.
9291
f06e2758
CY
92922012-03-24 Chong Yidong <cyd@gnu.org>
9293
9294 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9295 point (Bug#9623).
9296
6e7e90fa
SL
9297 * button.el (button-at): Minor addition to docstring.
9298
b9d0879b
SM
92992012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * newcomment.el (comment-choose-indent): No space after BOL.
9302
e71cebb3
SS
93032012-03-22 Sam Steingold <sds@gnu.org>
9304
9305 * window.el (switch-to-prev-buffer): Revert last patch because the
9306 bug turned out to be an advertised feature (Elisp manual 28.14).
9307
335aff35
GM
93082012-03-22 Glenn Morris <rgm@gnu.org>
9309
9310 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9311 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9312
c676576a
LMI
93132012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9314
9315 * net/network-stream.el (network-stream-open-starttls): Make error
9316 message under Windows be less misleading.
9317
126f3d39
LW
93182012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9319
9320 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9321 understands (bug#9942).
9322
64fee311
CY
93232012-03-22 Chong Yidong <cyd@gnu.org>
9324
9325 * simple.el (end-of-visible-line): Handle return value of
9326 next-single-property-change properly (Bug#9371).
9327
a640d29a
KH
93282012-03-22 Kenichi Handa <handa@m17n.org>
9329
9330 * international/quail.el (quail-insert-kbd-layout): Fix previous
9331 change. To avoid unwanted bidi reordering, use
9332 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9333
39675016
DG
93342012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9335
9336 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9337 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9338 (ruby-beginning-of-indent): Be more careful with the difference
9339 between word-boundary and symbol boundary.
9340 (ruby-mode-syntax-table): Make : a symbol constituent.
9341
0a6934fc 93422012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9343
3d008e4f
SM
9344 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9345
0a6934fc
SM
93462012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9347
af67c9d7
SM
9348 * progmodes/etags.el (tags-completion-at-point-function):
9349 Improve last fix.
9350
1acad97c
SM
9351 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9352
e298b5da
SS
93532012-03-21 Sam Steingold <sds@gnu.org>
9354
9355 * progmodes/etags.el (tags-completion-at-point-function):
9356 Avoid the error when point is inside the pattern.
9357
91d82a70
JY
93582012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9359
9360 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9361 line (Bug#10855).
9362
69188b79
CY
93632012-03-21 Drew Adams <drew.adams@oracle.com>
9364
9365 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9366
99fc91fe
AK
93672012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9368
9369 * ido.el (ido-set-current-directory, ido-read-internal)
9370 (ido-choose-completion-string, ido-completion-help): Handle nil
9371 value of ido-completion-buffer (Bug#11008).
9372
087bbb4c
SS
93732012-03-21 Sam Steingold <sds@gnu.org>
9374
9375 * window.el (switch-to-prev-buffer): Do not switch to a visible
9376 window previous buffer, just like with the frame previous buffers.
9377
fb5b8aca
CY
93782012-03-21 Chong Yidong <cyd@gnu.org>
9379
9380 * faces.el (make-face, make-empty-face, copy-face):
9381 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9382 Doc fixes.
9383
dc9924b8
SM
93842012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9385
9386 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9387 (widget-complete): Remove broken use of it.
9388
f0bcceb9
CY
93892012-03-20 Chong Yidong <cyd@gnu.org>
9390
dc9924b8
SM
9391 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9392 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9393 characters.
9394
ee52ebf3
TH
93952012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9396
9397 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9398 to draw rectangles, not squares. (Regression introduced by revno
9399 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9400
4c5779ab
CY
94012012-03-18 Chong Yidong <cyd@gnu.org>
9402
9403 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9404 it is not yet defined (for temacs).
9405
15360934
LL
94062012-03-18 Leo Liu <sdl.web@gmail.com>
9407
735135f9
PE
9408 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9409 prefix.
15360934 9410
d9a8eb66
EZ
94112012-03-17 Eli Zaretskii <eliz@gnu.org>
9412
9413 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9414 (ispell-choices-win-default-height, ispell-silently-savep)
9415 (ispell-dictionary-alist, ispell-encoding8-command)
9416 (ispell-check-version, ispell-aspell-find-dictionary)
9417 (ispell-valid-dictionary-list, ispell-words-keyword)
9418 (ispell-get-word, ispell-internal-change-dictionary)
9419 (ispell-region, ispell-skip-region-list)
9420 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9421 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9422 (ispell-message-text-end, ispell-message)
9423 (ispell-buffer-local-parsing): Doc fix.
9424
f02ff80d
J
94252012-03-13 Jambunathan K <kjambunathan@gmail.com>
9426
9427 * htmlfontify.el: Add support for code block fontification for ODT
9428 export (Bug #9914).
9429 (hfy-optimisations): Define new option
9430 `body-text-only'
9431 (hfy-fontify-buffer): Honor above setting.
9432 (hfy-begin-span, hfy-end-span): New routines factored out form
9433 `hfy-fontify-buffer'.
9434 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9435 that permit insertion of custom tags.
9436 (hfy-fontify-buffer): Use above handlers.
9437 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9438 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9439 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9440 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9441 bind a special variable `hfy-user-sheet-assoc'.
9442 (htmlfontify-string): New defun.
9443 (hfy-compile-face-map): Make sure that the last char in the
9444 buffer is correctly fontified.
9445 (hfy-face-resolve-face): Whitespace only change.
9446
9ac7a13f
EZ
94472012-03-17 Eli Zaretskii <eliz@gnu.org>
9448
9449 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9450 message more clear.
9451
e2b5bdd7
LL
94522012-03-16 Leo Liu <sdl.web@gmail.com>
9453
9454 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9455
2e492df3
AM
94562012-03-16 Alan Mackenzie <acm@muc.de>
9457
9458 Further optimise the handling of large macros.
9459
9460 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9461 limit to a call of `c-literal-limits'.
9462 (c-determine-+ve-limit): New function.
dc9924b8
SM
9463 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9464 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9465 In CASE 5B, restrict a search limit to 500.
9466 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9467
9468 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9469 Restrict macro bounds to +-500 from after-change's BEG END.
9470
50e94f0c
LL
94712012-03-16 Leo Liu <sdl.web@gmail.com>
9472
9473 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9474
6f09f6ed
AH
94752012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9476
9477 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9478 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9479
c7e73d51
GM
94802012-03-16 Glenn Morris <rgm@gnu.org>
9481
da986230
GM
9482 * view.el (view-buffer, view-buffer-other-window)
9483 (view-buffer-other-frame): Doc fixes re special mode-class.
9484
0835f01e
GM
9485 * subr.el (eval-after-load): If named feature is provided not from
9486 a file, run after-load forms. (Bug#10946)
9487
c7e73d51
GM
9488 * calendar/calendar.el (calendar-insert-at-column):
9489 Handle non-unit-width characters a bit better. (Bug#10978)
9490
3f2eafd1
CY
94912012-03-15 Chong Yidong <cyd@gnu.org>
9492
9493 * emacs-lisp/ring.el (ring-extend): New function.
9494 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9495
9496 * comint.el (comint-read-input-ring)
9497 (comint-add-to-input-history): Grow comint-input-ring lazily.
9498
103af3fe
SM
94992012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9500
663b1677
SM
9501 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9502 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9503
103af3fe
SM
9504 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9505 (imenu-add-to-menubar): Don't add a redundant index.
9506 (imenu-update-menubar): Handle a dynamically composed keymap.
9507
899cb7cb
KY
95082012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9509
9510 * mail/sendmail.el (mail-encode-header):
9511 Bind rfc2047-encode-encoded-words to nil.
9512
3809f91d
GM
95132012-03-13 Glenn Morris <rgm@gnu.org>
9514
9515 * calendar/calendar.el (calendar-string-spread):
9516 Handle non-unit-width characters a bit better. (Bug#10978)
9517
9e345a01
LL
95182012-03-13 Leo Liu <sdl.web@gmail.com>
9519
9520 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9521 directory and file as argument (Bug#10822).
9522
4a07df36
KS
95232012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9524
9525 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9526 For dynamically generated code, follow $PC.
9527 (gdb-disassembly-handler-custom): Handle no function name case.
9528
4aaa9356
TL
95292012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9530
9531 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9532 * emulation/ws-mode.el (ws-query-replace):
9533 * sort.el (sort-regexp-fields):
9534 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9535
225979da
SM
95362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9537
9538 * dabbrev.el: Fix cycle completion order (bug#10963).
9539 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9540 (dabbrev-completion): Don't use an obarray; provide
9541 a cycle-sort-function.
9542
e2f1fdab
LL
95432012-03-12 Leo Liu <sdl.web@gmail.com>
9544
dc9924b8 9545 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9546 (kill-do-not-save-duplicates): Doc fix.
9547
b19490ed
SM
95482012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * dabbrev.el: Fix cycle completion (bug#10963).
9551 Use lexical binding and wrap to 80 columns.
9552 (dabbrev-completion): Delay computing the list of completions.
9553
4b05d722
KH
95542012-03-12 Kenichi Handa <handa@m17n.org>
9555
9556 * international/quail.el (quail-insert-kbd-layout): Surround each
9557 row by LRO and PDF instead of inserting many LRMs. Pad the left
9558 and right of each non-spacing marks. Insert invisible space
9559 between lower and upper characters to prevent composition.
9560
dbbc2e69
SM
95612012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * minibuffer.el (minibuffer-complete): Don't get confused when the
9564 function is run twice via different commands (bug#10958).
9565 (complete-with-action): Fix docstring.
9566
292112ed
CY
95672012-03-12 Chong Yidong <cyd@gnu.org>
9568
5d1ac394
CY
9569 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9570 (nxml-completion-at-point-function): New function.
9571 (nxml-mode): Use it.
9572 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9573
292112ed
CY
9574 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9575 Load generated autoloads file before byte compiling (Bug#10970).
9576 (package--make-autoloads-and-compile): New helper fun.
9577
4098f8f7
CS
95782012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9579
9580 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9581
8f754691
MA
95822012-03-11 Michael Albinus <michael.albinus@gmx.de>
9583
9584 * autorevert.el (auto-revert-handler): Ensure, that
9585 file-readable-p is applied only for local files or in
9586 auto-revert-tail-mode.
9587
e29ab36b
AS
95882012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9589
dbbc2e69
SM
9590 * server.el (server-eval-at): Handle non-tcp connections.
9591 Decode result string.
ad0bf5b6 9592
e29ab36b
AS
9593 * server.el (server-msg-size): New constant.
9594 (server-reply-print): New function.
9595 (server-eval-and-print): Use it.
9596 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9597 Handle -print-nonl.
9598
de5939ba
CS
95992012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9600
9601 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9602 (Bug#10987).
9603
0c93eabf
CY
96042012-03-11 Chong Yidong <cyd@gnu.org>
9605
397a688f
CY
9606 * simple.el (goto-line): Doc fix (Bug#9938).
9607
2cc775f9
CY
9608 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9609
0c93eabf
CY
9610 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9611 when finished (Bug#10963).
9612
c491fa41
MR
96132012-03-11 Martin Rudalics <rudalics@gmx.at>
9614
9615 * window.el (split-window-below): Fix bug in case where
9616 split-window-keep-point is nil (Bug#10971).
9617
300e8fa5
JL
96182012-03-11 Juri Linkov <juri@jurta.org>
9619
9620 * replace.el (replace-highlight): Set isearch-word to nil
9621 unconditionally. (Bug#10887)
9622
dbf6c5a1
EZ
96232012-03-10 Eli Zaretskii <eliz@gnu.org>
9624
9625 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9626 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9627 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9628 (mairix-widget-create-query): Add usage information about mairix
9629 search forms: negating words, searching for substrings, etc.
9630
b9e501de
JP
96312012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9632
9633 * international/fontset.el (font-encoding-alist): Add an entry for
9634 ksx1001 (Bug#5667).
9635
92795c91
RS
96362012-03-10 Richard Stallman <rms@gnu.org>
9637
1694e6c1
RS
9638 * mail/sendmail.el (mail-encode-header):
9639 Set rfc2047-encode-encoded-words.
9640
607e8555
RS
9641 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9642
de3bc99a
RS
9643 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9644 view buffer means not swapped.
9645 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9646 (rmail-write-region-annotate): Error if real text has disappeared.
9647
92795c91
RS
9648 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9649
699bd04e
CY
96502012-03-10 Chong Yidong <cyd@gnu.org>
9651
9652 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9653 * emulation/cua-base.el (cua--init-keymaps):
9654 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9655
570a1714
MR
96562012-03-10 Martin Rudalics <rudalics@gmx.at>
9657
dbbc2e69
SM
9658 * speedbar.el (speedbar-unhighlight-one-tag-line):
9659 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9660
82dcf4e4
CY
96612012-03-10 Chong Yidong <cyd@gnu.org>
9662
7a2c7ca7
CY
9663 * minibuffer.el (completion-in-region, completion-help-at-point):
9664 Give the completion field overlay a high priority (Bug#6830).
9665
82dcf4e4
CY
9666 * dired.el (dired-goto-file): Recognize absolute file name
9667 listings (Bug#7126).
9668 (dired-goto-file-1): New helper function.
9669 (dired-toggle-read-only): Inhibit warnings.
9670
052e28ac
MA
96712012-03-09 Michael Albinus <michael.albinus@gmx.de>
9672
75f1671a 9673 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9674 there are no properties.
9675
95d5e396
LL
96762012-03-09 Leo Liu <sdl.web@gmail.com>
9677
9678 * savehist.el (savehist-printable): Stricter check for string
9679 value (Bug#10937).
9680
3f018d6d
EZ
96812012-03-09 Eli Zaretskii <eliz@gnu.org>
9682
dbbc2e69
SM
9683 * mail/smtpmail.el (smtpmail-send-it):
9684 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9685 valid mbox format.
9686
f7fd3d79
GM
96872012-03-09 Glenn Morris <rgm@gnu.org>
9688
9689 * files.el (dir-locals-find-file):
9690 Don't check result is regular, readable.
9691 (dir-locals-read-from-file): Demote errors.
9692
6ff6e72f
EZ
96932012-03-08 Eli Zaretskii <eliz@gnu.org>
9694
dbbc2e69
SM
9695 * international/quail.el (quail-insert-kbd-layout):
9696 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9697 layout cell, to prevent their reordering by bidi display engine.
9698 For details, see the discussion in
9699 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9700
9cec7834
AM
97012012-03-08 Alan Mackenzie <acm@muc.de>
9702
9703 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9704 the starting position; make it extend the marked region when
9705 invoked repeatedly - all under appropriate circumstances.
9706 Fixes bugs #5525, #10906.
9707
9a40b8d4
GM
97082012-03-08 Glenn Morris <rgm@gnu.org>
9709
9710 * files.el (locate-dominating-file, dir-locals-find-file):
9711 Undo 2012-03-06 change.
9712
7a08ed35
EZ
97132012-03-07 Eli Zaretskii <eliz@gnu.org>
9714
dbbc2e69
SM
9715 * international/quail.el (quail-help):
9716 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9717 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9718 for the reason.
9719
5aca4f71 97202012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9721
9722 Avoid superfluous registering of signals. (Bug#10807)
9723
9724 * notifications.el (notifications-on-action-object)
9725 (notifications-on-close-object): New defvars.
9726 (notifications-on-action-signal, notifications-on-closed-signal):
9727 Unregister the signal if not needed any longer.
9728 (notifications-notify): Register `notifications-action-signal' or
9729 `notifications-closed-signal', if :on-action or :on-close has been
9730 passed as argument.
9731
78e8b10a
CY
97322012-03-07 Chong Yidong <cyd@gnu.org>
9733
9734 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9735 non-X platforms.
9736
69481eb8
GM
97372012-03-06 Glenn Morris <rgm@gnu.org>
9738
9739 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9740 (x-disown-selection-internal, x-get-selection-internal):
9741 Doc fix (add arglist signatures). (Bug#10783)
9742
133b8e11
KS
97432012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9744
9745 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9746 Handle breakpoints with no "type".
9747
99a83064
GM
97482012-03-06 Glenn Morris <rgm@gnu.org>
9749
9750 * files.el (locate-dominating-file): Add optional predicate argument.
9751 (dir-locals-find-file): Make use of above change.
9752
17798e78
TTN
97532012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9754
9755 * info.el (Info-insert-dir): Also try "dir.gz".
9756
eb182446
GM
97572012-03-06 Glenn Morris <rgm@gnu.org>
9758
8f2114ee
GM
9759 * files.el (dir-locals-find-file):
9760 Ignore non-readable or non-regular files. (Bug#10928)
9761
eb182446
GM
9762 * files.el (locate-dominating-file): Doc fix.
9763
24679323
AS
97642012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9765
9766 * calendar/calendar.el (calendar-set-mode-line):
9767 `getenv' returns a string. (Bug#10951)
9768
01d972a9
LL
97692012-03-05 Leo Liu <sdl.web@gmail.com>
9770
109aa8a9
LL
9771 * simple.el (backward-delete-char-untabify): Constrain point to
9772 field (Bug#10939).
9773
01d972a9
LL
9774 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9775
10607bea
CY
97762012-03-05 Chong Yidong <cyd@gnu.org>
9777
9778 * simple.el (count-words): If called from Lisp, return the word
9779 count, for symmetry with `count-lines'. Arglist changed.
9780 (count-words--message): Args changed. Consolidate counting code
9781 from count-words and count-words-region.
9782 (count-words-region): Caller changed.
9783 (count-lines-region): Make it an obsolete alias.
9784
5dd11cfe
TH
97852012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9786
9787 * saveplace.el (save-place-to-alist)
9788 (save-place-ignore-files-regexp): Allow value nil to disable this
9789 feature.
9790
c349f4e6
CY
97912012-03-04 Chong Yidong <cyd@gnu.org>
9792
9793 * faces.el (face-spec-reset-face): For the default face, reset the
9794 attributes to default values (Bug#10748).
9795
e627be4c
LMI
97962012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9797
9798 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9799 previous patch: Check `message-send-mail-function', and not the
9800 default function (bug#10897).
9801
ebeabff4
MA
98022012-03-04 Michael Albinus <michael.albinus@gmx.de>
9803
a41a6cf4
MA
9804 * notifications.el (notifications-on-action-signal)
9805 (notifications-on-closed-signal): Check for unique service name of
9806 incoming event. Fix error in removing entry.
ebeabff4 9807 (top): Register for signals with wildcard service name.
a41a6cf4 9808 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9809
c1ca42b4
CY
98102012-03-04 Chong Yidong <cyd@gnu.org>
9811
dc9924b8 9812 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9813
ea16568d
GM
98142012-03-04 Glenn Morris <rgm@gnu.org>
9815
9816 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9817 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9818 (expand-abbrev, define-abbrev-table): Doc fixes.
9819
fbae4637
LMI
98202012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9821
9822 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9823 `message-default-send-mail-function' and not `send-mail-function'
9824 when doing the prompting for `sendmail-query-once' before sending
9825 in Message buffers (bug#10897).
9826
a1e7225c
LMI
9827 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9828 This is inconsistent with all the other stream functions, which leave
9829 the setting up to the higher levels (if so wanted) (bug#10931).
9830
56d093a9
AM
98312012-03-02 Alan Mackenzie <acm@muc.de>
9832
9833 Depessimize the handling of very large macros.
9834
9835 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9836 (c-macro-cache-syntactic): New variables to implement a one
9837 element macro cache.
9838 (c-invalidate-macro-cache): New function.
9839 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9840 Adapt to use the new cache.
9841 (c-state-safe-place): Use better the cache of safe positions.
9842 (c-state-semi-nonlit-pos-cache)
9843 (c-state-semi-nonlit-pos-cache-limit):
9844 New variables for...
9845 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9846 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9847 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9848 Use c-state-semi-safe-place.
56d093a9 9849
dbbc2e69
SM
9850 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9851 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9852
817e5c3d
MA
98532012-03-02 Michael Albinus <michael.albinus@gmx.de>
9854
dbbc2e69
SM
9855 * jka-compr.el (jka-compr-call-process):
9856 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9857 not remote.
9858
a032a702
MA
98592012-03-01 Michael Albinus <michael.albinus@gmx.de>
9860
9861 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9862 access of FILE2, if FILE1 does not exist.
9863
99a54f21
MA
9864 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9865 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9866
9867 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9868 Add "PAGER=" to `process-environment'.
9869
f6561e1f
MM
98702012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9871
9872 * progmodes/sql.el: Bug fix
9873 (sql-get-login-ext): Save login values in globals.
9874 (sql-get-login): Use new version of `sql-get-login-ext'.
9875 (sql-interactive-mode): Set global `sql-connection' to nil.
9876 (sql-connect): Set global values for connection.
9877 (sql-product-interactive): Save global values as buffer local.
9878
2d44d9cc
LL
98792012-02-29 Leo Liu <sdl.web@gmail.com>
9880
9881 * abbrev.el (define-abbrevs): Reset sys to nil.
9882
96b49301 98832012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9884
bf7f9bc5
JB
9885 * files.el (file-equal-p): Rename from `files-equal-p'.
9886 Return nil when one or both files don't exist.
96b49301 9887 (file-subdir-of-p): Now only top directory must exists,
9888 return nil if it doesn't.
bf7f9bc5
JB
9889 (copy-directory): No need to test with `file-subdir-of-p' after
9890 creating dir.
9891 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9892 to `file-equal-p'.
96b49301 9893
44e97401
GM
98942012-02-28 Glenn Morris <rgm@gnu.org>
9895
9896 * shell.el (shell-mode):
9897 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9898 * play/landmark.el (landmark-font-lock-face-O):
9899 * play/handwrite.el (handwrite):
9900 * play/gomoku.el (gomoku-O):
9901 * net/browse-url.el (browse-url-browser-display):
9902 * international/mule.el (define-charset):
9903 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9904 * filesets.el (filesets-find-file-delay):
9905 * eshell/em-xtra.el (eshell-xtra):
9906 * eshell/em-unix.el (eshell-grep):
9907 * emulation/viper.el (viper-mode):
9908 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9909 * emacs-lisp/easymenu.el (easy-menu-define):
9910 * calendar/timeclock.el (timeclock-use-display-time):
9911 * bs.el (bs-mode):
9912 * bookmark.el (bookmark-save-flag):
9913 Doc fix (standardize possessive apostrophe usage).
9914
c98c6276
CY
99152012-02-27 Chong Yidong <cyd@gnu.org>
9916
bf7f9bc5
JB
9917 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9918 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9919
c98c6276
CY
9920 * font-lock.el (font-lock-specified-p): Rename from
9921 font-lock-spec-present. Callers changed.
9922
9c62cd04 99232012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9924
bf7f9bc5
JB
9925 * emacs-lisp/package.el (package-compute-transaction):
9926 Handle holding a package version to t in package-load-list.
8ac9e529 9927
530739c9
MA
99282012-02-26 Michael Albinus <michael.albinus@gmx.de>
9929
9930 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9931 (tramp-get-inode, tramp-get-device): Use cached values.
9932
487915d7
AM
99332012-02-26 Alan Mackenzie <acm@muc.de>
9934
9935 Check there is a font-lock specification before doing initial
9936 fontification.
9937
9938 * font-core.el (font-lock-mode): Move the conditional from
9939 :after-hook to font-lock-initial-fontify.
9940 (font-lock-default-function): Move the check for a specification
9941 to font-lock-spec-present.
9942
dc9924b8 9943 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9944 (font-lock-spec-present): New function.
9945
4fd96557
JB
99462012-02-26 Jim Blandy <jimb@red-bean.com>
9947
9948 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9949 (gdb-send): Apply it to the operand of the '-interpreter-exec
9950 console' command, so that we can pass arguments with (say) quotes
9951 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9952
9a4888c0
CY
99532012-02-26 Chong Yidong <cyd@gnu.org>
9954
07498861
CY
9955 * help-fns.el (describe-function-1): Clarify description of
9956 remapping (Bug#10844).
9957
9a4888c0
CY
9958 * files.el (files-equal-p): Doc fix.
9959 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9960 and quit the loop once a mismatch is found.
9961
ea8fb88d
JB
99622012-02-25 Juanma Barranquero <lekktu@gmail.com>
9963
9964 * bs.el (bs--show-with-configuration): Don't throw an error
9965 if the window cannot be split; otherwise, subsequent calls to
9966 bs-show fail, restoring a stale window config. (Bug#10882)
9967
525795c1
JD
99682012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9969
9970 * term/ns-win.el (global-map): Bind ns-drag-file to
9971 ns-find-file (Bug#5855, Bug#10050).
9972
f008086f
AS
99732012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9974
9975 * calendar/parse-time.el (parse-time-string): Allow extractor to
9976 return nil.
9977
a3fcfa99
MA
99782012-02-25 Michael Albinus <michael.albinus@gmx.de>
9979
91027d08
JB
9980 * net/tramp.el (tramp-file-name-for-operation):
9981 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9982
9983 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9984 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9985 Add COPY-CONTENTS argument.
a3fcfa99 9986
67b0de11
CY
99872012-02-25 Chong Yidong <cyd@gnu.org>
9988
9989 Add custom groups for VC backends, for consistency with vc-bzr.
9990
9991 * vc/vc-arch.el (vc-arch):
9992 * vc/vc-cvs.el (vc-cvs):
9993 * vc/vc-git.el (vc-git):
9994 * vc/vc-hg.el (vc-hg):
9995 * vc/vc-mtn.el (vc-mtn):
9996 * vc/vc-rcs.el (vc-rcs):
9997 * vc/vc-sccs.el (vc-sccs):
9998 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9999 All relevant defcustoms reassigned.
10000
3c9dfce6
CY
100012012-02-25 Chong Yidong <cyd@gnu.org>
10002
1339bf43
CY
10003 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10004
3c9dfce6
CY
10005 * term/x-win.el (x-initialize-window-system): Reduce default for
10006 x-selection-timeout to 5 seconds (Bug#8869).
10007
25b2e303 100082012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10009
ec70a47d
GM
10010 * files.el (files-equal-p, file-subdir-of-p): New functions.
10011 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10012 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10013 * dired-aux.el (dired-copy-file-recursive): Same.
10014 (dired-create-files): Modify destination when source is equal to
10015 dest when copying files.
53a46cd0 10016 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10017
914260cd
MA
100182012-02-24 Michael Albinus <michael.albinus@gmx.de>
10019
10020 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10021 (Bug#10874)
10022
2cb228f7
AM
100232012-02-23 Alan Mackenzie <acm@muc.de>
10024
10025 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10026 parameter "after-hook:" to allow the expansion to run code after
10027 the execution of the mode hooks.
10028
10029 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10030 from font-lock-mode-internal.
2cb228f7 10031
91027d08 10032 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10033 :after-hook.
10034
8f0fde21
SM
100352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10036
3e88618b
SM
10037 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10038 (completion--cache-all-sorted-completions): New function.
10039 (completion-all-sorted-completions): Use it.
10040 (completion--do-completion, minibuffer-force-complete):
10041 Use it to re-instate the flush hook.
10042
8f0fde21
SM
10043 * icomplete.el (icomplete-completions): Replace last fix with a better
10044 one (bug#10850).
10045
8e911f6f
DG
100462012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10047
10048 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10049 when it might call us back infinitely (bug#10797).
10050
49fe4321
GM
100512012-02-23 Glenn Morris <rgm@gnu.org>
10052
10053 * minibuffer.el (completion-category-overrides): Doc fix.
10054
b291b572
SM
100552012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10058 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10059
31a9ef2e
GM
100602012-02-23 Glenn Morris <rgm@gnu.org>
10061
5e6e6794 10062 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10063 (authors-obsolete-files-regexps, authors-ignored-files)
10064 (authors-ambiguous-files, authors-renamed-files-alist):
10065 Add more entries.
10066
0bd1e074
JL
100672012-02-23 Juri Linkov <juri@jurta.org>
10068
10069 * isearch.el (isearch-occur): Sync interactive spec with occur's
10070 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10071
b617673c
JL
10072 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10073
19e9789e
JL
100742012-02-22 Juri Linkov <juri@jurta.org>
10075
10076 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10077 (ucs-insert): Doc fix. Check for hex digits in the string.
10078 Don't display `nil' in the error message. (Bug#10857)
10079
f41ce09d
AM
100802012-02-22 Alan Mackenzie <acm@muc.de>
10081
7a71b18d 10082 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10083
ac2eceee
GM
100842012-02-22 Glenn Morris <rgm@gnu.org>
10085
10086 * ffap.el (ffap-c-path):
10087 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10088
abd1f678
CY
100892012-02-22 Chong Yidong <cyd@gnu.org>
10090
10091 * custom.el (load-theme): Doc fix.
10092
f25aef2e
GM
100932012-02-22 Glenn Morris <rgm@gnu.org>
10094
10095 * dired-x.el (dired-guess-shell-alist-default):
10096 Remove escape sequences from nroff output. (Bug#172)
10097
5f8dc2ca
GM
100982012-02-21 Glenn Morris <rgm@gnu.org>
10099
6ff86ec4
GM
10100 * vc/emerge.el (emerge-defvar-local):
10101 Set `permanent-local' property rather than unused `preserved'.
10102
be3223a3 10103 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10104 (picture-mode-map): Use it. (Bug#10860)
10105 (picture-mode): Doc fix.
10106
3fe58f4f
JB
101072012-02-21 Juanma Barranquero <lekktu@gmail.com>
10108
10109 * newcomment.el (uncomment-region-default): Remove unused binding.
10110
f9a998c3
GM
101112012-02-21 Glenn Morris <rgm@gnu.org>
10112
10113 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10114 (picture-self-insert, picture-tab-chars): Doc fix.
10115 (picture-mode-map): Fix C-a, C-e.
10116
c6029348
GM
101172012-02-20 Glenn Morris <rgm@gnu.org>
10118
10119 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10120
ab1ce9d7
LL
101212012-02-20 Leo Liu <sdl.web@gmail.com>
10122
10123 * icomplete.el (icomplete-completions): Check FROM arg before
10124 passing to substring (Bug#10850).
10125
0fd40f89
CY
101262012-02-19 Chong Yidong <cyd@gnu.org>
10127
10128 * comint.el: Require ansi-color.
10129 (comint-output-filter-functions): Add ansi-color-process-output.
10130
10131 * ansi-color.el: Don't set comint-output-filter-functions; it is
10132 now in the initial value defined in comint.el.
10133 (ansi-color-apply-face-function): New variable.
10134 (ansi-color-apply-on-region): Use it.
10135 (ansi-color-apply-overlay-face): New function.
10136
10137 * shell.el (shell): No need to require ansi-color.
10138 (shell-mode): Use ansi-color-apply-face-function to highlight
10139 color escapes using font-lock-face property (Bug#10835).
10140
20af2394
CY
101412012-02-19 Chong Yidong <cyd@gnu.org>
10142
10143 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10144 mode-line formats (Bug#10839).
10145
e23a3fbe
GM
101462012-02-18 Glenn Morris <rgm@gnu.org>
10147
b474519e
GM
10148 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10149
10150 * mail/undigest.el (unforward-rmail-message): Doc fix.
10151
e23a3fbe
GM
10152 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10153
57939ff4
EZ
101542012-02-18 Eli Zaretskii <eliz@gnu.org>
10155
10156 * international/characters.el (script-list): Sync with the latest
10157 Unicode Character Database.
10158
0c23686e
AS
101592012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10160
10161 * international/titdic-cnv.el: Remove duplicate coding tag.
10162 * language/cham.el: Likewise.
10163 * language/tai-viet.el: Likewise.
10164
6818b449
GM
101652012-02-18 Glenn Morris <rgm@gnu.org>
10166
10167 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10168 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10169 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10170 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10171 * calendar/holidays.el (holiday-bahai-holidays)
10172 (calendar-holidays, list-holidays):
10173 Use utf-8 Bahá'í in doc-strings, menus, etc.
10174
0311a3fc
TH
101752012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10176
10177 * saveplace.el (save-place-ignore-files-regexp): New variable
10178 allowing for excluding files from saving their location of point.
10179 The default value matches the temporary commit message editing
10180 files from Git, SVN, Bazaar, and Mercurial.
10181 (save-place-to-alist): Use it.
10182
d209e2fb 101832012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10184 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10185
10186 * newcomment.el (uncomment-region-default): Don't leave extra space
10187 when an arg is provided (bug#8150).
10188
ee0ce425
TZ
101892012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10190
eb864a71 10191 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10192
95ddf442
GM
101932012-02-17 Glenn Morris <rgm@gnu.org>
10194
10195 * net/socks.el: Require network-stream. (Bug#10599)
10196
48dd1e39 101972012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10198
10199 * international/charprop.el:
10200 * international/uni-name.el:
10201 * international/uni-old-name.el:
10202 * international/uni-comment.el: Regenerate.
10203
d68cd087
GM
102042012-02-16 Glenn Morris <rgm@gnu.org>
10205
10206 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10207 Interactively in calendar buffer, give an error if not on a date.
10208
13932042
GM
102092012-02-15 Glenn Morris <rgm@gnu.org>
10210
10211 * shell.el (shell-delimiter-argument-list):
10212 Revert 2011-02-17 change. (Bug#8027)
10213
c3a70e2b
CY
102142012-02-15 Chong Yidong <cyd@gnu.org>
10215
60236b0d
CY
10216 * minibuffer.el (completion-at-point-functions): Doc fix.
10217
c3a70e2b
CY
10218 * custom.el (defcustom): Doc fix; note use of defvar.
10219
9f26dc24
GM
102202012-02-15 Glenn Morris <rgm@gnu.org>
10221
10222 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10223 Doc fixes.
10224
6546b134
GM
102252012-02-14 Glenn Morris <rgm@gnu.org>
10226
10227 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10228
d29b2b4c
LI
102292012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10230
10231 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10232 way the ports list is computed.
835bdcba
LI
10233 (smtpmail-query-smtp-server): Prompt the user for a port number if
10234 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10235
08dcdbc9
TZ
102362012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10237
10238 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10239
2605051a
GM
102402012-02-13 Glenn Morris <rgm@gnu.org>
10241
10242 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10243
7ee99f32
TZ
102442012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10245
10246 * net/gnutls.el (gnutls-trustfiles): New variable.
10247 (gnutls-negotiate): Use it.
10248
5f0af64f
LI
102492012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10250
10251 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10252 does its stuff if Gnus is running.
10253
c14fcc95
AM
102542012-02-13 Alan Mackenzie <acm@muc.de>
10255
10256 Fix a loop in c-set-fl-decl-start.
10257
7a71b18d 10258 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10259 c-backward-syntactic-ws actually moves backwards.
10260
142b4d90
LL
102612012-02-13 Leo Liu <sdl.web@gmail.com>
10262
10263 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10264 beginning so that all \C-o chars are removed.
10265
fa9958a6
TZ
102662012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10267
dc9924b8 10268 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10269
0bc5886a
AM
102702012-02-12 Alan Mackenzie <acm@muc.de>
10271
10272 Fix infinite loop with long macros.
4d6769e1 10273 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10274
d4bd55e7
CY
102752012-02-12 Chong Yidong <cyd@gnu.org>
10276
10277 * window.el (display-buffer): Doc fix (Bug#10785).
10278
66f3fe22
GM
102792012-02-12 Glenn Morris <rgm@gnu.org>
10280
bd7da63e
GM
10281 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10282 (x-disown-selection-internal, x-get-selection-internal):
10283 Sync docs with the xselect.c versions.
10284
66f3fe22
GM
10285 * allout-widgets.el: Add missing license notice.
10286
3e0d2fa7
GM
102872012-02-11 Glenn Morris <rgm@gnu.org>
10288
cfecdf09
GM
10289 * select.el (x-get-selection-internal, x-own-selection-internal)
10290 (x-disown-selection-internal):
10291 * x-dnd.el (x-get-selection-internal): Update declarations.
10292
6d216d7f
GM
10293 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10294
2bed3f04
GM
10295 * window.el (window-sides-slots):
10296 * tool-bar.el (tool-bar-position):
10297 * term/xterm.el (xterm-extra-capabilities):
10298 * ses.el (ses-self-reference-early-detection):
10299 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10300 (verilog-auto-wire-type)
10301 (verilog-auto-delete-trailing-whitespace)
10302 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10303 (verilog-auto-tieoff-declaration):
10304 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10305 (sql-oracle-statement-starters, sql-oracle-scan-on):
10306 * progmodes/prolog.el (prolog-align-comments-flag)
10307 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10308 (prolog-left-indent-regexp, prolog-paren-indent-p)
10309 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10310 (prolog-types, prolog-mode-specificators)
10311 (prolog-determinism-specificators, prolog-directives)
10312 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10313 (prolog-electric-dot-flag)
10314 (prolog-electric-dot-full-predicate-template)
10315 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10316 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10317 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10318 (prolog-program-switches, prolog-prompt-regexp)
10319 (prolog-debug-on-string, prolog-debug-off-string)
10320 (prolog-trace-on-string, prolog-trace-off-string)
10321 (prolog-zip-on-string, prolog-zip-off-string)
10322 (prolog-use-standard-consult-compile-method-flag)
10323 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10324 (prolog-imenu-max-lines, prolog-info-predicate-index)
10325 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10326 (prolog-char-quote-workaround):
10327 * progmodes/cc-vars.el (c-defun-tactic):
10328 * net/tramp.el (tramp-encoding-command-interactive)
10329 (tramp-local-end-of-line):
10330 * net/soap-client.el (soap-client):
10331 * net/netrc.el (netrc-file):
10332 * net/gnutls.el (gnutls):
10333 * minibuffer.el (completion-category-overrides)
10334 (completion-cycle-threshold)
10335 (completion-pcm-complete-word-inserts-delimiters):
10336 * man.el (Man-name-local-regexp):
10337 * mail/feedmail.el (feedmail-display-full-frame):
10338 * international/characters.el (glyphless-char-display-control):
10339 * eshell/em-ls.el (eshell-ls-date-format):
10340 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10341 (lisp-lambda-list-keyword-parameter-indentation)
10342 (lisp-lambda-list-keyword-parameter-alignment):
10343 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10344 * dired-x.el (dired-omit-verbose):
10345 * cus-theme.el (custom-theme-allow-multiple-selections):
10346 * calc/calc.el (calc-highlight-selections-with-faces)
10347 (calc-lu-field-reference, calc-lu-power-reference)
10348 (calc-note-threshold):
10349 * battery.el (battery-mode-line-limit):
10350 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10351 (archive-7z-update):
10352 * allout.el (allout-prefixed-keybindings)
10353 (allout-unprefixed-keybindings)
10354 (allout-inhibit-auto-fill-on-headline)
10355 (allout-flattened-numbering-abbreviation):
10356 * allout-widgets.el (allout-widgets-auto-activation)
10357 (allout-widgets-icons-dark-subdir)
10358 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10359 (allout-widgets-theme-dark-background)
10360 (allout-widgets-theme-light-background)
10361 (allout-widgets-item-image-properties-emacs)
10362 (allout-widgets-item-image-properties-xemacs)
10363 (allout-widgets-run-unit-tests-on-load)
10364 (allout-widgets-time-decoration-activity)
10365 (allout-widgets-hook-error-post-time)
10366 (allout-widgets-track-decoration):
10367 Add missing :version tags to new defcustoms and defgroups.
10368
5fec1b8e
GM
10369 * progmodes/sql.el (sql-ansi-statement-starters)
10370 (sql-oracle-statement-starters): Add custom type.
10371
3e0d2fa7
GM
10372 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10373 (prolog-system-version): Give it a type.
10374
90b671e2
EZ
103752012-02-11 Eli Zaretskii <eliz@gnu.org>
10376
10377 * term/pc-win.el (x-select-text, x-selection-owner-p)
10378 (x-own-selection-internal, x-disown-selection-internal)
10379 (x-get-selection-internal): Sync doc strings and argument lists
10380 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10381
5eac0c02
LL
103822012-02-11 Leo Liu <sdl.web@gmail.com>
10383
10384 * progmodes/python.el (python-end-of-statement): Fix infinite
10385 loop. (Bug#10788)
10386
f82cb659
GM
103872012-02-10 Glenn Morris <rgm@gnu.org>
10388
10389 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10390 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10391
cc26d239
LI
103922012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10393
10394 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10395 about SMTP before checking the From header.
10396
91027d08 10397 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10398 into own function for reuse by emacsbug.el.
10399
1be3ca5a
LL
104002012-02-10 Leo Liu <sdl.web@gmail.com>
10401
10402 * subr.el (condition-case-unless-debug): Rename from
10403 condition-case-no-debug. All callers changed.
10404 (with-demoted-errors): Fix caller.
10405
10406 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10407 * nxml/rng-valid.el (rng-do-some-validation):
10408 * emacs-lisp/package.el (package-refresh-contents)
10409 (package-menu-execute):
10410 * desktop.el (desktop-create-buffer):
91027d08 10411 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10412
b011fbfe
GM
104132012-02-10 Glenn Morris <rgm@gnu.org>
10414
b2096d72
GM
10415 * textmodes/bibtex.el:
10416 Add missing :version tags for new/changed defcustoms.
10417
b011fbfe
GM
10418 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10419
4c7e65bf
LI
104202012-02-09 Lars Ingebrigtsen <larsi@rusty>
10421
10422 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10423 (smtpmail-via-smtp): Use it, or fall back on the From address.
10424 (smtpmail-send-it): Ditto.
10425
f3934f6f
SM
104262012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10429 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10430 (byte-compile-tmp-var): New const.
10431 (byte-compile-defvar): Use it to minimize .elc size.
10432 Just use `defvar' rather than simulate it (bug#10761).
10433
a075a2c5
GM
104342012-02-09 Glenn Morris <rgm@gnu.org>
10435
cf3aa21b
GM
10436 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10437
354998cd
GM
10438 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10439 Add :version tags.
10440
dc9924b8
SM
10441 * progmodes/compile.el (compilation-error-screen-columns)
10442 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10443
dab3703d
GM
10444 * vc/log-view.el (log-view-toggle-entry-display):
10445 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10446
3f88cd72
GM
10447 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10448 (report-emacs-bug-can-use-xdg-email):
10449 (report-emacs-bug-insert-to-mailer): Doc fixes.
10450 (report-emacs-bug): Message fix.
10451
d95b247d
GM
10452 * net/browse-url.el (browse-url-can-use-xdg-open)
10453 (browse-url-xdg-open): Doc fixes.
10454
a075a2c5
GM
10455 * electric.el (electric-indent-mode, electric-pair-mode)
10456 (electric-layout-rules, electric-layout-mode): Doc fixes.
10457 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10458
ffb6157e
MR
104592012-02-08 Martin Rudalics <rudalics@gmx.at>
10460
10461 * server.el (server-unselect-display): Don't inadvertently kill
10462 the current buffer. (Bug#10729)
10463
e1ac4066
GM
104642012-02-08 Glenn Morris <rgm@gnu.org>
10465
34e8a2da
GM
10466 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10467 (sql-list-table): Doc fixes.
10468
b4ac6e8c
GM
10469 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10470 Comment out (does nothing).
10471
e1ac4066
GM
10472 * completion.el (dynamic-completion-mode):
10473 * dirtrack.el (dirtrack-debug-mode):
10474 * electric.el (electric-layout-mode):
10475 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10476 * face-remap.el (text-scale-mode, buffer-face-mode):
10477 * iimage.el (iimage-mode):
10478 * image-mode.el (image-transform-mode):
10479 * minibuffer.el (completion-in-region-mode):
10480 * scroll-lock.el (scroll-lock-mode):
10481 * simple.el (next-error-follow-minor-mode):
10482 * tar-mode.el (tar-subfile-mode):
10483 * tooltip.el (tooltip-mode):
10484 * vcursor.el (vcursor-use-vcursor-map):
10485 * wid-browse.el (widget-minor-mode):
10486 * emulation/tpu-edt.el (tpu-edt-mode):
10487 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10488 * international/iso-ascii.el (iso-ascii-mode):
10489 * language/thai-util.el (thai-word-mode):
10490 * mail/supercite.el (sc-minor-mode):
10491 * net/goto-addr.el (goto-address-mode):
10492 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10493 * progmodes/cwarn.el (cwarn-mode):
10494 * progmodes/flymake.el (flymake-mode):
10495 * progmodes/glasses.el (glasses-mode):
10496 * progmodes/hideshow.el (hs-minor-mode):
10497 * progmodes/pascal.el (pascal-outline-mode):
10498 * textmodes/enriched.el (enriched-mode):
10499 * vc/smerge-mode.el (smerge-mode):
10500 Doc fixes (minor mode argument).
10501
5e0d957f
EZ
105022012-02-07 Eli Zaretskii <eliz@gnu.org>
10503
10504 * ls-lisp.el (ls-lisp-sanitize): New function.
10505 (ls-lisp-insert-directory): Use it to fix or remove any elements
10506 in file-alist with missing attributes. (Bug#4673)
10507
98d7371e
AM
105082012-02-07 Alan Mackenzie <acm@muc.de>
10509
10510 Fix spurious recognition of c-in-knr-argdecl.
10511
10512 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10513 putative K&R region.
10514
667ced3a
AM
105152012-02-07 Alan Mackenzie <acm@muc.de>
10516
eb864a71
LM
10517 * progmodes/cc-engine.el (c-forward-objc-directive):
10518 Prevent looping in "#pragma mark @implementation".
667ced3a 10519
5b77774d
MA
105202012-02-07 Michael Albinus <michael.albinus@gmx.de>
10521
10522 * notifications.el (notifications-on-closed-signal): Make `reason'
10523 optional. (Bug#10744)
10524
af008560
GM
105252012-02-07 Glenn Morris <rgm@gnu.org>
10526
60d47423
GM
10527 * emacs-lisp/easy-mmode.el (define-minor-mode):
10528 Doc fixes for the macro and the mode it defines.
10529
dd605cc4
GM
10530 * image.el (imagemagick-types-inhibit): Doc fix.
10531
af008560
GM
10532 * cus-start.el (imagemagick-render-type): Add it.
10533
5cc59a37
LI
105342012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10535
4d6769e1
JB
10536 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10537 Set the default at load time, too, so that `font-lock-fontify-buffer'
10538 can be called without setting up the entire mode first. This fixes
10539 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10540
9a6dd747
CY
105412012-02-06 Chong Yidong <cyd@gnu.org>
10542
2d16b285
CY
10543 * simple.el (list-processes--refresh): Delete exited processes
10544 (Bug#8094).
10545
171e9b6e
CY
10546 * comint.el (comint-next-prompt): next-single-char-property-change
10547 and prev-single-char-property-change never return nil (Bug#8657).
10548
9a6dd747
CY
10549 * custom.el (defcustom): Doc fix (Bug#9711).
10550
aa4589a7
CY
105512012-02-05 Chong Yidong <cyd@gnu.org>
10552
5c2a252f
CY
10553 * cus-edit.el (custom-variable-reset-backup): Quote the value
10554 before storing it in the customized-value property (Bug#6712).
4aab9006 10555 (custom-display): Add a customization type tag.
983b9602 10556 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10557
aa4589a7
CY
10558 * wid-edit.el (widget-field-value-get): New optional arg to
10559 suppress trailing whitespace truncation.
10560 (character): Use it (Bug#2689).
10561
1ff980ae
AS
105622012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10563
10564 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10565 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10566
03988c98
CY
105672012-02-05 Chong Yidong <cyd@gnu.org>
10568
eeb6cc88
CY
10569 * cus-edit.el (custom-variable-value-create): For mismatched
10570 types, show the current value (Bug#7600).
10571
03988c98
CY
10572 * custom.el (defcustom): Doc fix.
10573
f8cdeef0
GM
105742012-02-05 Glenn Morris <rgm@gnu.org>
10575
10576 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10577
0696d255
JB
105782012-02-05 Juanma Barranquero <lekktu@gmail.com>
10579
10580 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10581 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10582 (pp-last-sexp): Use `looking-at-p'.
10583
34c99998
GM
105842012-02-04 Glenn Morris <rgm@gnu.org>
10585
8f05da42
GM
10586 * files.el (revert-buffer):
10587 Doc fix (mention revert-buffer-in-progress-p).
10588
f160676e
GM
10589 * emacs-lisp/ert-x.el (ert-simulate-command):
10590 Check deferred-action-list (which is obsolete) is bound.
10591
c7291ad9
GM
10592 * subr.el (with-wrapper-hook): Doc fixes.
10593
34c99998
GM
10594 * simple.el (filter-buffer-substring-functions)
10595 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10596
6283a7d3
LL
105972012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10598
10599 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10600 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10601
e96e3013
LL
106022012-02-04 Leo Liu <sdl.web@gmail.com>
10603
10604 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10605
8ded50f2
GM
106062012-02-04 Glenn Morris <rgm@gnu.org>
10607
82ff1d13
GM
10608 * image.el (image-extension-data): Add obsolete alias.
10609
987a0a16
GM
10610 * isearch.el (isearch-update): Doc fix.
10611
ea32ef46
GM
10612 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10613
8ded50f2
GM
10614 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10615
eea14f31
GM
106162012-02-03 Glenn Morris <rgm@gnu.org>
10617
10618 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10619 (image-animate-timeout): Doc fix.
10620
10621 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10622
12f381b7
GM
106232012-02-02 Glenn Morris <rgm@gnu.org>
10624
953cebf5
GM
10625 * server.el (server-auth-dir): Doc fix.
10626 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10627
12f381b7
GM
10628 * subr.el (run-mode-hooks): Doc fix.
10629
953a8c3b
JL
106302012-02-02 Juri Linkov <juri@jurta.org>
10631
10632 * image-mode.el (image-toggle-display-image): Remove tautological
10633 `major-mode' from the `derived-mode-p' test.
10634
c5d3843c
KH
106352012-02-02 Kenichi Handa <handa@m17n.org>
10636
9f6e692e 10637 * composite.el (compose-region): Cancel previous change.
c5d3843c 10638
159462d4 106392012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10640
10641 * composite.el (compose-region, compose-string): Signal error for
10642 a null string component (Bug#6988).
10643
9f562668
CY
106442012-02-01 Chong Yidong <cyd@gnu.org>
10645
e2cef717
CY
10646 * view.el (view-buffer-other-window, view-buffer-other-frame):
10647 Handle special modes like view-buffer (Bug#10650).
10648 (view-buffer): Simplify.
10649
9f562668
CY
10650 * frame.el (set-frame-font): Tweak meaning of third argument.
10651
9f6e692e
JB
10652 * dynamic-setting.el (font-setting-change-default-font):
10653 Use set-frame-font (Bug#9982).
9f562668 10654
781acb9f
GM
106552012-02-01 Glenn Morris <rgm@gnu.org>
10656
6035be52
GM
10657 * progmodes/compile.el (compilation-internal-error-properties):
10658 Respect compilation-first-column in the "*compilation*" buffer.
10659
781acb9f
GM
10660 * emacs-lisp/easy-mmode.el (define-minor-mode):
10661 Relax :variable's test for a named function.
10662
abbceb00
AM
106632012-01-31 Alan Mackenzie <acm@muc.de>
10664
10665 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10666 off by one error.
10667
fce3fdeb
CY
106682012-01-31 Chong Yidong <cyd@gnu.org>
10669
10670 * frame.el (set-frame-font): New arg ALL-FRAMES.
10671
10672 * menu-bar.el (menu-set-font): Use set-frame-font.
10673
10674 * faces.el (face-spec-reset-face): Don't apply unspecified
10675 attribute values to the default face.
10676
47893581
JB
106772012-01-31 Juanma Barranquero <lekktu@gmail.com>
10678
10679 * progmodes/cwarn.el (cwarn): Remove dead link.
10680 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10681 Remove * from defcustom docstrings.
10682 (turn-on-cwarn-mode): Make obsolete.
10683 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10684 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10685
e58e988a
GM
106862012-01-31 Glenn Morris <rgm@gnu.org>
10687
60dc2671 10688 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10689 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10690 Allow named functions to be used as the cdr of :variable.
e58e988a 10691
7a3f511d
GM
106922012-01-30 Glenn Morris <rgm@gnu.org>
10693
10694 * emacs-lisp/authors.el (authors-fixed-entries):
10695 Remove reference to deleted file rnewspost.el.
10696
cb882333
JB
106972012-01-29 Juanma Barranquero <lekktu@gmail.com>
10698
10699 * window.el (window-with-parameter): Remove unused variable `windows'.
10700 (window--side-check): Remove unused variable `code'.
10701 (window--resize-siblings): Remove unused variable `first'.
10702 (adjust-window-trailing-edge): Remove unused variable `failed'.
10703 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10704 Use `let', not `let*'.
10705 (balance-windows-2): Remove unused variable `found'.
10706 (window--state-put-2): Remove unused variable `splits'.
10707 (window-state-put): Remove unused variable `selected'.
10708 (same-window-p): Use `string-match-p'.
10709 (display-buffer-assq-regexp): Remove unused variable `value'.
10710 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10711 Mark argument ALIST as ignored.
10712 (pop-to-buffer): Remove unused variable `old-window'.
10713
907201af
EZ
107142012-01-29 Eli Zaretskii <eliz@gnu.org>
10715
10716 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10717 and .lzma compressed files.
10718
ea162670
CY
107192012-01-29 Chong Yidong <cyd@gnu.org>
10720
5b95ee8a
CY
10721 * frame.el (window-system-default-frame-alist): Doc fix.
10722
ea162670
CY
10723 * dynamic-setting.el (font-setting-change-default-font): Don't
10724 change the default face if SET-FONT argument is non-nil (Bug#9982).
10725
d6e6f4b1
SB
107262012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10727
10728 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10729
0f29fa41 107302012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10731
10732 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10733 breakpoints in files outside current directory (Bug#6098).
10734
db174434
CY
107352012-01-29 Chong Yidong <cyd@gnu.org>
10736
6b25e4e2
SE
10737 * progmodes/python.el: Require ansi-color at top-level.
10738
6df6ae42
JB
10739 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10740 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10741 (lisp-mode-abbrev-table): Add doc.
10742 (lisp-mode-variables): Don't set local-abbrev-table.
10743 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10744
e70ee681
RW
107452012-01-28 Roland Winkler <winkler@gnu.org>
10746
10747 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10748
ace88aa2
RW
107492012-01-28 Roland Winkler <winkler@gnu.org>
10750
10751 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10752 (bibtex-set-dialect): Use it. Either set global values of
10753 dialect-dependent variables or bind these variables buffer-locally
10754 (Bug#10254).
10755 (bibtex-mode): Call bibtex-set-dialect via
10756 hack-local-variables-hook.
eb864a71
LM
10757 (bibtex-dialect): Update docstring.
10758 Add safe-local-variable predicate.
ace88aa2
RW
10759 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10760 bibtex-set-dialect.
10761 (bibtex-mode-map): Define menu for each dialect.
10762 (bibtex-entry): Fix docstring.
10763
93376c5b
CY
107642012-01-28 Chong Yidong <cyd@gnu.org>
10765
10766 * eshell/esh-arg.el (eshell-quote-argument): New function.
10767
10768 * eshell/esh-ext.el (eshell-invoke-batch-file):
10769 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10770 first arg to eshell-parse-command (Bug#10523).
10771
4372494f
DA
107722012-01-28 Drew Adams <drew.adams@oracle.com>
10773
10774 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10775 `default-directory' is non-nil.
10776
4d4ec1f8
EZ
107772012-01-28 Eli Zaretskii <eliz@gnu.org>
10778
10779 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10780 line that displays system-configuration-options. (Bug#9924)
10781
7c188927
DA
107822012-01-28 Drew Adams <drew.adams@oracle.com>
10783
10784 * descr-text.el (describe-char): Show information about POS, in
10785 addition to information about the character at POS. Improve and
10786 update the doc string. Change "code point" to "code point in
10787 charset", to avoid confusion with the character's Unicode code
10788 point shown above that. (Bug#10129)
10789
e0da685a
EZ
107902012-01-28 Eli Zaretskii <eliz@gnu.org>
10791
10792 * descr-text.el (describe-char): Show the raw character, not only
10793 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10794 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10795 for the reasons.
10796
70550acf
PH
107972012-01-28 Phil Hagelberg <phil@hagelb.org>
10798
eb864a71
LM
10799 * emacs-lisp/package.el (package-install):
10800 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10801
0ce8e868
CY
108022012-01-28 Chong Yidong <cyd@gnu.org>
10803
cb882333
JB
10804 * emacs-lisp/package.el (package-maybe-load-descriptor):
10805 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10806 (package-maybe-load-descriptor): Use it.
10807 (package-download-transaction): Fully load required packages
10808 inside the loop, so that `require' calls work (Bug#10593).
10809 (package-install): No need to call package-initialize now.
10810
2e7f3bea
CY
108112012-01-28 Chong Yidong <cyd@gnu.org>
10812
6e9bad14
CY
10813 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10814
f823b8ca
CY
10815 * tooltip.el (tooltip-mode): Doc fix.
10816 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10817
2680c309
CY
10818 * frame.el (set-cursor-color): Doc fix (Bug#352).
10819
d7a9e63b
CY
10820 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10821 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10822
2e7f3bea
CY
10823 * cus-edit.el (custom-buffer-create-internal): Fix search button
10824 action (Bug#10542).
2ae01800 10825 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10826
fc4f7a23
EW
108272012-01-27 Eduard Wiebe <usenet@pusto.de>
10828
10829 * dired.el (dired-mark-files-regexp):
10830 Include any subdirectory components. (Bug#10445)
10831
7dd37071
ML
108322012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10833
10834 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10835 Handle [host]:port syntax. (Bug#10533)
10836
a268160b
AH
108372012-01-27 Alex Harsanyi <harsanyi@mac.com>
10838
10839 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10840
e43273ef
GM
108412012-01-26 Glenn Morris <rgm@gnu.org>
10842
10843 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10844 * term.el (term-raw-escape-map): Use Control-X-prefix.
10845 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10846
1edf595d
MR
108472012-01-25 Martin Rudalics <rudalics@gmx.at>
10848
10849 * window.el (window-state-get, window--state-get-1): Don't deal
10850 with fixed-sizeness of windows. Simplify code.
10851
fa8eafef
JC
108522012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10853
6df6ae42
JB
10854 * window.el (window--state-get-1, window--state-put-2):
10855 Don't save and restore the mark.
fa8eafef 10856
0b21c100
CY
108572012-01-25 Chong Yidong <cyd@gnu.org>
10858
10859 * custom.el (custom-variable-p): Doc fix.
10860
5ae1a6c8
GM
108612012-01-25 Glenn Morris <rgm@gnu.org>
10862
40047858
GM
10863 * dired.el (dired-goto-file): Handle some of the more common
10864 characters that `ls -b' escapes. (Bug#10596)
10865
5ddce96c
GM
10866 * progmodes/compile.el (compilation-next-error-function):
10867 Respect compilation-first-column in the "*compilation*" buffer.
10868 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10869
5ae1a6c8
GM
10870 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10871
b559f1a9
GM
108722012-01-24 Glenn Morris <rgm@gnu.org>
10873
10874 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10875
6725d21a
JD
108762012-01-24 Julien Danjou <julien@danjou.info>
10877
10878 * color.el (color-rgb-to-hsl): Fix value computing.
10879 (color-hue-to-rgb): New function.
10880 (color-hsl-to-rgb): New function.
10881 (color-clamp, color-saturate-hsl, color-saturate-name)
10882 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10883 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10884
70df4bbe
GM
108852012-01-24 Glenn Morris <rgm@gnu.org>
10886
10887 * vc/vc-rcs.el (vc-rcs-create-tag):
10888 * vc/vc-sccs.el (vc-sccs-create-tag):
10889 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10890
802a2ae2
ML
108912012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10892
10893 * eshell/esh-util.el (eshell-read-hosts-file):
10894 Skip comment lines. (Bug#10549)
10895
d7128bb1
ML
10896 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10897
d1a5c3b4
JB
108982012-01-23 Juanma Barranquero <lekktu@gmail.com>
10899
2724d9c7
JB
10900 * subr.el (display-delayed-warnings): Doc fix.
10901 (collapse-delayed-warnings): New function to collapse identical
10902 adjacent warnings.
10903 (delayed-warnings-hook): Add it.
d1a5c3b4 10904
a5509865
MA
109052012-01-22 Michael Albinus <michael.albinus@gmx.de>
10906
10907 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10908
a5509865
MA
10909 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10910 (tramp-default-user-alist): Don't add "pscp".
10911 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10912 property "login-as", if set. (Bug#10530)
10913
cc6d5805
MA
109142012-01-21 Michael Albinus <michael.albinus@gmx.de>
10915
10916 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10917 "plink1" and "psftp". (Bug#10530)
10918
109192012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10920
10921 * international/mule-cmds.el (prefer-coding-system): Show a
10922 warning message if the default value of file-name-coding-system
10923 was not changed.
10924
f0960428
JC
109252012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10926
cb882333
JB
10927 * windmove.el (windmove-reference-loc):
10928 Fix windmove-reference-loc miscalculation.
f0960428 10929
dd6f2a63
JB
109302012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10931
10932 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10933 default unit.
10934
7b447e9b
GM
109352012-01-21 Glenn Morris <rgm@gnu.org>
10936
117a9ea1
GM
10937 * international/mule.el (auto-coding-alist): Add .tbz.
10938
7b447e9b
GM
10939 * files.el (local-enable-local-variables): Doc fix.
10940 (inhibit-local-variables-regexps): Rename from
10941 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10942 Doc fix. Add some extensions from auto-coding-alist.
10943 (inhibit-local-variables-suffixes):
10944 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10945 (inhibit-local-variables-p):
10946 New function, extracted from set-auto-mode-1.
10947 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10948 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10949 (hack-local-variables): Doc fix. Make the mode-only case
10950 respect enable-local-variables and friends.
10951 Respect inhibit-local-variables-regexps for file-locals, but
10952 not for directory-locals.
10953 (set-visited-file-name):
10954 Take account of inhibit-local-variables-regexps.
10955 Whether it applies may change as the file name is changed.
10956 * jka-cmpr-hook.el (jka-compr-install):
10957 * jka-compr.el (jka-compr-uninstall):
10958 Update for inhibit-first-line-modes-suffixes name change.
10959
dd6e3cdd
MR
109602012-01-20 Martin Rudalics <rudalics@gmx.at>
10961
10962 * help-macro.el (make-help-screen): Temporarily restore original
10963 binding for minor-mode-map-alist (Bug#10454).
10964
0d0deb38
JD
109652012-01-19 Julien Danjou <julien@danjou.info>
10966
10967 * color.el (color-name-to-rgb): Use the white color to find the max
10968 color component value and return correctly computed values.
10969 (color-name-to-rgb): Add missing float conversion for max value.
10970
34a02f46
MR
109712012-01-19 Martin Rudalics <rudalics@gmx.at>
10972
10973 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10974 special state value for window-persistent-parameters.
10975 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10976 (window--state-put-2): Reset all window parameters to nil before
10977 assigning values of persistent parameters.
10978
606c44c4
AM
109792012-01-18 Alan Mackenzie <acm@muc.de>
10980
10981 Eliminate sluggishness and hangs in fontification of "semicolon
10982 deserts".
10983
cb882333
JB
10984 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10985 Change value 10000 -> 3000.
606c44c4
AM
10986 (c-state-safe-place): Reformulate so it doesn't stack up an
10987 infinite number of wrong entries in c-state-nonlit-pos-cache.
10988 (c-determine-limit-get-base, c-determine-limit): New functions to
10989 determine backward search limits disregarding literals.
10990 (c-find-decl-spots): Amend commenting.
10991 (c-cheap-inside-bracelist-p): New function which detects "={".
10992
10993 * progmodes/cc-fonts.el
10994 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10995 backward search.
10996 (c-font-lock-declarations): Fix an occurrence of point being
10997 undefined. Check additionally for point being in a bracelist or
10998 near a macro invocation without a semicolon so as to avoid a
10999 fruitless time consuming search for a declarator. Give a more
11000 precise search limit for declarators using the new
11001 c-determine-limit.
11002
f3860cea
GM
110032012-01-18 Glenn Morris <rgm@gnu.org>
11004
11005 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11006 (set-auto-mode): Doc fixes.
11007
1db03b16
GM
110082012-01-17 Glenn Morris <rgm@gnu.org>
11009
0e6038be
GM
11010 * isearch.el (search-nonincremental-instead): Fix doc typo.
11011
1db03b16
GM
11012 * dired.el (dired-insert-directory): Handle newlines in directory name.
11013 (dired-build-subdir-alist): Unescape newlines in directory name.
11014
4cb0aa75
MA
110152012-01-17 Michael Albinus <michael.albinus@gmx.de>
11016
11017 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11018 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11019 (tramp-action-terminal): Use it. (Bug#10530)
11020
1d00653d
SM
110212012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11022
11023 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11024
6a6ee00d
MR
110252012-01-16 Martin Rudalics <rudalics@gmx.at>
11026
11027 * window.el (window-state-ignored-parameters): Remove variable.
11028 (window--state-get-1): Rename argument MARKERS to IGNORE.
11029 Handle persistent window parameters. Make copy of clone-of
11030 parameter only if requested. (Bug#10348)
11031 (window--state-put-2): Install a window parameter only if it has
11032 a non-nil value or an existing parameter shall be overwritten.
11033
97912def
MA
110342012-01-15 Michael Albinus <michael.albinus@gmx.de>
11035
11036 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11037
688070a5
EZ
110382012-01-14 Eli Zaretskii <eliz@gnu.org>
11039
11040 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11041 don't pass the (nil) value of `upnode' to string-match.
11042
301afadc
CY
110432012-01-14 Chong Yidong <cyd@gnu.org>
11044
11045 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11046 Fix values recognized by the cursorBlink resource.
301afadc 11047
9e5788aa
PE
110482012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11049
11050 * epg.el (epg--make-temp-file): Avoid permission race condition
11051 when running on old Emacs versions (bug#10403).
11052
3cdb7f5a
GM
110532012-01-14 Glenn Morris <rgm@gnu.org>
11054
11055 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11056
8c82b1b4
AM
110572012-01-13 Alan Mackenzie <acm@muc.de>
11058
11059 Fix filling for when filladapt mode is enabled.
11060
11061 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11062 c-mask-paragraph, pass in `fill-paragraph' rather than
11063 `fill-region-as-paragraph'. (This is a reversion of a previous
11064 change.)
eb864a71
LM
11065 * progmodes/cc-mode.el (c-basic-common-init):
11066 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11067
e517eda4
GM
110682012-01-13 Glenn Morris <rgm@gnu.org>
11069
1498536e
GM
11070 * dired.el (dired-switches-escape-p): New function.
11071 (dired-insert-directory): Use dired-switches-escape-p.
11072 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11073
e517eda4
GM
11074 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11075
328f984d
GM
110762012-01-12 Glenn Morris <rgm@gnu.org>
11077
11078 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11079 changes in adaptive-fill-regexp. (Bug#10276)
11080
2cc769a8
AM
110812012-01-11 Alan Mackenzie <acm@muc.de>
11082
11083 Fix Emacs bug #10463 - put `widen's around the critical spots.
11084
1d00653d 11085 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11086 widen around each invocation of c-state-pp-to-literal. Remove an
11087 unused let variable.
11088
e52c37fa
GM
110892012-01-11 Glenn Morris <rgm@gnu.org>
11090
11091 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11092 Doc fix.
e52c37fa 11093
96f8741e
CY
110942012-01-10 Chong Yidong <cyd@gnu.org>
11095
1d00653d
SM
11096 * net/network-stream.el (network-stream-open-starttls):
11097 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11098 response to the capability command.
11099
b09a806e
GM
111002012-01-10 Glenn Morris <rgm@gnu.org>
11101
11102 * mail/unrmail.el (unrmail): Tweak previous change.
11103
7655cb66
CY
111042012-01-09 Chong Yidong <cyd@gnu.org>
11105
11106 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11107
9d5a8f0b
AM
111082012-01-08 Alan Mackenzie <acm@muc.de>
11109
11110 Optimise font locking in long enum definitions.
11111
11112 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11113 arm to a cond form to handle enums.
11114 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11115 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11116
9a0115ab 111172012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11118
11119 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11120 (Bug#10401)
6bb72cbd 11121
f186bb95
LMI
111222012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11123
29232a68
LMI
11124 * faces.el (set-face-attribute): Clarify the meaning of the nil
11125 frame (bug#10294).
11126
4e5d086d
LMI
11127 * subr.el (with-selected-frame): Mention that the selected frame
11128 is restored (bug#9980).
11129
8e66aebe
LMI
11130 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11131 (bug#9759).
11132
cd394be1 11133 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11134 (password-read): Don't autoload unused function.
11135
adf4e762
JB
111362012-01-07 Juanma Barranquero <lekktu@gmail.com>
11137
11138 * progmodes/which-func.el (which-func-mode): Turn into a
11139 non-interactive function and mark as obsolete (bug#10428).
11140
89bd9ccd
CY
111412012-01-06 Chong Yidong <cyd@gnu.org>
11142
11143 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11144 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11145 functions, along with 1 and -1.
11146
4afee9d5
EZ
111472012-01-06 Eli Zaretskii <eliz@gnu.org>
11148
11149 * time.el (display-time-load-average)
11150 (display-time-default-load-average): Doc fixes. See the thread
11151 starting at
11152 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11153 for the details.
11154
536aea70
GM
111552012-01-06 Glenn Morris <rgm@gnu.org>
11156
665ae865
GM
11157 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11158 has no messages. (Bug#10377)
11159
c869783d
GM
11160 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11161 than Info-edit. (Bug#10385)
11162
2bb4227e
GM
11163 * time.el (display-time-load-average, display-time-next-load-average):
11164 Doc fixes.
11165
7d5944b9
GM
11166 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11167 local setting of buffer-read-only to the input buffer. (Bug#10419)
11168
536aea70
GM
11169 * calendar/calendar.el (calendar-mode):
11170 Locally set scroll-margin to 0. (Bug#10379)
11171
7dccca16
UM
111722012-01-06 Ulrich Mueller <ulm@gentoo.org>
11173
11174 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11175
afbb7930
GM
111762012-01-05 Glenn Morris <rgm@gnu.org>
11177
11178 * eshell/em-unix.el (diff-no-select): Autoload it.
11179 (eshell/diff): Use diff-no-select. (Bug#10420)
11180
04482335
CY
111812012-01-05 Chong Yidong <cyd@gnu.org>
11182
7baca3bc
CY
11183 * shell.el (shell-dynamic-complete-functions): Revert last change.
11184 (shell-command-completion-function): New function.
11185 (shell-completion-vars): Use it to implement
11186 shell-completion-execonly (Bug#10417).
11187
04482335
CY
11188 * custom.el (enable-theme): Don't set custom-safe-themes.
11189
1d00653d
SM
11190 * cus-theme.el (custom-theme-merge-theme):
11191 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11192
bb5aa5d6
MM
111932012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11194
11195 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11196 first prompt in `sql-interacive-mode'.
11197 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11198 keywords.
6df6ae42 11199 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11200 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11201 context of original buffer. Invoke `sql-login-hook'.
11202
a7183d7c
EZ
112032012-01-04 Eli Zaretskii <eliz@gnu.org>
11204
11205 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11206 letters in cite-prefix.
11207
a1eacd1e
LMI
112082012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11209
11210 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11211
787cdb34
CY
112122012-01-03 Chong Yidong <cyd@gnu.org>
11213
1d00653d
SM
11214 * shell.el (shell-dynamic-complete-functions):
11215 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11216 comint-filename-completion first (Bug#10417).
11217
30710442
RS
112182012-01-02 Richard Stallman <rms@gnu.org>
11219
11220 * battery.el (battery-status-function):
11221 Detect when to use battery-yeeloong-sysfs.
11222 (battery-echo-area-format): Add string for Yeeloong.
11223 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11224 (battery-yeeloong-sysfs): New function.
11225
f75bfc33
CY
112262012-01-02 Chong Yidong <cyd@gnu.org>
11227
11228 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11229 (dirtrack): Merge code for handling relative filenames in prompt
11230 from shell-dir-cookie-watcher.
11231 (dirtrack-debug-message): New arg to avoid excess format calls.
11232
11233 * shell.el (shell-dir-cookie-re): Variable deleted.
11234 (shell-dir-cookie-watcher): Function deleted.
11235 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11236 with dirtrack-mode.
11237
651e947e
EZ
112382012-01-01 Eli Zaretskii <eliz@gnu.org>
11239
1d00653d
SM
11240 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11241 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11242 libgnutls-26.dll.
11243
94d4c7dc
AS
112442011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11245
11246 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11247
8d43f3cd
EZ
112482011-12-31 Eli Zaretskii <eliz@gnu.org>
11249
11250 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11251 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11252
98c8795a
MA
112532011-12-29 Michael Albinus <michael.albinus@gmx.de>
11254
11255 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11256 also for alternative shells.
11257 (tramp-open-connection-setup-interactive-shell): Check, whether
11258 the shell is a busybox.
11259 (tramp-send-command): Don't suppress multiple prompts for
11260 busyboxes, it hurts.
11261
51281b32
CY
112622011-12-28 Chong Yidong <cyd@gnu.org>
11263
11264 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11265 (gdb-get-source-file): Move mode line update to
11266 gdb-get-source-file (Bug#10087).
11267
2170cb53
CY
112682011-12-25 Chong Yidong <cyd@gnu.org>
11269
11270 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11271 gud-gdb-marker-filter without taking it as an argument.
11272 (gud-gdb-run-command-fetch-lines): Caller changed.
11273 (gud-gdb-completion-function): New variable.
11274 (gud-gdb-completion-at-point): Use it.
11275 (gud-gdb-completions-1): Split from gud-gdb-completions.
11276
11277 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11278 function as separate arguments.
11279 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11280 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11281 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11282 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11283 (gdb-stopped, def-gdb-auto-update-trigger)
11284 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11285 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11286 Callers changed.
2170cb53
CY
11287 (gud-gdbmi-completions): New function.
11288 (gdb): Use it for generating the completion table.
11289
be8b11bb
AM
112902011-12-24 Alan Mackenzie <acm@muc.de>
11291
11292 Introduce a mechanism to widen the region used in context font
1d00653d 11293 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11294
1d00653d
SM
11295 * progmodes/cc-langs.el (c-before-font-lock-functions):
11296 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11297 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11298 functions to be run just before context (etc.) font locking.
11299
11300 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11301 New, functionality extracted from
be8b11bb 11302 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11303 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11304 (c-after-change): Set c-in-after-change-fontification.
11305 (c-set-fl-decl-start): Rejig its interface, so it can be called
11306 from both after-change and context fontifying.
b81d40f0
JB
11307 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11308 New functions.
11309 (c-standard-font-lock-fontify-region-function): New variable.
11310 (c-font-lock-fontify-region): New function.
be8b11bb 11311
341cf6ac
JL
113122011-12-24 Juri Linkov <juri@jurta.org>
11313
11314 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11315 (Bug#10348)
11316
bffcee0a
MA
113172011-12-23 Michael Albinus <michael.albinus@gmx.de>
11318
11319 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11320 existence of source file. (Bug#10325)
11321
cb5e207c
AM
113222011-12-23 Alan Mackenzie <acm@muc.de>
11323
11324 Fix unstable fontification inside templates.
11325
b81d40f0
JB
11326 * progmodes/cc-langs.el (c-before-font-lock-functions):
11327 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11328 additionally has c-set-fl-decl-start. The other languages (apart
11329 from AWK) have that as a single entry.
11330
b81d40f0
JB
11331 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11332 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11333 c-set-fl-decl-start.
11334
b81d40f0
JB
11335 * progmodes/cc-mode.el (c-common-init, c-after-change):
11336 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11337 (c-set-fl-decl-start): New function, extracted from
11338 c-font-lock-enclosing-decls and enhanced.
11339
60ff536c
JB
113402011-12-23 Juanma Barranquero <lekktu@gmail.com>
11341
11342 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11343
1c4757d6
JL
113442011-12-22 Juri Linkov <juri@jurta.org>
11345
11346 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11347
d031f2c7
CY
113482011-12-22 Chong Yidong <cyd@gnu.org>
11349
11350 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11351
bace743a
DA
113522011-12-21 Drew Adams <drew.adams@oracle.com>
11353
11354 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11355
728a1f2b
JC
113562011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11357
11358 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11359
0d373f73
TZ
113602011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11361
fec0aaa4
TZ
11362 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11363 highlighting and support. Fix up comments for capitalization.
11364 (cfengine-mode-debug): New var.
11365 (cfengine3-mode): Change the modeline indicator to "CFE3".
11366 (cfengine3-font-lock-keywords): Improve defun highlighting.
11367 (cfengine2-actions): Rename from `cfengine-actions'.
11368 (cfengine2-font-lock-keywords): Rename from
11369 `cfengine-font-lock-keywords'.
11370 (cfengine2-imenu-expression): Rename from
11371 `cfengine-imenu-expression'.
11372 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11373 (cfengine2-beginning-of-defun): Rename from
11374 `cfengine-beginning-of-defun'.
11375 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11376 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11377 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11378 modeline indicator to "CFE2".
11379 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11380 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11381
bc86f573
CY
113822011-12-21 Chong Yidong <cyd@gnu.org>
11383
11384 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11385 filename argument.
11386
d45ba96b
MR
113872011-12-20 Martin Rudalics <rudalics@gmx.at>
11388
11389 * window.el (window-normalize-buffer-to-display): Remove.
11390 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11391
a6198c90
CY
113922011-12-19 Chong Yidong <cyd@gnu.org>
11393
11394 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11395 Don't signal an error in a predicate function; return non-nil.
11396 (vc-dir-mark-file): Move the error here.
11397 (vc-dir-mark-unmark): If acting on the region, keep going if one
11398 of the entries cannot be marked/unmarked.
11399 (vc-dir-mark-all-files): If current entry is a directory, mark
11400 only child files, as documented.
11401
34c5fb55
VB
114022011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11403
11404 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11405 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11406 addition.
11407
c803b2b7
JD
114082011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11409
11410 * term/ns-win.el (ns-get-selection-internal)
11411 (ns-store-selection-internal): Declare.
1154d12e
JB
11412 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11413 Declare as obsolete.
11414 (ns-get-pasteboard, ns-paste-secondary):
11415 Use ns-get-selection-internal.
41e9b956 11416 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11417 Use ns-store-selection-internal.
c803b2b7 11418
9cff91f8 114192011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11420
11421 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11422 (vc-deduce-fileset): Doc fix.
99a289d9 11423
f16c898a
AS
114242011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11425
11426 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11427
763237c4
SS
114282011-12-13 Sam Steingold <sds@gnu.org>
11429
11430 * man.el (Man-getpage-in-background): When running under a
11431 window-system, ignore $MANWIDTH and $COLUMNS.
11432
5fc1c122
KH
114332011-12-15 Kenichi Handa <handa@m17n.org>
11434
11435 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11436 (setup-ethiopic-environment-internal): Comment out key-binding for
11437 ethio-toggle-punctuation.
11438
13d49cbb
AM
114392011-12-13 Alan Mackenzie <acm@muc.de>
11440
898169a2
AM
11441 Add the switch statement to AWK Mode.
11442
7a71b18d 11443 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11444 "default" to the keywords regexp.
11445
7a71b18d 11446 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11447 expression as the rest.
1d00653d
SM
11448 (c-nonlabel-token-key): Allow string literals for AWK.
11449 Refactor for the other modes.
898169a2 11450
13d49cbb 11451 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11452 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11453 routines. Limit backward searching in c-font-lock-enclosing.decl.
11454
11455 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11456 pp-state and literal type in addition to the limits.
1d00653d 11457 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11458 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11459 (c-slow-in-literal, c-fast-in-literal): Remove.
11460 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11461
11462 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11463 being in a literal. Add a limit for backward searching.
11464
11465 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11466 c-slow-in-literal.
11467
15e0efc7
SM
114682011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11471
454592a6
MR
114722011-12-13 Martin Rudalics <rudalics@gmx.at>
11473
11474 * window.el (delete-other-windows): Use correct frame in call to
11475 window-with-parameter.
11476
87393f26
DP
114772011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11478
11479 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11480 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11481 (makefile-gmake-statements, makefile-makepp-statements):
11482 Use it and add new makepp keywords.
11483 (makefile-makepp-font-lock-keywords): Add new patterns.
11484 (makefile-match-function-end): Match new [...] and [[...]].
11485
11636b22
JB
114862011-12-11 Juanma Barranquero <lekktu@gmail.com>
11487
11488 * ses.el (ses-call-printer-return, ses-cell-property-get)
11489 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11490 (ses-create-cell-variable, ses-reset-header-string)
11491 (ses-cell-set-formula, ses-repair-cell-reference-all)
11492 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11493 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11494 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11495 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11496 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11497 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11498 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11499 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11500 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11501 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11502 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11503 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11504
cf018193
VB
115052011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11506
11507 * ses.el: The overall change is to add cell renaming, that is
11508 setting fancy names for cell symbols other than name matching
11509 "\\`[A-Z]+[0-9]+\\'" regexp .
11510 (ses-create-cell-variable): New defun.
11511 (ses-relocate-formula): Relocate formulas only for cells the
11512 symbols of which are not renamed, i.e. symbols whose names do not
11513 match regexp "\\`[A-Z]+[0-9]+\\'".
11514 (ses-relocate-all): Relocate values only for cells the symbols of
11515 which are not renamed.
11516 (ses-load): Create cells variables as the (ses-cell ...) are read,
11517 in order to check row col consistency with cell symbol name only
11518 for cells that are not renamed.
11519 (ses-replace-name-in-formula): New defun.
11520 (ses-rename-cell): New defun.
11521
ee957461
CY
115222011-12-11 Chong Yidong <cyd@gnu.org>
11523
11524 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11525 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11526
9a9e9ef0
MR
115272011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11528
11529 * window.el (other-window): Fix docstring.
11530
92a8eba5
EZ
115312011-12-10 Eli Zaretskii <eliz@gnu.org>
11532
11533 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11534 `from' or `to' address before taking its substring.
11535 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11536 encoded name is chopped in the middle of the encoded string, and
11537 thus displayed encoded.
11538
e152e577
JB
115392011-12-10 Juanma Barranquero <lekktu@gmail.com>
11540
11541 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11542
e5d84bfe
EZ
115432011-12-10 Eli Zaretskii <eliz@gnu.org>
11544
11545 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11546 to use texinfo-update-node and commands that call it if the
11547 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11548 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11549 (texinfo-all-menus-update, texinfo-master-menu)
11550 (texinfo-update-node, texinfo-every-node-update)
11551 (texinfo-multiple-files-update): Doc fix. Warn against updating
11552 all the @node lines.
11553 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11554 argument is numeric. Explain better in the doc string what the
11555 function really does.
11556 (texinfo-insert-master-menu-list): Improve the error message
11557 displayed if there's no menu in the Top node.
11558 (Bug#2975) See also this thread:
e5d84bfe
EZ
11559 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11560
1d84e9bb
MG
115612011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11562
11563 * speedbar.el (speedbar-supported-extension-expressions):
11564 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11565
382c953b
JB
115662011-12-09 Juanma Barranquero <lekktu@gmail.com>
11567
11568 * printing.el (pr-mode-alist):
11569 * simple.el (filter-buffer-substring-functions)
11570 (completion-list-insert-choice-function):
11571 * window.el (window-with-parameter, window-atom-root)
11572 (window-sides-slots, window-size-fixed, window-min-delta)
11573 (window-max-delta, window--resize-mini-window)
11574 (window--resize-child-windows-normal, window-tree)
11575 (delete-other-windows, quit-window, split-window)
11576 (display-buffer-record-window, special-display-buffer-names)
11577 (special-display-regexps, special-display-popup-frame)
11578 (same-window-p, split-window-sensibly)
11579 (display-buffer-overriding-action, display-buffer-alist)
11580 (display-buffer-base-action, display-buffer, switch-to-buffer)
11581 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11582 (fit-window-to-buffer, recenter-positions)
11583 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11584 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11585 and remove unneeded backslashes in docstrings.
11586
39c9faef
SM
115872011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11588
98449af8
SM
11589 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11590
39c9faef
SM
11591 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11592 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11593 end in ".mk".
11594 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11595 when reading the makefile (bug#10116).
11596
86ed9fdc
SM
115972011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11598
11599 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11600 (bug#10116).
11601
5580f89d
GM
116022011-12-06 Glenn Morris <rgm@gnu.org>
11603
11604 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11605
28d3917c
CY
116062011-12-06 Chong Yidong <cyd@gnu.org>
11607
11608 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11609
a98edce9
JB
116102011-12-06 Juanma Barranquero <lekktu@gmail.com>
11611
11612 * textmodes/table.el (table-shorten-cell): Fix typo.
11613
e65adfac
CG
116142011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11615
11616 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11617
71cc0b74
EZ
116182011-12-05 Eli Zaretskii <eliz@gnu.org>
11619
11620 * descr-text.el (describe-char): Fix display of strong
11621 right-to-left characters and directional embeddings and overrides.
11622
11623 * simple.el (what-cursor-position): Fix display of codepoints of
11624 strong right-to-left characters.
11625
315bc30d
CY
116262011-12-05 Chong Yidong <cyd@gnu.org>
11627
11628 * faces.el (read-color): Doc fix.
11629
58a70b94
GM
116302011-12-05 Glenn Morris <rgm@gnu.org>
11631
11632 * align.el (align--set-marker): Add doc-string.
11633 Don't try to move something that is not a marker. (Bug#10216)
11634
5158face
GM
116352011-12-04 Glenn Morris <rgm@gnu.org>
11636
11637 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11638 overly zealous deletion of trailing whitespace.
11639
520fca41
JB
116402011-12-04 Juanma Barranquero <lekktu@gmail.com>
11641
11642 * server.el (server-delete-client): On Windows, do not try to delete
11643 the only terminal.
11644 (server-process-filter): On Windows, treat requests for a tty frame as
11645 if they were for a GUI frame if the running server is in GUI mode.
11646
5e605a2e
GM
116472011-12-03 Glenn Morris <rgm@gnu.org>
11648
11649 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11650
5c3fe83f
SM
116512011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11652
6f5e57e7
SM
11653 * electric.el: Streamline electric-indent's hook.
11654 (electric-indent-chars): Revert to simple list.
11655 (electric-indent-functions): New var.
11656 (electric-indent-post-self-insert-function): Use it.
11657
5c3fe83f
SM
11658 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11659 there's no inferior buffer (bug#10196).
11660 (prolog-consult-compile): Don't use toggle-read-only.
11661
6bdac736
MA
116622011-12-02 Michael Albinus <michael.albinus@gmx.de>
11663
11664 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11665 interrupt. (Bug#10187)
11666
6131ba7f
SM
116672011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11668
99c79fee
SM
11669 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11670 (bug#9160).
11671
6131ba7f
SM
11672 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11673 (bug#10191).
11674
cb0a02ea
JL
116752011-12-02 Juri Linkov <juri@jurta.org>
11676
11677 * info.el (Info-search): Display "end of manual" when Isearch
11678 reaches the end of single-file Info manual. (Bug#9918)
11679
66e0570c
EZ
116802011-12-02 Eli Zaretskii <eliz@gnu.org>
11681
11682 * isearch.el (isearch-message-prefix): Run the input method part
11683 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11684
02b16839
JL
116852011-12-02 Juri Linkov <juri@jurta.org>
11686
11687 * isearch.el (isearch-occur): Use `word-search-regexp' for
11688 `isearch-word'.
11689 (isearch-search-and-update): Add condition for `isearch-word' and
11690 call `word-search-regexp'. (Bug#10145)
11691
0b950688
GM
116922011-12-01 Glenn Morris <rgm@gnu.org>
11693
11694 * eshell/em-hist.el (eshell-hist-initialize):
11695 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11696 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11697
9505c3c7
SM
116982011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11699
11700 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11701
1bbe96b2 117022011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11703
a1beca85
SM
11704 * progmodes/verilog-mode.el (verilog-pretty-expr):
11705 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11706 verilog, such as += *= and the like.
11707 (verilog-assignment-operator-re): Regular expression to find the
11708 assigment operator in a verilog assignment.
11709 (verilog-assignment-operation-re): Regular expression to find an
11710 assignment statement for pretty-expr.
11711 (verilog-in-attribute-p): Query returns true if point is in an
11712 attribute context; used to skip these for expression line up from
11713 pretty-expr.
11714 (verilog-in-parameter-p): Query returns true if point is in an
11715 parameter definition context; used to skip these for expression
11716 line up from pretty-expr.
11717 (verilog-in-parenthesis-p): Query returns true if point is in a
11718 parenthetical expression, specifically ( ) but not [ ] or { };
11719 used by pretty-expr.
11720 (verilog-just-one-space): If there is no space, don't add one.
11721 (verilog-get-lineup-indent-2): Specifically skip just attribute
11722 contexts for expression lineup, rather than skipping all
11723 parenthetical expressions.
11724 (verilog-calculate-indent): Fix comment, and fix indent.
11725 (verilog-do-indent): Indent declarations in lists (suggested by
11726 Joachim Lechner).
11727 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11728 skeleton items.
11729 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11730 by Alain Mellan).
11731
1bbe96b2 117322011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11733
11734 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11735 parameters with embedded comments. Reported by Ray Stevens.
11736 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11737 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11738 Reported by Tim Holt.
11739 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11740 instantiated by upper module causing wrong expansion until AUTOed a
11741 second time. Reported by K C Buckenmaier.
11742 (verilog-diff-auto): Fix showing .* as a difference when
11743 `verilog-auto-star-save' off. Reported by Dan Dever.
11744 (verilog-auto-reset, verilog-read-always-signals)
11745 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11746 temporary signals in reset list if
11747 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11748 style to each signal's assignment type, bug381.
11749 Reported by Thomas Esposito.
6288f0ca
WS
11750 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11751 (verilog-uvm-statement-re): Support UVM indentation and
11752 highlighting, with old OVM keywords only.
a1beca85 11753 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11754 Support AUTOTIEOFF creating non-wire data types.
11755 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11756 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11757 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11758 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11759 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11760 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11761 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11762 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11763 non-numeric vector width. Reported by Alex Reed.
11764 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11765 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11766 (verilog-auto-delete-trailing-whitespace):
11767 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11768 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11769 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11770 Fix verilog-scan-cache corruption when running user AUTO expansion
11771 hooks that call indentation routines.
11772 (verilog-simplify-range-expression): Fix typo ignoring lower case
11773 identifiers.
11774 (verilog-delete-auto): Fix delete-autos to also remove user created
11775 automatics, as long as they start with AUTO.
11776 (verilog-batch-diff-auto, verilog-diff-auto)
11777 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11778 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11779 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11780 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11781 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11782 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11783 is disabled and its cache will get corrupt, causing AUTOS not to
11784 expand. Instead use only -quick functions.
11785 (verilog-scan-region): Fix scanning over escaped quotes.
11786 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11787 (verilog-re-search-backward-quick)
11788 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11789 related functions now ignore strings, to fix misparsing of strings
11790 with magic comments embedded in them.
a1beca85
SM
11791 (verilog-read-auto-template):
11792 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11793 Reported by Brad Dobbie.
11794 (verilog-read-auto-template):
11795 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11796 Reported by Brad Dobbie.
6288f0ca
WS
11797 (verilog-auto-inst, verilog-auto-inst-param)
11798 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11799 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11800 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11801 debugging templates without merge conflicts, bug357.
11802 Reported by Brad Dobbie.
11803 (verilog-read-auto-template):
11804 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11805 Reported by Brad Dobbie.
11806 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11807 abbrevs so user won't be asked to save.
11808 (verilog-read-auto-lisp-present): Fix to start at beginning of
11809 buffer in case called outside of verilog-auto.
11810 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11811 to "X-2". Reported by Matthew Myers.
11812 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11813 all inputs from module templates. Reported by Leith Johnson.
11814 (verilog-module-inside-filename-p): Fix locating programs as with
11815 modules.
11816 (verilog-auto-inst-port): Fix vl-width expressions when using
11817 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11818 (verilog-decls-get-regs, verilog-decls-get-signals,
11819 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11820 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11821 verilog-read-decls): Combine reg and wire structures into one var
11822 structure to represent SystemVerilog concepts.
11823 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11824 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11825 (verilog-auto-wire-type, verilog-insert-definition):
11826 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11827 SystemVerilog "logic" keyword instead of "wire"/"reg".
11828 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11829 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11830 ifdef or generate if so there's not a driver conflict).
11831 Reported by Matthew Myers.
11832 (verilog-auto-declare-nettype, verilog-insert-definition):
11833 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11834 `default_nettype none. Reported by Julian Gorfajn.
11835 (verilog-read-always-signals-recurse, verilog-read-decls)
11836 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11837 malformed end statement, bug325. Reported by Joshua Wise and
11838 Andrew Drake.
11839 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11840 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11841 when expanding .* in interfaces, bug320.
11842 Reported by Pierre-David Pfister.
6288f0ca 11843 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11844 name and open parenthesis, bug317.
11845 Reported by Pierre-David Pfister.
6288f0ca
WS
11846 (verilog-simplify-range-expression): Fix simplification of
11847 multiplications inside AUTOWIRE connections, bug303.
11848 (verilog-auto-inst-port): Support parameter expansion in
11849 multidimensional arrays.
11850 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11851 after "assert property". Reported by Julian Gorfajn.
11852 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11853 with multiplication, bug303.
11854 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11855 Reported by Jan Frode Lonnum.
11856
1bbe96b2
GM
118572011-11-30 Juanma Barranquero <lekktu@gmail.com>
11858
11859 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11860 (hfy-shell-file-name, hfy-shell):
11861 * international/fontset.el (x-decompose-font-name): Fix typos.
11862
118632011-11-29 Ken Brown <kbrown@cornell.edu>
11864
11865 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11866 (gdb-version): Remove defvar.
11867 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11868 (gdb-gud-context-command, gdb-non-stop-handler)
11869 (gdb-current-context-command, gdb-stopped): Use it.
11870 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11871 (gdb-non-stop-handler): Don't enable pretty-printing here.
11872 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11873 non-stop mode. Use the following.
11874 (gdb-check-target-async): New defun.
11875 (gud-watch, gdb-stopped): Fix whitespace.
11876 (gdb-get-source-file): Don't try to display the source file if
11877 `gdb-main-file' is nil.
11878
118792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * align.el: Try to generate fewer markers (bug#10047).
11882 (align--set-marker): New macro.
11883 (align-region): Use it.
11884
c935221f
SM
118852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11888
e70b5064
CY
118892011-11-29 Chong Yidong <cyd@gnu.org>
11890
11891 * indent.el (indent-for-tab-command, indent-according-to-mode):
11892 Doc fix.
11893 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11894
f3af92b7
MA
118952011-11-29 Michael Albinus <michael.albinus@gmx.de>
11896
11897 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11898 aware of remote file names. (Bug#10124)
11899
ed472be9
CY
119002011-11-29 Chong Yidong <cyd@gnu.org>
11901
11902 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11903
24510c22
SM
119042011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11905
11906 * files.el (find-file): Don't use force-same-window (bug#10144).
11907 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11908 use pop-to-buffer if the selected window can't be used.
11909 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11910
c60c3703
EZ
119112011-11-28 Eli Zaretskii <eliz@gnu.org>
11912
11913 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11914 special-mode-map.
11915
e95def75
CY
119162011-11-28 Chong Yidong <cyd@gnu.org>
11917
11918 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11919
c3f1c606
NR
119202011-11-27 Nick Roberts <nickrob@snap.net.nz>
11921
11922 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11923 gdb-get-source-file-list on gdb-create-source-file-list.
11924
00db469c
EZ
119252011-11-26 Eli Zaretskii <eliz@gnu.org>
11926
11927 * whitespace.el (whitespace-newline): Use a different foreground
11928 color for 16-color light-background displays.
11929
4ad3bc2a
CY
119302011-11-24 Chong Yidong <cyd@gnu.org>
11931
11932 * window.el (display-buffer--special-action): Doc fix.
11933
e9fce1ac
JB
119342011-11-25 Juanma Barranquero <lekktu@gmail.com>
11935
11936 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11937 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11938 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11939 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11940 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11941 (avl-tree-stack-first):
11942 * emacs-lisp/cconv.el (cconv--analyse-use):
11943 * net/gnutls.el (gnutls-negotiate): Fix typos.
11944
cb825e5d
GM
119452011-11-24 Glenn Morris <rgm@gnu.org>
11946
3adbe224
GM
11947 * lpr.el (lpr-windows-system, lpr-lp-system):
11948 * mail/binhex.el (binhex-begin-line):
11949 * progmodes/grep.el (grep-history, grep-find-history):
11950 * textmodes/flyspell.el:
11951 * vc/pcvs-defs.el (cvs-global-menu):
11952 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11953 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11954 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11955
321decc8
GM
11956 * net/tls.el: Fix case of "GnuTLS".
11957
420b63ad
GM
11958 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11959
cb825e5d
GM
11960 * version.el (emacs-build-system): Give it a doc-string.
11961
a0649f08
JL
119622011-11-24 Juri Linkov <juri@jurta.org>
11963
11964 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11965
c0bc0fd4
GM
119662011-11-24 Glenn Morris <rgm@gnu.org>
11967
11968 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11969 if called on a non-mime message just toggle the headers. (Bug#8006)
11970
20db1522
JB
119712011-11-24 Juanma Barranquero <lekktu@gmail.com>
11972
11973 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11974 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11975 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11976 (allout-rebullet-heading, allout-open-sibtopic)
11977 (allout-toggle-current-subtree-encryption)
11978 (allout-toggle-subtree-encryption, allout-encrypt-string)
11979 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11980 (allout-distinctive-bullets-string, allout-auto-activation):
11981 * window.el (window-normalize-buffer-to-display):
11982 * progmodes/verilog-mode.el (verilog-batch-indent):
11983 * textmodes/bibtex.el (bibtex-field-braces-opt)
11984 (bibtex-field-strings-opt):
11985 * vc/cvs-status.el (cvs-tree-merge):
11986 Fix typos.
11987
7262a87c
MA
119882011-11-23 Michael Albinus <michael.albinus@gmx.de>
11989
11990 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11991 `non-essential' to t, in order to avoid remote connections.
11992
283430a1
EZ
119932011-11-23 Eli Zaretskii <eliz@gnu.org>
11994
a1beca85
SM
11995 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11996 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11997 case-insensitively.
11998
d2992a38
ML
119992011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12000
12001 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12002
50419064
GM
120032011-11-23 Glenn Morris <rgm@gnu.org>
12004
da94eca1
GM
12005 * paths.el (rmail-file-name): Reformat the doc-string so that it
12006 is picked up.
12007
9aac4de2
GM
12008 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12009 (rmail-auto-file): Ignore case in the "special" field names,
12010 as mail-fetch-field does for all others.
12011
8038d2d2
GM
12012 * mail/rmail.el (rmail-forward):
12013 * mail/rmailkwd.el (rmail-set-label):
12014 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12015 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12016
f3fe222a
GM
12017 * mail/rmail.el (rmail-current-message): Doc fix.
12018
50419064
GM
12019 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12020
28109f49
SM
120212011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12024
394c65f1
GM
120252011-11-22 Glenn Morris <rgm@gnu.org>
12026
12027 * mail/rmailmm.el (test-rmail-mime-handler)
12028 (test-rmail-mime-bulk-handler)
12029 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12030
f2a0aa3a
JL
120312011-11-21 Juri Linkov <juri@jurta.org>
12032
1154d12e
JB
12033 * calc/calc.el (calc-read-key-sequence):
12034 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12035
9c34a344
LMI
120362011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12037
12038 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12039 Tell the caller that the next line needs recomputation, even
12040 though it doesn't start a sexp (bug#10094).
12041
f04a3be9
SM
120422011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12045
7978747f
SM
120462011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12047
f04a3be9
SM
12048 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12049 Use force-same-window.
7978747f 12050
fe7a3057
JB
120512011-11-20 Juanma Barranquero <lekktu@gmail.com>
12052
12053 * descr-text.el (describe-char-unicode-data):
12054 * json.el (json-string-escape):
12055 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12056 (Footnote-unicode, Footnote-style-p):
12057 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12058
24901d61
CY
120592011-11-20 Chong Yidong <cyd@gnu.org>
12060
12061 * window.el (replace-buffer-in-windows): Restore interactive spec.
12062
bac7ff22
SM
120632011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12064
24f3d7b9
SM
12065 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12066
bac7ff22
SM
12067 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12068 (byte-compile-global-not-obsolete-vars): New var.
12069 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12070 Use it.
12071 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12072
cd1181db
JB
120732011-11-20 Juanma Barranquero <lekktu@gmail.com>
12074
12075 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12076 * progmodes/pascal.el (electric-pascal-equal):
12077 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12078 * xml.el (xml-substitute-special): Fix typos.
12079
7fb18e9e
GM
120802011-11-20 Glenn Morris <rgm@gnu.org>
12081
12082 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12083 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12084 Doc fixes.
12085 (rmail-decode-mime-charset): Mark as obsolete.
12086
12087 * mail/rmailsum.el (rmail-message-regexp-p-1):
12088 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12089 Before using mime functions, check they are set. (Bug#10077)
12090
d5a6b3ba
JL
120912011-11-19 Juri Linkov <juri@jurta.org>
12092
12093 * info.el (Info-finder-find-node): Use `package--builtins' instead
12094 of `package-alist'. Use node names formed by the pattern "Keyword "
12095 and the keyword name.
12096
e981b61f
AS
120972011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12098
1d00653d 12099 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12100
3ffbc301
JL
121012011-11-19 Juri Linkov <juri@jurta.org>
12102
12103 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12104 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12105 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12106 `old-history', `old-history-forward'. Add let-binding
12107 `window-selected'. Remove calls to `kill-buffer',
12108 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12109 before calling `Info-find-node', so `Info-find-node-2' will reread
12110 the Info file. Restore window positions only when `window-selected'
12111 is non-nil.
12112
30c62133
JL
121132011-11-19 Juri Linkov <juri@jurta.org>
12114
12115 * isearch.el (isearch-lazy-highlight-new-loop):
12116 Remove condition `(not isearch-error)'. (Bug#9918)
12117
12118 * misearch.el (multi-isearch-search-fun): Add condition
12119 `(not bound)' to ignore lazy-highlighting search.
12120 Add the search-failed message "end of multi" when the end of
12121 multi-sequence is reached. Uncapitalize the search-failed
12122 message "Repeat for next buffer".
12123
12124 * info.el (Info-search): Add the search-failed message
12125 "end of the manual" when the end of the manual is reached
12126 in Isearch mode.
12127
645ca9cf
JL
121282011-11-19 Juri Linkov <juri@jurta.org>
12129
12130 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12131 Use non-destructive `remove' instead of `delete' because
12132 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12133 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12134
df754f66
JL
121352011-11-19 Juri Linkov <juri@jurta.org>
12136
12137 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12138 to nil instead of binding `search-ring' and `regexp-search-ring'.
12139 (Bug#9185)
12140
0e23d96a
EZ
121412011-11-19 Eli Zaretskii <eliz@gnu.org>
12142
12143 * simple.el (line-move): Force movement by logical lines for any
12144 hscrolled window, not only when auto-hscroll-mode is on.
12145 (line-move-visual): Update doc string to that effect. (Bug#10076)
12146
8a6ccb66
AS
121472011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12148
12149 * language/european.el (macintosh): Define as alias for mac-roman.
12150
49ae5b39
EZ
121512011-11-19 Eli Zaretskii <eliz@gnu.org>
12152
12153 * mail/rmailmm.el (rmail-mime-display-header)
12154 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12155 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12156 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12157 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12158 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12159 of a raw aref.
12160 (rmail-mime-entity-segment): To get past the tagline, move forward
12161 2 more lines, to account for the 2 empty lines that precede and
12162 follow the line with the buttons.
12163 (rmail-mime-update-tagline): Move one more line, to get past the
12164 empty line that follows the buttons in the tagline. (Bug#9520)
12165
c56cad4a
MR
121662011-11-19 Martin Rudalics <rudalics@gmx.at>
12167
12168 * window.el (window-max-delta-1, window-min-delta-1)
12169 (window-min-size-1, window-state-get-1, window-state-put-1)
12170 (window-state-put-2): Use "window--" prefix.
12171
cbe71af3
SM
121722011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12173
2ad52c60
SM
12174 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12175 (smie-warning-count): New var.
12176 (smie-set-prec2tab): Use it.
12177 (smie-bnf->prec2): Improve warnings. Add docstring.
12178 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12179 (smie-bnf--set-class): New function.
12180 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12181 corner case.
12182
6944dbc1
SM
12183 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12184 (compilation-error-properties, compilation-move-to-column):
12185 Handle compilation-first-column while in the target buffer.
12186
c400c4d7
SM
12187 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12188 Don't hardcode point-min==1.
12189
6dbe3e96
SM
12190 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12191 (eshell-rewrite-for-command): Remove workaround.
12192 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12193 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12194 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12195
cbe71af3
SM
12196 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12197
a8e1496d
GM
121982011-11-17 Glenn Morris <rgm@gnu.org>
12199
12200 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12201 Ignore buffer-local generated-autoload-file if it is the same
12202 as the global value. (Bug#10049)
12203
df85d315
JB
122042011-11-17 Juanma Barranquero <lekktu@gmail.com>
12205
12206 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12207 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12208 (reftex-toc-previous-heading, reftex-toc-max-level)
12209 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12210 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12211 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12212 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12213 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12214 (reftex-toc-rename-label, reftex-toc-visit-location)
12215 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12216 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12217 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12218 leaving "*toc*" only for references to the buffer.
12219
a0c2d0ae
MR
122202011-11-17 Martin Rudalics <rudalics@gmx.at>
12221
12222 * window.el (window-resize, delete-window, split-window):
12223 Replace window-splits by window-combination-resize.
1d00653d 12224 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12225
35c0bac8
GM
122262011-11-17 Glenn Morris <rgm@gnu.org>
12227
12228 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12229 Make bash entry derive from sh entry, not shell entry.
12230
d0c8fc8a
MA
122312011-11-16 Michael Albinus <michael.albinus@gmx.de>
12232
7262a87c
MA
12233 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12234 local file name.
12235
7877f373
JB
122362011-11-16 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * menu-bar.el (menu-bar-file-menu):
12239 * printing.el (pr-ps-utility):
12240 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12241 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12242 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12243 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12244 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12245 (icalendar--convert-cyclic-to-ical)
12246 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12247 (icalendar--convert-ical-to-diary)
12248 (icalendar--convert-recurring-to-diary)
12249 (icalendar--convert-non-recurring-all-day-to-diary)
12250 (icalendar-import-format-sample):
12251 * progmodes/idlw-shell.el (idlwave-shell-mode):
12252 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12253 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12254 (vhdl-ps-print-init): Fix typos.
12255
10649b82
KM
122562011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12257
9d0cfcd6
GM
12258 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12259 FSF and collapse date sequence, obscure author/maintainer email address
12260 better, remove extra version line, track relocation of author's webpage.
10649b82 12261
9d0cfcd6
GM
12262 * progmodes/python.el (python-pdbtrack-input-prompt)
12263 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12264 regular python pdb prompts. Adjustments shamelessly taken exactly as
12265 suggested in EmacsWiki page (tiny change):
12266 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12267
58179cce
JB
122682011-11-16 Juanma Barranquero <lekktu@gmail.com>
12269
12270 * expand.el (expand-pos, expand-index, expand-point):
12271 Remove redundant info from docstring.
12272 (expand-add-abbrevs): Doc fix.
12273 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12274 (expand-sample-perl-mode-expand-list): Fix typos.
12275
12276 * net/dbus.el (dbus-event-member-name):
12277 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12278 * term/pc-win.el (msdos-create-frame-with-faces):
12279 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12280
b6f67890
MR
122812011-11-16 Martin Rudalics <rudalics@gmx.at>
12282
12283 * window.el (split-window, window-state-get-1)
12284 (window-state-put-1, window-state-put-2): Rename occurrences of
12285 window-nest to window-combination-limit.
1d00653d 12286 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12287
ce7ddba0
CY
122882011-11-16 Chong Yidong <cyd@gnu.org>
12289
12290 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12291 regexp (Bug#10033).
12292
3ae704f4
SM
122932011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12294
12295 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12296 `completing-read' will remove *Completions* and will preserve
12297 current-buffer for us.
12298 (tmm-add-prompt): Users of *Completions* will always (re)set its
12299 major mode.
12300 (tmm-old-comp-map): Remove.
12301
6ad1cdde
GM
123022011-11-16 Glenn Morris <rgm@gnu.org>
12303
12304 * mail/rmailedit.el: Require rmailmm when compiling.
12305 (rmail-old-mime-state): New declaration.
12306 (rmail-edit-current-message): If editing a mime message,
12307 edit the "raw" message from the mbox buffer.
12308 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12309
d20faa20
GM
123102011-11-15 Glenn Morris <rgm@gnu.org>
12311
12312 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12313 which wasn't being used. Add optional arg to force given state.
12314 (rmail-mime): Add optional arg to force given state.
12315
c7015153
JB
123162011-11-15 Juanma Barranquero <lekktu@gmail.com>
12317
12318 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12319 * frame.el (display-mm-dimensions-alist):
12320 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12321 (outline-move-subtree-down):
12322 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12323 (newsticker--treeview-do-get-node):
12324 * net/quickurl.el (quickurl-list-buffer-name):
12325 * progmodes/dcl-mode.el (dcl-mode):
12326 * progmodes/gdb-mi.el (gdb-mapcar*):
12327 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12328
45261b50
GM
123292011-11-15 Glenn Morris <rgm@gnu.org>
12330
12331 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12332 in a boolean sense, so just make it a boolean, and fix the doc.
12333 (rmail-show-mime-function, rmail-mime-feature)
12334 (rmail-require-mime-maybe): Doc fixes.
12335 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12336
12337 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12338
0d26e0b6
JB
123392011-11-15 Juanma Barranquero <lekktu@gmail.com>
12340
12341 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12342 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12343 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12344 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12345
447f30f6
GM
123462011-11-15 Glenn Morris <rgm@gnu.org>
12347
672b871d
GM
12348 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12349 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12350 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12351 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12352 (rmail-mime, rmail-show-mime): Doc fixes.
12353
f6aa5bb1
GM
12354 * term/ns-win.el (mode-line-frame-identification):
12355 Leave it alone. (Bug#10051)
12356
947cd66b
GM
12357 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12358
447f30f6
GM
12359 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12360 Handle empty buffers. (Bug#9978)
12361
0b381c7e
JB
123622011-11-14 Juanma Barranquero <lekktu@gmail.com>
12363
12364 * international/mule.el (define-charset):
12365 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12366 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12367 * progmodes/verilog-mode.el (verilog-backward-token):
12368 * textmodes/ispell.el (lookup-words):
12369 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12370
71e027ac
GM
123712011-11-14 Glenn Morris <rgm@gnu.org>
12372
56632ce4
GM
12373 * progmodes/executable.el
12374 (executable-make-buffer-file-executable-if-script-p):
12375 Handle file-modes returning nil.
12376
40500957
GM
12377 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12378 message - not necessary, and causes problems. (Bug#9831)
12379
071c2340
GM
12380 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12381
d3cfca60
GM
12382 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12383
71e027ac
GM
12384 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12385 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12386 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12387
89d61221
MR
123882011-11-12 Martin Rudalics <rudalics@gmx.at>
12389
12390 * window.el (window-resize, delete-window): Use window-splits
12391 variable instead of function.
12392 (window-state-get-1, window-state-put-2, window-state-put):
12393 Don't deal with windows' splits status.
12394
98282f6f
GM
123952011-11-12 Glenn Morris <rgm@gnu.org>
12396
12397 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12398 (apropos-documentation): Doc fixes.
12399
40a8bdf6
JB
124002011-11-11 Juanma Barranquero <lekktu@gmail.com>
12401
12402 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12403 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12404
65bd19ff
SM
124052011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12406
12407 * electric.el (electric-indent-post-self-insert-function): Make it
12408 possible for a char to only indent in some circumstances.
12409 (electric-indent-mode): Simplify.
12410
54f9154c
MR
124112011-11-11 Martin Rudalics <rudalics@gmx.at>
12412
12413 * window.el (windows-with-parameter): Remove unused function.
12414 (windows-at-side): Rename to window-at-side-list.
12415 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12416 (window-side-check, window-size-ignore, window-size-fixed-1)
12417 (window-in-direction-2): Prefix with "window--".
12418 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12419
68cbc58b
GM
124202011-11-11 Glenn Morris <rgm@gnu.org>
12421
12422 * subr.el (eval-after-load): If FILE is already loaded,
12423 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12424
b2621720
GM
124252011-11-10 Glenn Morris <rgm@gnu.org>
12426
9a4de110
GM
12427 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12428 Call svn via vc-svn-command rather than vc-do-command.
12429 (vc-svn-command): Add --non-interactive. (Bug#9993)
12430 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12431
b2621720
GM
12432 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12433 Add toggle-read-only. (Bug#7292)
12434 * files.el (toggle-read-only): Mention that it should only
12435 be used interactively. (Bug#10006)
12436
1dce7193
SM
124372011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12438
d9ac1a1e
SM
12439 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12440 Adjust regexp for OCaml warnings.
12441
0c325082
SM
12442 * electric.el (electric-pair-post-self-insert-function): Let user
12443 turn it off buffer-locally (bug#9932).
12444
90132c14
SM
12445 * progmodes/python.el (python-beginning-of-statement):
12446 Rewrite (bug#2703).
12447
1dce7193
SM
12448 * progmodes/compile.el: Better handle TABs (bug#9749).
12449 (compilation-internal-error-properties)
12450 (compilation-next-error-function): Obey the target buffer's
12451 compilation-error-screen-columns.
12452
c4e7c63a
JB
124532011-11-09 Juanma Barranquero <lekktu@gmail.com>
12454
12455 * progmodes/meta-mode.el: Remove obsolete comments.
12456 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12457 Fix typos in docstrings.
12458
2cffd681
MR
124592011-11-09 Martin Rudalics <rudalics@gmx.at>
12460
12461 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12462 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12463 (window--resizable): New function. Make all callers of
12464 window-resizable call window--resizable instead.
12465 (window-resizable): Rewrite in terms of window--resizable.
12466
0edcba87
GM
124672011-11-08 Glenn Morris <rgm@gnu.org>
12468
12469 * progmodes/delphi.el (delphi-mode-syntax-table):
12470 Let define-derived-mode define a proper syntax table. (Bug#9994)
12471
4b0d61e3
SM
124722011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12473
12474 * window.el: Stay away from defsubst.
12475 (window-list-no-nils): Remove.
12476 (window-state-get-1, window-state-get): Use backquote instead.
12477
cd394be1 124782011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12479
4b0d61e3 12480 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12481 Fix incorrect use of default argument in `completing-read'.
12482
e1c2c6f2
MR
124832011-11-08 Martin Rudalics <rudalics@gmx.at>
12484
12485 * window.el (display-buffer-function, special-display-function):
12486 Mention display-buffer-record-window but do not mention
12487 help-setup parameter in doc-strings.
b3f4a882 12488 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12489
105216ed
CY
124902011-11-08 Chong Yidong <cyd@gnu.org>
12491
12492 * window.el (window-total-height, window-total-width): Doc fix.
12493 (window-body-size): Move from C.
12494 (window-body-height, window-body-width): Move to C.
12495
0a9f9ab5
SM
124962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * window.el: Make special-display like display-buffer-alist (bug#9532).
12499 (display-buffer--special-action): New function, morphed
12500 from display-buffer--special.
12501 (display-buffer): Use it to handle special-display-buffers at higher
12502 priority (just after display-buffer-alist).
12503 (display-buffer-fallback-action, display-buffer--other-frame-action)
12504 (pop-to-buffer-same-window): Remove display-buffer--special.
12505
a769dd15
GM
125062011-11-07 Glenn Morris <rgm@gnu.org>
12507
12508 * calendar/cal-menu.el (cal-menu-set-date-title):
12509 Do nothing if not in a calendar. (Bug#9976)
12510
05a61ee3
SM
125112011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * files.el (find-file): Always use selected-window.
12514
be7f5545
MR
125152011-11-07 Martin Rudalics <rudalics@gmx.at>
12516
12517 * window.el (window-combinations): Make WINDOW argument
12518 mandatory. Rewrite doc-string.
12519 (walk-window-subtree, window-atom-check, window-min-delta)
12520 (window-max-delta, window--resize-this-window)
12521 (window--resize-root-window-vertically, window-tree)
12522 (balance-windows, window-state-put): Rewrite doc-strings as to
12523 not mention the term "subwindow".
12524 (window--resize-subwindows-skip-p): Rename to
12525 window--resize-child-windows-skip-p.
12526 (window--resize-subwindows-normal): Rename to
12527 window--resize-child-windows-normal.
12528 (window--resize-subwindows): Rename to
12529 window--resize-child-windows.
12530 (window-or-subwindow-p): Rename to window--in-subtree-p.
12531
3c6702ef
ML
125322011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12533
12534 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12535 Ensure that mbox format messages end in two newlines (Bug#9974).
12536
49745b39
CY
125372011-11-06 Chong Yidong <cyd@gnu.org>
12538
12539 * window.el (window-combination-p): Function deleted; its
12540 side-effect is not used in any existing code.
12541 (window-combinations, window-combined-p): Call window-*-child
12542 directly.
12543
24300f5f
CY
125442011-11-05 Chong Yidong <cyd@gnu.org>
12545
12546 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12547 (window-size-ignore, window-state-get): Callers changed.
12548 (window-normalize-window): Rename from window-normalize-any-window.
12549 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12550 (window-normalize-live-window): Delete.
447f16b8
CY
12551 (window-combination-p, window-combined-p, window-combinations)
12552 (walk-window-subtree, window-atom-root, window-min-size)
12553 (window-sizable, window-sizable-p, window-size-fixed-p)
12554 (window-min-delta, window-max-delta, window-resizable)
12555 (window-resizable-p, window-full-height-p, window-full-width-p)
12556 (window-current-scroll-bars, window-point-1, set-window-point-1)
12557 (window-at-side-p, window-in-direction, window-resize)
12558 (adjust-window-trailing-edge, maximize-window, minimize-window)
12559 (window-deletable-p, delete-window, delete-other-windows)
12560 (record-window-buffer, unrecord-window-buffer)
12561 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12562 (quit-window, split-window, window-state-put)
12563 (set-window-text-height, fit-window-to-buffer)
12564 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12565
89bd5ee1
EZ
125662011-11-04 Eli Zaretskii <eliz@gnu.org>
12567
53479029
EZ
12568 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12569 rfc2047-decode-string.
12570 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12571 warnings.
12572
89bd5ee1
EZ
12573 * window.el (window-body-height, window-body-width): Mention in
12574 the doc string that the return values are in frame's canonical
12575 units. (Bug#9949)
12576
bd17fdee
AM
125772011-11-03 Alan Mackenzie <acm@muc.de>
12578
12579 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12580 change in cc-engine.el.
12581
acc825c5
SM
125822011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12585
1885e5b8
MR
125862011-11-02 Martin Rudalics <rudalics@gmx.at>
12587
12588 * window.el (quit-window): Call unrecord-window-buffer after
12589 showing another buffer in the window. (Bug#9937)
acc825c5 12590 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12591
ebe06da9
JB
125922011-11-02 Juanma Barranquero <lekktu@gmail.com>
12593
12594 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12595 Accept status with more than 9 shelves. (Bug#9935)
12596 Reported by Colin D Bennett <colin@gibibit.com>.
12597
4ee88440
MR
125982011-11-01 Martin Rudalics <rudalics@gmx.at>
12599
12600 * help.el (with-help-window): Don't reference
12601 temp-buffer-show-specifiers in doc-string.
12602
08e1d82c
AS
126032011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12604
12605 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12606 menu-item.
12607
84bd6e9e
VJL
126082011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12609
12610 * whitespace.el: New version 13.2.2.
12611 (whitespace-newline-mode): Disable properly. Reported by Sarah
12612 <EmacsWiki>.
12613
dba0634a
UJ
126142011-10-30 Ulf Jasper <ulf.jasper@web.de>
12615
12616 * net/newst-treeview.el: Remove "Time-stamp".
12617 (newsticker--group-manage-orphan-feeds): Do not call
12618 newsticker--treeview-tree-update.
db22a3c2
JB
12619 (newsticker-treeview-update, newsticker-treeview):
12620 Call newsticker--treeview-tree-update if necessary.
dba0634a 12621
3d8daefe
MR
126222011-10-30 Martin Rudalics <rudalics@gmx.at>
12623
12624 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12625 (window-iso-combinations): Remove "iso-" infix.
12626 Suggested by Chong Yidong.
3d8daefe
MR
12627 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12628 (window-max-delta-1, window-resize, window--resize-siblings)
12629 (window--resize-this-window, adjust-window-trailing-edge)
12630 (split-window, balance-windows-1)
12631 (shrink-window-if-larger-than-buffer):
12632 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12633 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12634
1bc4c3ae
SM
126352011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12636
12637 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12638 in place (bug#9907).
12639 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12640 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12641 (eshell-structure-basic-command, eshell-rewrite-while-command)
12642 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12643 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12644 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12645 (eshell-do-pipelines-synchronously, eshell-eval-command):
12646 Use backquotes and prefer setq to set.
12647 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12648 (eshell-macrop): Use functionp.
c1e2f5fa 12649 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12650
30b65d9c
CY
126512011-10-30 Chong Yidong <cyd@gnu.org>
12652
12653 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12654 instead of set-mark (Bug#9810).
12655
2d197ffb
CY
126562011-10-30 Chong Yidong <cyd@gnu.org>
12657
12658 * window.el (split-window-below, split-window-right): Rename from
12659 split-window-above-each-other and split-window-side-by-side
12660 respectively. All callers changed.
12661 (split-window-sensibly, split-window-sensibly): Use them.
12662 (split-window-keep-point): Doc fix.
12663
12664 * isearch.el: Add isearch-scroll property to split-window-below
12665 and split-window-right.
12666
12667 * follow.el (follow-mode):
12668 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12669 * progmodes/ada-xref.el (ada-gdb-application):
12670 * emulation/vip.el (vip-buffer-in-two-windows):
12671 * image-dired.el (image-dired-dired-with-window-configuration):
12672 * dired-x.el (dired-do-find-marked-files):
12673 * dired.el (dired-pop-to-buffer):
12674 * bs.el (bs--show-with-configuration):
12675 * vc/emerge.el (emerge-setup-windows):
12676 * textmodes/two-column.el (2C-two-columns):
12677 * textmodes/reftex-toc.el (reftex-toc):
12678 * progmodes/gdb-mi.el (gdb-setup-windows):
12679 * progmodes/fortran.el (fortran-window-create):
12680 * net/newst-treeview.el (newsticker--treeview-window-init):
12681 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12682 * emulation/tpu-edt.el (tpu-gold-map):
12683 * emulation/crisp.el (crisp-mode-map):
12684 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12685
38bb2ca8
CY
126862011-10-29 Chong Yidong <cyd@gnu.org>
12687
aa4de341
CY
12688 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12689
e1eb5385
CY
12690 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12691
5d2ece3c
CY
12692 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12693 forged Ispell output (Bug#7904).
12694
38bb2ca8
CY
12695 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12696
d0af9f77
SM
126972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12698
12699 * doc-view.el: Avoid ugly errors about not finding nil.
12700 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12701 (doc-view-dvipdf-program, doc-view-unoconv-program)
12702 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12703 Avoid nil or absolute file name as default value.
12704 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12705
52bedd34
AM
127062011-10-28 Alan Mackenzie <acm@muc.de>
12707
db22a3c2 12708 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12709
7e43cfa5
AM
127102011-10-28 Alan Mackenzie <acm@muc.de>
12711
12712 Amend the handling of c-beginning/end-of-defun in nested declaration
12713 scopes.
12714
52bedd34
AM
12715 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12716 cc-langs.el. Change it to a defcustom.
7e43cfa5 12717
52bedd34
AM
12718 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12719 cc-vars.el.
7e43cfa5 12720
d0af9f77
SM
12721 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12722 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12723
52bedd34 12724 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12725 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12726 (c-widen-to-enclosing-decl-scope): New function.
12727 (c-while-widening-to-decl-block): New macro.
12728 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12729 outward for defun boundaries, and correspondingly change symbol
12730 `respect-enclosure' to `go-outward'.
12731 (c-declaration-limits): Change algorithm to report only the "innermost"
12732 defun's boundaries.
12733
1a2ce9ee
DD
127342011-10-28 Deniz Dogan <deniz@dogan.se>
12735
12736 * net/rcirc.el (rcirc-mode): Use hard newlines.
12737
bc97a826
AM
127382011-10-28 Alan Mackenzie <acm@muc.de>
12739
12740 Amend to indent and fontify macros "which include their own semicolon"
12741 correctly, using the "virtual semicolon" mechanism.
12742
52bedd34 12743 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12744
d0af9f77 12745 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12746 Recode to scan one line at a time rather than having \n and \r
58179cce 12747 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12748 (c-forward-label): Amend for virtual semicolons.
58179cce 12749 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12750
52bedd34
AM
12751 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12752 of the new C macros.
bc97a826 12753
52bedd34 12754 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12755 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12756 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12757 (c-opt-cpp-macro-define): Make into a full language variable.
12758 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12759 AWK Mode (including \n, \r) removed, no longer needed.
12760
d0af9f77
SM
12761 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12762 Invoke c-make-macro-with-semi-re.
bc97a826 12763
52bedd34
AM
12764 * progmodes/cc-vars.el (c-macro-with-semi-re):
12765 (c-macro-names-with-semicolon): New variables.
58179cce 12766 (c-make-macro-with-semi-re): New function.
bc97a826 12767
7a6c0941
SM
127682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12769
12770 * vc/log-edit.el: Fill empty field rather than adding new one.
12771 (log-edit-add-field): New function.
12772 (log-edit-insert-changelog): Use it.
12773
b0c4cdcf
ML
127742011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12775
12776 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12777
ee1f1da9
SM
127782011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12779
12780 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12781 (gdb--check-interpreter): New function.
12782 (gdb): Use it.
12783
51bc5f8b
GM
127842011-10-27 Glenn Morris <rgm@gnu.org>
12785
416a2c45
GM
12786 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12787 (least-positive-float, least-negative-float)
12788 (least-positive-normalized-float, least-negative-normalized-float)
12789 (float-epsilon, float-negative-epsilon):
12790 Remove unnecessary declarations.
12791
12792 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12793 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12794 (least-positive-float, least-negative-float)
12795 (least-positive-normalized-float, least-negative-normalized-float)
12796 (float-epsilon, float-negative-epsilon): Add doc-strings,
12797 based on those in cl.texi.
12798
51bc5f8b
GM
12799 * files.el (set-visited-file-name): If the major-mode changed,
12800 reload the local variables. (Bug#9796)
12801
15de15c6
CY
128022011-10-27 Chong Yidong <cyd@gnu.org>
12803
12804 * subr.el (change-major-mode-after-body-hook): New hook.
12805 (run-mode-hooks): Run it.
12806
ee1f1da9
SM
12807 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12808 Use change-major-mode-before-body-hook.
15de15c6
CY
12809
12810 * simple.el (fundamental-mode):
12811 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12812 change introducing fundamental-mode-hook.
12813
5430d399
JB
128142011-10-26 Juanma Barranquero <lekktu@gmail.com>
12815
acc825c5 12816 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12817
ad74a69e
MA
128182011-10-26 Michael Albinus <michael.albinus@gmx.de>
12819
12820 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12821 tramp.el explicitly. (Bug#7583)
ad74a69e 12822
71d4c2a5
SM
128232011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * progmodes/octave-mod.el:
12826 * progmodes/octave-inf.el: Update maintainer.
12827
b1f6fa26
CY
128282011-10-26 Chong Yidong <cyd@gnu.org>
12829
12830 * subr.el (with-wrapper-hook): Rewrite doc.
12831
3f04efd6
MA
128322011-10-25 Michael Albinus <michael.albinus@gmx.de>
12833
12834 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12835 filenames "/method:foo:". (Bug#9793)
3f04efd6 12836
410488d3
SM
128372011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12838
12839 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12840 (bug#9865).
12841
c1ebb47e
GM
128422011-10-24 Glenn Morris <rgm@gnu.org>
12843
12844 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12845
7f5c46c7
MA
128462011-10-24 Michael Albinus <michael.albinus@gmx.de>
12847
12848 * notifications.el: Add the requirement of a running D-Bus session
12849 bus to the Commentary.
12850
db2440b6
JL
128512011-10-24 Juri Linkov <juri@jurta.org>
12852
12853 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12854 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12855 (Bug#9364)
12856
feecf435
JL
128572011-10-24 Juri Linkov <juri@jurta.org>
12858
12859 * info.el (Info-following-node-name-re): Add newline to the list
12860 of allowed characters for leading space. (Bug#9824)
12861
a3839de2
SM
128622011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12863
acc825c5
SM
12864 * progmodes/octave-inf.el (inferior-octave-mode-map):
12865 Fix C-c C-h binding.
a3839de2
SM
12866 * progmodes/octave-mod.el (octave-help): Remove.
12867
09388e76
MA
128682011-10-23 Michael Albinus <michael.albinus@gmx.de>
12869
12870 Sync with Tramp 2.2.3.
12871
12872 * net/tramp-cache.el (top): Pacify byte-compiler using
12873 `init-file-user' and `site-run-file'.
12874
12875 * net/trampver.el: Update release number.
12876
86c60681
CY
128772011-10-23 Chong Yidong <cyd@gnu.org>
12878
12879 * files.el (toggle-read-only): Remove obsolete comment about
12880 version control.
12881
12882 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12883 for toggle-read-only. Note that this hasn't called vc-next-action
12884 since 2008-05-02, though it wasn't documented at the time.
12885
a3839de2
SM
12886 * vc/ediff-init.el (ediff-toggle-read-only-function):
12887 Use toggle-read-only.
86c60681 12888
cd5495ff
AM
128892011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12890
12891 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12892 of c-parse-state.
12893
00b77525 12894 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12895 correct faulty logical expression.
cd5495ff
AM
12896 (c-parse-state-state, c-record-parse-state-state):
12897 (c-replay-parse-state-state): New defvar/defuns.
12898 (c-debug-parse-state): Use new functions.
12899
42ee24ed
MR
129002011-10-22 Martin Rudalics <rudalics@gmx.at>
12901
12902 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12903 last fix. Use window-in-direction correctly.
42ee24ed 12904
a7dee7e7
CY
129052011-10-21 Chong Yidong <cyd@gnu.org>
12906
12907 * progmodes/idlwave.el (idlwave-mode):
12908 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12909 require-final-newline; that's done in prog-mode.
12910 Suggested by Stefan Monnier.
a7dee7e7 12911
e07b9a6d
MR
129122011-10-21 Martin Rudalics <rudalics@gmx.at>
12913
12914 * mouse.el (mouse-drag-window-above)
12915 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12916 (mouse-drag-mode-line-1, mouse-drag-header-line)
12917 (mouse-drag-vertical-line-rightward-window): Remove.
12918 (mouse-drag-line): New function.
12919 (mouse-drag-mode-line, mouse-drag-header-line)
12920 (mouse-drag-vertical-line): Call mouse-drag-line.
12921 * window.el (window-at-side-p, windows-at-side): New functions.
12922
7e1361d9
UM
129232011-10-21 Ulrich Mueller <ulm@gentoo.org>
12924
12925 * tar-mode.el (tar-grind-file-mode):
12926 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12927
30fcaf3a
CY
129282011-10-21 Chong Yidong <cyd@gnu.org>
12929
12930 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12931 * progmodes/vera-mode.el (vera-mode):
12932 Use mode-require-final-newline.
30fcaf3a 12933
516eddb0
GM
129342011-10-20 Glenn Morris <rgm@gnu.org>
12935
db22a3c2 12936 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12937
10d5f513
CS
129382011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12939
12940 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12941
ac6c8639
CY
129422011-10-20 Chong Yidong <cyd@gnu.org>
12943
12944 * emulation/cua-base.el (cua-mode):
12945 * mail/footnote.el (footnote-mode):
12946 * mail/mailabbrev.el (mail-abbrevs-mode):
12947 * net/xesam.el (xesam-minor-mode):
12948 * progmodes/bug-reference.el (bug-reference-mode):
12949 * progmodes/cap-words.el (capitalized-words-mode):
12950 * progmodes/compile.el (compilation-minor-mode)
12951 (compilation-shell-minor-mode):
12952 * progmodes/gud.el (gud-tooltip-mode):
12953 * progmodes/hideif.el (hide-ifdef-mode):
12954 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12955 * progmodes/subword.el (subword-mode):
12956 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12957 * progmodes/which-func.el (which-function-mode):
12958 * term/tvi970.el (tvi970-set-keypad-mode):
12959 * term/vt100.el (vt100-wide-mode):
12960 * textmodes/flyspell.el (flyspell-mode):
12961 * textmodes/ispell.el (ispell-minor-mode):
12962 * textmodes/nroff-mode.el (nroff-electric-mode):
12963 * textmodes/paragraphs.el (use-hard-newlines):
12964 * textmodes/refill.el (refill-mode):
12965 * textmodes/reftex.el (reftex-mode):
12966 * textmodes/rst.el (rst-minor-mode):
12967 * textmodes/sgml-mode.el (html-autoview-mode)
12968 (sgml-electric-tag-pair-mode):
12969 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12970 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12971 * emulation/crisp.el (crisp-mode):
12972 * emacs-lisp/eldoc.el (eldoc-mode):
12973 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12974 minor mode behavior.
12975
aa42ab43
JL
129762011-10-19 Juri Linkov <juri@jurta.org>
12977
12978 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12979 the list of hard-coded chars with escape-glyph face.
12980
89400f1d
SM
129812011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12982
12983 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12984
305c07f6
MA
129852011-10-19 Michael Albinus <michael.albinus@gmx.de>
12986
12987 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12988 running process.
12989
13754b54
GM
129902011-10-19 Glenn Morris <rgm@gnu.org>
12991
12992 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12993 Ignore ignored files. (Bug#9726)
12994
06e21633
CY
129952011-10-19 Chong Yidong <cyd@gnu.org>
12996
12997 Doc fix for minor modes, stating that an omitted argument enables
12998 the mode unconditionally when called from Lisp.
12999
13000 * abbrev.el (abbrev-mode):
13001 * allout.el (allout-mode):
13002 * autoinsert.el (auto-insert-mode):
13003 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13004 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13005 (global-auto-revert-mode):
13006 * battery.el (display-battery-mode):
13007 * composite.el (global-auto-composition-mode)
13008 (auto-composition-mode):
13009 * delsel.el (delete-selection-mode):
13010 * desktop.el (desktop-save-mode):
13011 * dired-x.el (dired-omit-mode):
13012 * dirtrack.el (dirtrack-mode):
13013 * doc-view.el (doc-view-minor-mode):
13014 * double.el (double-mode):
13015 * electric.el (electric-indent-mode, electric-pair-mode):
13016 * emacs-lock.el (emacs-lock-mode):
13017 * epa-hook.el (auto-encryption-mode):
13018 * follow.el (follow-mode):
13019 * font-core.el (font-lock-mode):
13020 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13021 * help.el (temp-buffer-resize-mode):
13022 * hilit-chg.el (highlight-changes-mode)
13023 (highlight-changes-visible-mode):
13024 * hi-lock.el (hi-lock-mode):
13025 * hl-line.el (hl-line-mode, global-hl-line-mode):
13026 * icomplete.el (icomplete-mode):
13027 * ido.el (ido-everywhere):
13028 * image-file.el (auto-image-file-mode):
13029 * image-mode.el (image-minor-mode):
13030 * iswitchb.el (iswitchb-mode):
13031 * jka-cmpr-hook.el (auto-compression-mode):
13032 * linum.el (linum-mode):
13033 * longlines.el (longlines-mode):
13034 * master.el (master-mode):
13035 * mb-depth.el (minibuffer-depth-indicate-mode):
13036 * menu-bar.el (menu-bar-mode):
13037 * minibuf-eldef.el (minibuffer-electric-default-mode):
13038 * mouse-sel.el (mouse-sel-mode):
13039 * msb.el (msb-mode):
13040 * mwheel.el (mouse-wheel-mode):
13041 * outline.el (outline-minor-mode):
13042 * paren.el (show-paren-mode):
13043 * recentf.el (recentf-mode):
13044 * reveal.el (reveal-mode, global-reveal-mode):
13045 * rfn-eshadow.el (file-name-shadow-mode):
13046 * ruler-mode.el (ruler-mode):
13047 * savehist.el (savehist-mode):
13048 * scroll-all.el (scroll-all-mode):
13049 * scroll-bar.el (scroll-bar-mode):
13050 * server.el (server-mode):
13051 * shell.el (shell-dirtrack-mode):
13052 * simple.el (auto-fill-mode, transient-mark-mode)
13053 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13054 (line-number-mode, column-number-mode, size-indication-mode)
13055 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13056 * strokes.el (strokes-mode):
13057 * time.el (display-time-mode):
13058 * t-mouse.el (gpm-mouse-mode):
13059 * tool-bar.el (tool-bar-mode):
13060 * tooltip.el (tooltip-mode):
13061 * type-break.el (type-break-mode-line-message-mode)
13062 (type-break-query-mode):
13063 * view.el (view-mode):
13064 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13065 (global-whitespace-mode, global-whitespace-newline-mode):
13066 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13067
a3839de2
SM
13068 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13069 Fix autogenerated docstring.
06e21633 13070
5214e501
JL
130712011-10-19 Juri Linkov <juri@jurta.org>
13072
13073 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13074 by checking environment variables "DESKTOP_SESSION" and
13075 "XDG_CURRENT_DESKTOP". (Bug#9779)
13076
195f8db9
JL
130772011-10-19 Juri Linkov <juri@jurta.org>
13078
13079 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13080 (browse-url-chromium-program, browse-url-chromium-arguments):
13081 New defcustoms.
13082 (browse-url-default-browser): Check for `browse-url-chromium' and
13083 call `browse-url-chromium-program'.
13084 (browse-url-chromium): New command. (Bug#9779)
13085
343a34ff
JB
130862011-10-18 Juanma Barranquero <lekktu@gmail.com>
13087
13088 * facemenu.el (list-colors-duplicates): On Windows, detect more
13089 duplicates by assuming that only colors matching "^System" are
13090 special "system colors". (Bug#9722)
13091
6978a151
SM
130922011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13093
13094 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13095 to distinguish the author from the committer.
13096
6a80b297
MA
130972011-10-18 Michael Albinus <michael.albinus@gmx.de>
13098
13099 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13100
b31a5677
JK
131012011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13102
13103 * international/mule.el (sgml-html-meta-auto-coding-function):
13104 Add support for detecting encoding in HTML5 specified only as
13105 <meta charset="UTF-8">. Implementation just makes http-equiv and
13106 content-type parts from HTML4 encoding string optional. (Bug#9716)
13107
80c6d77f
GM
131082011-10-18 Glenn Morris <rgm@gnu.org>
13109
13110 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13111
08b0fee8
CY
131122011-10-18 Chong Yidong <cyd@gnu.org>
13113
13114 * faces.el (cursor): Doc fix.
13115
67e729a5
CY
131162011-10-17 Chong Yidong <cyd@gnu.org>
13117
13118 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13119
343a34ff 131202011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13121
13122 * dirtrack.el (dirtrack): Support shell buffers with path
13123 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13124
0bc06380
TZ
131252011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13126
13127 * json.el: Bump version to 1.3 and note change in History.
13128 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13129
8b79f3e0
SM
131302011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13131
5a7c536b
SM
13132 * comint.el (comint-insert-input, comint-send-input)
13133 (comint-get-old-input-default, comint-backward-matching-input)
13134 (comint-next-prompt): Use nil instead of `input' for field property of
13135 past user input (bug#114).
13136
96a8a0df
SM
13137 * minibuffer.el (completion--replace): Inherit surrounding properties
13138 (bug#114).
13139 (minibuffer-complete-and-exit): Use it.
13140
8b79f3e0
SM
13141 * comint.el (comint--table-subvert): Quote the all-completions output
13142 (bug#9160).
13143
b8f7ff0d
MR
131442011-10-17 Martin Rudalics <rudalics@gmx.at>
13145
8b79f3e0 13146 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13147
b8f7ff0d 13148 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13149 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13150 entries and separate them from frame entries.
13151
c235b555
GM
131522011-10-15 Glenn Morris <rgm@gnu.org>
13153
13154 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13155 Doc fixes.
13156
6bbfa6e1
CY
131572011-10-15 Chong Yidong <cyd@stupidchicken.com>
13158
8b79f3e0
SM
13159 * net/network-stream.el (network-stream-open-starttls):
13160 Improve detection of failure due to lack of TLS support.
ec5c990d 13161
6bbfa6e1
CY
13162 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13163 putting the input text in front and in bold.
13164
98488977
SM
131652011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13166
3d1337be
SM
13167 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13168
ee0b45e4
SM
13169 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13170 empty buffer.
13171
98488977
SM
13172 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13173 unread-command-events rather than pushing yet-another event.
13174
186f4720
EZ
131752011-10-14 Eli Zaretskii <eliz@gnu.org>
13176
13177 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13178 the explanation of the possible choices. Make the options passed
13179 to completing-read shorter.
13180
8b7a997c
AM
131812011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13182
13183 * textmodes/flyspell.el (flyspell-large-region): Make sure
13184 extended character mode is used if defined (Bug#1339).
13185
12587bbb
EZ
131862011-10-13 Eli Zaretskii <eliz@gnu.org>
13187
13188 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13189 character info for LRE, LRO, RLE, and RLO characters by appending
13190 an invisible PDF.
12587bbb 13191
bad41229
SM
131922011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13195 even in case of error; add debug spec; simplify data flow.
13196 (with-timeout-handler): Remove.
13197
28dbc92f
MA
131982011-10-12 Michael Albinus <michael.albinus@gmx.de>
13199
13200 Fix Bug#6019, Bug#9315.
13201
13202 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13203 complete `buffer-file-name', the local file name part could look
13204 remotely (for example on VMS).
13205
13206 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13207 `tramp-run-real-handler'.
13208 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13209 already quoted by '"'.
13210
13211 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13212 Let `file-name-handler-alist' be nil, the local file name part
13213 could look remotely (for example on VMS).
13214
e1b0b23a
SM
132152011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13216
13217 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13218 from here...
13219 (flyspell-post-command-hook): ...to here.
13220
a120bde9
SM
132212011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13222
13223 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13224 if not needed.
13225 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13226 using completion. Protect against "slow" callers.
13227 Remove the "message hack".
13228
7ce7717b
JL
132292011-10-11 Juri Linkov <juri@jurta.org>
13230
13231 * isearch.el (isearch-lazy-highlight-word): New variable.
13232 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13233 Use it. (Bug#9727)
13234
c02ee9d6
GM
132352011-10-11 Glenn Morris <rgm@gnu.org>
13236
13237 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13238 like f90-previous-statement does.
13239
93e616fd 132402011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13241
1f190e73 13242 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13243 only in interactive use, to avoid error.
13244
af7b6078
SM
132452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * minibuffer.el (completion-file-name-table): Fix last change,
13248 i.e. ignore normal errors but not the other ones.
13249
0563dae9
MR
132502011-10-10 Martin Rudalics <rudalics@gmx.at>
13251
13252 * window.el (special-display-buffer-names)
13253 (special-display-regexps): Remove some remnants of earlier
13254 changes from doc-strings.
366ca7f3
MR
13255 (quit-windows-on): New function.
13256
13257 * vc/vc.el (vc-revert, vc-rollback):
13258 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13259 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13260 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13261
49677495
MR
132622011-10-09 Martin Rudalics <rudalics@gmx.at>
13263
13264 * window.el (frame-auto-hide-function): Add version tag.
13265 (Bug#9699)
13266
56f2d1e1
MA
132672011-10-09 Michael Albinus <michael.albinus@gmx.de>
13268
13269 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13270 condition.
13271
112a6592
LL
132722011-10-09 Leo Liu <sdl.web@gmail.com>
13273
13274 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13275 (Bug#9701)
13276
0812589b
GM
132772011-10-08 Glenn Morris <rgm@gnu.org>
13278
13279 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13280 before the first code statement zero indent. (Bug#9690)
13281
b2b0776e
CY
132822011-10-08 Chong Yidong <cyd@stupidchicken.com>
13283
13284 * simple.el (count-words-region): Always count in the region.
13285 Report the number of lines and characters too.
13286 (count-words): New command, which counts in the buffer if the
13287 region is inactive, as count-words-region used to.
13288 (count-words--message): New function. Handle plurals.
13289 (count-lines-region): Make it an alias for count-words-region.
13290
13291 * bindings.el (esc-map): Replace count-lines-region with
13292 count-words-region.
13293
c557cd6b
MR
132942011-10-08 Martin Rudalics <rudalics@gmx.at>
13295
13296 * window.el (window--delete): Delete dedicated frame
13297 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13298 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13299
61a57ef4 133002011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13301
3a7d293b 13302 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13303
c3833279
CY
133042011-10-07 Chong Yidong <cyd@stupidchicken.com>
13305
13306 * bindings.el ([M-left],[M-right]): Bind to left-word and
13307 right-word respectively.
13308
21ce8245
GM
133092011-10-07 Glenn Morris <rgm@gnu.org>
13310
13311 * cus-start.el (debug-on-quit): Fix custom type.
13312
6d823bb2
LMI
133132011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13314
0181e193
LMI
13315 * subr.el (define-key-after): Clarify that the function is not
13316 useful for non-menu keymaps.
13317
6d823bb2
LMI
13318 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13319
8e3459ce 133202011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13321
21ce8245 13322 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13323 in current minibuffer (Fix bug with recursive minibuffers).
13324
a1c2d21e
CY
133252011-10-06 Chong Yidong <cyd@stupidchicken.com>
13326
13327 * progmodes/gdb-mi.el (gdb): Doc fix.
13328
5a4cf282
MR
133292011-10-05 Martin Rudalics <rudalics@gmx.at>
13330
13331 * window.el (frame-auto-hide-function): New option replacing
13332 frame-auto-delete. Suggested by Stefan Monnier.
13333 (window--delete): Call frame-auto-hide-function instead of
13334 investigating frame-auto-delete.
c96111ea
MR
13335 (window-point-1, set-window-point-1): New functions.
13336 (window-in-direction, record-window-buffer, window-state-get-1)
13337 (display-buffer-record-window): Use window-point-1 instead of
13338 window-point.
13339 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13340
9854542e
SM
133412011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13344
8943cfb0
GM
133452011-10-05 Glenn Morris <rgm@gnu.org>
13346
13347 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13348 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13349
647ab967
LL
133502011-10-05 Leo Liu <sdl.web@gmail.com>
13351
13352 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13353 works with buffer object.
13354
3ddfbced
SM
133552011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13356
13357 * mpc.el (mpc-tool-bar-map): Add labels.
13358
bdfa5dd2
GM
133592011-10-04 Glenn Morris <rgm@gnu.org>
13360
13361 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13362
0e2070b5
MR
133632011-10-04 Martin Rudalics <rudalics@gmx.at>
13364
13365 * window.el (window--delete): New function.
13366 (frame-auto-delete): Resuscitate option.
13367 (bury-buffer, replace-buffer-in-windows)
13368 (quit-window): Rewrite using window--delete.
13369 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13370 Pass display-buffer-mark-dedicated to window--display-buffer-2
13371 (Bug#9639).
13372
3dc61a09
SM
133732011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13374
915a9b64
SM
13375 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13376 returns a list (bug#9554). Add remote file name completion.
13377 * comint.el (comint--table-subvert): Curry and get quote&unquote
13378 functions as arguments.
13379 (comint--complete-file-name-data): Adjust call accordingly.
13380 * pcomplete.el (pcomplete--table-subvert): Remove.
13381 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13382
3dc61a09
SM
13383 * minibuffer.el (completion-table-case-fold): Use currying.
13384 (completion--styles-type, completion--cycling-threshold-type):
13385 New constants.
13386 (completion-styles, completion-category-overrides)
13387 (completion-cycle-threshold): Use them.
13388 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13389 completion-table-case-fold.
13390
8ea0a993
SB
133912011-10-03 Stephen Berman <stephen.berman@gmx.net>
13392
13393 * minibuffer.el (completion-category-overrides): Fix type of styles
13394 and add more user friendly tags (bug#9660).
13395
8c24b7f6
SM
133962011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13397
13398 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13399 (mule-input-method-string): New widget.
13400 (default-input-method, language-info-custom-alist): Use it.
13401
428fe61a
SM
134022011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13403
32c1fffd
SM
13404 * pcomplete.el: Require comint.
13405 (pcomplete--common-suffix): Remove.
13406 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13407 (pcomplete--table-subvert): Sync with comint--table-subvert.
13408 (pcomplete--entries): Use comint-completion-file-name-table.
13409 * comint.el (comint-unquote-filename): Simplify.
13410 (comint-completion-file-name-table): New function (bug#9616).
13411 (comint--complete-file-name-data): Use it.
13412
428fe61a
SM
13413 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13414 (pcmpl-gnu-tar-buffer): Remove.
13415 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13416 around. Make sure pcomplete-suffix-list is only changed temporarily.
13417 Don't look inside the tar's file if it's too large.
428fe61a 13418
04c52e2f
CY
134192011-10-01 Chong Yidong <cyd@stupidchicken.com>
13420
ce3cefcc
CY
13421 * cus-edit.el (custom-mode-map):
13422 * epa.el (epa-key-list-mode-map):
13423 * man.el (Man-mode-map):
13424 * startup.el (splash-screen-keymap):
13425 * simple.el (special-mode-map): Use scroll-up-command and
13426 scroll-down-command.
13427
13428 * progmodes/idlw-help.el (idlwave-help-mode-map):
13429 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13430 * net/newst-plainview.el (newsticker-mode-map):
13431 * emulation/ws-mode.el (wordstar-mode-map):
13432 * emulation/vi.el (vi-com-map):
13433 * calc/calc-graph.el (calc-graph-show-dumb):
13434 * term/sun.el (terminal-init-sun):
13435 * term/ns-win.el (global-map):
13436 * progmodes/grep.el (grep-mode-map):
13437 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13438 * mail/rmail.el (rmail-mode-map):
13439 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13440
04c52e2f
CY
13441 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13442 custom-safe-themes as special.
13443
79adf8c8
JD
134442011-10-01 Julien Danjou <julien@danjou.info>
13445
13446 * notifications.el (notifications-notify): Fix docstring.
13447
63bd50d3
PS
134482011-10-01 Per Starbäck <per@starback.se>
13449
13450 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13451
199e4c7e
MR
134522011-09-30 Martin Rudalics <rudalics@gmx.at>
13453
13454 * startup.el (command-line-1): Fix last fix by inserting
13455 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13456 (Bug#9605) and (Bug#9636)
199e4c7e 13457
fe5f08dd
EZ
134582011-09-29 Eli Zaretskii <eliz@gnu.org>
13459
13460 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13461 window is hscrolled, move by logical lines. (Bug#9607)
13462 (line-move-visual): Update the doc string to the above effect.
13463
b5516bbd
MR
134642011-09-29 Martin Rudalics <rudalics@gmx.at>
13465
ccee00c0
MR
13466 * window.el (display-buffer-record-window): When WINDOW is the
13467 selected window use `point' instead of `window-point'. (Bug#9626)
13468
b5516bbd
MR
13469 * startup.el (command-line-1): Use insert-before-markers when
13470 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13471
b5516bbd
MR
13472 * help.el (help-window): Remove variable.
13473
52aa0014
GM
134742011-09-29 Glenn Morris <rgm@gnu.org>
13475
13476 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13477
df9a7357
JB
134782011-09-29 Juanma Barranquero <lekktu@gmail.com>
13479
13480 * descr-text.el (describe-char-categories): Accept category
13481 descriptions more than one line long.
13482
a8406c20
SM
134832011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13484
88d9610c
SM
13485 * simple.el (delete-trailing-whitespace): Fix last change.
13486
a5daf810
SM
13487 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13488 Don't confuse "y => 3" as the beginning of a `y' operation.
13489
a8406c20
SM
13490 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13491 object has more than 4 slots (bug#9613).
13492
a239d4e9
JB
134932011-09-28 Juanma Barranquero <lekktu@gmail.com>
13494
13495 * subr.el (with-output-to-temp-buffer):
13496 * net/quickurl.el (quickurl, quickurl-browse-url):
13497 Fix typos in docstrings.
13498
693fbdb6
EZ
134992011-09-27 Eli Zaretskii <eliz@gnu.org>
13500
13501 * minibuffer.el (completion-styles)
13502 (completion-category-overrides): Cross reference each other in doc
13503 strings.
13504
8b457e28
GM
135052011-09-27 Glenn Morris <rgm@gnu.org>
13506
13507 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13508 to split-string. (Bug#9606)
13509
85a16208
LMI
135102011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13511
13512 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13513 (bug#9615).
13514
502f9ebd
CY
135152011-09-27 Chong Yidong <cyd@stupidchicken.com>
13516
13517 * emacs-lisp/package.el (list-packages): Fix echo area message.
13518
7690bdea
LL
135192011-09-27 Leo Liu <sdl.web@gmail.com>
13520
13521 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13522
e2ee6f30
MA
135232011-09-25 Michael Albinus <michael.albinus@gmx.de>
13524
13525 * net/dbus.el (dbus-unregister-object): Don't release services for
13526 registered signals. (Bug#9581)
13527
f3f98342
TZ
135282011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13529
13530 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13531 function that picks between cfengine 2 and 3 support
13532 automatically. Update docs accordingly.
13533
dd7aa8dd
KH
135342011-09-22 Kenichi Handa <handa@m17n.org>
13535
13536 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13537 ZERO.
13538 (indian-itrans-v5-table-for-tamil): New variable.
13539 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13540
3f2b07f8
KM
135412011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13542
13543 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13544 that's true if the current command involved collapsing of text.
13545 It's reset to false at the beginning of the next command.
13546 (allout-post-command-business): Move the cursor to the beginning
13547 of entry if the cursor is hidden and collapsing activity just
13548 happened.
13549
371d6a61
CY
135502011-09-24 Chong Yidong <cyd@stupidchicken.com>
13551
13552 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13553 tracking (Bug#9541).
13554
2ac2721a
UJ
135552011-09-24 Ulf Jasper <ulf.jasper@web.de>
13556
13557 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13558 (newsticker-show-news): Automatically load html rendering package
13559 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13560 because w3m-fill-column is let-bound" and the error "Symbol's value
13561 as variable is void: w3m-fill-column".
2ac2721a 13562
fac7ae53
MA
135632011-09-24 Michael Albinus <michael.albinus@gmx.de>
13564
13565 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13566 Release services only if they are defined. (Bug#9581)
13567
e08b633b
RS
135682011-09-23 Richard Stallman <rms@gnu.org>
13569
e488d29c
RS
13570 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13571 distinguish start of paragraph from start of its text.
13572
19c38752
RS
13573 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13574
e08b633b
RS
13575 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13576 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13577 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13578
0a39f27e
AS
135792011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13580
13581 * international/mule-diag.el (mule-diag): Insert a newline after
13582 each fontset description.
13583
db4e950d
SM
135842011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * simple.el (delete-trailing-whitespace):
13587 Document last change; simplify.
13588
eca3f3ea
PW
135892011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13590
d68e189a
PW
13591 * simple.el (delete-trailing-whitespace): Also delete
13592 extra newlines at the end of the buffer.
13593
eca3f3ea
PW
13594 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13595 (picture-newline): Use forward-line so as to ignore fields.
13596
01c157cc
SM
135972011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13598
13599 * subr.el (with-wrapper-hook): Fix edebug spec.
13600
022de23e
LMI
136012011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13602
13603 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13604 (bug#4538).
13605
91683089
MA
136062011-09-23 Michael Albinus <michael.albinus@gmx.de>
13607
eca3f3ea
PW
13608 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13609 Fix nasty bug using wrong cached values.
91683089 13610
5bdd6fa4
AM
136112011-09-23 Alan Mackenzie <acm@muc.de>
13612
13613 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13614
97adfb97
CY
136152011-09-23 Chong Yidong <cyd@stupidchicken.com>
13616
13617 * window.el (pop-to-buffer): Ensure right window is selected if we
13618 chose another frame.
13619
d4ef2b50
EZ
136202011-09-22 Eli Zaretskii <eliz@gnu.org>
13621
13622 * simple.el (what-cursor-position): Use get-char-property-change
13623 and next-single-char-property-change, to be able to show display
13624 properties that come from overlays as well as text properties.
13625
72258fe5
CY
136262011-09-22 Chong Yidong <cyd@stupidchicken.com>
13627
13628 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13629
13630 * cmuscheme.el (run-scheme, switch-to-scheme):
13631 * cus-edit.el (customize-group, custom-buffer-create)
13632 (customize-browse):
13633 * info.el (info):
13634 * shell.el (shell):
13635 * mail/sendmail.el (mail):
13636 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13637
8f098516
RS
136382011-09-22 Richard Stallman <rms@gnu.org>
13639
13640 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13641 move back only to line beg, don't move back over blank lines.
13642
e74f1bb6
MA
136432011-09-22 Michael Albinus <michael.albinus@gmx.de>
13644
13645 * files.el (copy-directory): Set directory attributes only in case
13646 they could be retrieved from the source directory. (Bug#9565)
13647
bfeef8b6
DK
136482011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13649
13650 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13651 (hs-find-block-beginning, hs-hide-level-recursive):
13652 Ignore strings as well as comments. (Bug#9502)
13653
7e423bb8
AS
136542011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13655
13656 * progmodes/sql.el (sql-comint-postgres):
13657 Convert port number to a string. (Bug#9566)
13658
b4d72fcf
MR
136592011-09-22 Martin Rudalics <rudalics@gmx.at>
13660
13661 * window.el (quit-window): Undedicate window when switching to
13662 previous buffer. Reported by Thierry Volpiatto
13663 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13664 (special-display-popup-frame): When popping up a new frame reset
13665 its previous buffers to nil. Simplify code.
b4d72fcf 13666
a7b88dc6
MA
136672011-09-21 Michael Albinus <michael.albinus@gmx.de>
13668
13669 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13670 and process filter, as done also in `shell-command'.
13671
cf4eacfd
MR
136722011-09-21 Martin Rudalics <rudalics@gmx.at>
13673
eca3f3ea 13674 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13675 Call set-window-start with NOFORCE argument t.
13676 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13677 (quit-window): Reword doc-string. Handle new format of
13678 quit-restore parameter. Don't delete window if it has a
13679 previous buffer we can show instead of the present one.
13680 (display-buffer-record-window): Rewrite using a new format for
13681 the quit-restore window parameter
13682 (special-display-popup-frame, display-buffer-same-window)
13683 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13684 (display-buffer-pop-up-window, display-buffer-use-some-window):
13685 Adapt symbol passed to display-buffer-record-window.
13686 * help.el (help-window-setup): Handle new format of quit-restore
13687 parameter.
13688
8d28cb95
SM
136892011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13690
94ab793f
SM
13691 * faces.el (face-list): Fix docstring (bug#9564).
13692
8d28cb95
SM
13693 * window.el (display-buffer--action-function-custom-type):
13694 Don't include internal functions in the Custom interface.
13695
3820edeb
JL
136962011-09-20 Juri Linkov <juri@jurta.org>
13697
13698 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13699 (Info-forward-node, Info-backward-node, Info-next-preorder)
13700 (Info-last-preorder): Use it. (Bug#9528)
13701
5147931d
JL
137022011-09-20 Juri Linkov <juri@jurta.org>
13703
13704 * info.el (Info-last-preorder): Visit last menu item only when
13705 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13706
cf499a1a
JD
137072011-09-20 Julien Danjou <julien@danjou.info>
13708
13709 * password-cache.el (password-cache-remove): Remove entries even if the
13710 value is nil, so that password with a nil value (negative caching) is
13711 possible to invalidate.
13712
f84e2fe2
LM
137132011-09-20 Lawrence Mitchell <wence@gmx.li>
13714
13715 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13716 all whitespace around breakpoint. (Bug#9553)
13717 (f90-find-breakpoint): Only break at whitespace inside a comment.
13718
78054a46
SM
137192011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * minibuffer.el (completion-file-name-table): Keep track of errors.
13722 (completion-table-with-predicate): Handle the case where pred1 is nil.
13723 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13724
345083b2
SM
137252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13726
e24e27be
SM
13727 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13728 (debugger-return-value): Signal an error if the debugging context does
13729 not await any return value.
13730
345083b2
SM
13731 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13732 * image-mode.el (image-toggle-display-text)
13733 (image-toggle-display-image): Stay away from evil `intangible'.
13734
08d355e3
LL
137352011-09-19 Leo Liu <sdl.web@gmail.com>
13736
13737 * replace.el (occur-revert-arguments): Make it permanent-local.
13738 (occur-mode): Don't call font-lock-defontify.
13739
f01da43f
CY
137402011-09-19 Chong Yidong <cyd@stupidchicken.com>
13741
13742 * net/ldap.el (ldap-search-internal): Don't push empty search
13743 result (Bug#9508).
13744
b6072fa6
SM
137452011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13746
13747 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13748
443d6696
MA
137492011-09-19 Michael Albinus <michael.albinus@gmx.de>
13750
13751 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13752 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13753
7cc6e154
JL
137542011-09-18 Juri Linkov <juri@jurta.org>
13755
13756 * buff-menu.el (Buffer-menu-mode-map):
13757 * dired.el (dired-mode-map):
13758 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13759 (lisp-interaction-mode-map):
13760 * emacs-lisp/package.el (package-menu-mode-map):
13761 * epa.el (epa-key-list-mode-map):
13762 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13763 (menu-bar-options-menu):
13764 * outline.el (outline-mode-menu-bar-map):
13765 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13766 * vc/vc-dir.el (vc-dir-menu-map):
13767 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13768 Capitalize non-function content words in menu item strings.
13769
13770 * dired.el (dired-mode-map): Add menu item for
13771 `image-dired-dired-toggle-marked-thumbs'.
13772
80302a81
JL
137732011-09-18 Juri Linkov <juri@jurta.org>
13774
13775 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13776 to `isearch-case-fold-search' and restore its original value
13777 after the `isearch-mode' call.
13778
46c5cf66
JL
137792011-09-18 Juri Linkov <juri@jurta.org>
13780
13781 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13782 because `zgrep' returns 1 for successful matches (bug#9226).
13783
d18b513b
JL
137842011-09-18 Juri Linkov <juri@jurta.org>
13785
13786 * info.el (Info-extract-menu-node-name): Check the second match
13787 for empty string (second test-case of bug#9528).
13788 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13789 intermediate nodes to the history (first test-case of bug#9528).
13790
72753f87
JL
137912011-09-18 Juri Linkov <juri@jurta.org>
13792
13793 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13794 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13795
c9384295
JL
137962011-09-18 Juri Linkov <juri@jurta.org>
13797
1154d12e
JB
13798 * info.el (Info-file-supports-index-cookies):
13799 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13800 outputs one more line for long file names (bug#4142).
c9384295 13801
d473dce8
CY
138022011-09-18 Chong Yidong <cyd@stupidchicken.com>
13803
13804 * newcomment.el (comment-normalize-vars): If prompting for
13805 comment-start, set comment-start-skip too (Bug#8424).
13806
2176854d
JB
138072011-09-18 Johan Bockgård <bojohan@gnu.org>
13808
13809 * icomplete.el: Fix previous fix of Bug#5849.
13810 (icomplete-mode): Don't set completion-show-inline-help.
13811 (icomplete-minibuffer-setup): Set completion-show-inline-help
13812 locally during icompletion.
13813
3aace4e4
CY
138142011-09-18 Chong Yidong <cyd@stupidchicken.com>
13815
c940224f
CY
13816 * woman.el (woman2-process-escapes): Don't delete unrecognized
13817 escapes (Bug#7843).
13818
3aace4e4
CY
13819 * files.el (inhibit-first-line-modes-regexps): Add image files.
13820 (hack-local-variables-prop-line): Return nil for malformed
13821 prop-lines (Bug#9044).
13822
710dec63
MA
138232011-09-18 Michael Albinus <michael.albinus@gmx.de>
13824
13825 * net/tramp.el (top): Don't require 'shell.
13826 (tramp-methods): Fix docstring.
13827 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13828 Return complete remote file name. Handle "smb" case.
13829 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13830 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13831
13832 * net/tramp-compat.el (top): Require 'shell.
13833
13834 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13835 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13836 `tramp-current-host'.
13837 (tramp-get-remote-tmpdir): Remove.
13838
13839 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13840 `tramp-tmpdir' entries.
13841 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13842 (tramp-smb-handle-file-attributes): Ignore errors.
13843 (tramp-smb-wait-for-output): Check also for process end.
13844
5d5ac8ec
LMI
138452011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13846
13847 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13848 when sending QUIT (bug#9312).
13849
8c0f49f0
CY
138502011-09-17 Chong Yidong <cyd@stupidchicken.com>
13851
13852 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13853 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13854 occur-mode-display-occurrence.
13855 (occur-edit-mode): Add usage message.
13856 (occur-cease-edit): New command.
13857 (occur-after-change-function): Use text properties to find the
13858 position of the prefix text.
13859 (occur-engine): Set stickiness of prefix text properties.
13860
8f1383f7
GM
138612011-09-17 Glenn Morris <rgm@gnu.org>
13862
13863 * progmodes/etags.el (complete-tag):
13864 Fix call to completion-in-region. (Bug#9526)
13865
744ba0e3
JL
138662011-09-17 Juri Linkov <juri@jurta.org>
13867
13868 * textmodes/ispell.el (ispell-word): Add to the error message
13869 the word, ispell program name and current dictionary (bug#9121).
13870 (ispell-tex-arg-end): Capitalize "error" in the error message.
13871
d9bbf400
AS
138722011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13873
13874 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13875 check. (Bug#4251)
13876
8da11505
JL
138772011-09-17 Juri Linkov <juri@jurta.org>
13878
13879 * window.el (window-safe-min-height, window-safe-min-width):
13880 Fix typos (followup to bug#9522).
13881
a91adc7e
SJ
138822011-09-17 Sven Joachim <svenjoac@gmx.de>
13883
13884 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13885
064f328a
EZ
138862011-09-16 Eli Zaretskii <eliz@gnu.org>
13887
13888 * simple.el (line-move): If goal-column is set, move by logical
13889 lines, not by display lines. (Bug#971)
13890 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13891 to reflect the above change.
13892
e69df516
SM
138932011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * image.el (imagemagick-register-types): Use regexp-opt.
13896
cbb0f9ab
CY
138972011-09-15 Chong Yidong <cyd@stupidchicken.com>
13898
13899 * window.el (display-buffer-base-action): Rename from
13900 display-buffer-default-action. Make default value empty.
13901 (display-buffer-overriding-action): Convert to defvar.
13902 (display-buffer-fallback-action): New var.
13903
25322144
CY
139042011-09-15 Chong Yidong <cyd@stupidchicken.com>
13905
13906 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13907 declaration.
13908 (package--add-to-archive-contents): If there is a duplicate entry
13909 with an older version, remove it.
13910 (package-menu-mark-delete, package-menu-mark-install)
13911 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13912 (package-menu-mark-obsolete-for-deletion):
13913 Use package-menu-get-status instead of a regexp search.
25322144
CY
13914 (package-menu-get-status): Use tabulated-list-entry.
13915 (package-menu-mark-upgrades): New command.
d770725a 13916 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13917 (package-menu-execute): Do installation before deletion.
13918 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13919 instead of checking major-mode.
13920 (package-menu--find-upgrades): New function.
13921
7520339c
LMI
139222011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13923
13924 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13925 passwords in the log buffer.
65a046c4
LMI
13926 (smtpmail-process-filter): Update the process marker so that the
13927 "broken by peer" status message is inserted in the right place.
7520339c 13928
d3c30954
SM
139292011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13930
3fe48822
SM
13931 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13932 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13933 bibtex-completion-at-point-function.
13934 (bibtex-completion-at-point-function): Use them.
13935
1b8b3954
SM
13936 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13937
d3c30954
SM
13938 * mpc.el (mpc-constraints-tag-lookup): New function.
13939 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13940 also to browser "album|playlist".
13941
72779976
JL
139422011-09-14 Juri Linkov <juri@jurta.org>
13943
13944 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13945 (isearch-edit-string): Use length of `isearch-string' when
13946 `isearch-fail-pos' returns nil.
13947 (isearch-message): Remove duplicate code and call
13948 `isearch-fail-pos' with arg `t'.
13949
a0bf2bcd
CY
139502011-09-14 Chong Yidong <cyd@stupidchicken.com>
13951
17bb0a2d
CY
13952 * replace.el (occur-mode-goto-occurrence): Don't force using other
13953 window (Bug#9499).
13954
a0bf2bcd
CY
13955 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13956
f678e0b6
MR
139572011-09-14 Martin Rudalics <rudalics@gmx.at>
13958
13959 * window.el (display-buffer-window): Remove.
13960 (display-buffer-record-window): Use help-setup window parameter
13961 instead of variable display-buffer-window.
13962 (display-buffer-function, special-display-buffer-names)
13963 (special-display-function): Mention help-setup parameter instead
13964 of display-buffer-window in doc-string.
d3c30954
SM
13965 * help.el (help-window-setup): New argument help-window.
13966 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13967 Reword some messages.
13968 (with-help-window): Pass window used for displaying the buffer
13969 to help-window-setup. Don't set display-buffer-window.
13970
8e39b2e8
GM
139712011-09-13 Glenn Morris <rgm@gnu.org>
13972
13973 * emacs-lisp/debug.el (debugger-make-xrefs):
13974 Preserve point. (Bug#9462)
13975
85e9c04b
CY
139762011-09-13 Chong Yidong <cyd@stupidchicken.com>
13977
13978 * window.el (window-deletable-p): Use next-frame.
13979
1b36ed6a
MR
139802011-09-13 Martin Rudalics <rudalics@gmx.at>
13981
13982 * window.el (window-auto-delete): Remove.
13983 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13984 dedication and previous buffers.
1b36ed6a
MR
13985 (switch-to-prev-buffer): Don't delete window.
13986 (delete-windows-on): Delete a window's frame if and only if the
13987 window is dedicated.
13988 (replace-buffer-in-windows): Delete buffer's window or frame if
13989 and only if window is dedicated.
13990 (quit-window): Handle quit-restore as before last change.
4d61f28d 13991 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13992
ef8ef9fb
CY
139932011-09-13 Chong Yidong <cyd@stupidchicken.com>
13994
13995 * window.el (window-deletable-p): Never delete the last frame on a
13996 given terminal.
13997
b2cba41e
GM
139982011-09-13 Glenn Morris <rgm@gnu.org>
13999
14000 * help.el (describe-key-briefly): Copy previous standard-output change.
14001
51553db6 140022011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14003
14004 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14005
b7556719
GM
140062011-09-13 Glenn Morris <rgm@gnu.org>
14007
14008 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14009 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14010
64b51947
CY
140112011-09-12 Chong Yidong <cyd@stupidchicken.com>
14012
14013 * dired-aux.el (dired-mark-read-string): Don't return default
14014 value on empty input (Bug#9361).
14015 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14016 Omit initial minibuffer contents.
14017 (dired-do-chmod): Signal an error on empty input.
14018 (dired-mark-read-string): Don't return default on empty input.
14019
14020 * files.el (file-modes-symbolic-to-number): Doc fix.
14021
393a301e
SM
140222011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14023
14024 * international/mule-cmds.el (ucs-completions): Remove.
14025 (read-char-by-name): Use complete-with-action instead; add metadata.
14026
fa5660f9
CY
140272011-09-11 Chong Yidong <cyd@stupidchicken.com>
14028
14029 * window.el (display-buffer--action-function-custom-type)
14030 (display-buffer--action-custom-type): New vars.
14031 (display-buffer-alist, display-buffer-default-action)
14032 (display-buffer-overriding-action): Add defcustom types.
14033
4a592f66
CY
14034 * frame.el (delete-other-frames): Doc fix (Bug#276).
14035
73d56dbd
LMI
140362011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14037
14038 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14039
37ac18a3
CY
140402011-09-11 Chong Yidong <cyd@stupidchicken.com>
14041
14042 Change modes that used same-window-* vars to use switch-to-buffer.
14043
14044 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14045 Use switch-to-buffer.
14046
14047 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14048 (customize-browse, custom-buffer-create-other-window):
14049 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14050
14051 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14052 (Info-prev, Info-up, Info-speedbar-goto-node)
14053 (info-display-manual): Use switch-to-buffer.
14054 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14055
14056 * mail/sendmail.el (mail): Use switch-to-buffer.
14057 (mail-recover): Use switch-to-buffer-other-window.
14058
14059 * cmuscheme.el (run-scheme, switch-to-scheme):
14060 * ielm.el (ielm):
14061 * shell.el (shell):
14062 * net/rlogin.el (rlogin):
14063 * net/telnet.el (telnet, rsh):
14064 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14065
10195bd6
AS
140662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14067
14068 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14069
b322f63a
LMI
140702011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14071
39d7fed6
LMI
14072 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14073 so don't mention it (bug#9301).
ba5a81f1 14074 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14075
ee0e9f11
LMI
14076 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14077 match `x', `w32' and `ns', like the manual says (bug#9029).
14078
0b1c89c1 14079 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14080 (process-kill-buffer-query-function): Mention the buffer name in
14081 the query.
0b1c89c1 14082
77549ea8
LMI
14083 * image-mode.el (image-next-line): The line parameter is mandatory
14084 (bug#9258).
14085
803ef892
LMI
14086 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14087 which can be useful (bug#9301).
14088
12980837
LMI
14089 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14090
91054f8f
LMI
14091 * subr.el (match-string): Mention that the current buffer should
14092 be the same as the search was done in (bug#9282).
14093
b322f63a
LMI
14094 * facemenu.el: Disable the remove-* commands if the mark isn't
14095 active (bug#9162).
14096
3199b96f
CY
140972011-09-10 Chong Yidong <cyd@stupidchicken.com>
14098
14099 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14100 of display-buffer.
14101 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14102
14103 * replace.el (occur-mode-goto-occurrence)
14104 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14105 and display-buffer.
14106
14107 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14108 display-buffer.
14109
14110 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14111 special-display and same-window variables.
14112 (mail-other-window): Use switch-to-buffer-other-window.
14113 (mail-other-frame): USe switch-to-buffer-other-frame.
14114
393a301e
SM
14115 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14116 Use display-buffer-other-frame.
3199b96f
CY
14117 (gdb-display-gdb-buffer): Use pop-to-buffer.
14118
14119 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14120
14121 * progmodes/python.el: Don't set same-window-buffer-names.
14122
14123 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14124
14125 * window.el (display-buffer-alist): Add *Python*.
14126
8319e0bf
CY
141272011-09-10 Chong Yidong <cyd@stupidchicken.com>
14128
14129 * window.el (display-buffer-alist): Add entry for buffers
14130 previously handled same-window-*.
14131 (display-buffer-alist, display-buffer-default-action)
14132 (display-buffer-overriding-action): Mark as risky.
14133 (display-buffer-alist): Document action function changes.
14134 (display-buffer--same-window-action)
14135 (display-buffer--other-frame-action): New variables.
14136 (switch-to-buffer, display-buffer-other-frame): Use them.
14137 (display-buffer): Rename reuse-frame entry to reusable-frames.
14138 (display-buffer-reuse-selected-window): Function deleted.
14139 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14140 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14141 (display-buffer-special): New function.
14142 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14143 display-buffer-reuse-or-pop-window. Split off special-display
14144 part into display-buffer-special.
14145 (display-buffer-use-some-window): Don't perform any special
14146 pop-up-frames handling.
14147 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14148 (display-buffer--maybe-same-window): Rename from
0d3ff375 14149 display-buffer-maybe-same-window.
8319e0bf 14150
919a69aa
CY
14151 * info.el: Don't set same-window-regexps.
14152 (info-setup): New function.
14153 (info-other-window, info): Call it.
14154
14155 * cus-edit.el: Don't set same-window-regexps.
14156 (customize-group): New argument.
14157 (customize-group-other-window): Use it.
14158 (customize-face, customize-face-other-window): Likewise.
14159 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14160
8319e0bf
CY
14161 * net/rlogin.el:
14162 * net/telnet.el:
14163 * progmodes/gud.el: Don't set same-window-regexps.
14164
14165 * cmuscheme.el:
14166 * ielm.el:
14167 * shell.el:
14168 * mail/sendmail.el:
14169 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14170
25173000
JL
141712011-09-10 Juri Linkov <juri@jurta.org>
14172
14173 * isearch.el (isearch-edit-string): Remove obsolete mention of
14174 `C-w' (`isearch-yank-word-or-char') from docstring.
14175 (isearch-query-replace): Fix typo in docstring (bug#9466).
14176
056e44ef
JL
141772011-09-10 Juri Linkov <juri@jurta.org>
14178
14179 * paren.el (show-paren-function): Don't show escaped parens.
14180 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14181
c3760c17
EZ
141822011-09-10 Eli Zaretskii <eliz@gnu.org>
14183
14184 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14185 (mm-default-file-encoding): Remove autoload forms, they are
14186 replaced with autoload cookies in mml.el and mm-encode.el.
14187 (mail-add-attachment): New command.
14188 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14189 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14190 the doc string.
14191 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14192
fece895e
RT
141932011-09-10 Reuben Thomas <rrt@sc3d.org>
14194
e69df516
SM
14195 * simple.el (count-words-region): Use buffer if there's no region
14196 (bug#9429).
fece895e 14197
5e68ce4a
JL
141982011-09-09 Juri Linkov <juri@jurta.org>
14199
14200 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14201 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14202 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14203
0a6b9622
AM
142042011-09-09 Alan Mackenzie <acm@muc.de>
14205
14206 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14207 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14208
14a29deb
EZ
142092011-09-09 Eli Zaretskii <eliz@gnu.org>
14210
14211 Fix for Savannah bug#9392.
14212 * simple.el (mail-encode-mml): New defvar.
14213
14214 * mail/rmail.el (mail-encode-mml): Add a defvar.
14215 (rmail-enable-mime-composing): Default to t.
14216 (rmail-forward): Use MIME method of forwarding only if both
14217 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14218 Set mail-encode-mml non-nil if the MIME method was used.
14219
14220 * mail/sendmail.el (mml-to-mime): Add autoload form.
14221 (mail-encode-mml): Add a defvar.
14222 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14223 to nil.
14224 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14225 message through mml-to-mime, and reset mail-encode-mml to nil.
14226
28c45130
GM
142272011-09-09 Glenn Morris <rgm@gnu.org>
14228
14229 * woman.el (woman-if-body): When processing an .el block,
14230 do not delete the next .el block as well. (Bug#9447)
69f4b618 14231 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14232
9b1c252e
MR
142332011-09-08 Martin Rudalics <rudalics@gmx.at>
14234
14235 * window.el (window-deletable-p): Make sure window is live before
14236 invoking window-prev-buffers.
14237
567457e3
LL
142382011-09-08 Leo Liu <sdl.web@gmail.com>
14239
14240 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14241
97f05794
JL
142422011-09-08 Juri Linkov <juri@jurta.org>
14243
14244 * progmodes/compile.el (compilation-environment): Make it
14245 a defcustom (bug#8340).
14246
8b0874b5
MR
142472011-09-08 Martin Rudalics <rudalics@gmx.at>
14248
14249 * window.el (frame-auto-delete): Rename to window-auto-delete.
14250 Make it control auto-deletion of windows and/or frames.
14251 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14252 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14253 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14254 Rewrite handling of case when window/frame can be deleted.
14255 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14256 argument t. (Bug#9456)
8b0874b5 14257
4feb6e73
CY
142582011-09-07 Chong Yidong <cyd@stupidchicken.com>
14259
14260 * help-mode.el (help-mode): Restore autoload.
14261
91ab9c13
JL
142622011-09-07 Juri Linkov <juri@jurta.org>
14263
14264 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14265 `compilation-environment'. Set buffer-local
14266 `compilation-environment' to `thisenv' later after (funcall mode).
14267 (Bug#8340)
14268
14269 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14270 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14271 instead of replacing its value. (Bug#8340)
14272
0527e251
JL
142732011-09-07 Juri Linkov <juri@jurta.org>
14274
14275 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14276 based on text properties put by `grep-filter' instead of matching
14277 escape sequences.
14278 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14279 to the value of `grep-error-screen-columns' (bug#9438).
14280
249f792c
JL
142812011-09-07 Juri Linkov <juri@jurta.org>
14282
14283 * simple.el (next-error-highlight, next-error-highlight-no-select):
14284 Doc fix (bug#9432).
14285
ff7271b9
OT
142862011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14287
14288 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14289 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14290
183fc730
LL
142912011-09-07 Leo Liu <sdl.web@gmail.com>
14292
14293 * net/rcirc.el (rcirc-mode): Conditionally initialize
14294 rcirc-input-ring.
14295
77694924
SM
142962011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14297
14298 * emacs-lisp/find-func.el (find-function-C-source): Only set
14299 find-function-C-source-directory after checking that we found a source
14300 file there (bug#9440).
14301
d809b8eb
AM
143022011-09-06 Alan Mackenzie <acm@muc.de>
14303
14304 * isearch.el (isearch-other-meta-char): Wherever a key list is
14305 unread, "unread" the prefix arg, too. This fixes bug #8901.
14306
453de99f
OG
143072011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14308
14309 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14310
90439906
JL
143112011-09-05 Juri Linkov <juri@jurta.org>
14312
14313 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14314
f62bd846
JL
143152011-09-05 Juri Linkov <juri@jurta.org>
14316
14317 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14318 keeping point where processing of grep matches begins, and
14319 continue to delete remaining escape sequences from the same point.
14320 (grep-filter): Make leading zero optional in "0?1;31m" because
14321 git-grep emits "\033[1;31m" escape sequences unlike expected
14322 "\033[01;31m" as GNU Grep does (bug#9408).
14323 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14324
045820ec
JL
143252011-09-05 Juri Linkov <juri@jurta.org>
14326
14327 * subr.el (y-or-n-p): Capitalize "yes".
14328
f5e29b9b
MA
143292011-09-04 Michael Albinus <michael.albinus@gmx.de>
14330
14331 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14332 `tramp-cache-unload-hook' where appropriate.
14333 (tramp-methods): Rename `tramp-remote-sh' to
14334 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14335 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14336
14337 * net/tramp-sh.el (top): Don't require 'shell.
14338 (tramp-methods): Add `tramp-remote-shell' and
14339 `tramp-remote-shell-args' entries.
14340 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14341 (tramp-sh-handle-shell-command): Remove.
14342 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14343 Use `tramp-remote-shell'.
14344
2784c434
CY
143452011-09-03 Chong Yidong <cyd@stupidchicken.com>
14346
393a301e 14347 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14348 (sendmail-query-once): Save directly to send-mail-function.
14349 Update message-send-mail-function too.
14350
14351 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14352
464cdf56
CS
143532011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14354
14355 * progmodes/python.el (python-mode-map): Use correct function to
14356 start python interpreter from menu-bar (as reported by Geert
14357 Kloosterman).
14358 (inferior-python-mode-map): Fix typo.
393a301e 14359 (python-shell-map): Remove.
464cdf56 14360
d37e5c87
DD
143612011-09-03 Deniz Dogan <deniz@dogan.se>
14362
14363 * net/rcirc.el (rcirc-print): Simplify code for
14364 rcirc-scroll-show-maximum-output. There is no need to walk
14365 through all windows to find the right one.
14366
f3ada0ee
CS
143672011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14368
14369 * help.el (help-return-method): Doc fix.
14370
1f3c99ca
MR
143712011-09-03 Martin Rudalics <rudalics@gmx.at>
14372
14373 * window.el (window-deletable-p): Don't return a non-nil value
14374 when there's a buffer that was shown in the window before.
14375 (Bug#9419)
393a301e
SM
14376 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14377 Set window's previous buffers to nil.
1f3c99ca 14378
a3cf097f
EZ
143792011-09-03 Eli Zaretskii <eliz@gnu.org>
14380
14381 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14382 newline before and after the tag line, so it doesn't interfere
14383 with determining the paragraph direction of bidirectional text.
14384
3d03de90
LL
143852011-09-03 Leo Liu <sdl.web@gmail.com>
14386
14387 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14388
c3313451
CY
143892011-09-02 Chong Yidong <cyd@stupidchicken.com>
14390
393a301e 14391 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14392 (pop-to-buffer): Change interactive spec. Pass second argument
14393 directly to display-buffer.
14394 (display-buffer): Fix interactive spec. Use functionp to
14395 distinguish between a function and a list of functions.
14396
14397 * abbrev.el (edit-abbrevs):
14398 * arc-mode.el (archive-extract):
14399 * autoinsert.el (auto-insert):
14400 * bookmark.el (bookmark-bmenu-list):
14401 * files.el (find-file):
14402 * view.el (view-buffer):
14403 * progmodes/compile.el (compilation-goto-locus):
14404 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14405
89894cd8
CY
144062011-09-02 Chong Yidong <cyd@stupidchicken.com>
14407
14408 * window.el (display-buffer-alist): Doc fix.
14409 (display-buffer): Add docstring. Don't treat
14410 display-buffer-default specially.
14411 (display-buffer-reuse-selected-window)
14412 (display-buffer-same-window, display-buffer-maybe-same-window)
14413 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14414 (display-buffer-pop-up-window)
14415 (display-buffer-reuse-or-pop-window)
14416 (display-buffer-use-some-window): New functions.
14417 (display-buffer-default-action): Use them.
393a301e 14418 (display-buffer-default): Delete.
89894cd8
CY
14419 (pop-to-buffer-1): Fix choice of actions.
14420
ae0bc9fb
SM
144212011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 * minibuffer.el (completion--insert-strings): Don't get confused by
14424 completion entries that end with an LF char.
14425
e9d90883
EZ
144262011-09-01 Eli Zaretskii <eliz@gnu.org>
14427
14428 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14429
437014c8
CY
144302011-09-01 Chong Yidong <cyd@stupidchicken.com>
14431
14432 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14433 (display-buffer-same-window, display-buffer-other-window):
14434 New functions.
437014c8
CY
14435 (pop-to-buffer-1): New function. Use the above.
14436 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14437 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14438
14439 * view.el (view-buffer-other-window, view-buffer-other-frame):
14440 Just use pop-to-buffer.
14441
a5e063d5
TV
144422011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14443
14444 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14445
793d32bb
WH
144462011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14447
14448 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14449
d65e4c15
RS
144502011-08-31 Richard Stallman <rms@gnu.org>
14451
14452 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14453 of the separation of rmail-view-buffer from rmail-buffer.
14454 If you say no to "replace original", the decrypt is in the
14455 view buffer. If you say yes, the decrypt goes into the
14456 rmail buffer also.
14457
f818cd2a
MR
144582011-08-31 Martin Rudalics <rudalics@gmx.at>
14459
14460 * window.el (display-buffer-window): Rewrite doc-string.
14461 (display-buffer-record-window): New function.
14462 (display-buffer-macro-specifiers)
14463 (display-buffer-even-window-sizes, display-buffer-set-height)
14464 (display-buffer-set-width, display-buffer-in-window)
14465 (display-buffer-reuse-window, display-buffer-split-specifiers)
14466 (display-buffer-side-specifiers, display-buffer-split-window-1)
14467 (display-buffer-split-window, display-buffer-split-atom-window)
14468 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14469 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14470 (display-buffer-other-window-means-other-frame)
14471 (display-buffer-normalize-special)
14472 (display-buffer-normalize-default)
14473 (display-buffer-normalize-argument)
14474 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14475 (display-buffer-normalize-specifiers, display-buffer-frame)
14476 (display-buffer-same-window, display-buffer-same-frame)
14477 (display-buffer-other-window)
14478 (display-buffer-same-frame-other-window)
14479 (display-buffer-other-frame, pop-to-buffer-same-window)
14480 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14481 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14482 (switch-to-buffer-same-frame)
14483 (switch-to-buffer-other-window-same-frame)
14484 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14485 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14486 (display-buffer-alist-set): Remove.
14487 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14488 (special-display-regexps, special-display-function):
14489 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14490 parameter.
14491 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14492 (special-display-frame-alist, special-display-popup-frame)
14493 (same-window-buffer-names, same-window-regexps, same-window-p)
14494 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14495 (split-window-preferred-function, split-height-threshold)
14496 (split-width-threshold, window-splittable-p)
14497 (split-window-sensibly, window--try-to-split-window)
14498 (window--frame-usable-p, even-window-heights)
14499 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14500 (window--display-buffer-2, display-buffer-other-frame):
14501 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14502 (display-buffer-default, display-buffer-assq-regexp): New functions.
14503 (display-buffer-alist): Rewrite doc-string.
14504 (display-buffer-default-action)
14505 (display-buffer-overriding-action): New variables.
14506 (display-buffer, switch-to-buffer): Rewrite.
14507 (pop-to-buffer): Restore Emacs 23 behavior but use
14508 window-normalize-buffer-to-display.
14509 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14510 Restore Emacs 23 behavior but use
14511 window-normalize-buffer-to-switch-to.
14512 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14513 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14514 Rewrite using Emacs 23 options.
f818cd2a 14515
5bc3b51d
MA
145162011-08-31 Michael Albinus <michael.albinus@gmx.de>
14517
14518 * net/tramp.el (tramp-root-regexp): Remove.
14519 (tramp-completion-file-name-regexp-unified)
14520 (tramp-completion-file-name-regexp-separate)
14521 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14522 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14523 (tramp-drop-volume-letter): Simplify definition.
14524 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14525
b1a4f8e1
SM
145262011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14529 (bug#9356).
14530
5664fa7b
RT
145312011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14532
b1a4f8e1 14533 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14534
9a45d6c3
JL
145352011-08-29 Juri Linkov <juri@jurta.org>
14536
14537 * isearch.el (isearch-done): Don't display message "Mark saved"
14538 when arg `edit' is non-nil to prevent its flicker in the echo area.
14539
fb87e0fb
CY
145402011-08-28 Chong Yidong <cyd@stupidchicken.com>
14541
14542 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14543 obsolete packages for deletion.
14544
09ac1c2a
CS
145452011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14546
14547 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14548 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14549 view-mode from help-mode.
14550 (help-xref-override-view-map): Remove.
14551 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14552 view-mode is not used anymore.
14553
7a1ff57f
CY
145542011-08-28 Chong Yidong <cyd@stupidchicken.com>
14555
14556 * server.el (server-port): Doc fix.
14557
b9696605
CY
14558 * cus-theme.el (custom-theme-choose-mode): Inherit from
14559 special-mode (Bug#9124).
14560 (custom-theme-choose-mode-map): Add special-mode to parent.
14561
ef8cdf8c
AM
145622011-08-28 Alan Mackenzie <acm@muc.de>
14563
14564 * progmodes/cc-fonts.el
14565 (c-make-font-lock-BO-decl-search-function): New function.
14566 (c-basic-matchers-after - "Fontify the clauses after various
14567 keywords"): Extract the three keyword lists for the 3 erroneous
14568 constructs from the list of four, and use the new function above
14569 in place of an old one.
14570
27de4e20
DD
145712011-08-28 Deniz Dogan <deniz@dogan.se>
14572
14573 * net/rcirc.el (rcirc-insert-prev-input)
14574 (rcirc-insert-next-input): Remove unused argument.
14575
356a3681
SM
145762011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14579
3fc9b218
AM
145802011-08-27 Alan Mackenzie <acm@muc.de>
14581
14582 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14583 handle function pointer parameters properly.
14584
538a061c
MR
145852011-08-27 Martin Rudalics <rudalics@gmx.at>
14586
14587 * window.el (display-buffer-reuse-window): Fix case where
14588 selected window was reused with non-nil OTHER-WINDOW argument.
14589 (Bug#9381)
14590
35b1c40c
DD
145912011-08-27 Deniz Dogan <deniz@dogan.se>
14592
14593 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14594 oftc's NickServ messages.
14595
2f6a3e79
GM
145962011-08-27 Glenn Morris <rgm@gnu.org>
14597
14598 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14599
7254299e
CY
146002011-08-26 Chong Yidong <cyd@stupidchicken.com>
14601
14602 * emacs-lisp/package.el (package-install): Call package-initialize
14603 if called interactively.
14604
f8ccf167
LL
146052011-08-26 Leo Liu <sdl.web@gmail.com>
14606
14607 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14608
3e8cd5ce
JL
146092011-08-25 Juri Linkov <juri@jurta.org>
14610
14611 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14612 `search-whitespace-regexp' (bug#9364).
14613
93eb7113
JL
146142011-08-25 Juri Linkov <juri@jurta.org>
14615
14616 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14617 `regexp-search-ring' to their global values to protect from
14618 updating by `read-from-minibuffer' (bug#9185).
14619
f65d1611
JL
146202011-08-25 Juri Linkov <juri@jurta.org>
14621
14622 * textmodes/ispell.el (ispell-command-loop): Add newline
14623 at the end of the "Use option `i'..." line.
14624
f1cf7a31
JL
146252011-08-25 Juri Linkov <juri@jurta.org>
14626
14627 * battery.el (display-battery-mode): If `battery-status-function'
14628 or `battery-mode-line-format' is nil, display the message and set
14629 `display-battery-mode' to nil (bug#9363).
14630
0c95fcf7
EZ
146312011-08-25 Eli Zaretskii <eliz@gnu.org>
14632
14633 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14634 bidi-string-mark-left-to-right; they are unnecessary now.
14635
a2ebe600
DD
146362011-08-25 Deniz Dogan <deniz@dogan.se>
14637
14638 * net/quickurl.el: Documentation typo fixes.
14639
e4ed06f1
CY
146402011-08-25 Chong Yidong <cyd@stupidchicken.com>
14641
14642 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14643
e5f1c99e
GM
146442011-08-25 Glenn Morris <rgm@gnu.org>
14645
b2948976
GM
14646 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14647
e5f1c99e
GM
14648 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14649 (smtpmail-via-smtp): Handle nil response from smtp.
14650
f22f4808
JL
146512011-08-24 Juri Linkov <juri@jurta.org>
14652
14653 * proced.el (proced-marked): Inherit from `error' instead of
14654 `font-lock-warning-face'.
14655
14656 * ibuffer.el (ibuffer-marked-face): Change default face from
14657 `font-lock-warning-face' to `warning'.
14658 (ibuffer-deletion-face): Change default face from
14659 `font-lock-type-face' to `error'.
14660
14661 * battery.el (battery-update): Use the face `error' instead of
14662 `font-lock-warning-face' (bug#6117).
14663
6a93965e
JL
146642011-08-24 Juri Linkov <juri@jurta.org>
14665
14666 * faces.el (success): Change face color from "Green3" to
14667 "ForestGreen" on light background (bug#9353).
14668
1ed43b09
CY
146692011-08-24 Chong Yidong <cyd@stupidchicken.com>
14670
5664fa7b
RT
14671 * window.el (quit-window): Rename from quit-restore-window.
14672 Use same arglist as old quit-window.
1ed43b09
CY
14673 (frame-auto-delete): Doc fix.
14674
14675 * view.el (view-mode-exit): Use quit-window.
14676
11dcdbb2
JL
146772011-08-24 Juri Linkov <juri@jurta.org>
14678
14679 * isearch.el (isearch-ring-adjust1): Start visiting previous
14680 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14681 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14682 for empty search string (when the last search string is reused
14683 automatically) to adjust the isearch ring to the last element and
14684 prepare the correct index for further M-p commands (bug#9185).
14685
de62b4df
KH
146862011-08-24 Kenichi Handa <handa@m17n.org>
14687
14688 * international/ucs-normalize.el: If decomposition property of
14689 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14690 nil.
14691 (nfd, nfkd): Likewise.
14692
963b492b
SM
146932011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14694
14695 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14696 from process filters aren't reliably transmitted to the surrounding
14697 accept-process-output.
14698 (mpc-proc-check): New function.
14699 (mpc-proc-sync): Use it (bug#8293)
14700
93b6b5e1
SM
147012011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14702
14703 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14704 Add compatibility functions (bug#9313).
14705
bca633fb
EZ
147062011-08-23 Eli Zaretskii <eliz@gnu.org>
14707
b177498a
EZ
14708 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14709
6df6ae42 14710 * international/uni-bidi.el: Regenerate.
bca633fb 14711
0902a04e
KH
147122011-08-23 Kenichi Handa <handa@m17n.org>
14713
14714 * international/charprop.el:
14715 * international/uni-bidi.el:
14716 * international/uni-category.el:
14717 * international/uni-combining.el:
14718 * international/uni-comment.el:
14719 * international/uni-decimal.el:
14720 * international/uni-decomposition.el:
14721 * international/uni-digit.el:
14722 * international/uni-lowercase.el:
14723 * international/uni-mirrored.el:
14724 * international/uni-name.el:
14725 * international/uni-numeric.el:
14726 * international/uni-old-name.el:
14727 * international/uni-titlecase.el:
14728 * international/uni-uppercase.el: Regenerate.
14729
3bbf23bc
MR
147302011-08-23 Martin Rudalics <rudalics@gmx.at>
14731
14732 * help.el (help-window-setup): Fix message displayed when other
14733 window is reused. (Bug#9341)
14734
b3fd59bd
SM
147352011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14736
1802e444
SM
14737 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14738 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14739
b3fd59bd
SM
14740 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14741 Mark obsolete.
14742 * shell.el (shell-parse-pcomplete-arguments): New function.
14743 (shell-completion-vars): Use it instead (bug#9160).
14744
4eb61348
SM
147452011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14746
867cab74
SM
14747 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14748 strings and comments (bug#9333).
14749
4eb61348
SM
14750 * emacs-lisp/debug.el (debug-arglist): New function.
14751 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14752 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14753
262a1439
JL
147542011-08-22 Juri Linkov <juri@jurta.org>
14755
56ee679c
JL
14756 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14757 Revert regexp that highlights output switches to its old
14758 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14759
262a1439
JL
14760 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14761 to check for empty output (bug#9226).
14762
f13f86fb
CY
147632011-08-22 Chong Yidong <cyd@stupidchicken.com>
14764
14765 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14766 symbol-constituent as the default, as that stops font-lock from
14767 working properly (Bug#8843).
14768
c65c9622
LMI
147692011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14770
14771 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14772 `coding-system-for-*' around the process open call to avoid
14773 auth-source side effects.
e7f2c178 14774 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14775 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14776 probe hangs.
c65c9622 14777
23a8a5ab
CY
147782011-08-21 Chong Yidong <cyd@stupidchicken.com>
14779
ff98b2dd
CY
14780 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14781
23a8a5ab
CY
14782 * emacs-lisp/find-func.el (find-function-noselect): New arg
14783 lisp-only.
14784
14785 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14786 signal an error for built-in functions (Bug#6664).
14787
f5e3c598
LMI
147882011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14789
14790 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14791 (smtpmail-try-auth-methods): Use it.
14792
a3f2468a
CY
147932011-08-21 Chong Yidong <cyd@stupidchicken.com>
14794
2c34e8da
CY
14795 * font-lock.el (font-lock-fontify-region)
14796 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14797 (font-lock-default-unfontify-buffer)
14798 (font-lock-default-fontify-region)
14799 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14800
b3fd59bd
SM
14801 * progmodes/compile.el (compilation-error-properties):
14802 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14803 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14804 `ant' regexp.
ee31aabc 14805
a3f2468a
CY
14806 * net/browse-url.el (browse-url-firefox): Don't call
14807 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14808
8e999f70
GM
148092011-08-20 Glenn Morris <rgm@gnu.org>
14810
c21a496a
GM
14811 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14812
59ee0542
GM
14813 * tutorial.el (tutorial--default-keys): Update some default bindings.
14814
8e999f70
GM
14815 * files.el (hack-local-variables): Fully ignore case for "mode:".
14816
e3715033
AM
148172011-08-20 Alan Mackenzie <acm@muc.de>
14818
14819 Resolve invalid use of a regexp in regexp-opt.
14820
4d61f28d
JB
14821 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14822 detection for a java annotation.
e3715033 14823
4d61f28d 14824 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14825 detection for a java annotation.
14826
4d61f28d
JB
14827 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14828 handling for java.
e3715033
AM
14829 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14830
04ed2e9c
CY
148312011-08-20 Chong Yidong <cyd@stupidchicken.com>
14832
14833 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14834 (Bug#9274).
14835
826cee64
AM
148362011-08-20 Alan Mackenzie <acm@muc.de>
14837
58179cce 14838 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14839 such a construct. Mainly for when jit-lock etc. starts a chunk
14840 here.
14841
58179cce 14842 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14843 variable.
58179cce 14844 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14845 c-make-font-lock-search-function.
14846 (c-make-font-lock-search-function): Use the above function.
14847 (c-make-font-lock-context-search-function): New function.
14848 (c-cpp-matchers): Enhance the preprocessor expression case with
14849 the above function
14850 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14851 which takes an expression.
14852
14853 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14854
13009bd8
MR
148552011-08-20 Martin Rudalics <rudalics@gmx.at>
14856
14857 * window.el (display-buffer-reuse-window)
14858 (display-buffer-pop-up-window): Don't reuse or split a side
14859 window.
14860
9234ff7f
GM
148612011-08-19 Glenn Morris <rgm@gnu.org>
14862
14863 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14864 Downcase "Mode:". (Bug#9331)
9234ff7f 14865
f635daa1
CY
148662011-08-18 Chong Yidong <cyd@stupidchicken.com>
14867
14868 * international/characters.el: Add L and R categories.
14869
14870 * subr.el (bidi-string-mark-left-to-right): Rename from
14871 string-mark-left-to-right. Use category search.
14872
14873 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14874
bc987f8b
JL
148752011-08-18 Juri Linkov <juri@jurta.org>
14876
14877 * faces.el (error, warning, success): New faces with definitions
14878 copied from old default values of `font-lock-warning-face',
14879 `compilation-warning', `compilation-info' (bug#6117).
14880
14881 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14882
14883 * progmodes/compile.el (compilation-error): Inherit from `error'.
14884 (compilation-warning): Inherit from `warning'.
14885 (compilation-info): Inherit from `success'.
14886
14887 * dired.el (dired-marked): Inherit from `warning'.
14888 (dired-flagged): Inherit from `error'.
14889
57173b96
LMI
148902011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14891
3e79eb87
LMI
14892 * mail/smtpmail.el (auth-source): Require to avoid problems with
14893 binding variables (bug#9298). Also clean up some unused
14894 autoloads.
14895
b3fd59bd
SM
14896 * net/network-stream.el (network-stream-open-starttls):
14897 Support using starttls.el without using gnutls-cli.
57173b96 14898
02b404de
JL
148992011-08-17 Juri Linkov <juri@jurta.org>
14900
14901 * progmodes/grep.el (rgrep): Handle the case when
14902 `grep-find-command' is a cons cell (bug#9278).
14903
8c9177f2
MR
149042011-08-17 Martin Rudalics <rudalics@gmx.at>
14905
14906 * window.el (display-buffer-pop-up-frame): Run frame creation
14907 function with BUFFER current (as special-display-popup-frame
14908 does). Reported by Drew Adams.
14909
3644a0ab
DU
149102011-08-17 Daiki Ueno <ueno@unixuser.org>
14911
14912 * epa-mail.el: Simplify GnuPG group expansion using
14913 epg-expand-group.
14914 (epa-mail-group-alist, epa-mail-group-modtime)
14915 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14916 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14917 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14918 Remove.
14919
5e617bc2 149202011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14921
14922 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14923
9c4aeabf
AM
149242011-08-16 Alan Mackenzie <acm@muc.de>
14925
14926 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14927 Correct, to avoid the inside of macros.
14928
3a99bf64
RS
149292011-08-16 Richard Stallman <rms@gnu.org>
14930
04963aa8
RS
14931 * epa-mail.el: Handle GnuPG group definitions.
14932 (epa-mail-group-alist, epa-mail-group-modtime)
14933 (epa-mail-gnupg-conf-file): New variables.
14934 (epa-mail-parse-groups, epa-mail-sync-groups)
14935 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14936 (epa-mail-expand-recipients): New functions.
14937 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14938
177549d0
RS
14939 * mail/rmail.el (rmail-epa-decrypt): New command.
14940
fe38beef
RS
14941 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14942 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14943 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14944 (epa-decrypt-armor-in-region): Make error message clearer.
14945
934eacb9
SM
149462011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14947
14948 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14949 and "a2b" to "ab" for `prefix'.
14950
d024fb4e
CY
149512011-08-14 Chong Yidong <cyd@stupidchicken.com>
14952
14953 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14954 filter groups.
de148fee
CY
14955 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14956 Fourquet (Bug#8804).
d024fb4e 14957
62f1ca49
JB
149582011-08-12 Juanma Barranquero <lekktu@gmail.com>
14959
14960 * startup.el (argi): Declare as global variable (bug#9275).
14961
9ccaaa4b
CY
149622011-08-12 Chong Yidong <cyd@stupidchicken.com>
14963
14964 * subr.el (string-mark-left-to-right): Search the entire string
14965 for RTL script, not just the terminating character. Doc fix.
14966
a3dae87a
SM
149672011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14968
6cd18349
SM
14969 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14970 New function.
14971 (js--regexp-literal, js-syntax-propertize-function): Remove.
14972 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14973 (js-mode-map): Don't rebind electric keys.
14974 (js-insert-and-indent): Remove.
14975 (js-mode): Setup electric-layout and electric-indent instead.
14976
a3dae87a
SM
14977 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14978
9d5cb631
DU
149792011-08-12 Daiki Ueno <ueno@unixuser.org>
14980
14981 * epa.el (epa-progress-callback-function): Fix the logic of
14982 displaying progress.
14983 * epa-file.el (epa-file-insert-file-contents): Make progress
14984 display more user-friendly.
14985 (epa-file-write-region): Ditto.
14986
3e26a4a2
CY
149872011-08-10 Chong Yidong <cyd@stupidchicken.com>
14988
14989 * subr.el (string-mark-left-to-right): New function.
14990
14991 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14992 Use string-mark-left-to-right.
14993 (list-buffers-noselect): Caller changed.
14994
a3dae87a
SM
14995 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14996 Use string-mark-left-to-right.
3e26a4a2
CY
14997 (tabulated-list-print): Recenter after moving point.
14998
ac8cf6e6
JL
149992011-08-10 Juri Linkov <juri@jurta.org>
15000
15001 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15002 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15003 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15004
8d96c9a4
CY
150052011-08-09 Chong Yidong <cyd@stupidchicken.com>
15006
15007 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15008 (Bug#7554).
15009
7be1c708 150102011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15011
15012 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15013 character. (Bug#6594)
15014
37e11a63
CY
150152011-08-08 Chong Yidong <cyd@stupidchicken.com>
15016
839dde57
CY
15017 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15018 (image-dired--with-db-file): New macro.
15019 (image-dired-write-tags, image-dired-remove-tag)
15020 (image-dired-create-gallery-lists, image-dired-write-comments)
15021 (image-dired-get-comment, image-dired-mark-tagged-files)
15022 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15023 (image-dired-gallery-generate): Use insert-file-contents.
15024
37e11a63
CY
15025 * time.el (display-time-world-list, display-time-world-display):
15026 * time-stamp.el (time-stamp-string):
15027 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15028 set-time-zone-rule (Bug#7337).
15029
0b4946c4
DU
150302011-08-08 Daiki Ueno <ueno@unixuser.org>
15031
15032 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15033 (epg-error-to-string, epg-errors-to-string): New function.
15034 (epg-wait-for-completion): Reverse errors list.
15035 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15036 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15037 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15038 (epg-sign-keys, epg-generate-key-from-file)
15039 (epg-generate-key-from-string): Format errors by using
15040 epg-errors-to-string (bug#9255).
15041 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15042
75bfc667
JL
150432011-08-07 Juri Linkov <juri@jurta.org>
15044
15045 * faces.el (list-faces-display): Remove extra angle bracket
15046 from `help-mode-map'.
15047
15048 * info.el (Info-history-toc-nodes): Doc fix.
15049
15050 * longlines.el (longlines-mode): Doc fix.
15051
673e08bb
SM
150522011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15053
4640dd88
SM
15054 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15055 of statements and in a few more cases (bug#9183).
15056
673e08bb
SM
15057 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15058 New functions.
15059 (cl-transform-lambda): Use them (bug#9239).
15060
89b3f019
MR
150612011-08-05 Martin Rudalics <rudalics@gmx.at>
15062
15063 * window.el (display-buffer-same-window)
15064 (display-buffer-same-frame, display-buffer-other-window)
15065 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15066 (pop-to-buffer-other-window)
15067 (pop-to-buffer-same-frame-other-window)
15068 (pop-to-buffer-other-frame): Make them defuns.
15069 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15070
640c8776
SM
150712011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * subr.el (make-composed-keymap): Move from C. Change calling
15074 convention, and improve docstring to bring attention to a subtle point.
15075 * minibuffer.el (completing-read-default): Adjust accordingly.
15076
63648a95
MA
150772011-08-03 Michael Albinus <michael.albinus@gmx.de>
15078
15079 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15080 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15081
15082 * net/trampver.el: Update release number.
15083
b796c9b7
SM
150842011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15085
15086 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15087 "in" (bug#9190).
15088
2239d7d5
LMI
150892011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15090
e07dd7c3
LMI
15091 * mail/sendmail.el (sendmail-query-once): Restore the current
15092 buffer after querying (bug#9074).
15093
0e6a2bd7
LMI
15094 * dired.el (dired-flagged): Use different faces for marked and
15095 flagged files (bug#6117).
15096
ce887515
LMI
15097 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15098 (bug#4433).
15099
92f2affc
LMI
15100 * ido.el (ido-mode): Switch off the message if called
15101 non-interactively.
15102
57d5aff0
LMI
15103 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15104 before 587, since it appears that that's more likely to work for
15105 more people.
15106
98cd6c18 15107 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15108 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15109 exist.
15110
b96dec83
LMI
15111 * info.el: Remove the `Info-beginning-of-buffer' function
15112 (bug#8325).
15113
b796c9b7
SM
15114 * net/network-stream.el (network-stream-open-starttls):
15115 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15116
d90e2ea0
MR
151172011-08-01 Martin Rudalics <rudalics@gmx.at>
15118
15119 * window.el (display-buffer-in-window): Don't set dedicated status
15120 of window here (Bug#9215).
15121 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15122 (display-buffer-pop-up-side-window)
b796c9b7 15123 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15124
cca09170
SM
151252011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15126
15127 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15128 before binding generated-autoload-file.
15129
027b979c
DD
151302011-08-01 Deniz Dogan <deniz@dogan.se>
15131
15132 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15133
3c7ee4f3
MA
151342011-07-30 Michael Albinus <michael.albinus@gmx.de>
15135
15136 Sync with Tramp 2.2.2.
15137
15138 * net/trampver.el: Update release number.
15139
2cc8e51a
JL
151402011-07-30 Juri Linkov <juri@jurta.org>
15141
15142 * dired-aux.el (dired-touch-initial): Remove function.
15143 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15144 current time, and `default' to the last modification time of the
15145 current marked file (bug#6887).
15146
a514d856
JM
151472011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15148
15149 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15150 numeric argument to read-number (bug#9163).
a514d856 15151
8a7eddd7
MA
151522011-07-27 Michael Albinus <michael.albinus@gmx.de>
15153
15154 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15155 connection process, it could be nil.
15156
1ddd96f5
LL
151572011-07-27 Leo Liu <sdl.web@gmail.com>
15158
15159 Simplify url handling in rcirc-mode.
15160
15161 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15162 (rcirc-browse-url-at-mouse): Remove.
15163 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15164
b248a85d
AM
151652011-07-26 Alan Mackenzie <acm@muc.de>
15166
15167 Fontify bitfield declarations properly.
15168
15169 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15170 (c-symbol-chars): Now exported as a lang variable.
15171 (c-not-primitive-type-keywords): New lang variable.
15172
15173 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15174 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15175 parsed as a bitfield declaration.
b248a85d 15176
b796c9b7
SM
15177 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15178 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15179 (c-punctuation-in): New function.
15180 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15181 declarations properly.
15182
68575ab0
UJ
151832011-07-26 Ulf Jasper <ulf.jasper@web.de>
15184
15185 * calendar/icalendar.el (icalendar--all-events): Take care of
15186 multiple vcalendars in a single file.
b796c9b7 15187 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15188
0f0a88b9
DD
151892011-07-25 Deniz Dogan <deniz@dogan.se>
15190
15191 * image.el (insert-image): Clarifying docstring.
15192
0b3f36df
MA
151932011-07-24 Michael Albinus <michael.albinus@gmx.de>
15194
15195 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15196 `tramp-send-command-and-check' if there is no error.
15197 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15198
a9901f61
AM
151992011-07-22 Alan Mackenzie <acm@muc.de>
15200
15201 Prevent cc-langs.elc being loaded at run time.
15202
15203 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15204 cc-langs.
15205
4d61f28d 15206 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15207 "(require 'cc-langs)". Quote a form so it will evaluate at
15208 (cc-mode's) compilation time.
15209
11d074b2
MA
152102011-07-22 Michael Albinus <michael.albinus@gmx.de>
15211
15212 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15213 loading. (Bug#9114)
15214
938b94c8
MR
152152011-07-21 Martin Rudalics <rudalics@gmx.at>
15216
15217 * window.el (display-buffer-pop-up-window)
15218 (display-buffer-pop-up-side-window)
15219 (display-buffer-in-side-window): Call display-buffer-set-height
15220 and display-buffer-set-width after setting the new window's
b796c9b7 15221 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15222
bfa4f190
SS
152232011-07-20 Sam Steingold <sds@gnu.org>
15224
15225 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15226 (etags-tags-included-tables): Call `convert-standard-filename' on
15227 the file names contained in TAGS so that windows Emacs can handle
15228 TAGS files created by cygwin ctags.
15229
8ca42262
LMI
152302011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15231
15232 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15233 which apparently didn't work.
15234
5db2afd2 152352011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15236
5db2afd2
RW
15237 * proced.el (proced-send-signal): For *Marked Processes* buffer
15238 put point at beginning of buffer.
15239
92e15d10
SB
152402011-07-19 Stephen Berman <stephen.berman@gmx.net>
15241
15242 * proced.el (proced-format): Make header lines align with the text
15243 (bug#1779).
15244
1bfd59e5
LMI
152452011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15246
15247 * view.el (view-buffer): Allow running in `special' modes if we're
15248 visiting a file (bug#8615).
15249
f5aae37c
MR
152502011-07-19 Martin Rudalics <rudalics@gmx.at>
15251
15252 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15253 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15254 New functions.
f5aae37c
MR
15255 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15256 more accurately.
15257
bf2c1571
AM
152582011-07-18 Alan Mackenzie <acm@muc.de>
15259
15260 Fontify declarators properly when, e.g., a jit-lock chunk begins
15261 inside a declaration.
15262
15263 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15264
b796c9b7
SM
15265 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15266 New function.
bf2c1571
AM
15267 (c-complex-decl-matchers): Insert reference to
15268 c-font-lock-enclosing-decls.
15269
15270 * progmodes/cc-engine.el (c-backward-single-comment):
15271 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15272 to nil around calls to (forward-comment -1).
15273
4e190b80
LMI
152742011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15275
12dc863d
LMI
15276 * image.el (put-image): Doc typo fix.
15277
a762e966
LMI
15278 * progmodes/etags.el (tags-search): Doc typo fix.
15279
4e190b80
LMI
15280 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15281 password if we get errors 550 to 554.
15282
f019fb21
LMI
152832011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15284
b796c9b7 15285 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15286
81746738
LMI
15287 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15288 indentation character (bug#6380).
15289
3ee3a1b5
LMI
15290 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15291
c82f64de
LMI
15292 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15293 to clarify what the problem is (bug#4291).
15294
f019fb21
LMI
15295 * simple.el (current-kill): Clarify what
15296 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15297 (auto-fill-mode): Document `auto-fill-function' in relation to
15298 `auto-fill-mode' (bug#2470).
f019fb21 15299
0794775d
LM
153002011-07-16 Lawrence Mitchell <wence@gmx.li>
15301
15302 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15303 method if slot is read-only (bug#9035).
15304
be39b8cc
MR
153052011-07-16 Martin Rudalics <rudalics@gmx.at>
15306
b796c9b7 15307 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15308 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15309 selected before, see discussion of (Bug#8615), (Bug#6954).
15310 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15311
6ccf7859
GM
153122011-07-15 Glenn Morris <rgm@gnu.org>
15313
15314 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15315 Respect help-form.
6ccf7859 15316
87e86684
LM
153172011-07-09 Lawrence Mitchell <wence@gmx.li>
15318
15319 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15320 (gnutls-negotiate): Use it.
15321
d6066239
LMI
153222011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15323
b796c9b7
SM
15324 * net/gnutls.el (gnutls-negotiate):
15325 Upcase `gnutls-algorithm-priority'.
d6066239 15326
bd23ebc0
GM
153272011-07-15 Glenn Morris <rgm@gnu.org>
15328
c65bca65
GM
15329 * jka-compr.el (jka-compr-verbose): Move from here...
15330 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15331 Add missing :version tag.
15332 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15333
478615cc
LMI
153342011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15335
7b41decb
LMI
15336 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15337 (gnutls-negotiate): Use it.
15338
dbc44fcd
LMI
15339 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15340
06789f97
LMI
15341 * info.el (Info-beginning-of-buffer): New command.
15342 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15343 announcing `b' as the key (bug#8325).
ab896c37 15344 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15345
c39da690
LMI
15346 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15347
3aa5f34b
LMI
15348 * international/mule-cmds.el
15349 (describe-specified-language-support): Make the error message
15350 clearer (bug#8905).
15351
4bf0979f
LMI
15352 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15353
478615cc
LMI
15354 * isearch.el (isearch-barrier): Add a doc string, since it's
15355 mentioned in a function doc string (bug#8678).
15356
75c68aa1
MR
153572011-07-15 Martin Rudalics <rudalics@gmx.at>
15358
15359 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15360 buffer argument (Bug#9083) and self-identifying label argument.
15361
a7c33da2
GM
153622011-07-15 Glenn Morris <rgm@gnu.org>
15363
15364 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15365
2f5c6024
LMI
153662011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15367
15368 * man.el (Man-fontify-manpage): Fix message when formatting the
15369 man page (bug#7929).
15370
0bb23927 153712011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15372
15373 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15374 argument LRM; if non-nil, append an invisible LRM character to the
15375 buffer name.
15376 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15377 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15378 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15379 paragraph direction.
cce4b0a7 15380
621ef9ab
LMI
153812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15382
d1583c48
LMI
15383 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15384 the man page name (bug#7929).
15385
6a57fb5f
LMI
15386 * image.el (put-image): Mention the `put-image' overlay property
15387 (bug#7834).
15388
d7956b14
LMI
15389 * scroll-bar.el (set-scroll-bar-mode): Mention that
15390 `scroll-bar-mode' lists the values (bug#7772).
15391
5b2d4a66
LMI
15392 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15393 command (bug#7729).
15394
7509a874
LMI
15395 * rect.el (apply-on-rectangle): Return the point after the last
15396 operation.
15397 (string-rectangle): Go to the point after the last operation
15398 (bug#7522).
15399
4fe74b19
LMI
15400 * printing.el (pr-toggle-region): Clarify the documentation
15401 slightly (bug#7493).
15402
b796c9b7
SM
15403 * time.el (display-time-update):
15404 Allow `display-time-mail-function' to return nil (bug#7158).
15405 Fix suggested by Detlev Zundel.
ab283561 15406
fc233c9d
LMI
15407 * vc/diff.el (diff): Clarify the order the file names are read
15408 (bug#7111).
15409
43f5740b
LMI
15410 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15411 the doc string (bug#7015).
15412
f2182a76
LMI
15413 * font-lock.el (font-lock-maximum-decoration): Mention what
15414 numeric levels mean (bug#6935).
15415
621ef9ab
LMI
15416 * startup.el (initial-buffer-choice): Don't mention the `none'
15417 selection, which is against policy.
15418
adc47434
MR
154192011-07-14 Martin Rudalics <rudalics@gmx.at>
15420
b796c9b7
SM
15421 * window.el (display-buffer-normalize-special):
15422 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15423
7e5bfb8f
EZ
154242011-07-14 Eli Zaretskii <eliz@gnu.org>
15425
15426 * subr.el (version<, version<=, version=): Mention "-CVS" and
15427 "-12345" alpha version numbers.
15428
27fa387a
CY
154292011-07-14 Chong Yidong <cyd@stupidchicken.com>
15430
15431 * bindings.el: Add advertised binding for set-mark-command
15432 (Bug#5772).
15433
8bdfa064
CY
154342011-07-14 Chong Yidong <cyd@stupidchicken.com>
15435
15436 * bindings.el (mode-line-other-buffer):
15437 * bookmark.el (bookmark-bmenu-2-window):
15438 * bs.el (bs-cycle-next, bs-cycle-previous):
15439 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15440 switch-to-buffer.
15441
15442 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15443 Delete.
8bdfa064 15444
5eba16a3
JB
154452011-07-14 Juanma Barranquero <lekktu@gmail.com>
15446
15447 * follow.el (follow-debug-message, follow-redisplay):
15448 * jka-cmpr-hook.el (with-auto-compression-mode):
15449 Fix typos in docstrings.
15450
15853710
LMI
154512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15452
a28e4607
LMI
15453 * subr.el (with-silent-modifications): Clarify somewhat what the
15454 macro inhibits (bug#6525).
15455
15853710
LMI
15456 * simple.el (eval-expression): Note what it does if called
15457 interactively (bug#6495).
15458
bee0fcef
CY
154592011-07-13 Chong Yidong <cyd@stupidchicken.com>
15460
b796c9b7
SM
15461 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15462 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15463
15464 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15465 Remove switch-to-buffer.
15466
58274504
LMI
154672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15468
bd2fcc8d
LMI
15469 * files.el (make-directory): Clarify that an error will be raised
15470 if there's an error (bug#6397).
15471
0f04b32c
LMI
15472 * startup.el (initial-buffer-choice): Add `none' as a choice
15473 (bug#6234).
15474
465c5fc8
LMI
15475 * subr.el (add-hook): Clarify section about buffer-local hooks
15476 (bug#6218).
15477
58274504
LMI
15478 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15479
bead9a43
JB
154802011-07-13 Juanma Barranquero <lekktu@gmail.com>
15481
15482 * tabify.el (untabify): Preserve the current column so that point
15483 doesn't move (bug#6032).
15484
3af98a7b
LMI
154852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15486
b796c9b7
SM
15487 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15488 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15489
6240145a
GM
154902011-07-13 Glenn Morris <rgm@gnu.org>
15491
15492 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15493 (dired-insert-directory): Give a message the first time
15494 if ls is found not to support --dired.
15495
1d8c2ccc
LMI
154962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15497
15498 * simple.el (toggle-truncate-lines): Clarify what is toggled
15499 (bug#5580). Text by Drew Adams.
15500
5fc4038e
CY
155012011-07-13 Chong Yidong <cyd@stupidchicken.com>
15502
15503 * simple.el (blink-matching-open): Make the error message from the
15504 last change less verbose.
15505
bf6012e5
DN
155062011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15507
15508 * font-lock.el (font-lock-comment-face): Use the high contrast
15509 "yellow" color for font-lock-comment-face on low color terminals
15510 using a dark background color (bug#4221).
15511
343c3b5a
LMI
155122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15513
7e9505c5
LMI
15514 * dired.el (dired-insert-set-properties): Make the doc string
15515 reflect what it does now (bug#5325).
15516
c26fdcf5
LMI
15517 * simple.el (blink-matching-open): Say that we were unable to find
15518 the match within the limit, if we're limited (bug#5122).
15519
bb388cc5
LMI
15520 * international/mule-cmds.el (prefer-coding-system): Add an
15521 example (bug#4869).
15522
343c3b5a
LMI
15523 * progmodes/etags.el (tags-search): Document `file-list-form'
15524 (bug#4731).
15525
2a517d45
LM
155262011-07-13 Lawrence Mitchell <wence@gmx.li>
15527
15528 * net/browse-url.el (browse-url-default-browser)
15529 (browse-url-browser-function): Make the default browser choice a
15530 bit more logical (bug#4300). Also clean up the doc string.
15531
b6c78ef2
JB
155322011-07-13 Juanma Barranquero <lekktu@gmail.com>
15533
15534 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15535 binary endings (bug#4440).
15536
1c4dd947
LMI
155372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15538
a2014063
LMI
15539 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15540 which can be pretty annoying (bug#8971).
15541
9c9c2d88
LMI
15542 * jka-compr.el (jka-compr-verbose): New variable, and use
15543 throughout (bug#8971).
15544
1c4dd947
LMI
15545 * info.el (Info-find-file): Fall back on the installation
15546 directory if we can't find the info node anywhere else.
15547
a1c9f41b
SO
155482011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15549
15550 * vc/vc.el (vc-revert-file):
15551 Don't set file time-stamp in the past. (Bug#5181)
15552
536f3d36
LMI
155532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15554
7152b011
LMI
15555 * files.el (after-find-file): Give a better error message when
15556 trying to find a symlink that points to a file that doesn't exist
15557 (bug#4398).
15558
536f3d36
LMI
15559 * progmodes/cc-vars.el: Remove (probably) misleading comment
15560 (bug#4396).
15561
460c0fba
JB
155622011-07-12 Johan Bockgård <bojohan@gnu.org>
15563
15564 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15565
7a6bda45
CY
155662011-07-12 Chong Yidong <cyd@stupidchicken.com>
15567
15568 * mouse-sel.el: Hack restoring functionality, while keeping
15569 compatibility with 2010-07-03 changes to mouse selection.
15570 (mouse-sel-primary-overlay): New var.
15571 (mouse-sel-selection-alist): Use it.
15572 (mouse-sel-mode): Doc fix; remove points that are default features
15573 of mouse.el.
15574
c79598ef
JB
155752011-07-12 Johan Bockgård <bojohan@gnu.org>
15576
15577 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15578 Fix previous fix (bug#2490).
15579
ff8be6ef
RW
155802011-07-12 Roland Winkler <winkler@gnu.org>
15581
b796c9b7
SM
15582 * textmodes/bibtex.el (bibtex-initialize):
15583 Use pop-to-buffer-same-window.
ff8be6ef
RW
15584 (bibtex-search-entries): Fix interactive call.
15585
296ba3ee
LMI
155862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15587
f5242a02 15588 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15589 Fontise bytecomp Error lines more correctly (bug#2490).
15590 Fix suggested by Johan Bockgård.
f5242a02 15591
296ba3ee
LMI
15592 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15593
15594 * dired-x.el (dired-guess-default): Use `delete-dups'.
15595
f69fd0d2
CY
155962011-07-12 Chong Yidong <cyd@stupidchicken.com>
15597
15598 * dired.el (dired-mark-prompt):
15599 * dired-aux.el (dired-read-shell-command): Doc fix.
15600
eab5dc07
LMI
156012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15602
b796c9b7
SM
15603 * mail/sendmail.el (sendmail-query-once):
15604 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15605 emacs -Q.
15606
15607 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15608
eab5dc07
LMI
15609 * cus-edit.el (custom-file): Take an optional no-error variable.
15610 (customize-save-variable): Set the variable, and give a warning if
15611 running under "emacs -q".
15612
a1e65d42
JB
156132011-07-11 Juanma Barranquero <lekktu@gmail.com>
15614
15615 * loadhist.el (unload-feature-special-hooks):
15616 Add `auto-coding-functions', `fill-nobreak-predicate' and
15617 `find-directory-functions' (bug#5327).
15618
1d52da10
LMI
156192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15620
be958f1d
LMI
15621 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15622
5bedb26c
LMI
15623 * cus-edit.el (custom-guess-name-alist): -alist variables should
15624 use the `alist' type (bug#3120). Suggested by Drew Adams.
15625
1d52da10
LMI
15626 * printing.el: Add documentation to all the `pr-toggle-' commands.
15627
cd394be1 156282011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15629
15630 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15631 backends where it makes sense (bug#2623).
15632
dcc88d8a
LMI
156332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15634
c3de9feb
LMI
15635 * dired-x.el (dired-guess-default): Remove duplicate shell command
15636 entries (bug#2028).
8a93078b 15637 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15638 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15639
dcc88d8a
LMI
15640 * subr.el (remove-duplicates): New conveniency function.
15641
505e3645
LMI
156422011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15643
15644 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15645 (bug#1526).
15646
156472011-07-10 Martin Rudalics <rudalics@gmx.at>
15648
15649 * window.el (display-buffer-normalize-default): Don't invert
15650 meaning of even-window-heights. Reported by Eli Zaretskii
15651 <eliz@gnu.org>.
15652
455e4fa1
BR
156532011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15654
15655 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15656
8e0bc3e9
CY
156572011-07-10 Chong Yidong <cyd@stupidchicken.com>
15658
15659 * window.el (display-buffer): Fix arguments to
15660 display-buffer-reuse-window in last change.
15661
fa7c3228
CY
15662 * faces.el (link): Use a less saturated blue on light backgrounds.
15663
15664 * startup.el (fancy-startup-text, fancy-about-text)
15665 (fancy-startup-tail): Use font-lock faces, for background safety.
15666
c0a7f300
BN
156672011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15668
b796c9b7
SM
15669 * emulation/viper-cmd.el (viper-change-state-to-vi):
15670 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15671
4dc2a129
MR
156722011-07-09 Martin Rudalics <rudalics@gmx.at>
15673
15674 * window.el (display-buffer-default-specifiers): Remove.
15675 (display-buffer-macro-specifiers): Remove default specifiers.
15676 (display-buffer-alist): Default to nil.
b796c9b7 15677 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15678 (display-buffer-pop-up-window): Allow splitting internal
15679 windows. Check whether a live window was created.
15680 (display-buffer-other-window-means-other-frame)
15681 (display-buffer-normalize-arguments): Rename to
15682 display-buffer-normalize-argument and rewrite. Set the
15683 other-window specifier.
15684 (display-buffer-normalize-special): New function.
15685 (display-buffer-normalize-options): Rename to
15686 display-buffer-normalize-default and rewrite.
15687 (display-buffer-normalize-options-inhibit): Remove.
15688 (display-buffer-normalize-specifiers): Rewrite.
15689 (display-buffer): Process other-window specifier and call
15690 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15691 more faithfully.
b796c9b7 15692 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15693 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15694 (display-buffer-in-window, display-buffer-alist-set):
15695 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15696 <tassilo@member.fsf.org>.
15697
2d43b8c9
LL
156982011-07-09 Leo Liu <sdl.web@gmail.com>
15699
15700 * register.el (insert-register): Restore accidental change on
15701 2011-06-26. (Bug#9028)
15702
7f9b7c53
GM
157032011-07-09 Glenn Morris <rgm@gnu.org>
15704
15705 * subr.el (remq): Handle the empty list. (Bug#9024)
15706
f042cfd8
AS
157072011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15708
15709 * mail/sendmail.el (send-mail-function): No longer delay custom
15710 initialization.
15711 * custom.el (custom-initialize-delay): Doc fix.
15712
856b2f11
SM
157132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15714
15715 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15716
afae1d68
MA
157172011-07-08 Michael Albinus <michael.albinus@gmx.de>
15718
15719 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15720 human-friendly prompt.
15721
0757af94
SM
157222011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15725 provided by a particular plugin.
15726
d760b731
LMI
157272011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15728
15729 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15730 save customizations (with "emacs -Q"), just set the variable
15731 instead of erroring out.
15732
15733 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15734
cd79ce90
JL
157352011-07-08 Juri Linkov <juri@jurta.org>
15736
15737 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15738 (archive-zip-update-case): Use 7z if found by `executable-find'.
15739 The order of searching the available programs is the same as in
15740 `archive-zip-extract' (bug#8968).
15741
14cc04aa
CY
157422011-07-07 Chong Yidong <cyd@stupidchicken.com>
15743
15744 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15745 (menu-bar-options-menu): Tweak descriptions.
15746
0a1848ec
LMI
157472011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15748
15749 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15750 menu items into verb phrases (bug#1421). Also refill to fit under
15751 80 columns.
15752
f5bd0689
CY
157532011-07-07 Chong Yidong <cyd@stupidchicken.com>
15754
538e85c6
CY
15755 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15756 (Info-read-node-name): Doc fix (Bug#1084).
15757
f5bd0689
CY
15758 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15759 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15760 (end-of-sexp, beginning-of-sexp)
15761 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15762 (forward-symbol, forward-same-syntax, word-at-point)
15763 (sentence-at-point): Doc fix (Bug#1144).
15764
56ec5115
LMI
157652011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15766
f3f8e37f
LMI
15767 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15768 should cover it (bug#1281).
15769
0757af94 15770 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15771
e9fce1ac 15772 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15773 negotiation fails, then possibly try again with a non-encrypted
15774 connection (bug#9017).
15775
56ec5115
LMI
15776 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15777 be used.
15778
c2f9aec8
RS
157792011-07-07 Richard Stallman <rms@gnu.org>
15780
15781 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15782 property, and handle its changed format.
15783 Look for the correct line number.
15784 Use file's line contents (but not past first =) to find
15785 correct line in message.
15786
ef7b981d 157872011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15788
15789 * international/characters.el (build-unicode-category-table):
15790 Delete it.
0757af94 15791 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15792
0757af94 15793 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15794 to src/chartab.c.
15795 (get-char-code-property): Call unicode-property-table-internal to
15796 load a file. Call get-unicode-property-internal where necessary.
15797 (put-char-code-property): Call unicode-property-table-internal to
15798 load a file. Call put-unicode-property-internal where necessary.
15799 put-unicode-property-internal where necessary.
0757af94
SM
15800 (char-code-property-description):
15801 Call unicode-property-table-internal to load a file.
c805dec0
KH
15802
15803 * international/charprop.el:
15804 * international/uni-bidi.el:
15805 * international/uni-category.el:
15806 * international/uni-combining.el:
15807 * international/uni-comment.el:
15808 * international/uni-decimal.el:
15809 * international/uni-decomposition.el:
15810 * international/uni-digit.el:
15811 * international/uni-lowercase.el:
15812 * international/uni-mirrored.el:
15813 * international/uni-name.el:
15814 * international/uni-numeric.el:
15815 * international/uni-old-name.el:
15816 * international/uni-titlecase.el:
15817 * international/uni-uppercase.el: Regenerate.
15818
15819 * loadup.el: Load international/charprop.el before
15820 international/characters.
15821
e14b388a
CY
158222011-07-07 Chong Yidong <cyd@stupidchicken.com>
15823
15824 * window.el (next-buffer, previous-buffer): Signal an error if
15825 called from a minibuffer window.
15826
15827 * bindings.el: Revert 2011-07-04 change.
15828
354cf0ba
RS
158292011-07-06 Richard Stallman <rms@gnu.org>
15830
15831 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15832 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15833 Treat markers like ints.
15834 (rmail-mime-entity): Doc fix.
15835
a48868a7
LMI
158362011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15837
4906cd3d
LMI
15838 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15839 defcustom again for backwards compatibility.
15840
e0457abe
LMI
15841 * simple.el (shell-command-on-region): Fill.
15842
d67f7e1f
LMI
15843 * dired-aux.el (dired-kill-line): Add a doc string.
15844
fe204702
LMI
15845 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15846 to "\\sw\\|\\s_" (bug#358).
15847
a48868a7
LMI
15848 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15849 (dired-unmark-backward): Ditto.
15850 (dired-flag-backup-files): Ditto.
15851
15852 * dired-x.el (dired-mark-sexp): Ditto.
15853
aa8a705c
RS
158542011-07-06 Richard Stallman <rms@gnu.org>
15855
15856 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15857 (rmail-mime-entity): New arg TRUNCATED.
15858 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15859 New functions.
15860 (rmail-mime-save): Warn if entity is truncated.
15861 (rmail-mime-toggle-hidden): Likewise, for showing.
15862 (rmail-mime-process-multipart): Record when an entity is truncated.
15863
a9a936b9
RS
15864 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15865 if ENTITY is a string.
15866
1f2b92cb
LMI
158672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15868
f4f73198 15869 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15870 of faces when `M-C-x'-ing their definitions (bug#8378).
15871 Also clean up the code slightly.
f4f73198 15872
12b16734 15873 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15874 because that makes the colors go away.
12b16734 15875
f0691d22
LMI
15876 * mail/sendmail.el (send-mail-function): Change the default to
15877 `sendmail-query-once'.
9e87df06 15878 (sendmail-query-once): Add an autoload cookie.
f0691d22 15879
1f2b92cb
LMI
15880 * net/network-stream.el (network-stream-open-starttls): Try using
15881 a plain connection even if the server offered STARTTLS, and we
15882 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15883 capability. This should make smtpmail.el work in slightly more
15884 configurations.
15885
1cdd2a1b
MA
158862011-07-06 Michael Albinus <michael.albinus@gmx.de>
15887
15888 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15889 New defun.
15890 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15891
fbcc67e2
MM
158922011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15893
15894 * progmodes/sql.el: Version 3.0
0757af94 15895 (sql-product-alist): Add product :completion-object,
fbcc67e2 15896 :completion-column, and :statement attributes.
0757af94 15897 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15898 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15899 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15900 ansi keywords.
15901 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15902 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15903 (sql-oracle-show-reserved-words): New function for development.
15904 (sql-product-font-lock): Simplify for source code buffers.
15905 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15906 New functions.
15907 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15908 (sql-mode-map): Add statement movement functions.
15909 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15910 New variable.
fbcc67e2
MM
15911 (sql-statement-regexp, sql-beginning-of-statement)
15912 (sql-end-of-statement, sql-signum): New functions.
0757af94 15913 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15914 (sql-show-sqli-buffer): Bug fix.
15915 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15916 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15917 with sql-interactive-mode.
15918 (sql-save-connection): Save buffer local settings.
0757af94 15919 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15920 (sql-product-interactive): Bug fix.
15921 (sql-preoutput-hold): New variable.
15922 (sql-interactive-remove-continuation-prompt): Bug fixes.
15923 (sql-debug-redirect): New variable.
15924 (sql-str-literal): New function.
15925 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15926 Redesign.
fbcc67e2
MM
15927 (sql-oracle-save-settings, sql-oracle-restore-settings)
15928 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15929 (sql-completion-object, sql-completion-column)
15930 (sql-completion-sqlbuf): New variables.
15931 (sql-build-completions-1, sql-build-completions)
15932 (sql-try-completion): New functions.
15933 (sql-read-table-name): Use them.
15934 (sql-contains-names): New buffer local variable.
15935 (sql-list-all, sql-list-table): Use it.
15936 (sql-oracle-completion-types): New variable.
15937 (sql-oracle-completion-object, sql-sqlite-completion-object)
15938 (sql-postgres-completion-object): New functions.
15939
d4eaeab1
GM
159402011-07-06 Glenn Morris <rgm@gnu.org>
15941
15942 * window.el (pop-to-buffer): Doc fix.
15943
322b7dab 159442011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15945
15946 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15947
322b7dab 159482011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15949
322b7dab 15950 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15951
322b7dab 15952 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15953
605dd5bf
CY
159542011-07-05 Chong Yidong <cyd@stupidchicken.com>
15955
15956 * button.el (button): Inherit from link face. Suggested by Dan
15957 Nicolaescu.
15958
7dbfa719
SM
159592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15960
3db614b0
SM
15961 * progmodes/gdb-mi.el: Fit in 80 columns.
15962 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15963 switch-to-buffer.
15964
7dbfa719
SM
15965 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15966 if imenu is simply not configured (bug#8941).
15967
919d884a
KM
159682011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15969
15970 * allout.el (allout-post-undo-hook): New allout outline-change
15971 event hook to signal undo activity.
15972 (allout-post-command-business): Run allout-post-undo-hook if an
15973 undo just occurred.
7dbfa719
SM
15974 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15975 * allout-widgets.el (allout-widgets-after-undo-function):
15976 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15977 in the vicinity of an undo.
15978 (allout-widgets-mode): Include allout-widgets-after-undo-function
15979 on the new allout-post-undo-hook.
15980
450a0f09
SM
159812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15982
15983 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15984 Let define-derived-mode define it.
15985 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15986 cycles of abbrev-table inheritance (bug#8998).
15987
2de69e00
RW
159882011-07-05 Roland Winkler <winkler@gnu.org>
15989
15990 * textmodes/bibtex.el: Add support for biblatex.
15991 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15992 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15993 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15994 (bibtex-entry-alist, bibtex-field-alist): New variables.
15995 (bibtex-entry-field-alist): Obsolete alias for
15996 bibtex-BibTeX-entry-alist.
15997 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15998 (bibtex-set-dialect): New command.
15999 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16000 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16001 Bind via bibtex-set-dialect.
2de69e00
RW
16002 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16003 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16004 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16005 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16006 Define via bibtex-set-dialect.
450a0f09
SM
16007 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16008 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16009 (bibtex-vec-push, bibtex-vec-incr): New functions.
16010 (bibtex-format-entry, bibtex-field-list)
16011 (bibtex-print-help-message, bibtex-validate)
16012 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16013
2dcdbdd9
SM
160142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16015
16016 * progmodes/compile.el (compilation-goto-locus):
16017 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16018 * bs.el (bs-cycle-next, bs-cycle-previous):
16019 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16020 * bindings.el (mode-line-other-buffer):
16021 * autoinsert.el (auto-insert):
16022 * arc-mode.el (archive-extract):
16023 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16024
b27640fe
JB
160252011-07-05 Juanma Barranquero <lekktu@gmail.com>
16026
16027 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16028 Fix check of `emacs-lock-unlockable-modes'.
16029 Coerce true values of `emacs-lock--try-unlocking' to t.
16030
53bbe3ad
JB
160312011-07-05 Juanma Barranquero <lekktu@gmail.com>
16032
16033 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16034 * emacs-lock.el: New file.
16035
1d3cdbc7
JD
160362011-07-05 Julien Danjou <julien@danjou.info>
16037
16038 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16039 than `boundp' to check if face is set.
16040
9173deec
JB
160412011-07-05 Juanma Barranquero <lekktu@gmail.com>
16042
16043 * register.el (registerv-make):
16044 * window.el (window-min-height): Fix typos in docstrings.
16045
869795d6
JD
160462011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16047
9173deec 16048 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16049 Update doc string.
16050
b768cdcd
JB
160512011-07-04 Juanma Barranquero <lekktu@gmail.com>
16052
16053 * server.el (server-execute): Catch quit and call
16054 `server-return-error' to pass the error back to emacsclient and
16055 close the connection (bug#8942).
16056
13aa217b
KM
160572011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16058
16059 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16060 insecure exception for current topic. Also note that auto-saves
16061 are handled differently.
16062
5d3385a0 16063 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16064 State variables for tracking auto-save inhibition situation.
16065
16066 (allout-write-contents-hook-handler): Rename from
16067 'allout-write-file-hook-handler', and describe how it depends on
16068 write-contents-functions sensitivity to non-nil value to prevent
16069 file write.
16070
16071 (allout-auto-save-hook-handler): Remove. auto-save does not check
16072 this in individual buffers, only in the starting buffer, so this
16073 is not the right way for us to inhibit auto-save in a buffer
16074 according to its condition.
16075
16076 (allout-mode): Use new allout-write-contents-hook-handler, and
16077 only with write-contents-functions. Remove auto-save provisions -
16078 they're implemented elsewhere.
16079
16080 (allout-before-change-handler): If undo is in progress, note that
16081 for attention of allout-post-command-business.
16082
16083 (allout-post-command-business): If the command we're following was
16084 an undo, check for change in the status of encrypted items and
16085 adjust auto-save inhibitions accordingly.
16086
16087 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16088 according to whether there are or aren't any plain-text topics
16089 pending encryption.
16090
2dcdbdd9 16091 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16092 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16093 if there are plain-text topics pending encryption.
13aa217b
KM
16094
16095 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16096 buffer-saved-size and some allout state to not inhibit auto-saves
16097 if there are no longer any plain-text topics pending encryption.
16098
0757af94
SM
16099 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16100 No longer provide for exemption of the current topic.
13aa217b 16101
ac89b32c
JL
161022011-07-04 Juri Linkov <juri@jurta.org>
16103
16104 Add 7z operations to delete and save changed members (bug#8968).
16105 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16106 New defcustoms.
16107 (archive-7z-write-file-member): New function.
16108 (archive-7z-summarize): Fix the number of dashes in the
16109 listing output.
16110
8fa39615
SM
161112011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16112
16113 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16114 (bug#8958).
16115
2f11b3f1
CY
161162011-07-04 Chong Yidong <cyd@stupidchicken.com>
16117
d66fef2b
CY
16118 * bindings.el: Ignore next-buffer and previous-buffer in
16119 minibuffer-local-map.
16120
2f11b3f1
CY
16121 * font-lock.el (font-lock-builtin-face): Change light background
16122 color to dark slate blue (Bug#6693).
16123
f932a347
WD
161242011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16125
16126 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16127
c8af70e1
SM
161282011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16129
16130 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16131 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16132 Add switch-to-buffer.
16133
f158badc
LMI
161342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16135
16136 * isearch.el (isearch-search-fun-function): Clarify further the
16137 meaning of the function returned.
16138
6d95bd46
MA
161392011-07-04 Michael Albinus <michael.albinus@gmx.de>
16140
16141 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16142
16143 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16144 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16145 Use it.
16146 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16147 `tramp-default-remote-path' does not exist.
16148 (tramp-send-command-and-read): New optional argument NOERROR.
16149 (tramp-open-connection-setup-interactive-shell)
16150 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16151 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16152 (tramp-process-sentinel): Flush also process' connection property.
16153 (tramp-sh-handle-start-file-process): Do not set process
16154 sentinel. It is done now ...
16155 (tramp-maybe-open-connection): ... here. (Bug#8929)
16156
909e6b67
MK
161572011-07-04 MON KEY <monkey@sandpframing.com>
16158
16159 * play/animate.el (animate-string): Doc fixes and allow changing
16160 the buffer name (bug#5417).
16161
161622011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16163
c8af70e1 16164 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16165
f34755dc
PE
161662011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16167
396cec72
PE
16168 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16169 This is simpler and helps future-proof the code.
16170 (timer-until): Use time-subtract and float-time.
08235028 16171 (timer--time-less-p): Use time-less-p.
f34755dc 16172
56e6cc31
JB
161732011-07-04 Juanma Barranquero <lekktu@gmail.com>
16174
3abb79e5
JB
16175 * type-break.el (timep): Use the value of `float-time' to avoid a
16176 byte-compiler warning.
16177
56e6cc31
JB
16178 * server.el (server-eval-and-print): Return any result, even nil.
16179
7b9430b4
PE
161802011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16181
16182 * type-break.el: Accept time formats that the builtins accept.
16183 (timep, type-break-time-difference): Accept any format that
16184 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16185 This is simpler and helps future-proof the code.
16186 (type-break-time-difference): Round rather than ignoring
16187 subseconds components.
16188
3034e9e7
LMI
161892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16190
16191 * info.el (Info-apropos-matches): Make non-interactive, since it
16192 doesn't seem to do anything useful as a command (bug#8829).
16193
1485f4c0
CY
161942011-07-03 Chong Yidong <cyd@stupidchicken.com>
16195
16196 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16197 Move from faces.el.
1485f4c0
CY
16198 (frame-default-terminal-background): New function.
16199
16200 * custom.el (custom-push-theme): Don't record faces in `changed'
16201 theme; this doesn't work correctly for per-frame face settings.
16202 (disable-theme): Use face-set-after-frame-default to reset faces.
16203 (custom--frame-color-default): New function.
16204
9fa3dd45
LMI
162052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16206
c8af70e1 16207 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16208 (bug#8769).
16209
6cbbc20c
KR
162102011-03-29 Kevin Ryde <user42@zip.com.au>
16211
16212 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16213 `perl-Test2' extend to match possible "fail #N" rep count
16214 (bug#8377).
16215
c7f98048
LMI
162162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16217
65676592
LMI
16218 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16219 `smtpmail-via-smtp' now returns the error instead of nil.
16220
c7f98048
LMI
16221 * isearch.el (isearch-search-fun-function): Clarify the doc string
16222 (bug#8101).
16223
56e6cc31 162242011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16225
16226 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16227 unnecessary spaces (bug#8987).
16228
2b216704
LMI
162292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16230
16231 * net/network-stream.el (open-network-stream): Use the
16232 :end-of-capability command thoughout.
16233
162342011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16235
16236 * net/network-stream.el (open-network-stream): Add the
16237 :end-of-capability command parameter, used by pop3.el.
16238
36adf6ce
LMI
162392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16240
1ca0da0e
LMI
16241 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16242
fc00f69c
LMI
16243 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16244 for list)" (bug#6475).
16245
28fd8759 16246 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16247 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16248 an error (bug#6297).
16249
0dd8b6da
LMI
16250 * man.el (Man-reference-regexp): Allow matching possible
16251 word-wrapped references (bug#6289).
16252
ce1438d6
LMI
16253 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16254 for consistency with the other vc buffers (bug#6197).
16255 (vc-checkin): Ditto.
16256
16257 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16258
36adf6ce
LMI
16259 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16260
e83cc1f7
LMI
162612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16262
8a20ca4c
LMI
16263 * custom.el (defcustom): Clarify that :set is only used in the
16264 Customize user interface (bug#6089).
16265
83319045
LMI
16266 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16267 associated with a file, refuse to run instead of erroring out
16268 (bug#6084).
16269
a8392169
LMI
16270 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16271 the doc string, since it appears that using `fill-column' always
16272 controls the width (bug#7845).
16273
e83cc1f7
LMI
16274 * simple.el (shell-command-on-region): Say where the error output
16275 went if `shell-command-default-error-buffer' is set (bug#6857).
16276
e47ca23b
KM
162772011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16278
16279 * allout.el (allout-yank-processing): Adjust cursor position for
16280 backwards-deleted space.
16281
16282 (allout-rebullet-heading): Register changes with
16283 allout-exposure-changed-hook, so the modified topic is properly
16284 decorated.
16285
5cf56143
LMI
162862011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16287
08549772
LMI
16288 * minibuffer.el (completion-in-region): Document PREDICATE
16289 (bug#7136).
16290
48e96771
LMI
16291 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16292 of keyword/argument pairs (bug#6904).
16293
c8af70e1
SM
16294 * replace.el (multi-occur):
16295 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16296
e17d05e2
LMI
162972011-07-02 Drew Adams <drew.adams@oracle.com>
16298
16299 * dired.el (dired-mark-if): Make the message about whether it's
16300 marking or unmarking clearer (bug#8523).
16301
063b0e45
LMI
163022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16303
16304 * disp-table.el (display-table-print-array): New function.
16305 (describe-display-table): Use it to print the vectors more pretty
16306 (Bug#8859).
16307
28545e04
MR
163082011-07-02 Martin Rudalics <rudalics@gmx.at>
16309
16310 * window.el (window-state-get-1): Don't assign clone numbers.
16311 Add clone-of item to list of window parameters.
16312 (window-state-put-2): Don't process clone numbers.
16313 (display-buffer-alist): Fix doc-string.
16314
3349e122
SM
163152011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16316
16317 * subr.el (remq): Don't allocate if it's not needed.
16318 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16319 (keymap--merge-bindings): New functions.
16320 (keymap-canonicalize): Use them to refine the canonicalization.
16321 * minibuffer.el (minibuffer-local-completion-map)
16322 (minibuffer-local-must-match-map): Move initialization from C.
16323 (minibuffer-local-filename-completion-map): Move initialization from C;
16324 don't inherit from anything here.
16325 (minibuffer-local-filename-must-match-map): Make obsolete.
16326 (completing-read-default): Use make-composed-keymap to combine
16327 minibuffer-local-filename-completion-map with either
16328 minibuffer-local-must-match-map or
16329 minibuffer-local-filename-completion-map.
16330
d224ac83
GM
163312011-07-01 Glenn Morris <rgm@gnu.org>
16332
3de63bf8
GM
16333 * type-break.el (type-break-time-sum): Use dolist.
16334
d224ac83
GM
16335 * textmodes/flyspell.el (flyspell-word-search-backward):
16336 Replace CL function.
16337
1a1e3f32
SM
163382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16339
fe3f64d5
SM
16340 * mouse.el (mouse--strip-first-event): New function.
16341 (function-key-map): Use it to map fringe clicks to normal clicks
16342 by default.
16343
eb604e34
SM
16344 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16345 (vc-bzr-revision-completion-table): Add support for annotate and date.
16346
1a1e3f32
SM
16347 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16348 inherit from parent.
16349
5bd35902
LMI
163502011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16351
ace6c69c 16352 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16353 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16354
191e2bed
LMI
16355 * dired.el (dired-mode): Fix up the doc string as suggested by
16356 Drew Adams (bug#8817).
16357
5bd35902
LMI
16358 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16359 cookie, since the manual says that it should be possible to add
16360 this function to `find-file-hook' (bug#8709).
16361
eee8207a
TZ
163622011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16363
16364 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16365 here. Noted Ted Zlatanov as the maintainer.
16366 (cfengine-common-settings, cfengine-common-syntax): New functions
16367 to set up common things between `cfengine-mode' and
16368 `cfengine3-mode'.
16369 (cfengine3-mode): New mode.
16370 (cfengine3-defuns cfengine3-defuns-regex
16371 (cfengine3-class-selector-regex cfengine3-category-regex)
16372 (cfengine3-vartypes cfengine3-font-lock-keywords)
16373 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16374 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16375
36b148cf
MA
163762011-07-01 Michael Albinus <michael.albinus@gmx.de>
16377
16378 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16379
16380 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16381
0bf4ba9a
MR
163822011-07-01 Martin Rudalics <rudalics@gmx.at>
16383
16384 * window.el (same-window-buffer-names, same-window-regexps)
16385 (same-window-p, special-display-frame-alist)
16386 (special-display-popup-frame, special-display-function)
16387 (special-display-buffer-names, special-display-regexps)
16388 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16389 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16390 (split-window-preferred-function, split-height-threshold)
16391 (split-width-threshold, even-window-heights)
16392 (display-buffer-mark-dedicated, window-splittable-p)
16393 (split-window-sensibly, window-safely-shrinkable-p):
16394 Un-obsolete.
16395 (display-buffer): Don't spread args with function specifier
16396 because special-display-popup-frame won't like it.
16397
35837f51
PE
163982011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16399
d0672f86
PE
16400 Time-stamp simplifications and fixes.
16401 These improve accuracy slightly, and future-proof the code
16402 against some potential changes to current-time format.
16403
b9444d97
PE
16404 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16405 by using time-since and float-time.
16406
0ef923dc
PE
16407 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16408 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16409 + NNN microseconds".
16410
2f81380d
PE
16411 * type-break.el (type-break-time-sum): Rewrite using time-add.
16412
845b5c3e
PE
16413 * play/hanoi.el (hanoi-current-time-float): Remove.
16414 All uses replaced by float-time.
16415
ee6f1be0
PE
16416 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16417 This yields a more-accurate answer.
16418 (rng-time-to-float): Remove; no longer needed.
16419
fe955043
PE
16420 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16421
5777162a
PE
16422 * calendar/timeclock.el (timeclock-seconds-to-time):
16423 Defalias to seconds-to-time, since they're the same thing.
16424
3103f8b6 16425 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16426 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16427 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16428
0e61a35f
SM
164292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16430
16431 * window.el (bury-buffer): Don't iconify the only frame.
16432 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16433 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16434
ddd63a1e
CY
164352011-07-01 Chong Yidong <cyd@stupidchicken.com>
16436
0e61a35f
SM
16437 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16438 Add mouse-yank-primary.
ddd63a1e 16439
055f4923
TZ
164402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16441
16442 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16443
6a2fb145
SM
164442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16447 (find-library-name): Use it to find relative load names when provided
16448 absolute file name (bug#8803).
16449
fd4983f2
LMI
164502011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16451
887d14ad
LMI
16452 * textmodes/flyspell.el (flyspell-word): Consider words that
16453 differ only in case as potential doublons (bug#5687).
16454
c53dc7fc
LMI
16455 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16456 Remove two rather uninteresting debugging-like messages to make
16457 debbugs.el more silent.
16458
fd4983f2
LMI
16459 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16460 a password-like phrase.
16461
7a71b18d 164622011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16463
16464 * progmodes/cc-guess.el: New file.
16465
6a2fb145 16466 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16467
16468 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16469 derived from `c-basic-common-init'.
16470
16471 * progmodes/cc-mode.el (top-level): Require cc-guess.
16472 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16473
1fa280a3
LM
164742011-06-30 Lawrence Mitchell <wence@gmx.li>
16475
16476 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16477
e6597158
AM
164782011-06-30 Alan Mackenzie <acm@muc.de>
16479
1fa280a3
LM
16480 * progmodes/cc-engine.el (c-guess-continued-construct):
16481 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16482 lock is disabled. Name this case as "CASE G".
16483
68ba37fb
KM
164842011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16485
16486 * allout.el (allout-yank-processing): Fix injection of extra space
16487 between bullet and non-whitespace character in first topic when
16488 pasting, ensuring that the actual spacing in the pasted topic
16489 following the bullet char is preserved. This extra space was
16490 causing pasted encrypted topics to get a decrypted status even
16491 when the content was actually still encrypted. Now the decryption
16492 status from before the paste is preserved.
16493
16494 (allout-flag-region): Set all allout overlays so they evaporate
16495 when reduced to zero length (evanescent), to prevent overlay
16496 leakage.
16497
887a0b34
GM
164982011-06-30 Glenn Morris <rgm@gnu.org>
16499
94b9acce
GM
16500 * w32-fns.el (w32-charset-info-alist): Declare.
16501
1d9b46d4
GM
16502 * find-dired.el (find-grep-options): Simplify.
16503
cc232200
GM
16504 * term/ns-win.el (ns-set-resource): Declare.
16505
28e77c46
GM
16506 * ses.el (row, col): Declare dynamic variables honestly.
16507
887a0b34
GM
16508 * textmodes/reftex-parse.el (index-tags): Declare.
16509
658d8eb8
CY
165102011-06-30 Chong Yidong <cyd@stupidchicken.com>
16511
16512 * cus-edit.el (customize-push-and-save): New function.
16513
16514 * files.el (hack-local-variables-confirm): Use it.
16515
1fa280a3
LM
16516 * custom.el (load-theme): New arg NO-CONFIRM.
16517 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16518 (custom-enabled-themes): Doc fix.
16519
16520 * cus-theme.el (customize-create-theme)
16521 (custom-theme-merge-theme): Callers to load-theme changed.
16522
bb617717
LMI
165232011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16524
d61bdd5d
LMI
16525 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16526 short URLs have at least one dot in them (bug #7614).
16527
bb617717
LMI
16528 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16529 nil, because using a pty is apparently too slow (bug #895).
16530
2f31f37a
LMI
165312011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16532
16533 * mail/sendmail.el (sendmail-query-once): New function.
16534 (sendmail-query-once-function): New variable.
16535
3076b24e
GM
165362011-06-29 Glenn Morris <rgm@gnu.org>
16537
faf2a174
GM
16538 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16539
3076b24e
GM
16540 * ses.el (top-level): Require cl when compiling.
16541 (ses-set-localvars): Fix error statement.
16542 Call it at compile time to silence a storm of warnings.
16543
5386012d
MR
165442011-06-29 Martin Rudalics <rudalics@gmx.at>
16545
16546 * window.el (normalize-live-buffer): Rename to
16547 window-normalize-buffer.
16548 (normalize-live-frame): Rename to window-normalize-frame.
16549 (normalize-any-window): Rename to window-normalize-any-window.
16550 (normalize-live-window): Rename to window-normalize-live-window.
16551 (make-window-atom): Rename to window-make-atom.
16552 (window-resize-reset): Rename to window--resize-reset.
16553 (window-resize-reset-1): Rename to window--resize-reset-1.
16554 (resize-mini-window): Rename to window--resize-mini-window.
16555 (resize-subwindows-skip-p): Rename to
16556 window--resize-subwindows-skip-p.
16557 (resize-subwindows-normal): Rename to
16558 window--resize-subwindows-normal.
16559 (resize-subwindows): Rename to window--resize-subwindows.
16560 (resize-other-windows): Rename to window--resize-siblings.
16561 (resize-this-window): Rename to window--resize-this-window.
16562 (resize-root-window): Rename to window--resize-root-window.
16563 (resize-root-window-vertically): Rename to
16564 window--resize-root-window-vertically.
16565 (normalize-buffer-to-display): Rename to
16566 window-normalize-buffer-to-display.
16567 (normalize-buffer-to-switch-to): Rename to
16568 window-normalize-buffer-to-switch-to.
16569 Correspondingly update all callers of the functions listed
16570 above.
16571 (display-buffer-alist, display-buffer-normalize-arguments)
16572 (display-buffer-normalize-options, display-buffer)
16573 (display-buffer-alist-set): Use "function" instead of
16574 "fun-with-args".
16575
1176868d
CY
165762011-06-28 Chong Yidong <cyd@stupidchicken.com>
16577
16578 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16579 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16580 debbugs.gnu.org. Mention acknowledgment email.
16581
20a7a65f
LMI
165822011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16583
16584 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16585 buffer multibyteness, since it shouldn't matter.
16586
5f45cca5
MR
165872011-06-28 Martin Rudalics <rudalics@gmx.at>
16588
16589 * window.el (display-buffer-in-side-window): Handle dedicated
16590 windows as in display-buffer-reuse-window.
16591 (display-buffer-normalize-alist): Use value of override
16592 specifier.
16593 (display-buffer-normalize-specifiers): Use value of
16594 other-window-means-other-frame specifier.
16595 (display-buffer-alist): Rewrite some texts in widgets.
16596 (display-buffer): Spread arguments when calling function
16597 specified by fun-with-args.
16598
ad85fe1f
DD
165992011-06-28 Deniz Dogan <deniz@dogan.se>
16600
1fa280a3
LM
16601 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16602 Unnest `let'.
da68c4c8 16603
ad85fe1f
DD
16604 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16605 selectors (Bug#5732).
ec49bd31 16606 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16607
a08cc025
JA
166082011-06-27 Jari Aalto <jari.aalto@cante.net>
16609
16610 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16611 (eshell-ls-date-format): New defcustom.
16612 (eshell-ls-file): Use it.
16613
e2b551c5
SM
166142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16615
16616 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16617
8982b231
KY
166182011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16619
16620 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16621 (ange-ftp-make-tmp-name): New arg.
16622 (ange-ftp-file-local-copy): Use it.
16623
36c9fa27
J
166242011-06-27 Jambunathan K <kjambunathan@gmail.com>
16625
16626 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16627 no-conversion (Bug#8870).
16628
d68443dc
MR
166292011-06-27 Martin Rudalics <rudalics@gmx.at>
16630
16631 * window.el (window-right, window-left, window-child)
16632 (window-child-count, window-last-child)
16633 (window-iso-combination-p, walk-window-tree-1)
16634 (window-atom-check-1, window-tree-1, delete-window)
16635 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16636 new naming conventions - window-vchild, window-hchild,
16637 window-next and window-prev are now called window-top-child,
16638 window-left-child, window-next-sibling and window-prev-sibling
16639 respectively.
d615d6d2
MR
16640 (resize-window-reset): Rename to window-resize-reset.
16641 (resize-window-reset-1): Rename to window-resize-reset-1.
16642 (resize-window): Rename to window-resize.
16643 (window-min-height, window-min-width)
16644 (resize-mini-window, resize-this-window, resize-root-window)
16645 (resize-root-window-vertically, adjust-window-trailing-edge)
16646 (enlarge-window, shrink-window, maximize-window)
16647 (minimize-window, delete-window, quit-restore-window)
16648 (split-window, balance-windows, balance-windows-area-adjust)
16649 (balance-windows-area, window-state-put-2)
16650 (display-buffer-even-window-sizes, display-buffer-set-height)
16651 (display-buffer-set-width, set-window-text-height)
16652 (fit-window-to-buffer): Rename all "resize-window" prefixed
16653 calls to use the "window-resize" prefix convention.
16654 (display-buffer-alist): Fix symbol for label specifier.
16655 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16656 corresponding specifier.
16657 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16658
b6458526
VB
166592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16660
16661 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16662 convention.
16663 (ses-call-printer): Does not pass an empty string to formatter when the
16664 cell is empty to keep from barking printer Calc math-format-value.
16665
d31fd9ac
RS
166662011-06-27 Richard Stallman <rms@gnu.org>
16667
43d5bf84
RS
16668 * battery.el (battery-mode-line-limit): New variable.
16669 (battery-update): Handle it.
16670
d31fd9ac
RS
16671 * mail/rmailmm.el (rmail-mime-process-multipart):
16672 Handle truncated messages.
16673
819a6054
GM
166742011-06-27 Glenn Morris <rgm@gnu.org>
16675
16676 * progmodes/flymake.el (flymake-err-line-patterns):
16677 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16678
cedc73f2
VB
166792011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16680
819a6054 16681 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16682 (ses--clean-!, ses--clean-_): New functions.
16683 (ses-range): Add configurability of readout order, and conversion
16684 to Calc vector.
16685
5e5d49b6
VB
16686 * ses.el (ses-repair-cell-reference-all): New function.
16687 (ses-cell-symbol): Set macro as safe, so that it can be used in
16688 formulas.
16689
56e6cc31 16690 * ses.el: Update cycle detection algorithm.
90ca8b49 16691 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16692 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16693 (ses-set-localvars): New function.
16694 (ses-make-cell): Add property-list as a cell element.
16695 (ses-cell-property-get-fun, ses-cell-property-get)
16696 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16697 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16698 New functions.
90ca8b49
VB
16699 (ses-cell-property-set, ses-cell-property-pop)
16700 (ses-cell-property-get-handle): New macro.
16701 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16702 New aliases, used for code readability.
16703 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16704 cycle detection.
16705 (ses-self-reference-early-detection): New defcustom.
fac916bf 16706 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16707 (ses-mode): Use ses-set-localvars.
16708 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16709 before lauching the update processing.
16710 (ses-initialize-Dijkstra-attempt): New function.
16711 (ses-recalculate-cell): Update for cycle detection based on
16712 Dijkstra algorithm.
16713
2bb63e81
VB
16714 * ses.el: Fix commenting and indenting convention.
16715
c9d29fb8
SM
167162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16717
16718 * bs.el (bs-cycle-next): Complete last change.
16719
d8e4b68b
JB
167202011-06-27 Drew Adams <drew.adams@oracle.com>
16721
16722 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16723
40098786
LMI
167242011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16725
c9d29fb8
SM
16726 * net/network-stream.el (network-stream-open-starttls):
16727 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16728 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16729
40098786
LMI
16730 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16731 to binary to possibly avoid line encoding issues on Windows (among
16732 other things).
16733
468d09d4
LMI
167342011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16735
16736 * net/network-stream.el (open-network-stream): Return an :error
16737 saying what the problem was, if possible.
16738
16739 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16740 server.
16741
16742 * net/network-stream.el (network-stream-open-starttls): If we
16743 wanted to use STARTTLS, and the server offered it, but we weren't
16744 able to because we had no STARTTLS support, then close the connection.
16745 (open-network-stream): Return an :error element, if present.
16746
16f07dd7
CY
167472011-06-26 Chong Yidong <cyd@stupidchicken.com>
16748
88821ca0
CY
16749 * hl-line.el (hl-line-sticky-flag): Doc fix.
16750 (global-hl-line-sticky-flag): New option (Bug#8323).
16751 (global-hl-line-highlight): Obey it.
16752
16f07dd7
CY
16753 * vc/vc.el (vc-revert-show-diff): Default to t.
16754
6b5ccddf
KM
167552011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16756
c9d29fb8
SM
16757 * allout-widgets.el (allout-widgets-post-command-business):
16758 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16759 undecorated when an isearch is continued past, and isearch
16760 automatically collapses them. This leads to "widget leaks", where
16761 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16762 hidden widgets can slow down cursor travel, substantially.
16763 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16764 so we're doing without this nicety.
16765
16766 (allout-widgets-tally-string): Don't try to do a hash-table-count
16767 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16768 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16769 *Messages* when allout-widgets-maintain-tally is t.
16770
355f2e07
MR
167712011-06-26 Martin Rudalics <rudalics@gmx.at>
16772
16773 * window.el (display-buffer-normalize-argument): Rename to
16774 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16775 LABEL argument. Respect special-display-function when popping up
16776 a new frame. Fix code searching for a window showing the buffer
16777 on another frame.
c9d29fb8
SM
16778 (display-buffer-normalize-specifiers):
16779 Call display-buffer-normalize-arguments.
355f2e07
MR
16780 (display-buffer-in-window): Don't undedicate the window if its
16781 buffer remains the same.
16782 Reported by Drew Adams <drew.adams@oracle.com>.
16783 (display-buffer-alist): Add choice for same-window macro
16784 specfier.
16785 (display-buffer): Mention special meaning of LABEL argument in
16786 doc-string. Fix quoting. Don't pop up a new frame even as
16787 fallback.
16788
7ca8fc42
JB
167892011-06-26 Juanma Barranquero <lekktu@gmail.com>
16790
16791 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16792 avoid deleting the current window in some cases (bug#8911).
16793
bc312254
AS
167942011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16795
16796 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16797 (Bug#8934)
16798
2db18f3f
LMI
167992011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16800
c9d29fb8
SM
16801 * net/network-stream.el (network-stream-open-starttls):
16802 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16803 (network-stream-open-tls): Ditto.
16804
6302e0d3
LL
168052011-06-26 Leo Liu <sdl.web@gmail.com>
16806
16807 * register.el (registerv): New struct.
16808 (registerv-make): New function.
c9d29fb8
SM
16809 (jump-to-register, describe-register-1, insert-register):
16810 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16811 struct. (Bug#8415)
16812
5fdd4046
CY
168132011-06-26 Chong Yidong <cyd@stupidchicken.com>
16814
2afef60a
CY
16815 * vc/vc.el (vc-revert-show-diff): New defcustom.
16816 (vc-diff-internal): New arg specifying diff buffer.
16817 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16818 reuse an existing *vc-diff* buffer (Bug#8927).
16819
5fdd4046
CY
16820 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16821
e93db24a
GM
168222011-06-26 Glenn Morris <rgm@gnu.org>
16823
16824 * progmodes/f90.el (f90-critical-indent): New option.
16825 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16826 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16827 (f90-mode): Doc fix.
16828 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16829 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16830 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16831 (f90-match-end): Handle block, critical.
16832
eefff499
GM
168332011-06-25 Glenn Morris <rgm@gnu.org>
16834
f6ba4cc9
GM
16835 * calendar/diary-lib.el (diary-included-files): Doc fix.
16836 (diary-include-files): New function, extracted from
16837 diary-include-other-diary-files and diary-mark-included-diary-files.
16838 (diary-include-other-diary-files, diary-mark-included-diary-files):
16839 Just call diary-include-files.
16840 (diary-mark-entries): Reset diary-included-files on first call.
16841
16712304
GM
16842 * calendar/diary-lib.el (diary-mark-entries)
16843 (diary-mark-included-diary-files):
16844 Visit included diary-files in temp buffers.
16845
5d8e0d43
GM
16846 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16847 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16848 (f90-start-block-re, f90-imenu-generic-expression)
16849 (f90-looking-at-program-block-start, f90-no-block-limit):
16850 Add support for submodules.
16851
ccf7a5d5
GM
16852 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16853 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16854
11fdef7d 168552011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16856
16857 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16858 buffer-file-type before setting its value, to avoid disastrous
eefff499 16859 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16860
74f53697
JB
168612011-06-25 Juanma Barranquero <lekktu@gmail.com>
16862
16863 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16864
16865 * ses.el (ses-unload-function):
16866 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16867
16868 * proced.el (proced-unload-function):
16869 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16870
18a4ce5e
AR
168712011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16872
16873 * server.el (server-create-window-system-frame): Add parameters arg.
16874 (server-process-filter): Doc fix. Handle frame-parameters.
16875
519d22cc
JB
168762011-06-25 Juanma Barranquero <lekktu@gmail.com>
16877
16878 Fix bug#8730, bug#8781.
16879
16880 * loadhist.el (unload--set-major-mode): New function.
16881 (unload-feature): Use it.
16882
16883 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16884 (python-unload-function): New function.
16885
c206f5b0
SM
168862011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16887
16888 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16889
f9ad64f3
GS
168902011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16891
16892 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16893 the candidates list.
16894
7d0da90e
JB
168952011-06-24 Juanma Barranquero <lekktu@gmail.com>
16896
16897 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16898
14b4e83d
RS
168992011-06-23 Richard Stallman <rms@gnu.org>
16900
16901 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16902 (rmail-variables): Set next-error-move-function.
16903 (rmail-what-message): Take argument POS.
16904 (rmail-next-error-move): New function.
16905
273d2baf
SM
169062011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16907
16908 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16909 messages for adjacent non-terminals.
16910
56c2cc9a
RS
169112011-06-23 Richard Stallman <rms@gnu.org>
16912
16913 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16914 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16915 (rmail-start-mail): Don't specify use of rmail-mail-return;
16916 that's done by mail-bury now.
16917 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16918
d59eb518
MA
169192011-06-23 Michael Albinus <michael.albinus@gmx.de>
16920
16921 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16922 SIZE is a number.
16923
02cfc6d6
MR
169242011-06-23 Martin Rudalics <rudalics@gmx.at>
16925
16926 * window.el (get-lru-window, get-mru-window)
16927 (get-largest-window): Never return a minibuffer window.
16928 (display-buffer-pop-up-window): Fix a bug that could lead to
16929 reusing the minibuffer window.
16930 (display-buffer): Pass original specifier argument to
16931 display-buffer-function instead of the normalized one.
16932 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16933
4e323265
LL
169342011-06-22 Leo Liu <sdl.web@gmail.com>
16935
16936 * minibuffer.el (completing-read-function)
1f9f395d 16937 (completing-read-default): Move from minibuf.c.
4e323265 16938
7a70468f
RS
169392011-06-22 Richard Stallman <rms@gnu.org>
16940
50718fc2
RS
16941 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16942 to Rmail even if not started by a special Rmail command.
16943
7a70468f
RS
16944 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16945 Copy the buffer currently showing just one message.
16946
297dde5a
RW
169472011-06-22 Roland Winkler <winkler@gnu.org>
16948
16949 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16950 (bibtex-clean-entry): First delete the old key so that a
16951 customized algorithm for generating the new key does not get
16952 confused by the old key.
16953 (bibtex-url): Obey regexp of first step.
16954 (bibtex-search-entries): Do not use add-to-list with local
16955 list-var.
16956
97bb1093
LMI
169572011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16958
16959 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16960 stored a user name, then query for the password first, instead of
16961 waiting for SMTP to give an error message and the trying again.
16962
1c0f1a19
JD
169632011-06-22 Lawrence Mitchell <wence@gmx.li>
16964
16965 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16966 BUFFER in call-process.
16967
396f7c9d
LMI
169682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16969
16970 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16971 QUIT twice.
ddb7ffee
LMI
16972 (smtpmail-try-auth-methods): Require user name and password from
16973 auth-source.
396f7c9d 16974
8998d1b3
MR
169752011-06-22 Martin Rudalics <rudalics@gmx.at>
16976
16977 * window.el (display-buffer-default-specifiers)
16978 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16979 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16980 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16981
16982 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16983 (special-display-frame-alist, special-display-popup-frame):
16984 Remove duplicate declarations. These are now in window.el.
16985
4ea31e07
LMI
169862011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16987
c9d29fb8
SM
16988 * mail/smtpmail.el (smtpmail-via-smtp):
16989 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16990 server supports it. SMTP servers that support STARTTLS commonly
16991 require it.
16992
16993 * net/network-stream.el (network-stream-open-starttls): Support
16994 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16995 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16996
95f41d9a
LMI
16997 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16998 upgrades with `open-network-stream', and rely solely on
16999 auth-source for all credentials. Big changes throughout the file,
17000 but in particular:
c9d29fb8
SM
17001 (smtpmail-auth-credentials): Remove.
17002 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17003 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17004 MAIL FROM, too.
95f41d9a 17005
c9d29fb8
SM
17006 * net/network-stream.el (network-stream-open-starttls):
17007 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17008 STARTTLS.
17009 (auth-source): Require.
17010 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17011 (network-stream-certificate): Change cert-cert to cert and
17012 cert-key to key.
4ea31e07 17013
065ec2c7
MA
170142011-06-21 Michael Albinus <michael.albinus@gmx.de>
17015
17016 * net/tramp-cache.el (top): Don't load the persistency file when
17017 "emacs -Q" has been called.
17018
cd93b359
DR
170192011-06-21 Tim Harper <timcharper@gmail.com>
17020
d8e4b68b
JB
17021 * term/ns-win.el (ns-initialize-window-system):
17022 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17023 resource to NO as it is not yet supported by the NS port.
17024
ae9c0411
JB
170252011-06-21 Juanma Barranquero <lekktu@gmail.com>
17026
17027 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17028 (list-dynamic-libraries): ...not here.
17029
7f3f739f
LL
170302011-06-21 Leo Liu <sdl.web@gmail.com>
17031
17032 * subr.el (sha1): Implement sha1 using secure-hash.
17033
327c8fb1
MR
170342011-06-21 Martin Rudalics <rudalics@gmx.at>
17035
17036 * window.el (display-buffer-alist): In default value do not
17037 enforce searching a window on any but the selected frame.
17038 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17039 (display-buffer-select-window): Remove function.
17040 (display-buffer-in-window): When a window on another frame gets
17041 reused, do not select it any more but just raise its frame if
17042 necessary (Bug#8851) and (Bug#8856).
17043 (display-buffer-normalize-options): Handle pop-up-frames related
17044 options more faithfully.
17045 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17046 window if it is on another frame.
c9d29fb8
SM
17047 (display-buffer-alist, display-buffer-default-specifiers):
17048 Don't make new frame unsplittable by default.
9e9de014
MR
17049 (display-buffer-normalize-argument): Fix doc-string typo and use
17050 'same-frame-other-window instead of 'other-window when associating
17051 with display-buffer-macro-specifiers.
327c8fb1 17052
7cf3f556
VB
170532011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17054
17055 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17056 New functions.
17057 (5x5-mode-map, 5x5-mode-menu): Bind them.
17058 (5x5-draw-grid): Tweak the solver's rendering.
17059
60a406cf
SM
170602011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17063 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17064
d8e4b68b 170652011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17066
17067 * menu-bar.el: Use function variable instead of switch-to-buffer.
17068 (menu-bar-select-buffer-function): New variable.
60a406cf 17069 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17070
478d6f95
SM
170712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17072
17073 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17074 variable's status.
17075
ca530739
JD
170762011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17077
17078 * x-dnd.el (x-dnd-version-from-flags)
17079 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17080 and long as number (Bug#8899).
17081 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17082
bcd70d97
SM
170832011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17084
60a406cf 17085 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17086 (completion-try-completion, completion-all-completions): Compute the
17087 metadata argument if it's missing; make it optional (bug#8795).
17088
60a406cf 17089 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17090 (widget-complete): Use new :completion-function property.
17091 (widget-completions-at-point): New function.
17092 (default): Use :completion-function instead of :complete.
60a406cf
SM
17093 (widget-default-completions): Rename from widget-default-complete;
17094 Rewrite.
bcd70d97
SM
17095 (widget-string-complete, widget-file-complete, widget-color-complete):
17096 Remove functions.
17097 (file, symbol, function, variable, coding-system, color):
17098 * international/mule-cmds.el (default-input-method, charset)
17099 (language-info-custom-alist):
17100 * cus-edit.el (face): Use new property :completions.
17101
17102 * progmodes/pascal.el (pascal-completions-at-point): New function.
17103 (pascal-mode): Use it.
17104 (pascal-mode-map): Use completion-at-point.
17105 (pascal-toggle-completions): Make obsolete.
17106 (pascal-complete-word, pascal-show-completions):
17107 * progmodes/octave-mod.el (octave-complete-symbol):
17108 Redefine as obsolete alias.
17109 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17110 Signal absence of completion info for old Octave,
17111 (inferior-octave-complete): Redefine as obsolete alias.
17112 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17113 (meta-completions-at-point): Rename from meta-complete-symbol and
17114 adapt it for use on completion-at-point-functions.
17115 (meta-common-mode): Use it.
17116 (meta-looking-at-backward, meta-match-buffer): Remove.
17117 (meta-complete-symbol): Redefine as obsolete alias.
17118 (meta-common-mode-map): Use completion-at-point.
17119 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17120 (makefile-mode-map): Use completion-at-point.
17121 (makefile-completions-at-point): Rename from makefile-complete and
17122 adapt it for use on completion-at-point-functions.
17123 (makefile-mode): Use it.
17124 (makefile-complete): Redefine as obsolete alias.
17125
aebf69c8
DD
171262011-06-20 Deniz Dogan <deniz@dogan.se>
17127
17128 * net/rcirc.el: Delete trailing whitespaces once and for all.
17129
bfbbb27d
DC
171302011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17131
17132 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17133
d264a46b
CY
171342011-06-19 Chong Yidong <cyd@stupidchicken.com>
17135
4ca009e5
CY
17136 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17137
d264a46b
CY
17138 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17139
fbf5b3ce
MR
171402011-06-19 Martin Rudalics <rudalics@gmx.at>
17141
17142 * window.el (display-buffer-other-window-means-other-frame):
17143 Call display-buffer-normalize-alist.
17144 (display-buffer-normalize-specifiers-1): Rename to
17145 display-buffer-normalize-argument. New argument other-frame.
17146 Rewrite.
17147 (display-buffer-normalize-specifiers-2): Rename to
17148 display-buffer-normalize-options.
17149 (display-buffer-normalize-alist-1): New function.
17150 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17151 display-buffer-normalize-alist.
17152 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17153 (display-buffer-normalize-options-inhibit): New variable.
17154 (display-buffer-normalize-specifiers): Rewrite calling
17155 display-buffer-normalize-alist,
17156 display-buffer-normalize-argument, and
17157 display-buffer-normalize-options. Don't call the latter if
17158 display-buffer-normalize-options-inhibit is non-nil.
17159 (frame-auto-delete): New option.
17160 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17161 (window-list-no-nils, window-state-ignored-parameters)
17162 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17163 (window-state-put-1, window-state-put-2, window-state-put):
17164 New functions.
9a028c23
MR
17165 (display-buffer-normalize-options): Move special-display-p group
17166 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17167
6d10d800
CY
171682011-06-18 Chong Yidong <cyd@stupidchicken.com>
17169
6420d28b
CY
17170 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17171 groups (Bug#8776).
17172 (rx-submatch-n): New function.
17173 (rx): Document it.
17174
ddb8b596
CY
17175 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17176 (Bug#8768).
17177
17178 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17179
77080289
CY
17180 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17181
61dfb316
CY
17182 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17183 anytime existing face settings are present (Bug#8889).
17184
6d10d800
CY
17185 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17186 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17187 Remove unused argument.
17188
be3fb2b8
MR
171892011-06-18 Martin Rudalics <rudalics@gmx.at>
17190
bcd70d97
SM
17191 * window.el (display-buffer-default-specifiers):
17192 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17193 pop-up-window-min-width, and another reuse-window specifier
17194 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17195 (display-buffer-normalize-specifiers-2):
17196 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17197 pop-up-windows is unset. Add a reuse-window specifier for the
17198 case popping up a new window fails.
17199 (special-display-popup-frame): Remove double quoting.
28dec25a 17200 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17201
1c6d8c76
SM
172022011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17203
17204 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17205 according to comint-completion-addsuffix.
17206
17207 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17208 (pcomplete-suffix-list): Mark as obsolete.
17209 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17210 pcomplete-seen in the closure.
17211 (pcomplete-comint-setup): Setup completion-at-point as well.
17212 (pcomplete--entries): New function.
17213 (pcomplete--env-regexp): New var.
17214 (pcomplete-entries): Rewrite to work with partial-completion and
17215 without relying on pcomplete-suffix-list.
17216 (pcomplete-pare-list): Remove, unused.
17217
25aef8b8
MR
172182011-06-17 Martin Rudalics <rudalics@gmx.at>
17219
17220 * window.el (display-buffer-alist): Set pop-up-window-min-height
17221 and pop-up-window-min-width in default value. Reported by
17222 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17223 other-window-means-other-frame.
17224 (display-buffer-macro-specifiers): Comment out entry for
17225 other-window specifier.
17226 (display-buffer-other-window-means-other-frame): New function.
17227 (display-buffer-normalize-specifiers-1): New arguments
17228 buffer-name and label. Treat other-window case specially.
17229 (display-buffer-normalize-specifiers-2): Treat other-window case
17230 specially.
17231 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17232 (display-buffer-normalize-specifiers):
17233 Call display-buffer-normalize-specifiers-3.
25aef8b8 17234
dbad4f69
MR
172352011-06-17 Martin Rudalics <rudalics@gmx.at>
17236
17237 * window.el (same-window-p): Fix two typos introduced when
17238 adding with-no-warnings.
d1067961
MR
17239 (display-buffer-normalize-specifiers-1): Don't check
17240 pop-up-frames for 'unset initialization.
17241 (display-buffer-normalize-specifiers-2): Major rewrite using
17242 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17243 (pop-up-frames, display-buffer-reuse-frames)
17244 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17245 Suggested by David Engster <deng@randomsample.de>.
17246 (even-window-heights): Initialize to 'unset.
17247 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17248 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17249 other window case.
dbad4f69 17250
9b9c9e3a
MR
172512011-06-16 Martin Rudalics <rudalics@gmx.at>
17252
bcd70d97
SM
17253 * window.el (display-buffer-normalize-specifiers-1):
17254 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17255 second argument of display-buffer (Bug#8865).
981d5c09
MR
17256 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17257 (switch-to-buffer-other-window-same-frame)
17258 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17259 Adams (Bug#8875).
9c2755e9
MR
17260 (display-buffer): Don't check noninteractive when calling
17261 display-buffer-pop-up-frame.
17262 (display-buffer-pop-up-frame): Never pop up a frame in
17263 noninteractive mode (Bug#8857).
67222e1d
MR
17264 (enlarge-window, shrink-window): Don't report an error when the
17265 window can't be resized as requested (Bug#8862).
9b9c9e3a 17266
2b75be67
SM
172672011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17268
9ffdd3ba
SM
17269 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17270
cb581a67
SM
17271 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17272
2b75be67
SM
17273 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17274
8c0e3589
AM
172752011-06-15 Alan Mackenzie <acm@muc.de>
17276
cb581a67
SM
17277 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17278 for declarators, disable knr checking to speed up for normal files.
17279 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17280
b96e6cde
LMI
172812011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17282
4bba86e6
LMI
17283 * net/network-stream.el (open-network-stream): Add the keyword
17284 :always-query-capabilities for the case where you want to force a
17285 `plain' network connection, but the protocol still requires the
17286 capabilitiy command (i.e., SMTP and EHLO).
17287
2b75be67 17288 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17289 consistency with other `-live-p' functions.
17290
efdcdbf8
SM
172912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17292
17293 * window.el (same-window-buffer-names, same-window-regexps)
17294 (special-display-frame-alist, special-display-popup-frame)
17295 (special-display-function, special-display-buffer-names)
17296 (special-display-regexps, pop-up-frame-alist)
17297 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17298 (pop-up-windows, split-window-preferred-function)
17299 (split-height-threshold, split-width-threshold, even-window-heights)
17300 (display-buffer-mark-dedicated): Don't encourage the use of
17301 display-buffer-alist from Elisp code.
17302
c5cde042
DN
173032011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17304
17305 * progmodes/python.el (python-mode): Derive from prog-mode.
17306 * progmodes/ps-mode.el (ps-mode):
17307 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17308 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17309 * progmodes/ld-script.el (ld-script-mode): Likewise.
17310
baa1c9ab
MR
173112011-06-15 Martin Rudalics <rudalics@gmx.at>
17312
17313 * window.el (display-buffer-alist): Trim default value to avoid
17314 popping up a new frame (Bug#8857) or reusing an arbitrary window
17315 on another frame.
17316 (display-buffer): Do not fall back on popping up a new frame in
17317 batch mode (Bug#8857).
17318
c5dd5a51
CY
173192011-06-14 Chong Yidong <cyd@stupidchicken.com>
17320
17321 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17322 (custom-theme-summary): New function.
17323 (customize-themes): Use it.
17324
d647b7c4
GM
173252011-06-13 Glenn Morris <rgm@gnu.org>
17326
17327 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17328
9481c002
MR
173292011-06-13 Martin Rudalics <rudalics@gmx.at>
17330
357f93d2
MR
17331 * help.el (help-window): Remove variable.
17332 (help-window-point-marker, temp-buffer-max-height)
17333 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17334 (help-print-return-message): Don't set help-window.
17335 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17336 (help-window-setup-finish): Remove.
17337 (help-window-display-message, help-window-setup)
17338 (with-help-window): Major rewrite based on new
17339 display-buffer-window variable.
17340
17341 * help-mode.el (help-mode-finish): Remove help-window related
17342 code.
17343
17344 * view.el (view-exits-all-viewing-windows): Remove reference to
17345 view-return-to-alist in doc-string.
17346 (view-return-to-alist): Make obsolete.
17347 (view-buffer): Call pop-to-buffer-same-window and remove
17348 undo-window code.
17349 (view-buffer-other-window): Call pop-to-buffer-other-window and
17350 simplify code. Ignore second argument.
17351 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17352 simplify code. Ignore second argument.
17353 (view-return-to-alist-update): Make obsolete.
17354 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17355 Rewrite using quit-restore window parameters.
2b75be67
SM
17356 (view-mode-exit): Rename second argument to EXIT-ONLY.
17357 Rewrite using quit-restore-window.
357f93d2
MR
17358 (View-exit, View-exit-and-edit, View-leave, View-quit)
17359 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17360 appropriate arguments.
17361 (view-end-message): Use quit-restore window parameter.
17362
9481c002
MR
17363 * window.el (display-buffer-function): Rewrite doc-string.
17364 (display-buffer-window, display-buffer-alist): New variables.
17365 (display-buffer-split-specifiers)
17366 (display-buffer-side-specifiers)
17367 (display-buffer-macro-specifiers): New constants.
17368 (display-buffer-even-window-sizes, display-buffer-set-height)
17369 (display-buffer-set-width, display-buffer-select-window)
17370 (display-buffer-in-window, display-buffer-reuse-window)
17371 (display-buffer-split-window-1, display-buffer-split-window)
17372 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17373 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17374 (display-buffer-in-side-window, normalize-buffer-to-display)
17375 (display-buffer-normalize-specifiers-1)
17376 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17377 (display-buffer-normalize-specifiers, display-buffer-frame):
17378 New functions.
9481c002
MR
17379 (display-buffer): Major rewrite.
17380 (display-buffer-other-window, display-buffer-other-frame)
17381 (pop-to-buffer, switch-to-buffer-other-window)
17382 (switch-to-buffer-other-frame): Rewrite.
17383 (display-buffer-same-window, display-buffer-same-frame)
17384 (display-buffer-same-frame-other-window)
17385 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17386 (pop-to-buffer-other-window)
17387 (pop-to-buffer-same-frame-other-window)
17388 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17389 (switch-to-buffer-other-window-same-frame): New functions.
17390 (same-window-p, special-display-p): Rewrite disabling warnings.
17391 Make obsolete.
17392 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17393 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17394 Make obsolete
17395 (same-window-buffer-names, same-window-regexps)
17396 (special-display-frame-alist, special-display-popup-frame)
17397 (special-display-function, special-display-buffer-names)
17398 (special-display-regexps, pop-up-frame-alist)
17399 (pop-up-frame-function, split-window-preferred-function)
17400 (split-height-threshold, split-width-threshold)
17401 (even-window-heights): Make obsolete.
17402
9db51aca
GM
174032011-06-12 Glenn Morris <rgm@gnu.org>
17404
17405 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17406 Misc simplifications.
9db51aca 17407
39cffb44
MR
174082011-06-12 Martin Rudalics <rudalics@gmx.at>
17409
17410 * window.el (window-safely-shrinkable-p): Restore function which
17411 was inadvertently removed in change from 2011-06-11. Declare as
17412 obsolete.
17413
2b75be67
SM
17414 * calendar/calendar.el (calendar-generate-window):
17415 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17416 window-safely-shrinkable-p.
17417
a8955be7
GM
174182011-06-12 Glenn Morris <rgm@gnu.org>
17419
17420 * progmodes/fortran.el (fortran-mode-syntax-table):
17421 * progmodes/f90.el (f90-mode-syntax-table):
17422 Set % to punctuation. (Bug#8820)
17423 (f90-find-tag-default): Remove, no longer needed.
17424
f0d4059d
DC
174252011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17426
17427 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17428
1100a63c
CY
174292011-06-11 Chong Yidong <cyd@stupidchicken.com>
17430
17431 * image.el (image-animated-p): Return animation delay in seconds.
17432 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17433 (image-animate-timeout): Remove DELAY argument. Don't assume
17434 every subimage has the same delay; get it from image-animated-p.
17435 (image-animate): Caller changed.
17436
def722bf
MA
174372011-06-11 Michael Albinus <michael.albinus@gmx.de>
17438
17439 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17440 to ignored backtrace functions.
17441
0a2bb1a9
GM
174422011-06-11 Glenn Morris <rgm@gnu.org>
17443
17444 * calendar/appt.el (appt-disp-window-function): Doc fix.
17445 (appt-check): Handle overlapping appointments. (Bug#8337)
17446
6198ccd0
MR
174472011-06-11 Martin Rudalics <rudalics@gmx.at>
17448
17449 * window.el (window-tree-1, window-tree): New functions, moving
17450 the latter to window.el.
17451 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17452 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17453 (bw-refresh-edges): Remove.
17454 (balance-windows-1, balance-windows-2): New functions.
17455 (balance-windows): Rewrite in terms of window tree functions,
17456 balance-windows-1 and balance-windows-2.
17457 (bw-adjust-window): Remove.
17458 (balance-windows-area-adjust): New function with functionality of
17459 bw-adjust-window but using resize-window.
2b75be67
SM
17460 (set-window-text-height): Rewrite doc-string.
17461 Use normalize-live-window and resize-window.
17462 (enlarge-window-horizontally, shrink-window-horizontally):
17463 Rename argument to DELTA.
6198ccd0
MR
17464 (window-buffer-height): New function.
17465 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17466 Rewrite using new window resize routines.
2b75be67
SM
17467 (kill-buffer-and-window, mouse-autoselect-window-select):
17468 Use ignore-errors instead of condition-case.
6198ccd0
MR
17469 (quit-window): Call delete-frame instead of delete-windows-on
17470 for the only buffer on frame.
17471
9397e56f
MR
174722011-06-10 Martin Rudalics <rudalics@gmx.at>
17473
17474 * loadup.el (top-level): Load window before files for the sake
17475 of replace-buffer-in-windows.
17476
17477 * files.el (read-buffer-to-switch)
17478 (switch-to-buffer-other-window)
2b75be67
SM
17479 (switch-to-buffer-other-frame, display-buffer-other-frame):
17480 Move to window.el.
9397e56f
MR
17481
17482 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17483 (previous-buffer): Move to window.el.
17484
17485 * bindings.el (unbury-buffer): Move to window.el.
17486
17487 * window.el (delete-other-windows-vertically): Move after
17488 definition of delete-other-windows.
17489 (other-window, delete-windows-on, replace-buffer-in-windows):
17490 Move here from window.c.
17491 (record-window-buffer, unrecord-window-buffer)
17492 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17493 (switch-to-next-buffer): New functions.
17494 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17495 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17496 (previous-buffer): Move here from simple.el.
17497 Call switch-to-prev-buffer.
9397e56f
MR
17498 (bury-buffer): Move here from buffer.c. Switch to previous
17499 buffer when window cannot be deleted.
17500 (unbury-buffer): Move here from bindings.el.
17501 (ctl-x-map): Move binding for other-window from window.c to
17502 here.
17503 (read-buffer-to-switch, switch-to-buffer-other-window)
17504 (switch-to-buffer-other-frame): Move here from files.el.
17505 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17506 (switch-to-buffer): Move here from buffer.c.
17507 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17508
562dd5e9
MR
175092011-06-10 Martin Rudalics <rudalics@gmx.at>
17510
17511 * window.el (window-min-height, window-min-width): Move here
17512 from window.c. Add defcustoms and rewrite doc-strings.
17513 (resize-mini-window, resize-window): New functions.
17514 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17515 Move here from window.c.
17516 (maximize-window, minimize-window): New functions.
17517 (delete-window, delete-other-windows, split-window): Move here
17518 from window.c.
17519 (window-split-min-size): New function.
17520 (split-window-keep-point): Mention split-window-above-each-other
17521 instead of split-window-vertically.
2b75be67 17522 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17523 Rename split-window-vertically to split-window-above-each-other
17524 and provide defalias for old definition.
17525 (split-window-side-by-side, split-window-horizontally):
17526 Rename split-window-horizontally to split-window-side-by-side
17527 and provide defalias for the old definition.
562dd5e9
MR
17528 (ctl-x-map): Move bindings for delete-window,
17529 delete-other-windows and enlarge-window here from window.c.
17530 Replace bindings for split-window-vertically and
17531 split-window-horizontally by bindings for
17532 split-window-above-each-other and split-window-side-by-side.
17533
17534 * cus-start.el (all): Remove entries for window-min-height and
17535 window-min-width. Add entries for window-splits and
17536 window-nest.
17537
f0da764a
GM
175382011-06-09 Glenn Morris <rgm@gnu.org>
17539
80675c21
GM
17540 * calendar/appt.el (appt-mode-line): New function.
17541 (appt-check, appt-disp-window): Use it.
17542
f0da764a
GM
17543 * files.el (hack-one-local-variable-eval-safep):
17544 Allow minor-modes with explicit +/-1 arguments.
17545
59f623b7
TZ
175462011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17547
17548 * term/xterm.el (xterm): Add defgroup.
17549 (xterm-extra-capabilities): Add defcustom to supply known xterm
17550 capabilities, skip querying them, or query them (default).
17551 (terminal-init-xterm): Use it.
17552 (terminal-init-xterm-modify-other-keys): New function to set up
17553 modifyOtherKeys support to simplify `terminal-init-xterm'.
17554
9aab8e0d
MR
175552011-06-09 Martin Rudalics <rudalics@gmx.at>
17556
17557 * window.el (resize-window-reset, resize-window-reset-1)
17558 (resize-subwindows-skip-p, resize-subwindows-normal)
17559 (resize-subwindows, resize-other-windows, resize-this-window)
17560 (resize-root-window, resize-root-window-vertically)
17561 (window-deletable-p, window-or-subwindow-p)
17562 (frame-root-window-p): New functions.
17563
e8b08aee
GM
175642011-06-09 Glenn Morris <rgm@gnu.org>
17565
17566 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17567 (ange-ftp-get-files): Use it.
17568
254c37a5
AK
175692011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17570
17571 * mail/sendmail.el (mail-recover-1, mail-recover):
17572 * files.el (recover-file, recover-session):
17573 Handle dired-listing-switches not being just a single short option.
17574
35d7dbd3
GM
175752011-06-09 Glenn Morris <rgm@gnu.org>
17576
17577 * calendar/appt.el (appt-display-message, appt-disp-window):
17578 Handle lists of appointments.
17579
387522b2
MR
175802011-06-08 Martin Rudalics <rudalics@gmx.at>
17581
2b75be67
SM
17582 * window.el (one-window-p): Move down in code.
17583 Rewrite doc-string.
17584 (window-current-scroll-bars): Rewrite doc-string.
17585 Normalize live window argument.
387522b2
MR
17586 (walk-windows, get-window-with-predicate, count-windows):
17587 Rewrite doc-string. Use window-list-1.
17588 (window-in-direction-2, window-in-direction, get-mru-window):
17589 New functions.
17590
d8e4b68b 175912011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17592
17593 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17594 Doc fix (Bug#8713).
17595
175962011-06-08 Chong Yidong <cyd@stupidchicken.com>
17597
17598 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17599
176002011-06-08 Juanma Barranquero <lekktu@gmail.com>
17601
17602 * loadhist.el (unload-feature-special-hooks):
17603 Add `comint-output-filter-functions'.
17604
0de12c52
IK
176052011-06-08 Ivan Kanis <gnu@kanis.fr>
17606
17607 * calendar/appt.el (appt-check): Move some initializations into the let.
17608
f3d1777e
MR
176092011-06-08 Martin Rudalics <rudalics@gmx.at>
17610
17611 * window.el (window-height): Defalias to window-total-height.
17612 (window-width): Defalias to window-body-width.
17613
18af70d0
CY
176142011-06-07 Chong Yidong <cyd@stupidchicken.com>
17615
17616 * image-mode.el (image-toggle-animation): New command.
17617 (image-mode-map): Bind it to RET.
17618 (image-mode): Update message.
17619 (image-toggle-display-image): Avoid a spurious cache flush.
17620 (image-transform-rotation): Doc fix.
17621 (image-transform-properties): Return quickly in the normal case.
17622 (image-animate-loop): Rename from image-animate-max-time.
17623
2b75be67 17624 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17625 (create-animated-image): Remove unnecessary function.
17626 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17627 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17628 (image-animate-timer): Use car-safe.
17629 (image-animate-timeout): Rename argument.
17630
190b47e6
MR
176312011-06-07 Martin Rudalics <rudalics@gmx.at>
17632
17633 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17634 window.c. Rename first argument to ALL-FRAMES.
17635 Rephrase doc-strings.
17636 (get-buffer-window-list): Rewrite using window-list-1.
17637 Rephrase doc-string.
a1511caf
MR
17638 (window-safe-min-height, window-safe-min-width): New constants.
17639 (window-size-ignore, window-min-size, window-min-size-1)
17640 (window-sizable, window-sizable-p, window-size-fixed-1)
17641 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17642 (window-max-delta-1, window-max-delta, window-resizable)
17643 (window-resizable-p, window-total-height, window-total-width)
17644 (window-body-width): New functions.
17645 (window-full-height-p, window-full-width-p): Rewrite using
17646 window-total-size.
17647 (window-body-height): Rewrite using window-body-size.
190b47e6 17648
85cc1f11
MR
176492011-06-06 Martin Rudalics <rudalics@gmx.at>
17650
17651 * window.el (window-right, window-left, window-child)
17652 (window-child-count, window-last-child, window-any-p)
17653 (normalize-live-buffer, normalize-live-frame)
17654 (normalize-any-window, normalize-live-window)
17655 (window-iso-combination-p, window-iso-combined-p)
17656 (window-iso-combinations)
17657 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17658 (windows-with-parameter, window-with-parameter)
17659 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17660 (window-atom-check, window-side-check, window-check):
17661 New functions.
85cc1f11
MR
17662 (ignore-window-parameters, window-sides, window-sides-vertical)
17663 (window-sides-slots): New variables.
17664 (window-size-fixed): Move down in code. Minor doc-string fix.
17665
e7156492
AS
176662011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17667
17668 * comint.el (comint-dynamic-complete-as-filename)
17669 (comint-dynamic-complete-filename): Correctly call
17670 completion-in-region.
17671
7e821d0d
DD
176722011-06-05 Deniz Dogan <deniz@dogan.se>
17673
17674 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17675 in last change.
17676
ac09b8a1
DD
176772011-06-05 Deniz Dogan <deniz@dogan.se>
17678
17679 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17680 (rcirc): Use it to prompt for encryption.
17681
34699b85
RW
176822011-06-05 Roland Winkler <winkler@gnu.org>
17683
17684 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17685 (bibtex-search-entries): New command bound to C-c C-a.
17686 (bibtex-display-entries): New function.
17687
004dedd3
RW
176882011-06-05 Roland Winkler <winkler@gnu.org>
17689
17690 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17691 (bibtex-insert-kill): After yanking insert newline if necessary.
17692 (bibtex-initialize): Call bibtex-string-files-init only once.
17693 (bibtex-mode): Do not call easy-menu-add.
17694 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17695 (bibtex-yank): Set arg properly if nil.
17696
022fe7ce
RW
176972011-06-05 Roland Winkler <winkler@gnu.org>
17698
2b75be67
SM
17699 * textmodes/bibtex.el (bibtex-search-entry-globally):
17700 New variable.
022fe7ce
RW
17701 (bibtex-search-entry): Use it.
17702
b7c3692a
RW
177032011-06-05 Roland Winkler <winkler@gnu.org>
17704
17705 * textmodes/bibtex.el (bibtex-entry-format): New option
17706 sort-fields.
17707 (bibtex-format-entry, bibtex-reformat): Honor this option.
17708 (bibtex-parse-entry): Return fields in proper order.
17709
8eda563d
JB
177102011-06-05 Juanma Barranquero <lekktu@gmail.com>
17711
17712 * doc-view.el (doc-view-remove-if): Move computation of result out
17713 of `dolist' to silence misleading lexical-binding warning.
17714
7dbe3dbc
CY
177152011-06-04 Chong Yidong <cyd@stupidchicken.com>
17716
17717 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17718 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17719
0c33dd17
MA
177202011-06-04 Michael Albinus <michael.albinus@gmx.de>
17721
17722 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17723 "SunOS 5.10".
17724
f8f91c2b
MA
177252011-06-04 Michael Albinus <michael.albinus@gmx.de>
17726
17727 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17728 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17729 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17730 (tramp-parse-putty):
17731 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17732 (tramp-completion-function-alist-ssh)
17733 (tramp-completion-function-alist-telnet)
17734 (tramp-completion-function-alist-su)
17735 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17736 cookie.
17737
17738 * net/tramp-ftp.el:
17739 * net/tramp-sh.el:
17740 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17741 load "tramp.el" `tramp-set-completion-function'.
17742
e17d9003
SM
177432011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17744
17745 * shell.el: Require and use pcomplete.
17746 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17747 (shell-completion-vars): Set pcomplete-default-completion-function.
17748
6c4cab03
DD
177492011-06-04 Deniz Dogan <deniz@dogan.se>
17750
17751 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17752 `memq' (Bug#8799).
17753
ea9fafe0
SM
177542011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17755
17756 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17757
b3e945d3
JB
177582011-06-02 Juanma Barranquero <lekktu@gmail.com>
17759
17760 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17761 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17762 * vc/log-view.el (log-view-beginning-of-defun):
17763 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17764 (smerge-refine-forward, smerge-refine-chopup-region):
17765 Silence warning for unused `dotimes' counter variables.
17766
7d520089
SM
177672011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17768
17769 * net/tramp.el (tramp-with-progress-reporter): Rename from
17770 with-progress-reporter. Use `declare'.
17771 * net/tramp-smb.el:
17772 * net/tramp-sh.el:
17773 * net/tramp-gvfs.el: Update all uses.
17774
a1c2400f
JB
177752011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17776
17777 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17778 buffer isn't killed before making it current.
17779
2403c841
SM
177802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17781
17782 Silence various byte-compiler warnings.
17783 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17784 `access-type' and new obsolescence format.
17785 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17786 new format.
17787 (byte-compile-check-variable): New `access-type' argument.
17788 Only warn if the access-type is obsolete.
17789 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17790 (byte-compile-variable-set): Adjust callers.
17791 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17792 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17793 setting it as obsolete.
17794 * simple.el (minibuffer-completing-symbol):
17795 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17796 access as obsolete.
17797 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17798 obsolete yet.
17799 * international/quail.el (quail-mouse-choose-completion): Remove unused
17800 code referring to obsolete var.
17801 (quail-choose-completion-string): Remove.
17802 * server.el (server-clients-with, server-kill-buffer-query-function)
17803 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17804 * proced.el (proced-send-signal):
17805 * emacs-lisp/lisp.el (lisp-complete-symbol):
17806 Replace completion-annotate-function with completion-extra-properties.
17807
2462470b
SM
178082011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17809
fb5b2591
SM
17810 * simple.el (goto-line): Use read-number.
17811 (overriding-map-is-bound): Remove.
17812 (saved-overriding-map): Change default.
17813 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17814 Take the map as argument.
17815 (universal-argument, negative-argument, digit-argument): Use it.
17816 (restore-overriding-map): Adjust.
17817 (do-auto-fill): Use fill-forward-paragraph.
17818 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17819
fd6fa53f
SM
17820 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17821 (minibuffer-inactive-mode): New major mode.
17822 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17823 the *Messages* buffer" hack.
17824 (mouse-popup-menubar): Don't burp if the event is a normal key.
17825
2462470b
SM
17826 Miscellaneous tweaks.
17827 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17828 lexical scoping as in subr.el's dolist and dotimes.
17829 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17830 Silence compiler warning.
17831 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17832 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17833 * international/ccl.el (ccl-compile): Trivial simplification.
17834 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17835 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17836 `printflag' argument.
17837 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17838 Purecopy the whole obsolescence data.
17839
108bf785
LL
178402011-06-01 Leo Liu <sdl.web@gmail.com>
17841
17842 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17843 improve doc-string as suggested by Marco Pessotto
17844 <melmothx@gmail.com>.
17845 (rcirc-print): Fix last change.
17846
30a23501
SM
178472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17848
17849 * minibuffer.el (complete-with-action): Return nil for the metadata and
17850 boundaries of non-functional tables.
17851 (completion-table-dynamic): Return nil for the metadata.
17852 (completion-table-with-terminator): Add default case, using
17853 complete-with-action.
17854 (completion--metadata): New function.
17855 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17856 to try and avoid pathological performance problems.
17857 (completion--embedded-envvar-table): Return `category' metadata.
17858
bcd54f83
LMI
178592011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17860
17861 * subr.el (process-alive-p): New tiny convenience function.
17862
e227544d
SM
178632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17864
17865 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17866 content but also its previous major mode.
17867
e8296fdc
HE
178682011-05-31 Helmut Eller <eller.helmut@gmail.com>
17869
4d61f28d 17870 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17871 *Backtrace* buffer when we exit with C-M-c.
17872
620c53a6
SM
178732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17874
17875 * minibuffer.el: Add metadata method to completion tables.
17876 (completion-category-overrides): New defcustom.
17877 (completion-metadata, completion--field-metadata)
17878 (completion-metadata-get, completion--styles)
17879 (completion--cycle-threshold): New functions.
17880 (completion-try-completion, completion-all-completions):
17881 Add `metadata' argument to choose completion-styles.
17882 (completion--do-completion): Use metadata to choose cycling.
17883 (completion-all-sorted-completions): Use metadata for sorting.
17884 Remove :completion-cycle-penalty which is not needed any more.
17885 (completion--try-word-completion): Add `metadata' argument.
17886 (minibuffer-completion-help): Check metadata for annotation function
17887 and sorting.
17888 (completion-file-name-table): Return `category' metadata.
17889 (minibuffer-completing-file-name): Make obsolete.
17890 * simple.el (minibuffer-completing-symbol): Make obsolete.
17891 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17892 completion-try-completion.
17893
1257e755
SM
178942011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17895
17896 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17897
3767e706
LL
178982011-05-30 Leo Liu <sdl.web@gmail.com>
17899
17900 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17901 (rcirc-print): Decode all incoming messages (bug#8744).
17902 (rcirc-decode-coding-system): Allow value nil for automatic coding
17903 system detection.
3767e706 17904
d1a5d56a
GM
179052011-06-01 Glenn Morris <rgm@gnu.org>
17906
17907 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17908
e8cbec34
CY
179092011-05-29 Chong Yidong <cyd@stupidchicken.com>
17910
17911 * image.el (image-animate-max-time): Allow nil and t values.
17912 Default to nil.
17913 (create-animated-image): Doc fix.
17914 (image-animate-start): Remove second arg; just use
17915 image-animate-max-time.
17916 (image-animate-timeout): Doc fix. Args changed.
17917
17918 * image-mode.el (image-toggle-display-image): Ensure that the
17919 image spec passed to the animate timer is the same object as in
58179cce 17920 the buffer's display property (Bug#6981).
e8cbec34
CY
17921 (image-transform-properties): Doc fix.
17922
17923 * image.el (image-animate-max-time): Default to nil.
17924
159daf87
MR
179252011-05-29 Martin Rudalics <rudalics@gmx.at>
17926
17927 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17928 entire buffer list (Bug#8184).
17929
d66c4c7c
CY
179302011-05-29 Chong Yidong <cyd@stupidchicken.com>
17931
17932 * image.el (imagemagick-types-inhibit)
17933 (imagemagick-register-types): Doc fix.
17934
80aec780
DD
179352011-05-29 Deniz Dogan <deniz@dogan.se>
17936
17937 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17938 default.
17939
1dd3c2d9
CY
179402011-05-29 Chong Yidong <cyd@stupidchicken.com>
17941
17942 * select.el: Don't perform clipboard-manager saving in hooks;
17943 leave the hooks empty.
17944
60e56523
LL
179452011-05-28 Leo Liu <sdl.web@gmail.com>
17946
17947 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17948 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17949 (occur-edit-mode): New major mode (Bug#8463).
17950 (occur-after-change-function): New function.
17951 (occur-engine): Give Occur tags a read-only property.
17952
2b1e1a22
KR
179532011-05-28 Kevin Ryde <user42@zip.com.au>
17954
17955 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17956
5d344e88
CY
179572011-05-28 Chong Yidong <cyd@stupidchicken.com>
17958
8e6ca83d
CY
17959 * bindings.el (help-echo): Make the initial non-indicator dash
17960 empty on graphical terminals (Bug#7295).
17961
5d344e88
CY
17962 * files.el (auto-mode-alist): Move config rule after the
17963 in-stripping one (Bug#8547).
17964
bfbbace7
CY
17965 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17966
fbeba6e2
CY
17967 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17968 setting (Bug#8740).
17969
60ed8c72
AA
179702011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17971
4ac619f0
AA
17972 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17973 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17974 (Bug#8539).
60ed8c72 17975
23db196e
CY
179762011-05-28 Chong Yidong <cyd@stupidchicken.com>
17977
17978 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17979
5012f24c
DK
179802011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17981
17982 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17983 (hs-hide-block-at-point, hs-find-block-beginning)
17984 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17985 (Bug#8279).
17986
6a639b16
GM
179872011-05-28 Glenn Morris <rgm@gnu.org>
17988
17989 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17990
d43eaf2c
CY
179912011-05-28 Chong Yidong <cyd@stupidchicken.com>
17992
5199bde1
CY
17993 * help-fns.el (describe-function-1): If the function is a derived
17994 major mode, print the parent mode.
17995
d43eaf2c
CY
17996 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17997 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17998
423428a8
SM
179992011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18000
0ff8e1ba 18001 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18002 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18003 * progmodes/etags.el (tags-completion-at-point-function):
18004 * info-look.el (info-lookup-completions-at-point): Mark as
18005 non-exclusive.
18006 (info-complete): Adjust accordingly.
18007
423428a8
SM
18008 * info-look.el: Convert to lexical-binding and completion-at-point.
18009 (info-lookup-completions-at-point): New function.
18010 (info-complete): Use it and completion-in-region.
18011
b74aa22b
DA
180122011-05-28 Drew Adams <drew.adams@oracle.com>
18013
18014 * isearch.el: Let M-e start with point at the first mismatched char.
18015 (isearch-fail-pos): New function.
18016 (isearch-edit-string): Use it.
18017
66e2e71d
DK
180182011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18019
18020 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18021
b1890b0f 180222011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18023
18024 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18025 traversal functions for avl-trees.
18026 (avl-tree--stack): New struct.
18027 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18028 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18029 (avl-tree--do-enter): Add optional `updatefun' arg.
18030 Change return value.
eb95d01d 18031 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18032 (avl-tree--do-delete): Add `test' and `nilflag' args.
18033 Change return value.
eb95d01d
TC
18034 (avl-tree-member): Add optional `nilflag'
18035 (avl-tree-member-p): New function.
18036 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18037 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18038 (avl-tree-stack-empty-p): New functions.
18039
3769ddcf
TC
18040 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18041 avl-tree--del-balance1 and make it work both ways.
18042 (avl-tree--del-balance2): Remove.
18043 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18044 make it work both ways.
18045 (avl-tree--enter-balance2): Remove.
18046 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18047 New macros.
18048 (avl-tree--mapc, avl-tree-map): Add direction argument.
18049
eb95d01d 180502011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18051
18052 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18053
a9f737ee
CY
180542011-05-27 Chong Yidong <cyd@stupidchicken.com>
18055
18056 * select.el: Support clipboard managers with built-in function
18057 x-clipboard-manager-save, via delete-frame-functions and
18058 kill-emacs-hook.
18059 (xselect-convert-to-targets): Add MULTIPLE target to list.
18060 (xselect-convert-to-save-targets): New function.
18061
c92a1e54
KH
180622011-05-27 Kenichi Handa <handa@m17n.org>
18063
18064 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18065 let-binding rfc2047-encode-encoded-words to nil.
18066
e145f188
GM
180672011-05-27 Glenn Morris <rgm@gnu.org>
18068
5ec8a862
GM
18069 * mail/emacsbug.el: Don't require url-util.
18070
4b29d9fb
GM
18071 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18072
e145f188
GM
18073 * files.el (set-auto-mode):
18074 Also respect mode: entries at the end of the file. (Bug#8586)
18075
7d15102b
GM
180762011-05-26 Glenn Morris <rgm@gnu.org>
18077
98f593b8
GM
18078 * files.el (hack-local-variables-prop-line, hack-local-variables):
18079 Downcase mode names, as seems to be traditional.
27b48e63 18080 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18081
7d15102b
GM
18082 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18083 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18084
51d5b4ec
JD
180852011-05-25 Julien Danjou <julien@danjou.info>
18086
18087 * textmodes/rst.el (rst-define-level-faces): Do not define face
18088 symbol if it is already defined.
18089
91513f63
VB
180902011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18091
18092 * play/5x5.el (5x5-new-game, 5x5-randomize):
18093 Reset 5x5-solver-output to nil when a new grid is cast.
18094 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18095 these debugging traces, as defmacro breaks the compiled code.
18096
4d90d6d0
DK
180972011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18098
18099 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18100
e1b90ef6
LL
181012011-05-24 Leo Liu <sdl.web@gmail.com>
18102
18103 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18104 (vc-bzr-sha1): Adapt.
18105
d8e4b68b 18106 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18107
18108 * bindings.el: Provide sha1 feature.
18109
db0406bb 181102011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18111
18112 * mail/sendmail.el: Require `rfc2047'.
18113 (mail-insert-from-field): Do not perform RFC2047 encoding.
18114 (mail-encode-header): New function.
18115 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18116 buffer to the return value of select-message-coding-system.
18117 Call mail-encode-header.
b8d747b9
KH
18118
18119 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18120
db0406bb 181212011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18122
4d90d6d0
DK
18123 * mail/supercite.el (sc-default-cite-frame):
18124 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18125
eb8a5e9b
GM
181262011-05-24 Glenn Morris <rgm@gnu.org>
18127
f8630703
GM
18128 * progmodes/python.el (brm-menu): Declare.
18129
8831bbed
GM
18130 * emulation/viper.el (viper-set-hooks): Declare.
18131
eb8a5e9b
GM
18132 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18133 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18134 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18135 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18136 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18137 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18138
a2a25d24
SM
181392011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18140
18141 Add an :exit-function for completion-at-point.
18142
18143 * minibuffer.el (completion--done): New fun.
18144 (completion--do-completion): Use it. New arg `expect-exact'.
18145 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18146 since completion--do-completion does it for us now.
18147 (minibuffer-force-complete): Use completion--done and
18148 completion--replace. Handle sole-completion case with more care.
18149 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18150 (completion-extra-properties): New var.
18151 (completion-annotate-function): Make obsolete.
18152 (minibuffer-completion-help): Adjust accordingly.
18153 Use completion-list-insert-choice-function.
18154 (completion-at-point, completion-help-at-point):
18155 Bind completion-extra-properties.
18156 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18157 * simple.el (completion-list-insert-choice-function): New var.
18158 (completion-setup-function): Preserve it.
18159 (choose-completion): Pay attention to it, shuffle the code a bit.
18160 (choose-completion-string): New arg `insert-function'.
18161
18162 * textmodes/bibtex.el: Convert to lexical binding.
18163 (bibtex-mode-map): Use completion-at-point.
18164 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18165 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18166 (bibtex-complete): Define as obsolete alias.
18167 (bibtex-complete-internal): Remove.
18168 (bibtex-format-entry): Remove unused sub-group in regexp.
18169 * shell.el (shell--command-completion-data)
18170 (shell-environment-variable-completion):
18171 * pcomplete.el (pcomplete-completions-at-point):
18172 * comint.el (comint--complete-file-name-data): Use :exit-function
18173 instead of completion-table-with-terminator so it also works for
18174 choose-completion.
18175
e44e373d
SM
181762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18177
4f91a816
SM
18178 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18179
782fc819
SM
18180 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18181 (bug#8710).
18182
e44e373d
SM
18183 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18184
381987c3
KM
181852011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18186
18187 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18188 customization variable and implement: If non-nil, auto-fill will
18189 be inhibited while on topic's header line.
18190
b776bc70
VB
181912011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18192
18193 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18194 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18195 always have a solution in grid size = 5 cases.
18196 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18197 (5x5-solver-output, 5x5-log-buffer): New vars.
18198 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18199 Make these variables buffer local to achieve 5x5 multi-session-ness.
18200 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18201 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18202 (5x5-solve-suggest): New funs.
18203 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18204 randomize a grid so that we ensure that there is always a solution.
18205 (5x5-make-random-grid): Allow other movement than flipping.
18206
7de88b6e
KR
182072011-05-23 Kevin Ryde <user42@zip.com.au>
18208
18209 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18210 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18211 advice and passes PREDICATE.
18212
b1ef1257
SM
182132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18214
bbca48fe
SM
18215 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18216 byte-compile-lambda if it's actually a lambda.
18217
b1ef1257
SM
18218 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18219 Fix function quoting. Use backquote better.
18220
92a9cc65
YS
182212011-05-22 Yuanle Song <sylecn@gmail.com>
18222
18223 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18224 matching (Bug#8516).
18225
f0fb8059
JA
182262011-01-22 Jari Aalto <jari.aalto@cante.net>
18227
18228 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18229 different face (Bug#8178).
18230
d5b44c93
CY
182312011-05-22 Chong Yidong <cyd@stupidchicken.com>
18232
18233 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18234 defface (Bug#8144).
18235
79106a44
SM
182362011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18237
9c848d8a
SM
18238 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18239 funcall as well (bug#8712). Warn when performing those conversions.
18240 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18241
79106a44
SM
18242 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18243
88dfa756
GM
182442011-05-22 Glenn Morris <rgm@gnu.org>
18245
18246 * files.el (hack-local-variables-prop-line): Small simplifications.
18247 (hack-local-variables, hack-local-variables-prop-line):
18248 If MODE-ONLY, return the mode, rather than just `t'.
18249
b7cf2c79
SM
182502011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18251
18252 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18253
3f1a8558
GM
182542011-05-21 Glenn Morris <rgm@gnu.org>
18255
7e4ccca3
GM
18256 * files.el (hack-local-variables-prop-line, hack-local-variables):
18257 If only interested in the mode, don't bother doing the other stuff.
18258
637d46ca
GM
18259 * image-mode.el (image-after-revert-hook):
18260 Redraw all frames on which the image is visible. (Bug#8567)
18261
973d955b
GM
18262 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18263
3f1a8558
GM
18264 * wid-edit.el (widget-checklist-match-inline):
18265 Fix 2011-04-19 change. (Bug#8649)
18266
96479927
SM
182672011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18268
1dcf791f
SM
18269 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18270 Also allow singlespace after single-letter capitals followed by a dot.
18271
96479927
SM
18272 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18273 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18274
35fd0881
N
182752011-05-20 Nix <nix@esperi.org.uk>
18276
18277 * files.el (basic-save-buffer-2):
18278 Fix handling of break-hardlink-on-save with non-existent files.
18279
82745640
DD
182802011-05-19 Deniz Dogan <deniz@dogan.se>
18281
18282 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18283 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18284
4a720484
GM
182852011-05-19 Glenn Morris <rgm@gnu.org>
18286
d1f21341
GM
18287 * progmodes/f90.el (f90-type-def-re):
18288 Handle "type, bind(c)". (Bug#8691)
18289
4a720484
GM
18290 * emacs-lisp/autoload.el (batch-update-autoloads):
18291 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18292
2fb0a219
MA
182932011-05-18 Michael Albinus <michael.albinus@gmx.de>
18294
18295 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18296 property for the correct connection in case of multihops.
18297
e565dd37
GM
182982011-05-18 Glenn Morris <rgm@gnu.org>
18299
c2571358 18300 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18301 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18302
e565dd37
GM
18303 Rationalize calendar handling of day and month abbrev-arrays.
18304 * calendar/calendar.el (calendar-customized-p): New function.
18305 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18306 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18307 Add :set function.
18308 (calendar-abbrev-length, calendar-day-abbrev-array)
18309 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18310 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18311 Elements may no longer be nil.
18312 (calendar-day-name, calendar-month-name):
18313 Update for changed nature of abbrev arrays.
18314 * calendar/diary-lib.el (diary-name-pattern):
18315 Update for changed nature of abbrev arrays.
18316 (diary-mark-entries-1): Update calendar-make-alist calls.
18317 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18318 * calendar/cal-html.el (cal-html-day-abbrev-array):
18319 Simply inherit from calendar-day-abbrev-array.
18320
1d99a745
SM
183212011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18322
18323 * progmodes/grep.el (grep-mode): Disable default
18324 compilation-directory-matcher setting (bug#8684).
18325
7c1d9aa0
MA
183262011-05-17 Michael Albinus <michael.albinus@gmx.de>
18327
18328 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18329 instead of "head" and "tail". There were problems with SunOS 5.9,
18330 and it performs better.
18331
3952e9d8
GM
183322011-05-17 Glenn Morris <rgm@gnu.org>
18333
2dd12e7f
GM
18334 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18335
e4157b9c
GM
18336 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18337 Replace obsolete function.
18338
8e249bbd
GM
18339 * shell.el (pcomplete-parse-arguments-function): Declare.
18340
3952e9d8
GM
18341 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18342 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18343 (appt-check): Doc fixes.
18344 (appt-disp-window-function, appt-delete-window-function):
18345 Remove needless special case in custom :type.
18346 (appt-display-count): Default to 0, not nil.
18347 (appt-check): Reset appt-display-count to 0, not nil.
18348
c71a0d48 183492011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18350
c71a0d48
GM
18351 * progmodes/python.el (python-font-lock-keywords):
18352 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18353
31d55be9
SM
183542011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18355
18356 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18357
3bfacb2f
KR
183582011-05-16 Kevin Ryde <user42@zip.com.au>
18359
18360 * info-look.el (makefile-automake-mode): New setups, looking in
18361 automake manual, then makefile-mode.
18362 (makefile-mode): Remove automake manual, have it just in
18363 makefile-automake-mode since there's various things different or
18364 not relevant to plain make.
18365 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18366 believe a hypothetical automake-mode would go to makefile-mode,
18367 not the other way around.
18368
c8e83751
CY
183692011-05-15 Chong Yidong <cyd@stupidchicken.com>
18370
5e9e35cd
CY
18371 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18372 hunk-end tags (Bug#8672).
18373
c8e83751
CY
18374 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18375 vc-annotate-show-diff-revision-at-line (Bug#8671).
18376
50b23e5a
GM
183772011-05-14 Glenn Morris <rgm@gnu.org>
18378
7210a739
GM
18379 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18380 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18381 (change-log-font-lock-keywords): Also handle multiple author lines
18382 with leading tabs. (Bug#8644)
7210a739 18383
4691905a
GM
18384 * calendar/appt.el (appt-check): Rename some local variables.
18385 Some simplification/reordering.
18386
50b23e5a
GM
18387 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18388 (feedmail-sendmail-f-doesnt-sell-me-out)
18389 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18390 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18391 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18392 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18393 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18394 (feedmail-binmail-gnulinuxish-template):
18395 Rename from feedmail-binmail-linuxish-template.
18396 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18397 Use insert-buffer-substring.
18398
215cda7c
BC
183992011-05-14 Bill Carpenter <bill@carpenter.org>
18400
18401 * mail/feedmail.el (feedmail-patch-level): Increase.
18402 (feedmail-debug): New custom group.
18403 (feedmail-confirm-outgoing-timeout)
18404 (feedmail-sendmail-f-doesnt-sell-me-out)
18405 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18406 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18407 (feedmail-sender-line, feedmail-from-line)
18408 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18409 (feedmail-spray-this-address)
215cda7c
BC
18410 (feedmail-spray-address-fiddle-plex-list)
18411 (feedmail-queue-use-send-time-for-date)
18412 (feedmail-queue-use-send-time-for-message-id)
18413 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18414 (feedmail-buffer-eating-function):
18415 Doc fixes.
18416 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18417 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18418 (feedmail-message-action-scroll-down): New functions.
18419 (feedmail-queue-directory, feedmail-queue-draft-directory):
18420 Use expand-file-name.
18421 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18422 Remove C-v help entry.
18423 (feedmail-queue-buffer-file-name): New variable.
18424 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18425 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18426 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18427 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18428 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18429 (feedmail-message-action-toggle-spray)
18430 (feedmail-run-the-queue-no-prompts)
18431 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18432 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18433 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18434 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18435 (feedmail-envelope-deducer, feedmail-fiddle-from)
18436 (feedmail-fiddle-sender, feedmail-default-date-generator)
18437 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18438 (feedmail-fiddle-spray-address)
18439 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18440 (feedmail-fiddle-list-of-fiddle-plexes)
18441 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18442 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18443 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18444 Change default. Doc fix.
18445 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18446 (feedmail-binmail-linuxish-template): New constant.
18447 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18448 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18449 (feedmail-send-it): Add debug call.
18450 Use feedmail-queue-buffer-file-name, and
18451 feedmail-send-it-immediately-wrapper.
18452 (feedmail-message-action-send): Add debug call.
18453 Use feedmail-send-it-immediately-wrapper.
18454 (feedmail-queue-express-to-queue): Add debug call.
18455 Run feedmail-queue-express-hook.
18456 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18457 (feedmail-message-action-help-blat):
18458 Rename from feedmail-queue-send-edit-prompt-help-first.
18459 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18460 Check line-endings. Handle errors better.
18461 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18462 Doc fix. Add debug call.
18463 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18464 Use feedmail-queue-send-edit-prompt-inner.
18465 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18466 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18467 from feedmail-queue-send-edit-prompt.
18468 (feedmail-queue-send-edit-prompt-help)
18469 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18470 (feedmail-tidy-up-slug): Add debug call.
18471 Respect feedmail-queue-slug-suspect-regexp.
18472 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18473 (feedmail-dump-message-to-queue): Add debug call.
18474 Expand queue-directory.
18475 (feedmail-dump-message-to-queue): Change message slightly.
18476 Use feedmail-say-chatter.
18477 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18478 (feedmail-send-it-immediately-wrapper): New function.
18479 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18480 Insert empty string rather than newline. Handle full-frame case.
18481 Use catch/throw. Use feedmail-say-chatter.
18482 (feedmail-fiddle-from): Try mail-host-address.
18483 (feedmail-default-message-id-generator): Doc fix.
18484 Bind system-time-locale. Handle missing end.
18485 (feedmail-fiddle-x-mailer): Add debug call.
18486 Handle feedmail-x-mailer-line being nil.
18487 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18488 Add debug call. Use buffer-substring-no-properties.
18489 (feedmail-say-debug, feedmail-say-chatter): New functions.
18490 (feedmail-find-eoh): Give an explicit error.
18491
42c7e61e
UJ
184922011-05-13 Ulf Jasper <ulf.jasper@web.de>
18493
c2571358 18494 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18495 family from helvetica to sans.
c2571358 18496 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18497 etc/images/newsticker.
18498
c2571358 18499 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18500 family from helvetica to sans.
18501
18502 * net/newst-plainview.el (newsticker-new-item-face)
18503 (newsticker-old-item-face, newsticker-immortal-item-face)
18504 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18505 (newsticker-statistics-face): Change default family from
42c7e61e 18506 helvetica to sans.
c2571358 18507 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18508 etc/images/newsticker.
18509
5d3385a0
JB
18510 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18511 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18512 auto-marking.
18513
8497a297
DV
185142011-05-13 Didier Verna <didier@xemacs.org>
18515
18516 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18517 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18518 TODO entries.
8497a297
DV
18519 (lisp-lambda-list-keyword-parameter-indentation)
18520 (lisp-lambda-list-keyword-parameter-alignment)
18521 (lisp-lambda-list-keyword-alignment): New customizable user options.
18522 (lisp-indent-defun-method): Improve docstring.
18523 (extended-loop-p): Fix comment.
18524 (lisp-indent-lambda-list-keywords-regexp): New variable.
18525 (lisp-indent-lambda-list): New function.
18526 (lisp-indent-259): Use it.
18527 (lisp-indent-defmethod): Support for more than one
18528 method qualifier and properly indent methods lambda-lists.
18529 (defgeneric): Provide a missing common-lisp-indent-function property.
18530
f278f87f
SM
185312011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18532
18533 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18534 bounds for the empty string (bug#8667).
18535
5233edd7
GM
185362011-05-13 Glenn Morris <rgm@gnu.org>
18537
5237a44f
GM
18538 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18539
8340026c 18540 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18541 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18542
5233edd7 18543 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18544 (appt-time-msg-list): Doc fix.
a5464014 18545 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18546
92d10796
AS
185472011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18548
18549 * progmodes/ld-script.el (ld-script-keywords)
18550 (ld-script-builtins): Update keywords list.
18551
914a0ae1
SM
185522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18553
c89be45f
SM
18554 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18555
914a0ae1
SM
18556 * shell.el (shell-completion-vars): New function.
18557 (shell-mode):
18558 * simple.el (read-shell-command): Use it.
18559 (blink-matching-open): No need for " [...]" in minibuffer-message.
18560
98dc3df3
GM
185612011-05-12 Glenn Morris <rgm@gnu.org>
18562
18563 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18564 (appt-check): Simplify.
18565
d2fc7e3d 185662011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18567
4d61f28d 18568 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18569 literal "/dev/null".
18570
d2fc7e3d 185712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18572
18573 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18574 Fix typo.
18575
d2fc7e3d 185762011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18577
3f254caa
SM
18578 * progmodes/which-func.el (which-function):
18579 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18580 which might not be defined (Bug#8260).
18581
d45885f7
GM
185822011-05-12 Glenn Morris <rgm@gnu.org>
18583
18584 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18585 Let byte-compile-initial-macro-environment always take precedence.
18586
488086f4
SM
185872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18588
18589 * net/rcirc.el: Add support for SSL/TLS connections.
18590 (rcirc-server-alist): New field `encryption'.
18591 (rcirc): Check `encryption' settings.
18592 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18593 Merge make-local-variable into `set'.
18594 (rcirc--connection-open-p): New function.
18595 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18596 the process is not a network process (e.g. running gnutls-cli).
18597 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18598 Make rcirc-(en|de)code-coding-system local here.
18599 (rcirc-mode): Merge make-local-variable into `set'.
18600 (rcirc-parent-buffer): Make permanent buffer-local.
18601 (rcirc-multiline-minor-mode): Don't do it here.
18602 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18603 there's no server buffer.
18604
7d3b9d44
GM
186052011-05-11 Glenn Morris <rgm@gnu.org>
18606
f64049c6
GM
18607 * newcomment.el (comment-kill): Prefix "unused" local.
18608
93c9df73
GM
18609 * term/w32console.el (get-screen-color): Declare.
18610
7d3b9d44
GM
18611 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18612 Handle symbol elements of byte-compile-initial-macro-environment.
18613
9e2dd53f
LL
186142011-05-10 Leo Liu <sdl.web@gmail.com>
18615
488086f4
SM
18616 * bookmark.el (bookmark-bmenu-mode-map):
18617 Bind bookmark-bmenu-search to `/'.
8b340240 18618
9e2dd53f 18619 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18620 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18621 (Footnote-unicode): New function.
18622 (footnote-style-alist): Add unicode style to the list.
18623 (footnote-style): Doc fix.
9e2dd53f 18624
79b70037
GM
186252011-05-10 Jim Meyering <meyering@redhat.com>
18626
18627 Fix doubled-word typos.
18628 * international/quail.el (quail-insert-kbd-layout): and and -> and
18629 * kermit.el: and and -> and
18630 * net/ldap.el (ldap-search-internal): to to -> to
18631 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18632 * progmodes/js.el (js-mode): and and -> and
18633 * textmodes/artist.el (artist-move-to-xy): at at -> at
18634 (artist-draw-region-trim-line-endings): if if -> if
18635 And Safetyc -> Safety.
18636 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18637
b8f82dc1 186382011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18639 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18640
18641 * files.el (hack-one-local-variable-eval-safep):
18642 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18643
4f99f44b
GM
186442011-05-10 Glenn Morris <rgm@gnu.org>
18645
18646 * calendar/diary-lib.el (diary-list-entries-hook)
18647 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18648 (diary-nongregorian-marking-hook, diary-list-entries)
18649 (diary-include-other-diary-files, diary-mark-entries)
18650 (diary-mark-included-diary-files): Doc fixes.
18651
84f29e6b
JB
186522011-05-09 Juanma Barranquero <lekktu@gmail.com>
18653
18654 * misc.el: Require tabulated-list.el during compilation.
18655
9bedd73a
CY
186562011-05-09 Chong Yidong <cyd@stupidchicken.com>
18657
488086f4
SM
18658 * progmodes/compile.el (compilation-start):
18659 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18660 (compilation-filter-hook): Doc fix.
18661
797c735c
DD
186622011-05-09 Deniz Dogan <deniz@dogan.se>
18663
18664 * wdired.el: Remove outdated installation comment. Fix usage
18665 comment.
18666
5f4b1dfe
JB
186672011-05-09 Juanma Barranquero <lekktu@gmail.com>
18668
18669 * misc.el: Implement new command `list-dynamic-libraries'.
18670 (list-dynamic-libraries--loaded-only-p): New variable.
18671 (list-dynamic-libraries--refresh): New function.
18672 (list-dynamic-libraries): New command.
18673
4c44026c
CY
186742011-05-09 Chong Yidong <cyd@stupidchicken.com>
18675
488086f4
SM
18676 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18677 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18678 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18679 higher priority to avoid clobbering by gnu.
18680
027f966d
CY
186812011-05-08 Chong Yidong <cyd@stupidchicken.com>
18682
18683 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18684 if the face has existing theme settings (Bug#8454).
18685
085f5d7d
CY
186862011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18687
488086f4
SM
18688 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18689 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18690
2a86a00c
RS
18691 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18692 special file names `.' and `..' (Bug#8259).
18693
d9c54a06
CY
186942011-05-08 Chong Yidong <cyd@stupidchicken.com>
18695
488086f4
SM
18696 * progmodes/grep.el (grep-mode-font-lock-keywords):
18697 Remove buffer-changing entries.
d9c54a06
CY
18698 (grep-filter): New function.
18699 (grep-mode): Add it to compilation-filter-hook.
18700
18701 * progmodes/compile.el (compilation-filter-hook)
18702 (compilation-filter-start): New defvars.
18703 (compilation-filter): Call compilation-filter-hook prior to
18704 updating the process mark.
18705
c4662635
SM
187062011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18707
18708 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18709
b0512a1d
EZ
187102011-05-07 Eli Zaretskii <eliz@gnu.org>
18711
605c9376
EZ
18712 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18713 mailclient-send-it even if window-system is nil. (Bug#8595)
18714
c4662635
SM
18715 * term/w32console.el (terminal-init-w32console):
18716 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18717 background-mode. (Bug#8597)
18718
d1dc2cc2
SM
187192011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18720
18721 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18722 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18723 New functions.
18724 (defgeneric, eieio--defmethod): Use them.
18725 (eieio-defgeneric): Remove.
18726 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18727
915d1300
GM
187282011-05-07 Glenn Morris <rgm@gnu.org>
18729
a3961c3e
GM
18730 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18731 Use let rather than let*.
18732 (timeclock-find-discrep): Remove unused local.
18733
314347b9
GM
18734 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18735
915d1300
GM
18736 * calendar/appt.el (appt-time-msg-list): Doc fix.
18737
275b59b0
NF
187382011-05-06 Noah Friedman <friedman@splode.com>
18739
18740 * apropos.el (apropos-print-doc): Only use
18741 emacs-lisp-docstring-fill-column when it is bound to an integer,
18742 per that variable's documentation.
18743
6c19f744
SM
187442011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18745
18746 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18747 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18748
60f884b2
GM
187492011-05-06 Glenn Morris <rgm@gnu.org>
18750
5006e634
GM
18751 * calendar/appt.el (appt-message-warning-time): Doc fix.
18752 (appt-warning-time-regexp): New option.
18753 (appt-make-list): Respect appt-message-warning-time.
18754
548d0a63
GM
18755 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18756 New options.
18757 (diary-add-to-list): Strip comments from the displayed string.
18758 (diary-mode): Set comment-start and comment-end.
18759
60f884b2
GM
18760 * vc/diff-mode.el (smerge-refine-subst): Declare.
18761 (diff-refine-hunk): Don't require smerge-mode when compiling.
18762
989681bb
JB
187632011-05-06 Juanma Barranquero <lekktu@gmail.com>
18764
18765 * simple.el (list-processes): Return nil as the docstring says.
18766
a6bc05e1
MA
187672011-05-05 Michael Albinus <michael.albinus@gmx.de>
18768
18769 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18770 to "".
18771 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18772 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18773 determining of binary transfer. (Bug#7383)
18774
23c22e9a
MA
187752011-05-05 Michael Albinus <michael.albinus@gmx.de>
18776
c4662635
SM
18777 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18778 Fix port computation bug. (Bug#8618)
23c22e9a 18779
0bff894f
GM
187802011-05-05 Glenn Morris <rgm@gnu.org>
18781
b8296902
GM
18782 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18783
1f522ce8
GM
18784 * simple.el (shell-dynamic-complete-functions)
18785 (comint-dynamic-complete-functions): Declare.
18786
cf5bee67
GM
18787 * net/network-stream.el (gnutls-negotiate):
18788 * simple.el (tabulated-list-print): Fix declarations.
18789
18790 * progmodes/gud.el (syntax-symbol, syntax-point):
18791 Remove unnecessary and incorrect declarations.
18792
0bff894f 18793 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18794 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18795
9869b3ae
SM
187962011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18797
18798 Fix earlier half-done eieio-defmethod change (bug#8338).
18799 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18800 Streamline and change calling convention.
18801 (defmethod): Adjust accordingly and simplify.
18802 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18803 new eieio--defmethod.
18804 (slot-boundp): Minor CSE simplification.
18805
9c1d5ac5
MZ
188062011-05-05 Milan Zamazal <pdm@zamazal.org>
18807
18808 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18809 (glasses-make-readable): Use glasses-separate-capital-groups.
18810
455c834e
JB
188112011-05-05 Juanma Barranquero <lekktu@gmail.com>
18812
18813 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18814 (warning-series): Doc fix.
18815 (display-warning): Don't try to create the buffer if we just found it.
18816
9ed7c8cb
CY
188172011-05-04 Chong Yidong <cyd@stupidchicken.com>
18818
18819 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18820 (autoload-find-generated-file): New function.
18821 (generate-file-autoloads): Bind generated-autoload-file to
18822 buffer-file-name.
9869b3ae
SM
18823 (update-file-autoloads, update-directory-autoloads):
18824 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18825 output file (Bug#7989).
18826 (batch-update-autoloads): Doc fix.
18827
0898ca10
JB
188282011-05-04 Juanma Barranquero <lekktu@gmail.com>
18829
18830 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18831
31dfb76c
GM
188322011-05-04 Glenn Morris <rgm@gnu.org>
18833
f330b642
GM
18834 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18835 function, so it follows changes in calendar-date-style.
18836 (diary-fancy-date-matcher): New function.
18837 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18838 (diary-fancy-font-lock-fontify-region-function):
18839 Use diary-fancy-date-pattern as a function.
18840
31dfb76c
GM
18841 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18842 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18843
48e79d6a
TZ
188442011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18845
18846 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18847 instead of positional arguments. Allow :keylist and :crlfiles
18848 arguments.
18849 (open-gnutls-stream): Call it.
18850
18851 * net/network-stream.el (network-stream-open-starttls): Adjust to
18852 call `gnutls-negotiate' with :process and :hostname arguments.
18853
dd5a5ee0
SM
188542011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18855
ef80fc09
SM
18856 * minibuffer.el (completion--message): New function.
18857 (completion--do-completion, minibuffer-complete)
18858 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18859 (completion--do-completion): Don't ignore completion-auto-help when in
18860 icomplete-mode.
18861
dd5a5ee0
SM
18862 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18863 internal encoding (e.g. tibetan zero is not whitespace).
18864 (global-whitespace-mode): Prefer save-current-buffer.
18865 (whitespace-trailing-regexp): Remove useless save-match-data.
18866 (whitespace-empty-at-bob-regexp): Minor simplification.
18867
b7d22a83
CY
188682011-05-03 Chong Yidong <cyd@stupidchicken.com>
18869
18870 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18871
5192af46
AM
188722011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18873
18874 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18875 Use `concat' to create string for insertion.
5192af46 18876
5767d190
SM
188772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18878
18879 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18880 Avoid open-line which runs post-self-insert-hook.
18881 (bibtex-fill-entry): Remove unused `end' var.
18882
bf242939
AM
188832011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18884
5767d190
SM
18885 * textmodes/ispell.el (ispell-add-per-file-word-list):
18886 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18887
25666126
LL
188882011-05-03 Leo Liu <sdl.web@gmail.com>
18889
18890 * isearch.el (isearch-yank-pop): New command.
5767d190 18891 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18892 (isearch-forward): Mention it.
18893
52d3c2d0
SM
188942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18895
1bcace58
SM
18896 * simple.el (minibuffer-complete-shell-command): Remove.
18897 (minibuffer-local-shell-command-map): Use completion-at-point.
18898 (read-shell-command): Setup completion vars here instead.
18899 (read-expression-map): Bind TAB to symbol completion.
18900
52d3c2d0
SM
18901 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18902 error directly rather via storing it into `results'.
18903
35813471
LL
189042011-05-02 Leo Liu <sdl.web@gmail.com>
18905
18906 * vc/diff.el: Fix description.
18907
e793a940
LMI
189082011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18909
18910 * server.el (server-eval-at): New function.
18911
8de66e05
LMI
189122011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18913
18914 * net/network-stream.el (open-network-stream): Take a :nowait
18915 parameter and pass it on to `make-network-process'.
18916 (network-stream-open-plain): Ditto.
18917
dcb79f20
AS
189182011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18919
18920 * faces.el (face-spec-set-match-display): Don't match toolkit
18921 options on terminal frames.
18922
14a7fbd8
SM
189232011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18924
7eabc1be
SM
18925 * progmodes/pascal.el: Use lexical binding.
18926 (pascal-mode-map): Remove author preferences.
18927
14a7fbd8
SM
18928 * pcomplete.el (pcomplete-std-complete): Don't abuse
18929 completion-at-point.
18930
50f84510
JB
189312011-04-28 Juanma Barranquero <lekktu@gmail.com>
18932
6e087a44
JB
18933 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18934 removing code that has been dead since 1991 or so.
18935
50f84510
JB
18936 * startup.el (command-line): When warning about "_emacs", use a
18937 delayed warning to allow the user to filter it out.
18938
0ba690bd
DD
189392011-04-28 Deniz Dogan <deniz@dogan.se>
18940
18941 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18942 user has not joined.
18943
08abfaad
SM
189442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18945
18946 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18947 aren't any completions at point.
18948
638f053a
JB
189492011-04-28 Juanma Barranquero <lekktu@gmail.com>
18950
18951 * subr.el (display-delayed-warnings): New function.
18952 (delayed-warnings-hook): New variable.
18953
8fff8daa
SM
189542011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18955
08abfaad
SM
18956 * minibuffer.el (completion-at-point, completion-help-at-point):
18957 Don't presume that a given completion-at-point-function will always
18958 use the same calling convention.
18959
8fff8daa
SM
18960 * pcomplete.el (pcomplete-completions-at-point):
18961 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18962 pcomplete-seen is non-nil.
18963 (pcomplete-comint-setup): Also recognize the new comint/shell
18964 completion functions.
18965 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18966 pcomplete-seen is non-nil.
18967
841a1577 189682011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18969
841a1577 18970 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18971 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18972 the first character in the entry. This allows for code to add its
211ec907
UJ
18973 own uid to the entry.
18974 (icalendar--convert-float-to-ical): Add export of
18975 `diary-float'-entries save for those with the optional DAY
18976 argument.
18977
2a782793
DC
189782011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18979
18980 * subr.el (shell-quote-argument): Use alternate escaping strategy
18981 when we spot a variable reference in a string.
18982
0438ce91
DC
189832011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18984
18985 * cus-start.el (all): Define customization for debug-on-event.
18986
841a1577 189872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18988
18989 * subr.el (shell-quote-argument): Escape correctly under Windows.
18990
d090ed6c
SM
189912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18992
18993 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18994
bfd31217
MA
189952011-04-25 Michael Albinus <michael.albinus@gmx.de>
18996
d090ed6c
SM
18997 * net/tramp.el (tramp-process-actions): Add POS argument.
18998 Delete region between POS and (pos).
bfd31217 18999
d090ed6c
SM
19000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19001 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19002 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19003
19004 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19005 position in `tramp-process-actions' call.
19006
19007 * net/trampver.el: Update release number.
19008
e92f3bd3
SM
190092011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19010
850256b5
SM
19011 * custom.el (defcustom): Obey lexical-binding.
19012
e92f3bd3
SM
19013 Fix octave-inf completion problems reported by Alexander Klimov.
19014 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19015 Inherit from octave-mode-syntax-table.
19016 (inferior-octave-mode): Set info-lookup-mode.
19017 (inferior-octave-completion-at-point): New function.
19018 (inferior-octave-complete): Use it and completion-in-region.
19019 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19020 comint-filename-completion.
19021 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19022 symbol elements which shouldn't be word elements.
19023 (octave-font-lock-keywords, octave-beginning-of-defun)
19024 (octave-function-header-regexp): Adjust regexps accordingly.
19025 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19026
cd22b309
JB
190272011-04-25 Juanma Barranquero <lekktu@gmail.com>
19028
19029 * net/gnutls.el (gnutls-errorp): Declare before first use.
19030
8b492194
TZ
190312011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19032
19033 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19034 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19035 default trustfile exists before going to use it. Add missing
5a5fa834 19036 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19037 Reported by Claudio Bley <claudio.bley@gmail.com>.
19038 (open-gnutls-stream): Add usage example.
19039
19040 * net/network-stream.el (network-stream-open-starttls): Give host
19041 parameter to `gnutls-negotiate'.
19042 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19043 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19044
841a1577 190452011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19046
cd22b309
JB
19047 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19048 Use correct match group (bug#8438).
05842630 19049
3ba7869c
CY
190502011-04-24 Chong Yidong <cyd@stupidchicken.com>
19051
512e3ae1
CY
19052 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19053 (package-menu--generate): New arg specifying packages to show.
19054 (package-menu-refresh, package-menu-execute, list-packages):
19055 Callers changed.
19056 (package-show-package-list): New function, replacing deleted
19057 package--list-packages (renamed because it is non-internal).
19058
19059 * finder.el (finder-list-matches): Use package-show-package-list
19060 instead of deleted package--list-packages.
19061
e92f3bd3
SM
19062 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19063 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19064 (vc-annotate-mode-map): Bind it to RET.
19065
7031be6d
UR
190662011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19067
19068 * progmodes/etags.el (next-file): Don't use set-buffer to change
19069 buffers (Bug#8478).
19070
4ef177aa
CY
190712011-04-24 Chong Yidong <cyd@stupidchicken.com>
19072
c8d173eb
CY
19073 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19074
4ef177aa
CY
19075 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19076 (apropos-accumulator): Doc fix.
19077 (apropos-function, apropos-macro, apropos-command)
19078 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19079 (apropos-plist): Add face property.
19080 (apropos-symbols-internal): Fix indentation.
19081 (apropos-print): Simplify help, and recognize apropos-multi-type.
19082 (apropos-print-doc): Use button-type-get to extract the button's
19083 face property. Fill docstring (Bug#8352).
19084
4ffd0d6b 190852011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19086
19087 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19088
c6c32125 19089 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19090 (mpuz-mode-map): Use mapc.
c6c32125
JB
19091 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19092 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19093 Fix typos in docstrings.
19094
58d468b4
JB
19095 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19096 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19097
6470c3c6
JB
19098 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19099
4ffd0d6b 191002011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19101
19102 * minibuffer.el (completion--do-completion): Avoid the "Next char
19103 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19104
3ad8bad0
CY
19105 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19106 mouse-2 into unread-command-events, it is interpreted correctly.
19107
71d73c9c 19108 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19109 (image-toggle-display): Doc fix.
71d73c9c 19110
841a1577 191112011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19112
4ffd0d6b
GM
19113 * textmodes/page.el (what-page): Use line-number-at-pos to
19114 calculate line number (Bug#6825).
6e1dbaa9 19115
c2fb1b60
JB
191162011-04-22 Juanma Barranquero <lekktu@gmail.com>
19117
19118 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19119 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19120 Pass argument NO-DEFAULT to `find-tag-interactive'.
19121
e02f48d7
JB
191222011-04-22 Juanma Barranquero <lekktu@gmail.com>
19123
19124 Lexical-binding cleanup.
19125
19126 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19127 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19128 * progmodes/ada-prj.el (ada-prj-initialize-values)
19129 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19130 (ada-prj-show-value):
19131 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19132 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19133 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19134 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19135 * progmodes/bug-reference.el (bug-reference-push-button):
19136 * progmodes/fortran.el (fortran-line-length):
19137 * progmodes/glasses.el (glasses-change):
19138 * progmodes/octave-mod.el (octave-fill-paragraph):
19139 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19140 (python-pdbtrack-grub-for-buffer, python-sentinel):
19141 * progmodes/sql.el (sql-save-connection):
19142 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19143 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19144 Mark unused parameters.
19145
19146 * progmodes/compile.el (compilation--flush-directory-cache)
19147 (compilation--flush-parse, compile-internal): Mark unused parameters.
19148 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19149 (compilation-next-error-function): Remove unused variable `timestamp'.
19150
19151 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19152 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19153
19154 * progmodes/dcl-mode.el (dcl-end-of-command):
19155 Remove unused variable `start'.
19156 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19157 (dcl-option-value-basic, dcl-option-value-offset)
19158 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19159 Mark unused parameters.
19160 (dcl-save-local-variable): Remove unused variable `val'.
19161 (mode): Declare.
19162
19163 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19164 Mark unused parameters.
19165 (delphi-ignore-changes): Move before first use.
19166 (delphi-charset-token-at): Remove unused variable `start'.
19167 (delphi-else-start): Remove unused variable `if-count'.
19168 (delphi-comment-block-start, delphi-comment-block-end):
19169 Remove unused variable `kind'.
19170 (delphi-indent-line): Remove unused variable `new-point'.
19171
19172 * progmodes/ebrowse.el (ebrowse-files-list)
19173 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19174 Mark unused parameters. Don't quote `lambda'.
19175 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19176 Don't quote `lambda'.
19177 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19178 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19179 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19180 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19181 Use `ignore-errors'.
19182 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19183 (ebrowse-view/find-file-and-search-pattern)
19184 (ebrowse-view/find-member-declaration/definition):
19185 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19186 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19187 Rename parameter PREFIX-ARG to PREFIX.
19188 (ebrowse-tags-read-name): Remove unused variables `start' and
19189 `member-info'.
19190 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19191 to `tags-file'.
19192
19193 * progmodes/etags.el (local-find-tag-hook): Declare.
19194 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19195 Mark unused parameters.
19196
19197 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19198 (executable-interpret): Mark unused parameter.
19199
19200 * progmodes/flymake.el (flymake-process-sentinel)
19201 (flymake-after-change-function)
19202 (flymake-create-temp-with-folder-structure)
19203 (flymake-get-include-dirs-dot): Mark unused parameters.
19204 (flymake-safe-delete-directory): Remove unused variable `err'.
19205
19206 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19207 (speedbar-timer-fn, speedbar-line-text)
19208 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19209 (speedbar-center-buffer-smartly): Declare functions.
19210 (gdb-find-watch-expression): Remove unused variable `array'.
19211 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19212 (gdb-starting): Mark unused parameters.
19213 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19214 (gdb-table-string): Remove unused variable `res'.
19215 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19216 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19217 (gdb-display-buffer): Remove unused variable `cur-size'.
19218
19219 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19220 allow lexical-binding compilation.
19221 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19222 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19223 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19224 Mark unused parameters.
19225 (gud-gdb-marker-filter): Remove unused variable `match'.
19226 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19227 lambda expressions and funcall them, instead of using `fset'.
19228
19229 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19230 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19231
19232 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19233 variable `header-beg'; use `let'.
19234
19235 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19236 `restart', `last-sexp' and `at-do'.
19237
19238 * progmodes/js.el (js--debug): Mark unused parameter.
19239 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19240 (js--splice-into-items): Remove unused variable `item'.
19241 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19242
19243 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19244 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19245 (makefile-complete): Remove unused variable `try'.
19246 (makefile-fill-paragraph, makefile-match-function-end):
19247 Mark unused parameters.
19248
19249 * progmodes/octave-inf.el (inferior-octave-complete):
19250 Remove unused variable `proc'.
19251 (inferior-octave-output-digest): Mark unused parameter.
19252
19253 * progmodes/perl-mode.el (perl-calculate-indent):
19254 Remove unused variable `err'.
19255
19256 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19257 (prolog-indent-line): Mark unused parameters.
19258 (prolog-indent-line): Remove unused variable `beg'.
19259
19260 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19261 (reporter-dont-compact-list): Declare.
19262
19263 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19264 Remove unused variable `char'.
19265 (sh-debug): Mark unused parameter.
19266 (sh-get-indent-info): Remove unused variable `start'.
19267 (sh-calculate-indent): Remove unused variable `var'.
19268
19269 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19270 (simula-electric-keyword): Remove unused variable `null'.
19271 (simula-search-backward, simula-search-forward): Remove unused
19272 variables `begin' and `end'.
19273
19274 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19275 Remove unused variable `pos'.
19276 (vera-electric-tab, vera-comment-uncomment-region):
19277 Mark unused parameters.
19278 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19279
7ede3b65
CY
192802011-04-22 Chong Yidong <cyd@stupidchicken.com>
19281
19282 * emacs-lisp/package.el (package--builtins, package-alist)
19283 (package-load-descriptor, package-built-in-p, package-activate)
19284 (define-package, package-installed-p)
19285 (package-compute-transaction, package-buffer-info)
19286 (package--push): Doc fix. Distinguish more clearly between
19287 version strings and version lists.
19288
121656e9
JB
192892011-04-21 Juanma Barranquero <lekktu@gmail.com>
19290
19291 Lexical-binding cleanup.
19292
19293 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19294 (5x5-make-mutate-best):
19295 * play/fortune.el (fortune-in-buffer):
19296 * play/gomoku.el (gomoku-init-display):
19297 * play/solitaire.el (solitaire, solitaire-do-check):
19298 * play/tetris.el (tetris-default-update-speed-function):
19299 Mark unused parameters.
19300
19301 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19302 (bubbles--shift): Remove unused variable `char-org'.
19303 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19304 (bubbles--show-images): Remove unused variable `char'.
19305
19306 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19307 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19308 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19309 (decipher-analyze-buffer): Use ?\s.
19310 (decipher-make-checkpoint): Remove unused variable `mapping'.
19311
19312 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19313
19314 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19315 Remove unused variable `result'; use `let'.
19316
19317 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19318 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19319 (gametree-children-shown-p, gametree-compute-reduced-score):
19320 Use `ignore-errors'.
19321
19322 * play/handwrite.el (ps-lpr-switches): Declare.
19323 (handwrite): Remove unused variables `pmin' and `lastp'.
19324
19325 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19326
19327 * play/landmark.el (landmark-init-display)
19328 (landmark-update-naught-weights): Mark unused parameters.
19329 (landmark-y): Remove unused variable `noise'. Simplify.
19330 (landmark-human-plays): Remove unused variable `score'.
19331
19332 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19333 (mpuz-try-proposal): Remove unused variable `game'.
19334
19335 * play/zone.el (life-patterns): Declare.
19336
80f499c7
JB
193372011-04-20 Juanma Barranquero <lekktu@gmail.com>
19338
19339 * vc/vc.el (ediff-vc-internal): Declare function.
19340
024ff170
SM
193412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19342
c0a193ea
SM
19343 * shell.el: Use lexical-binding and std completion UI.
19344 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19345 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19346 comint-preoutput-filter-functions rather than on
19347 comint-output-filter-functions.
19348 (shell-command-completion, shell--command-completion-data)
19349 (shell-filename-completion, shell-environment-variable-completion)
19350 (shell-c-a-p-replace-by-expanded-directory): New functions.
19351 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19352 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19353 (shell-dynamic-complete-environment-variable): Use them.
19354 (shell-dynamic-complete-as-environment-variable)
19355 (shell-dynamic-complete-as-command): Remove.
19356 (shell-match-partial-variable): Match past point.
19357 * comint.el: Clean up use of completion-at-point-functions.
19358 (comint-completion-at-point): New function.
19359 (comint-mode): Use it completion-at-point-functions.
19360 (comint-dynamic-complete): Make it obsolete.
19361 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19362 (comint-c-a-p-replace-by-expanded-history): New function.
19363 (comint-dynamic-complete-functions)
19364 (comint-replace-by-expanded-history): Use it.
19365 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19366 termination strings. Try harder to avoid second try-completion.
19367 (completion-in-region-mode-map): Disable bindings that don't work yet.
19368
2dbaa080
SM
19369 * comint.el: Use lexical-binding. Require CL.
19370 (comint-dynamic-complete-functions): Use comint-filename-completion.
19371 (comint-completion-addsuffix): Tweak custom type.
19372 (comint-filename-completion, comint--common-suffix)
19373 (comint--common-quoted-suffix, comint--table-subvert)
19374 (comint--complete-file-name-data): New functions.
19375 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19376 (comint-dynamic-list-filename-completions): Use them.
19377 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19378
2dbaa080
SM
19379 * minibuffer.el (completion-in-region-mode):
19380 Keep completion-in-region-mode--predicate global.
19381 (completion-in-region--postch):
19382 Assume completion-in-region-mode--predicate is not null.
19383
c79a6f38
SM
19384 * progmodes/flymake.el (flymake-start-syntax-check-process):
19385 Obey `dir'. Simplify.
19386
024ff170
SM
19387 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19388 we're in VC after all.
19389
1c6c854e
CS
193902011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19391
19392 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19393 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19394 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19395
bed7f140
SM
193962011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19397
332e62ab
SM
19398 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19399 add sanity check.
19400
bed7f140
SM
19401 * obsolete/erc-hecomplete.el: Make obsolete.
19402 * obsolete/: Standardize obsolescence info in the header.
19403
f195c582
GM
194042011-04-20 Glenn Morris <rgm@gnu.org>
19405
19406 * calendar/solar.el (solar-horizontal-coordinates):
19407 Use the longitude argument rather than `calendar-longitude'.
19408 (solar-date-next-longitude): Remove unused locals.
19409
cb79b8c0
VJL
194102011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19411
19412 * whitespace.el: New version 13.2.1.
19413
194142011-04-20 felix <EmacsWiki> (tiny change)
19415
d8e4b68b 19416 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19417 switching between major modes on a file.
19418
602ea69d
SM
194192011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19420
19421 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19422 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19423 multi-line comments as well.
19424
06b60517
JB
194252011-04-19 Juanma Barranquero <lekktu@gmail.com>
19426
19427 Lexical-binding cleanup.
19428
19429 * arc-mode.el (archive-mode-revert):
19430 * cmuscheme.el (scheme-interactively-start-process):
19431 * custom.el (custom-initialize-delay):
19432 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19433 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19434 * emacs-lock.el (emacs-lock-clear-sentinel):
19435 * ezimage.el (defezimage):
19436 * follow.el (follow-avoid-tail-recenter):
19437 * fringe.el (set-fringe-mode-1):
19438 * generic-x.el (bat-generic-mode-compile):
19439 * help-mode.el (help-info-variable, help-do-xref)
19440 (help-mode-revert-buffer):
19441 * help.el (view-emacs-todo):
19442 * iswitchb.el (iswitchb-completion-help):
19443 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19444 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19445 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19446 * locate.el (locate-update):
19447 * longlines.el (longlines-encode-region)
19448 (longlines-after-change-function):
19449 * outline.el (outline-isearch-open-invisible):
19450 * ps-def.el (declare-function, charset-dimension, char-width)
19451 (encode-char):
19452 * ps-mule.el (ps-mule-plot-string):
19453 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19454 (recentf-edit-list-select, recentf-edit-list-validate)
19455 (recentf-open-files-action):
19456 * rect.el (delete-whitespace-rectangle-line)
19457 (rectangle-number-line-callback):
19458 * register.el (window-configuration-to-register)
19459 (frame-configuration-to-register):
19460 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19461 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19462 (xselect-convert-to-targets, xselect-convert-to-delete)
19463 (xselect-convert-to-filename, xselect-convert-to-charpos)
19464 (xselect-convert-to-lineno, xselect-convert-to-colno)
19465 (xselect-convert-to-os, xselect-convert-to-host)
19466 (xselect-convert-to-user, xselect-convert-to-class)
19467 (xselect-convert-to-name, xselect-convert-to-integer)
19468 (xselect-convert-to-atom, xselect-convert-to-identity):
19469 * subr.el (declare, ignore, process-kill-without-query)
19470 (text-clone-maintain):
19471 * terminal.el (te-get-char, te-tic-sentinel):
19472 * tool-bar.el (tool-bar-make-keymap):
19473 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19474 * type-break.el (type-break-mode, type-break-noninteractive-query):
19475 * view.el (View-back-to-mark):
19476 * wid-browse.el (widget-browse-action, widget-browse-widget)
19477 (widget-browse-widgets, widget-browse-sexp):
19478 * widget.el (define-widget-keywords):
19479 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19480 Mark unused parameters.
19481
19482 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19483 (align-areas): Remove unused variable `look'.
19484 (align-region): Remove unused variables `real-end' and `pos-list'.
19485
19486 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19487
19488 * bindings.el (mode-line-modified, mode-line-remote):
19489 Mark unused parameters.
19490 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19491
19492 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19493 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19494
19495 * comint.el (comint-history-isearch-pop-state)
19496 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19497 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19498 (comint-substitute-in-file-name): Doc fix.
19499
19500 * completion.el (cmpl-statistics-block): Mark unused parameter.
19501 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19502 (save-completions-to-file, load-completions-from-file):
19503 Remove unused local variable `e'.
19504
19505 * composite.el (compose-chars): Remove unused variable `len'.
19506 (lgstring-insert-glyph): Remove unused variable `g'.
19507 (compose-glyph-string): Remove unused variables `ascent',
19508 `descent', `lbearing' and `rbearing'.
19509 (compose-glyph-string-relative): Remove unused variables
19510 `lbearing', `rbearing' and `wadjust'.
19511 (compose-gstring-for-graphic): Remove unused variables `header',
19512 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19513 (compose-gstring-for-terminal): Remove unused variables `header'
19514 and `nchars'. Use `let', not `let*'.
19515
19516 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19517 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19518 (Custom-buffer-done, custom-buffer-create-internal)
19519 (custom-browse-visibility-action, custom-browse-group-tag-action)
19520 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19521 (widget-magic-mouse-down-action, custom-toggle-parent)
19522 (custom-add-parent-links, custom-toggle-hide-variable)
19523 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19524 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19525 (custom-face-menu-create, custom-variable-menu-create, get)
19526 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19527 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19528 (customize-apropos): Remove unused variable `tests'.
19529 (custom-group-value-create): Remove unused variable `hidden-p'.
19530 (sort-fold-case): Declare.
19531
19532 * cus-theme.el (custom-reset-standard-faces-list)
19533 (custom-reset-standard-variables-list): Declare.
19534 (customize-create-theme, custom-theme-revert, custom-theme-write)
19535 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19536 Mark unused parameters.
19537
19538 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19539
19540 * delim-col.el (delimit-columns-max): Move defvar before first use.
19541
19542 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19543 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19544
19545 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19546 (auto-insert): Declare.
19547 (desktop-restore-file-buffer): Rename desktop-* parameters;
19548 mark unused ones.
19549 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19550 (desktop-buffer): Rename desktop-* parameters.
19551
19552 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19553 (dframe-reposition-frame-xemacs, dframe-help-echo)
19554 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19555 Mark unused parameters.
19556
19557 * dired-aux.el (backup-extract-version-start, overwrite-query)
19558 (overwrite-backup-query, rename-regexp-query)
19559 (rename-non-directory-query): Declare.
19560 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19561 (dired-add-entry): Remove unused variable `orig-file-name'.
19562 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19563 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19564 `dired-copy-preserve-time' directly.
19565 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19566 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19567
19568 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19569 (dired-virtual-revert, dired-make-relative-symlink):
19570 Mark unused parameters.
19571 (manual-program): Declare.
19572 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19573 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19574 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19575
19576 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19577
19578 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19579
19580 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19581 Declare.
19582
19583 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19584
19585 * electric.el (Electric-command-loop): Rename parameter
19586 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19587
19588 * expand.el (expand-in-literal): Remove unused variable `here'.
19589
19590 * facemenu.el (facemenu-add-new-color):
19591 Remove unused variable `docstring'.
19592
19593 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19594 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19595 (face-attr-construct): Mark unused parameter. Doc fix.
19596 (read-color): Remove unused variable `hex-string'.
19597
19598 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19599 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19600 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19601 (display-buffer-other-frame): Remove unused variable `old-window'.
19602 (kill-buffer-hook): Declare.
19603 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19604 Mark unused parameters.
19605 (after-find-file): Pass 1 to `auto-save-mode', not t.
19606
19607 * files-x.el (auto-insert): Declare.
19608 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19609
19610 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19611 variable `buf'. Mark unused parameter.
06b60517
JB
19612 (find-lisp-insert-directory): Mark unused parameter.
19613
19614 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19615 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19616 (format-common-tail): Remove, unused.
19617 (format-deannotate-region): Remove unused variable `loc'.
19618 (format-annotate-region): Remove unused variable `p'.
19619 (format-annotate-single-property-change): Remove unused variables
19620 `default' and `tail'.
19621
19622 * forms.el (read-file-filter): Declare.
19623 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19624
19625 * frame.el (frame-creation-function-alist): Mark unused parameter.
19626 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19627
19628 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19629 Remove unused parameters.
19630 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19631 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19632
19633 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19634 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19635 (hfy-prepare-tag-map): Mark unused parameters.
19636 (htmlfontify-buffer): Use `called-interactively-p'.
19637
19638 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19639 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19640 (ibuffer-do-occur): Mark unused parameters.
19641 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19642 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19643
19644 * ibuffer.el: Don't quote `lambda'.
19645 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19646 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19647 Mark unused parameters.
19648
19649 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19650 (ido-completing-read): Mark unused parameters.
19651 (ido-copy-current-word): Mark unused parameters;
19652 remove unused variable `name'.
19653 (ido-sort-merged-list): Remove unused parameter `dirs'.
19654
19655 * ielm.el (ielm-input-sender): Mark unused parameter.
19656 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19657 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19658 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19659 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19660 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19661
19662 * image-dired.el (image-dired-display-thumbs): Remove unused
19663 variables `curr-file' and `count'.
19664 (image-dired-remove-tag): Remove unused variable `start'.
19665 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19666 variable `curr-file'
19667 (image-dired-rotate-original): Remove unused variable `temp-file'.
19668 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19669 Remove unused variable `file'.
19670 (image-dired-gallery-generate): Remove unused variable `curr'.
19671 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19672
19673 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19674
19675 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19676
19677 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19678
19679 * isearch.el (minibuffer-history-symbol): Declare.
19680 (isearch-edit-string): Remove unused variable `err'.
19681 (isearch-message-prefix, isearch-message-suffix):
19682 Mark unused parameters.
19683
19684 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19685
19686 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19687
19688 * makesum.el (double-column): Remove unused variable `cnt'.
19689
19690 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19691 (ido-ignore-item-temp-list): Declare.
19692
19693 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19694 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19695 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19696 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19697 `mouse-col-delta'.
19698
19699 * mouse-sel.el (mouse-extend-internal):
19700 Remove unused variable `orig-window-frame'.
19701
19702 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19703 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19704 Move declarations before first use.
19705 (pcomplete-opt): Mark unused parameters; doc fix.
19706
19707 * proced.el (proced-revert): Mark unused parameter.
19708 (proced-send-signal): Remove unused variable `err'.
19709
19710 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19711 Rename parameter PREFIX-ARG to ARG.
19712 (ps-basic-plot-string, ps-basic-plot-whitespace):
19713 Mark unused parameters.
19714
19715 * replace.el (replace-count): Define.
19716 (occur-revert-function): Mark unused parameters.
19717 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19718 (isearch-case-fold-search, isearch-string): Declare.
19719 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19720 bind `case-fold-search'. Remove unused variables `beg' and `end',
19721 and simplify.
19722 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19723 COUNT and bind `replace-count'.
19724 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19725 to COUNT.
19726
19727 * savehist.el (print-readably, print-string-length): Declare.
19728
19729 * shadowfile.el (shadow-expand-cluster-in-file-name):
19730 Remove unused variable `cluster'.
19731 (shadow-copy-file): Remove unused variable `i'.
19732 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19733 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19734 (shadow-define-literal-group, shadow-define-regexp-group)
19735 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19736
19737 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19738 (shell): Use `called-interactively-p'.
19739 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19740
19741 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19742 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19743 (delete-backward-char): Remove unused variable `ocol'.
19744 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19745 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19746 (event-apply-hyper-modifier, event-apply-shift-modifier)
19747 (event-apply-control-modifier, event-apply-meta-modifier):
19748 Mark unused parameters.
19749 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19750 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19751
19752 * speedbar.el (speedbar-ignored-directory-expressions)
19753 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19754 (speedbar-find-file, speedbar-dir-follow)
19755 (speedbar-directory-buttons-follow, speedbar-tag-find)
19756 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19757 (speedbar-buffers-line-directory, speedbar-buffer-click):
19758 Mark unused parameters.
19759 (speedbar-tag-file): Remove unused variable `mode'.
19760 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19761
19762 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19763
19764 * talk.el (talk): Remove unused variable `display'.
19765
19766 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19767 (tar-write-region-annotate): Mark unused parameter.
19768
19769 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19770 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19771 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19772 warning by another.
19773
19774 * time-stamp.el (time-stamp-string-preprocess):
19775 Remove unused variable `require-padding'.
19776
19777 * tree-widget.el (widget-glyph-enable): Declare.
19778 (tree-widget-action): Mark unused parameter.
19779
19780 * w32-fns.el (x-get-selection): Mark unused parameter.
19781 (autoload-make-program, generated-autoload-file): Declare.
19782
19783 * wdired.el (wdired-revert): Mark unused parameters.
19784 (wdired-xcase-word): Remove unused variable `err'.
19785
19786 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19787 (whitespace-help-scroll): Remove unused variable `data-help'.
19788
19789 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19790 (widget-image-insert, widget-after-change, default)
19791 (widget-default-format-handler, widget-default-notify)
19792 (widget-default-prompt-value, widget-info-link-action)
19793 (widget-url-link-action, widget-function-link-action)
19794 (widget-variable-link-action, widget-file-link-action)
19795 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19796 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19797 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19798 (widget-insert-button-action, widget-delete-button-action, visibility)
19799 (widget-documentation-link-action, widget-documentation-string-action)
19800 (widget-const-prompt-value, widget-regexp-match, symbol)
19801 (widget-coding-system-prompt-value)
19802 (widget-key-sequence-value-to-external, sexp)
19803 (widget-sexp-value-to-internal, character, vector, cons)
19804 (widget-choice-prompt-value, widget-boolean-prompt-value)
19805 (widget-color--choose-action): Mark unused parameters.
19806 (widget-item-match-inline, widget-choice-match-inline)
19807 (widget-checklist-match, widget-checklist-match-inline)
19808 (widget-group-match): Rename parameter VALUES to VALS.
19809 (widget-field-value-set): Remove unused variable `size'.
19810 (widget-color-action): Remove unused variables `value' and `start'.
19811
19812 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19813 variable `dir'. Doc fix.
06b60517
JB
19814 (windmove-find-other-window): Don't pass it.
19815
19816 * window.el (count-windows): Mark unused parameter.
19817 (bw-adjust-window): Remove unused variable `err'.
19818
19819 * woman.el (woman-file-name): Remove unused variable `default'.
19820 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19821 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19822 (global-font-lock-mode): Declare.
19823 (woman-decode-region): Mark unused parameter.
19824 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19825
19826 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19827 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19828 (x-dnd-handle-moz-url): Remove unused variable `title'.
19829 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19830
19831 * xml.el (xml-parse-tag, xml-parse-attlist):
19832 Remove unused variable `pos'.
19833
bc4f7f3d
GM
198342011-04-19 Glenn Morris <rgm@gnu.org>
19835
19836 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19837 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19838 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19839 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19840 * calendar/cal-html.el (cal-html-insert-minical):
19841 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19842 (calendar-mark-date-pattern):
19843 Prefix "unused" locals.
19844
19845 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19846 optional argument `style'.
19847
19848 * calendar/appt.el (appt-make-list):
19849 * calendar/cal-china.el (calendar-chinese-date-string):
19850 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19851 (diary-hebrew-yahrzeit):
19852 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19853 * calendar/calendar.el (calendar-generate-window):
19854 * calendar/time-date.el (time-to-days):
19855 Remove unused local variables.
19856
16a43933
CY
198572011-04-18 Chong Yidong <cyd@stupidchicken.com>
19858
19859 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19860 glyphless-char-display table.
19861 (tabulated-list-glyphless-char-display): New var.
19862
7eed1860
SS
198632011-04-18 Sam Steingold <sds@gnu.org>
19864
19865 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19866 to acknowledgments.
19867
4d2d1ccd
GM
198682011-04-17 Glenn Morris <rgm@gnu.org>
19869
19870 * calendar/diary-lib.el (diary-sexp-entry):
19871 * calendar/holidays.el (holiday-sexp):
19872 Set debug-on-error rather than the removed stack-trace-on-error.
19873
239da61d
GM
198742011-04-16 Glenn Morris <rgm@gnu.org>
19875
19876 * progmodes/f90.el: Use lexical-binding.
19877 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19878
8b05752a
SM
198792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19880
daca8ba5
SM
19881 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19882 (mail-mode): Setup mailalias completion here instead.
19883 * mail/mailalias.el: Use lexical-binding.
19884 (pattern, mailalias-done): Declare dynamic.
19885 (mail-completion-at-point-function): New function, from mail-complete.
19886 (mail-complete): Use it.
19887 (mail-completion-expand): New function.
19888 (mail-get-names): Use it.
19889 (mail-directory, mail-directory-process, mail-directory-stream):
19890 Don't use `pattern' for lexically bound arg.
19891
6f542485
SM
19892 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19893
037e7c3f
SM
19894 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19895 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19896 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19897
8b05752a
SM
19898 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19899 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19900 (byte-interactive-p): Define them again, for use when inlining
19901 old code.
19902
49093f60
JB
199032011-04-15 Juanma Barranquero <lekktu@gmail.com>
19904
19905 * loadup.el: Use `string-to-number', not `string-to-int'.
19906
b5b8e7de
SM
199072011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19908
19909 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19910 gud-gdb-complete-command.
19911 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19912 (gud-gdb-completion-at-point): New function.
19913 (gud-gdb-completions): Remove.
19914
f42efeb5
MA
199152011-04-14 Michael Albinus <michael.albinus@gmx.de>
19916
49093f60
JB
19917 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19918 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19919 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19920 whether `executable-find' is bound.
f42efeb5
MA
19921
19922 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19923
e240cc21
SM
199242011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19925
19926 * minibuffer.el (completion-in-region-mode-predicate)
19927 (completion-in-region-mode--predicate): New vars.
19928 (completion-in-region, completion-in-region--postch)
19929 (completion-in-region-mode): Use them.
19930 (completion--capf-wrapper): Also return the hook function.
19931 (completion-at-point, completion-help-at-point):
19932 Adjust and provide a predicate.
c2bd2ab0
SM
19933
19934 Preserve arg names for advice of subr and lexical functions (bug#8457).
19935 * help-fns.el (help-function-arglist): Consolidate the subr and
19936 new-byte-code cases. Add argument `preserve-names' to extract names
19937 from the docstring when needed.
19938 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19939 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19940 (ad-arglist): Use help-function-arglist's new arg.
19941 (ad-definition-type): Use cond.
19942
c183f693
JB
199432011-04-13 Juanma Barranquero <lekktu@gmail.com>
19944
06641a47
JB
19945 * autorevert.el (auto-revert-handler):
19946 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19947 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19948 Don't quote lambda.
19949
c183f693
JB
19950 * image-mode.el (image-transform-set-scale):
19951 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19952
1e3b6001
G
199532011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19954
19955 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19956 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19957 Upgrades via gnutls-cli are too slow to be done opportunistically.
19958
2d6af8dd
JB
199592011-04-12 Juanma Barranquero <lekktu@gmail.com>
19960
19961 * dframe.el (dframe-current-frame): Remove spurious quote.
19962
c0749a51
GM
199632011-04-12 Glenn Morris <rgm@gnu.org>
19964
088d0d61
GM
19965 * calendar/cal-tex.el (cal-tex-end-document):
19966 Try to automatically use latin1 input if needed.
19967
c0749a51
GM
19968 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19969 Don't try to cons a mark onto an empty element.
19970
5c90fde0
LL
199712011-04-11 Leo Liu <sdl.web@gmail.com>
19972
19973 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19974 buffers.
19975 (ido-kill-buffer-at-head): Support killing virtual buffers.
19976
369e974d
CY
199772011-04-10 Chong Yidong <cyd@stupidchicken.com>
19978
19979 * minibuffer.el (completion-show-inline-help): New var.
19980 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19981 (minibuffer-force-complete, minibuffer-complete-word):
19982 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19983
19984 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19985 to avoid interference from inline help (Bug#5849).
19986
37f1c930
LL
199872011-04-10 Leo Liu <sdl.web@gmail.com>
19988
099c39a4
JB
19989 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19990 Fix typo.
37f1c930 19991
a32d4040
CY
199922011-04-09 Chong Yidong <cyd@stupidchicken.com>
19993
19994 * image-mode.el (image-toggle-display-image): Signal an error if
19995 not in Image mode.
19996 (image-transform-mode, image-transform-resize)
19997 (image-transform-set-rotation): Doc fix.
daca8ba5 19998 (image-transform-set-resize): Delete.
a32d4040
CY
19999 (image-transform-set-scale, image-transform-fit-to-height)
20000 (image-transform-fit-to-width): Handle image-toggle-display-image
20001 and image-transform-resize directly.
20002
099c39a4 200032011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20004
20005 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20006 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20007 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20008 (doc-view-mode-map): Add bindings for the new functions.
20009
099c39a4 200102011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20011
4d61f28d 20012 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20013 Fix typo in docstring.
20014
3726838a
EZ
200152011-04-08 Eli Zaretskii <eliz@gnu.org>
20016
04f33f1e
EZ
20017 * files.el (file-size-human-readable): Produce one digit after
20018 decimal, like "ls -lh" does.
20019
20020 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20021 the file size representation.
20022
3726838a
EZ
20023 * simple.el (list-processes): If async subprocesses are not
20024 available, error out with a clear error message.
20025
cbb59342
CY
200262011-04-08 Chong Yidong <cyd@stupidchicken.com>
20027
20028 * help.el (help-form-show): New function, to be called from C.
20029 Put help-form output in a buffer named differently than *Help*.
20030
e3971c44
EZ
200312011-04-08 Eli Zaretskii <eliz@gnu.org>
20032
20033 * files.el (file-size-human-readable): New function.
20034
20035 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20036 computing the representation inline. Don't require `cl'.
20037
12544bbe
GM
200382011-04-08 Glenn Morris <rgm@gnu.org>
20039
a1de6c6a
GM
20040 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20041
3c4671f4
GM
20042 * net/browse-url.el (browse-url-firefox):
20043 Test system-type, not system-configuration.
20044
b605679c
GM
20045 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20046 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20047 Use log-edit-empty-buffer-p. (Bug#7598)
20048
56442f0c
GM
20049 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20050 (rlogin-mode-map): Initialize in the defvar.
20051 (rlogin): Use ignore-errors.
20052
12544bbe
GM
20053 * replace.el (occur-mode-map): Some fixes for menu items.
20054
eb237b0f
AH
200552011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20056
20057 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20058
7d668f2c
CY
200592011-04-06 Chong Yidong <cyd@stupidchicken.com>
20060
e67a13ab
CY
20061 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20062 issuing unused warnings.
20063
20064 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20065 macro directly.
20066
7d668f2c
CY
20067 * simple.el: Lisp reimplement of list-processes. Based on an
20068 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20069 (process-menu-mode): New major mode.
20070 (list-processes--refresh, list-processes):
20071 (process-menu-visit-buffer): New functions.
20072
20073 * files.el (save-buffers-kill-emacs): Don't assume any return
20074 value of list-processes, which is undocumented anyway.
20075
a83ec3c9
CY
200762011-04-06 Chong Yidong <cyd@stupidchicken.com>
20077
20078 * emacs-lisp/tabulated-list.el: New file.
20079
e91a96fe
CY
20080 * emacs-lisp/package.el: Use Tabulated List mode.
20081 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20082 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20083 table format using Tabulated List mode variables.
20084 (package--push): New macro, replacing package-list-maybe-add.
20085 (package-menu--generate): Use package--push. Renamed from
20086 package--generate-package-list.
20087 (package-menu-refresh, list-packages): Use it.
daca8ba5 20088 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20089 Return insertion data instead of inserting it directly.
099c39a4
JB
20090 (package-menu-describe-package, package-menu-execute):
20091 Use tabulated-list-get-id.
e91a96fe
CY
20092 (package-menu-mark-delete, package-menu-mark-install)
20093 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20094 (package-menu-mark-obsolete-for-deletion):
20095 Use tabulated-list-put-tag.
e91a96fe
CY
20096 (package--list-packages, package-menu-revert)
20097 (package-menu-get-package, package-menu-get-version)
20098 (package-menu-sort-by-column): Functions deleted.
20099 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20100 (package-menu--status-predicate, package-menu--version-predicate)
20101 (package-menu--name-predicate)
20102 (package-menu--description-predicate): Handle arguments in the
20103 Tabulated List format.
20104 (package-list-packages-no-fetch): Call list-packages.
20105
3e214b50
JB
201062011-04-06 Juanma Barranquero <lekktu@gmail.com>
20107
20108 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20109 (after-find-file): Don't bind it.
3e214b50
JB
20110 (revert-buffer-in-progress-p): New variable.
20111 (revert-buffer): Bind it.
20112 Pass nil for `after-find-file-from-revert-buffer'.
20113
20114 * saveplace.el (save-place-find-file-hook): Use new variable
20115 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20116
3f0f1700
GM
201172011-04-06 Glenn Morris <rgm@gnu.org>
20118
c0274801
GM
20119 * Makefile.in (AUTOGEN_VCS): New variable.
20120 (autoloads): Use $AUTOGEN_VCS.
20121
3f0f1700
GM
20122 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20123 * calendar/calendar.el (calendar-mode-map):
20124 Check for toolkit scroll bars. (Bug#8305)
20125
41ea9e48
CY
201262011-04-05 Chong Yidong <cyd@stupidchicken.com>
20127
20128 * minibuffer.el (completion-in-region--postch)
20129 (completion-in-region-mode): Remove unnecessary messages.
20130
6194c800
JB
201312011-04-05 Juanma Barranquero <lekktu@gmail.com>
20132
33256f14
JB
20133 * font-lock.el (font-lock-refresh-defaults):
20134 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20135 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20136
6194c800
JB
20137 * info.el (Info-directory-list, Info-read-node-name-2)
20138 (Info-split-parameter-string): Doc fixes.
20139 (Info-virtual-nodes): Reflow docstring.
20140 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20141 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20142 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20143 Fix typos in docstrings.
20144 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20145 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20146 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20147 (Info-restore-desktop-buffer): Mark unused parameters.
20148 (Info-directory-find-file, Info-directory-find-node)
20149 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20150 (Info-virtual-index-find-node, Info-apropos-find-file)
20151 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20152 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20153 (Info-virtual-index): Remove unused local variable `nodename'.
20154
b87a8200 201552011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20156
b87a8200
DD
20157 * net/rcirc.el: Update my e-mail address.
20158 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20159
3b2ff876
CY
201602011-04-05 Chong Yidong <cyd@stupidchicken.com>
20161
20162 * startup.el (command-line): Save the cursor's theme-face
20163 directly, instead of using face-override-spec.
20164
20165 * custom.el (load-theme): Minor optimization in assigning faces.
20166
8d17e7ca
JB
201672011-04-04 Juanma Barranquero <lekktu@gmail.com>
20168
20169 * help-fns.el (describe-variable): Complete all variables having
20170 documentation, including keywords.
20171 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20172
2fbc1934
JB
201732011-04-04 Juanma Barranquero <lekktu@gmail.com>
20174
20175 Convert to lexical-binding.
20176
20177 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20178 (bs--get-marked-string, bs--get-modified-string)
20179 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20180 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20181 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20182
20183 * ehelp.el (electric-help-execute-extended)
20184 (electric-help-ctrl-x-prefix):
20185 * hexl.el (hexl-revert-buffer-function):
20186 * linum.el (linum-after-change, linum-after-scroll):
20187 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20188
20189 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20190
74f50695
DU
201912011-04-04 Daiki Ueno <ueno@unixuser.org>
20192
20193 * epa-dired.el:
20194 * epa-mail.el:
20195 * epa-hook.el:
20196 * epa-file.el:
20197 * epa.el:
20198 * epg.el: Use lexical binding.
20199
c11325f7
CY
202002011-04-03 Chong Yidong <cyd@stupidchicken.com>
20201
0d9e9a12
CY
20202 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20203
c11325f7 20204 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20205 dictionary case for flyspell-mark-duplications-exceptions.
20206 Use regexp matching for languages.
c11325f7
CY
20207 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20208 default dictionary (Bug#7926).
20209
da91b5f2
CY
202102011-04-02 Chong Yidong <cyd@stupidchicken.com>
20211
099c39a4
JB
20212 * emacs-lisp/package.el (package--with-work-buffer):
20213 Recognize https URLs.
da91b5f2 20214
099c39a4
JB
20215 * net/network-stream.el: Move from gnus/proto-stream.el.
20216 Change prefix to network-stream throughout.
da91b5f2
CY
20217 (open-protocol-stream): Merge into open-network-stream, leaving
20218 open-protocol-stream as an alias. Handle nil BUFFER args.
20219
20220 * subr.el (open-network-stream): Move to net/network-stream.el.
20221
afa8e9f6
GM
202222011-04-02 Glenn Morris <rgm@gnu.org>
20223
1d2e369d
GM
20224 * find-dired.el (find-exec-terminator): New option.
20225 (find-ls-option): Test for -ls support.
20226 (find-ls-subdir-switches): Test for -b in find-ls-option.
20227 (find-dired, find-grep-dired): Doc fixes.
20228 (find-dired): Use find-exec-terminator.
20229
8abb7da8 20230 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20231 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20232 (find-name-arg): Remove purecopy.
8abb7da8 20233
f3ca7378
GM
20234 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20235 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20236 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20237 accordingly. Don't add the null-device if not needed.
20238
afa8e9f6
GM
20239 * files.el (save-some-buffers): Doc fix.
20240
35eae264
EZ
202412011-04-02 Eli Zaretskii <eliz@gnu.org>
20242
20243 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20244
26b51db5
JB
202452011-04-01 Juanma Barranquero <lekktu@gmail.com>
20246
20247 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20248 Use `dolist' rather than `mapcar'.
20249
7200d79c
SM
202502011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20251
03408648 20252 Add lexical binding.
7200d79c 20253
03408648
SM
20254 * subr.el (apply-partially): Use new closures rather than CL.
20255 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20256 (dolist, dotimes): Use slightly different expansion for lexical code.
20257 (functionp): Move to C.
20258 (letrec): New macro.
20259 (with-wrapper-hook): Use it and apply-partially instead of CL.
20260 (eval-after-load): Preserve lexical-binding.
20261 (save-window-excursion, with-output-to-temp-buffer): Turn them
20262 into macros.
7200d79c 20263
03408648
SM
20264 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20265
20266 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20267 than the arglist.
20268 (help-add-fundoc-usage): Don't add `Not documented'.
20269 (help-function-arglist): Handle closures, subroutines, and new
20270 byte-code-functions.
20271 (help-make-usage): Remove leading underscores.
20272 (describe-function-1): Handle closures.
20273 (describe-variable): Use special-variable-p for completion.
20274
20275 * files.el (lexical-binding): Declare safe.
f488fb65 20276
03408648
SM
20277 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20278 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20279 (pcase): Add `let' pattern.
20280 Change memoization so it actually works.
20281 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20282 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20283 <let>: New case.
f488fb65 20284
03408648
SM
20285 * emacs-lisp/macroexp.el: Use lexical binding.
20286 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20287 Don't convert ' to #' without checking that it's indeed quoting
20288 a lambda.
20289
20290 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20291 Use eval-sexp-add-defvars.
03408648
SM
20292 (eval-sexp-add-defvars): New fun.
20293
20294 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20295
20296 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20297 Don't autoload.
20298 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20299 than the internal `byte-compile-lambda'.
20300 (defmethod): Don't hide code under quotes.
20301 (eieio-defmethod): New `code' argument.
20302
20303 * emacs-lisp/eieio-comp.el: Remove.
20304
20305 * emacs-lisp/edebug.el (edebug-eval-defun)
20306 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20307 (edebug-toggle): Avoid `eval'.
20308
20309 * emacs-lisp/disass.el (disassemble-internal): Handle new
20310 `closure' objects.
20311 (disassemble-1): Handle new byte codes.
20312
20313 * emacs-lisp/cl.el (pushnew): Silence warning.
20314
20315 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20316 (cl-byte-compile-throw): Remove.
20317 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20318
20319 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20320 closures.
20321
20322 * emacs-lisp/cconv.el: New file.
20323
20324 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20325 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20326 (byte-compile-initial-macro-environment):
20327 Handle declare-function here.
20328 (byte-compile--lexical-environment): New var.
20329 (byte-stack-ref, byte-stack-set, byte-discardN)
20330 (byte-discardN-preserve-tos): New lap codes.
20331 (byte-interactive-p): Don't use any more.
20332 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20333 New macros.
20334 (byte-compile-lapcode): Use them and handle new lap codes.
20335 (byte-compile-obsolete): Remove.
20336 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20337 (byte-compile-arglist-warn): Check late def of inlinable funs.
20338 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20339 since they should have been expanded by now.
20340 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20341 (byte-compile-from-buffer): Remove unused second arg.
20342 (byte-compile-preprocess): New function.
20343 (byte-compile-toplevel-file-form): New function to distinguish
20344 file-form calls from outside from file-form calls from hunk-handlers.
20345 (byte-compile-file-form): Simplify.
20346 (byte-compile-file-form-defsubst): Remove.
20347 (byte-compile-file-form-defmumble): Simplify now that
20348 byte-compile-lambda always returns a byte-code-function.
20349 (byte-compile): Preprocess.
20350 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20351 Remove, not used any more.
20352 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20353 (byte-compile-make-args-desc): New funs.
20354 (byte-compile-lambda): Handle lexical functions. Always return
20355 a byte-code-function.
20356 (byte-compile-reserved-constants): New var, to make up room for
20357 closed-over variables.
20358 (byte-compile-constants-vector): Obey it.
20359 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20360 (byte-compile-macroexpand-declare-function): New function.
20361 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20362 byte-code-functions.
20363 (byte-compile-form): Check obsolescence here.
20364 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20365 (byte-compile-variable-ref): Remove.
20366 (byte-compile-dynamic-variable-op): New fun.
20367 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20368 (byte-compile-variable-set): New funs.
20369 (byte-compile-discard): Add 2 args.
20370 (byte-compile-stack-ref, byte-compile-stack-set)
20371 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20372 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20373 macroexpand-all instead.
20374 (byte-compile-quote-form): Remove.
20375 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20376 (byte-compile-bind, byte-compile-unbind): New funs.
20377 (byte-compile-let): Handle let* and lexical binding.
20378 (byte-compile-let*): Remove.
20379 (byte-compile-catch, byte-compile-unwind-protect)
20380 (byte-compile-track-mouse, byte-compile-condition-case):
20381 Handle a new :fun-body form, used for lexical scoping.
20382 (byte-compile-save-window-excursion)
20383 (byte-compile-with-output-to-temp-buffer): Remove.
20384 (byte-compile-defun): Simplify.
20385 (byte-compile-stack-adjustment): New fun.
20386 (byte-compile-out): Use it.
20387 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20388
20389 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20390 handler any more.
20391
20392 * emacs-lisp/byte-opt.el: Use lexical binding.
20393 (byte-inline-lapcode): Remove (to bytecomp).
20394 (byte-compile-inline-expand): Pay attention to inlining to/from
20395 lexically bound code.
20396 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20397 any more.
20398 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20399 any more and don't call compiler-macros.
20400 (byte-compile-splice-in-already-compiled-code): Remove.
20401 (byte-code): Don't inline any more.
20402 (disassemble-offset): Receive `bytes' as argument rather than via
20403 dynamic scoping.
20404 (byte-compile-tag-number): Declare before first use.
20405 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20406 `return' even if make-spliceable.
20407 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20408 obsolete interactive-p.
20409 (byte-optimize-lapcode): Optimize new lap-codes.
20410 Don't trip up on new form of `byte-constant' lap code.
20411
20412 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20413
20414 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20415
20416 * custom.el (custom-initialize-default, custom-declare-variable):
20417 Use `defvar'.
20418
20419 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20420 New variables.
20421 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20422 (COMPILE_FIRST): Add macroexp and cconv.
20423 * makefile.w32-in: Mirror changes in Makefile.in.
20424
20425 * vc/cvs-status.el:
20426 * vc/diff-mode.el:
20427 * vc/log-edit.el:
20428 * vc/log-view.el:
20429 * vc/smerge-mode.el:
20430 * textmodes/bibtex-style.el:
090bd7cb 20431 * textmodes/css-mode.el:
03408648
SM
20432 * startup.el:
20433 * uniquify.el:
da91b5f2
CY
20434 * minibuffer.el:
20435 * newcomment.el:
20436 * reveal.el:
20437 * server.el:
20438 * mpc.el:
20439 * emacs-lisp/smie.el:
20440 * doc-view.el:
20441 * dired.el:
03408648
SM
20442 * abbrev.el: Use lexical binding.
20443
0f0c1f27
EZ
204442011-04-01 Eli Zaretskii <eliz@gnu.org>
20445
20446 * info.el (info-display-manual): New function.
20447
c82b2579
SM
204482011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20449
20450 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20451
221ddf68
TH
204522011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20453
20454 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20455 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20456
cba6e77e
GM
204572011-03-31 Glenn Morris <rgm@gnu.org>
20458
e040639f
GM
20459 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20460
cba6e77e
GM
20461 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20462
6d0f1c9e
CS
204632011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20464
20465 * progmodes/python.el (python-default-interpreter)
20466 (python-python-command-args, python-jython-command-args)
20467 (python-which-shell, python-which-args, python-which-bufname)
20468 (python-file-queue, python-comint-output-filter-function)
20469 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20470 variables and functions.
20471
3e2d70fd
SM
204722011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20473
20474 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20475 (completion-in-region-mode): New minor mode.
20476 (completion-in-region): Use it.
20477 (completion-in-region--data, completion-in-region-mode-map): New vars.
20478 (completion-in-region--postch): New function.
20479 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20480 New vars.
20481 (completion--capf-wrapper): New function.
20482 (completion-at-point): Use it to track well-behavedness of
20483 hook functions.
20484 (completion-help-at-point): New command.
20485
f3e4086c
JM
204862011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20487
20488 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20489 syntax class to search for whitespace on a single line
20490 (Message-ID: <4D938140.4030905@redhat.com>).
20491
eb7ffc14
LL
204922011-03-30 Leo Liu <sdl.web@gmail.com>
20493
20494 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20495 New commands.
20496 (edit-abbrevs-map): Bind them here.
20497 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20498
d806ab68
KM
204992011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20500
20501 * allout.el (allout-hide-by-annotation, allout-flag-region):
20502 Reduce possibility of overlay leakage by making them volatile.
20503
20504 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20505 hash is not shared between buffers. Mode initialization is
20506 responsible for giving it a useful starting value.
20507 (allout-item-span): Reduce possibility of overlay leakage by
20508 making them volatile.
20509 (allout-widgets-count-buttons-in-region): Add diagnostic function
20510 for tracking down button overlay leaks.
20511
ea622834
LL
205122011-03-29 Leo Liu <sdl.web@gmail.com>
20513
20514 * ido.el (ido-read-internal): Use the default history var
20515 minibuffer-history if no HISTORY is specified.
20516
b62f8267
G
205172011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20518
03408648
SM
20519 * net/imap.el (imap-shell-open, imap-process-connection-type):
20520 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20521 Kerberos, SSL, other subprocesses.
20522
947b6566
LL
205232011-03-28 Leo Liu <sdl.web@gmail.com>
20524
20525 * abbrev.el (abbrev-table-empty-p): New function.
20526 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20527 nonempty ones. (Bug#5937)
20528
5ffb62aa
JD
205292011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20530
20531 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20532
7a097943
LL
205332011-03-27 Leo Liu <sdl.web@gmail.com>
20534
20535 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20536 for foreground and background colors.
20537 (ansi-color-make-color-map): Adapt.
20538
c5b40130
LL
205392011-03-25 Leo Liu <sdl.web@gmail.com>
20540
1f48f7d2
LL
20541 * midnight.el (midnight-time-float): Remove. Note it calculates
20542 the microsecond component incorrectly and seconds-to-time does the
20543 same job.
625897ec 20544 Remove redundant (require 'timer).
1f48f7d2 20545
c5b40130
LL
20546 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20547 (ido-completions): Remove unused arguments. (Bug#8329)
20548
d86d2721
SM
205492011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20550
20551 * minibuffer.el (completion--flush-all-sorted-completions):
20552 Remove itself from hook.
20553 (completion-at-point): Let the functions perform the completion
20554 immediately and return nil or t.
20555 * comint.el (comint-dynamic-complete-functions): Now identical to
20556 completion-at-point-functions.
20557 (comint-dynamic-list-input-ring): Remove unused var `index'.
20558 (comint--match-partial-filename, comint--unquote&expand-filename):
20559 New funs, split from comint-match-partial-filename.
20560 (comint-dynamic-complete): Use completion-at-point.
20561 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20562
e8974c48
DA
205632011-03-24 Drew Adams <drew.adams@oracle.com>
20564
20565 * thingatpt.el: Support `defun'.
20566
def71b5e
LL
205672011-03-23 Leo Liu <sdl.web@gmail.com>
20568
cb5af48e
LL
20569 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20570
def71b5e
LL
20571 * help-mode.el (help-mode-finish): Tweak regexp.
20572
927c53e7
GM
205732011-03-23 Glenn Morris <rgm@gnu.org>
20574
18d05bed
GM
20575 * eshell/esh-opt.el (eshell-eval-using-options):
20576 Do not bind unused local variable `eshell-option-stub'.
20577
927c53e7
GM
20578 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20579
9d0da923
JB
205802011-03-22 Juanma Barranquero <lekktu@gmail.com>
20581
20582 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20583 keymap variable in `with-no-warnings' to avoid a warning when the
20584 keymap has been already `defconst'ed.
20585
4b978a67
LL
205862011-03-22 Leo Liu <sdl.web@gmail.com>
20587
20588 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20589 encode all chars in abbrevs; otherwise use emacs-mule or
20590 utf-8-emacs. (Bug#8308)
20591
5fd62452
JB
205922011-03-22 Juanma Barranquero <lekktu@gmail.com>
20593
0b1596c6
JB
20594 * simple.el (backward-delete-char-untabify):
20595 Avoid warning about using `delete-backward-char'.
20596
5fd62452
JB
20597 * image.el (image-type-file-name-regexps): Make it variable.
20598 `imagemagick-register-types' modifies it, and the user may want
20599 to add new extensions for known image types.
20600 (imagemagick-register-types): Throw error if not using ImageMagick.
20601
0b4e93f1
LL
206022011-03-22 Leo Liu <sdl.web@gmail.com>
20603
20604 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20605 located before rcirc-prompt-end-marker.
20606 (rcirc-complete): Error if point is not after rcirc prompt.
20607 Handle the case when table is nil.
9882e214 20608 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20609
fccee4ab
CY
206102011-03-22 Chong Yidong <cyd@stupidchicken.com>
20611
20612 * custom.el (custom--inhibit-theme-enable): Make it affect only
20613 custom-theme-set-variables and custom-theme-set-faces.
20614 (provide-theme): Ignore custom--inhibit-theme-enable.
20615 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20616 (custom-enabling-themes): Delete variable.
d86d2721
SM
20617 (enable-theme): Accept only loaded themes as arguments.
20618 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20619 (custom-enabled-themes): Forbid themes from setting this.
20620 Eliminate use of custom-enabling-themes.
20621 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20622
af896da6
LL
206232011-03-21 Leo Liu <sdl.web@gmail.com>
20624
20625 * ido.el (ido-read-internal): Add ido-selected to history instead
20626 of user input.
20627
78f64af0
SM
206282011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20629
20630 * subr.el (deferred-action-list, deferred-action-function):
20631 Mark obsolete.
20632
b16ac1ec
LL
206332011-03-21 Leo Liu <sdl.web@gmail.com>
20634
810f7698
LL
20635 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20636 change on 2011-02-13 (bug#8309).
20637
b16ac1ec
LL
20638 * minibuffer.el (read-file-name-function): Change default value.
20639 (read-file-name--defaults): Rename from read-file-name-defaults.
20640 (read-file-name-default): Rename from read-file-name.
20641 (read-file-name): Call read-file-name-function.
20642
4e05e67e
GM
206432011-03-21 Glenn Morris <rgm@gnu.org>
20644
20645 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20646 Doc fixes.
20647
4359915b
CY
206482011-03-21 Chong Yidong <cyd@stupidchicken.com>
20649
20650 * cus-theme.el: Add missing provide statement.
20651 (customize-create-theme): Extract theme value correctly.
20652 (custom-theme-visit-theme): Autoload.
20653 (customize-create-theme): Prompt before inserting default faces.
20654
1fe275ee
JB
206552011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20656
20657 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20658 units and musical notes.
20659
cd394be1 206602011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20661
20662 * ido.el (ido-read-internal): Use completing-read-default.
20663 (ido-completing-read): Fix compatibility with completing-read.
20664
7d476bde
CO
206652011-03-20 Christian Ohler <ohler@gnu.org>
20666
20667 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20668 (ert-delete-all-tests): Use `called-interactively-p' rather than
20669 `interactive-p'.
20670 (ert--make-xrefs-region): Respect END.
20671
fe0fb33e
CY
206722011-03-19 Chong Yidong <cyd@stupidchicken.com>
20673
ff854b0b
CY
20674 * dired-aux.el (dired-create-directory): Signal an error if the
20675 directory already exists (Bug#8246).
20676
fe0fb33e
CY
20677 * facemenu.el (list-colors-display): Call list-faces-display
20678 inside with-help-window.
20679 (list-colors-print): Use display property to align the final
20680 column, instead of checking window-width.
20681
576bce32
EZ
206822011-03-19 Eli Zaretskii <eliz@gnu.org>
20683
4d61f28d 20684 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20685 windows-nt systems.
20686 (emerge-protect-metachars): Quote correctly for ms-dos and
20687 windows-nt systems.
20688
89c41d68 206892011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20690
20691 * info.el (info-initialize): Replace all uses of `:' with
20692 path-separator for compatibility with non-Unix systems.
20693 Cache quoting of path-separator. (Bug#8258)
20694
b14e3e21 206952011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20696
20697 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20698 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20699 (mouse-avoidance-mode): Fix typos in docstrings.
20700
4525ce3e
CY
207012011-03-19 Chong Yidong <cyd@stupidchicken.com>
20702
20703 * startup.el (package-subdirectory-regexp): Move from package.el.
20704 Omit \\` and \\', and let callers add them.
20705
20706 * emacs-lisp/package.el (package-strip-version)
20707 (package-load-all-descriptors): Add \\` and \\' to
20708 package-subdirectory-regexp before using it.
20709 (package-untar-buffer): New arg DIR; ensure that file untars only
20710 into this expected directory. Remove superfluous delete-region.
20711 (package-unpack): Caller changed.
20712 (package-tar-file-info): Use package-subdirectory-regexp.
20713
a904a09a 207142011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20715
a904a09a
SM
20716 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20717 diff-mode-shared-map (bug#8284).
20718 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20719
207202011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20721
20722 * calendar/time-date.el (format-seconds): Use assoc instead of
20723 assoc-string, since assoc-string doesn't exist in XEmacs.
20724
171fc304
JB
207252011-03-17 Juanma Barranquero <lekktu@gmail.com>
20726
20727 * custom.el (custom-known-themes): Reflow docstring.
20728 (custom-theme-load-path): Fix typo in docstring.
20729 (load-theme): Fix typo in error message.
20730 (custom-available-themes, custom-variable-theme-value):
20731 Use `let', not `let*'.
20732
d71990a1
JB
207332011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20734
20735 * calc/README: Mention inclusion of musical notes.
20736
20737 * calc/calc-units.el (calc-lu-quant): Rename from
20738 `calc-logunits-quantity'.
20739 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20740 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20741 (calc-db): Rename from `calc-dblevel'.
20742 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20743 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20744 (calc-np): Rename from `calc-nplevel'.
20745 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20746 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20747 (calc-lu-plus): Rename from `calc-logunits-add'.
20748 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20749 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20750 (calc-lu-minus): Rename from `calc-logunits-sub'.
20751 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20752 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20753 (calc-lu-times): Rename from `calc-logunits-mul'.
20754 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20755 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20756 (calc-lu-divide): Rename from `calc-logunits-div'.
20757 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20758 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20759
20760 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20761 functions being autoloaded.
20762
20763 * calc/calc.el (calc-lu-power-reference): Rename from
20764 `calc-logunits-power-reference'.
20765 (calc-lu-field-reference): Rename from
20766 `calc-logunits-field-reference'.
20767
7a71b18d
GM
20768 * calc/calc-help.el (calc-l-prefix-help):
20769 Mention musical note functions.
d71990a1 20770
40c2934b
SM
207712011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20772
20773 * minibuffer.el (completion-all-sorted-completions):
20774 Use :completion-cycle-penalty text property if present.
20775
b0911414
KM
207762011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20777
20778 * allout.el (allout-yank-processing): Adjust for new rebulleting
20779 regime so bullet being yanked is used without prompting the user
20780 for a choice.
20781
8a05b668
JB
207822011-03-16 Juanma Barranquero <lekktu@gmail.com>
20783
20784 * startup.el (command-line): Warn the user that _emacs is deprecated.
20785
5ba5fb81
JB
207862011-03-16 Juanma Barranquero <lekktu@gmail.com>
20787
20788 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20789 (delphi-verbose, delphi-comment-face, delphi-string-face)
20790 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20791 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20792 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20793 (delphi-new-comment-line, delphi-font-lock-defaults)
20794 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20795 Fix typos in docstrings.
20796
2dab465b
KM
207972011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20798
5ba5fb81 20799 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20800 Invert the roles of character and string values for INSTEAD, so a
20801 string is used for the more common case of a defaulting prompt.
20802
0adf5618
SM
208032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20804
20805 * progmodes/ruby-mode.el (ruby-backward-sexp):
20806 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20807 * play/gamegrid.el (gamegrid-make-face):
20808 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20809 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20810 * notifications.el (notifications-notify):
20811 * net/xesam.el (xesam-search-engines):
20812 * net/quickurl.el (quickurl-list-insert):
20813 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20814
d72700e5
CY
208152011-03-15 Chong Yidong <cyd@stupidchicken.com>
20816
20817 * startup.el (command-line): Update package subdirectory regexp.
20818
49c5410a
SM
208192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20820
c6eee9aa
SM
20821 * allout.el (allout-abbreviate-flattened-numbering)
20822 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20823
49c5410a
SM
20824 * subr.el (read-char-choice): Only show the cursor after the prompt,
20825 not after the answer.
20826
047b2bb9
KR
208272011-03-15 Kevin Ryde <user42@zip.com.au>
20828
20829 * help-fns.el (variable-at-point): Skip leading quotes, if any
20830 (bug#8253).
20831
0a57d256
SM
208322011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20833
20834 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20835 warning message.
20836
77c992bc
MA
208372011-03-14 Michael Albinus <michael.albinus@gmx.de>
20838
20839 * shell.el (shell): When called interactively, offer to change the
20840 shell file name on remote hosts.
20841
eebc475d
TZ
208422011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20843
20844 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20845 integration for LDAP parameters. The host, base, user or binddn,
20846 and secret tokens can be specified in a netrc file, for instance.
20847 This is optional because an `auth-source' parameter must be
20848 specified in the search attributes.
20849
9d05d1ba
JB
208502011-03-13 Juanma Barranquero <lekktu@gmail.com>
20851
20852 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20853
09d9db2c
GM
208542011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20855
20856 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20857 into declaration. Remove redundant and harmful binding.
20858
208592011-03-12 Eli Zaretskii <eliz@gnu.org>
20860
20861 * files.el (file-ownership-preserved-p): Pass `integer' as an
20862 explicit 2nd argument to `file-attributes'. If the file's owner
20863 is the Administrators group on Windows, and the current user is
20864 Administrator, consider that a match.
20865
20866 * server.el (server-ensure-safe-dir): Consider server directory
20867 safe on MS-Windows if its owner is the Administrators group while
20868 the current Emacs user is Administrator. Use `=' to compare
20869 numerical UIDs, since they could be integers or floats.
20870
219bd536
JB
208712011-03-12 Juanma Barranquero <lekktu@gmail.com>
20872
20873 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20874
f3afd36b
MA
208752011-03-12 Michael Albinus <michael.albinus@gmx.de>
20876
20877 Sync with Tramp 2.2.1.
20878
20879 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20880
20881 * net/trampver.el: Update release number.
20882
3aaaa6f1
SM
208832011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20884
94642599
SM
20885 * progmodes/compile.el (compilation--previous-directory): Fix up
20886 various nil/dead-marker mismatches (bug#8014).
20887 (compilation-directory-properties, compilation-error-properties):
20888 Don't call it at a position past the one we're about to change.
20889
3aaaa6f1
SM
20890 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20891 Disable obsolescence warnings in the file that declares it.
20892
14239447
KM
208932011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20894
099c39a4
JB
20895 * allout-widgets.el (allout-widgets-tally):
20896 Initialize allout-widgets-tally as a hash table rather than nil to
20897 prevent mode-line redisplay warnings. Also, clarify the module
20898 description and fix a comment typo.
14239447 20899
135e287c
JB
209002011-03-11 Juanma Barranquero <lekktu@gmail.com>
20901
20902 * help-fns.el (describe-variable): Don't complete keywords.
20903 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20904
ffbf300e
CY
209052011-03-10 Chong Yidong <cyd@stupidchicken.com>
20906
ba08b241
CY
20907 * emacs-lisp/package.el (package-version-join): Impose a standard
20908 string representation for pre/alpha/beta version lists.
20909 (package-unpack-single): Standardize the directory name by passing
20910 it through package-version-join.
20911 (package-strip-rcs-id): Accept any version string that does not
20912 signal an error in version-to-list.
ffbf300e 20913
f346fd6b
MA
209142011-03-10 Michael Albinus <michael.albinus@gmx.de>
20915
20916 * simple.el (delete-trailing-whitespace): Return nil for the
20917 benefit of `write-file-functions'.
20918
ccb55d27
GM
209192011-03-10 Glenn Morris <rgm@gnu.org>
20920
5ceaac0c
GM
20921 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20922
02da65ff
GM
20923 * vc/vc-git.el (vc-git-program): New option.
20924 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20925 (vc-git--call): Use it.
20926
b2f603cc
GM
20927 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20928
5772caab
GM
20929 * cus-edit.el (Custom-newline): If no button at point, look
20930 for a subgroup button at start-of-line. (Bug#2298)
20931
ccb55d27
GM
20932 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20933
ec6ecaed
JD
209342011-03-10 Julien Danjou <julien@danjou.info>
20935
20936 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20937 `cursor-type' is nil.
20938
9d5aa01d
JB
209392011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20940
20941 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20942
b6a5875b
KM
209432011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20944
7a71b18d 20945 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20946 preserves the existing header prefix, rebulleting it if necessary,
20947 rather than replacing it. This is necessary for proper operation
20948 of cooperative addons like allout-widgets.
1154d12e
JB
20949 (allout-make-topic-prefix, allout-rebullet-heading):
20950 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20951 value as alternate bullet to be used, instead of prompting the user
20952 for a bullet character.
b6a5875b 20953
ee545c35
MA
209542011-03-09 Michael Albinus <michael.albinus@gmx.de>
20955
d86d2721
SM
20956 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20957 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20958 `tramp-default-port'.
20959
c47971d7
DD
209602011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20961
20962 * net/rcirc.el (rcirc-handler-001): Remove useless
20963 with-rcirc-process-buffer.
20964 (rcirc-check-auth-status): Swap arguments to string-match.
20965
13522cb4
GM
209662011-03-09 Glenn Morris <rgm@gnu.org>
20967
0be6f4f1
GM
20968 * shell.el (shell-mode):
20969 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20970
13522cb4
GM
20971 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20972 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20973
515de2e3
CY
209742011-03-08 Chong Yidong <cyd@stupidchicken.com>
20975
20976 * emacs-lisp/package.el (package-refresh-contents)
20977 (package-menu-execute): Use condition-case-no-debug.
20978
b511b994
MA
209792011-03-08 Michael Albinus <michael.albinus@gmx.de>
20980
20981 * simple.el (shell-command-to-string): Use `process-file'.
20982
20983 * emacs-lisp/package.el (package-tar-file-info): Handle also
20984 remote files.
20985
d86d2721
SM
20986 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20987 Use `equal' for upload base check.
b511b994 20988
25bbfb31
AM
209892011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20990
20991 * textmodes/texinfo.el (texinfo-environments):
20992 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20993
be996521
GM
209942011-03-08 Glenn Morris <rgm@gnu.org>
20995
e9c8529f
GM
20996 * cus-start.el (cursor-in-non-selected-windows):
20997 Fix :set quoting oddness. (Bug#8192)
20998
be996521
GM
20999 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21000 in some setf expressions. (Bug#2159)
21001
2bb5649e
CY
210022011-03-08 Chong Yidong <cyd@stupidchicken.com>
21003
21004 * custom.el (custom-available-themes): Return themes in
21005 alphabetical order.
21006
33383987 21007See ChangeLog.15 for earlier changes.
e3d51b27
MR
21008
21009;; Local Variables:
21010;; coding: utf-8
e3d51b27
MR
21011;; End:
21012
acaf905b 21013 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21014
21015 This file is part of GNU Emacs.
21016
21017 GNU Emacs is free software: you can redistribute it and/or modify
21018 it under the terms of the GNU General Public License as published by
21019 the Free Software Foundation, either version 3 of the License, or
21020 (at your option) any later version.
21021
21022 GNU Emacs is distributed in the hope that it will be useful,
21023 but WITHOUT ANY WARRANTY; without even the implied warranty of
21024 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21025 GNU General Public License for more details.
21026
21027 You should have received a copy of the GNU General Public License
21028 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.