* lisp/files.el (find-alternate-file): Only ask one question.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e07fcbdc
SM
12012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * files.el (find-alternate-file): Only ask one question (bug#12487).
4
894b9dd9
CY
52012-10-29 Chong Yidong <cyd@gnu.org>
6
1dc2755a
CY
7 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
8 Suggested by Dan Nicolaescu (Bug#6326).
9
329c48d8
CY
10 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
11
2230fa5b 12 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 13
e84cad57
CY
14 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
15
1913c5f5
CY
16 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
17
894b9dd9
CY
18 * face-remap.el (face-remap-add-relative): Handle the case where a
19 face-remapping-alist entry is a cons cell (Bug#12762).
20
329c48d8
CY
212012-10-29 Kevin Ryde <user42@zip.com.au>
22
23 * woman.el (woman-parse-numeric-value): Handle picas correctly
24 (Bug#12639).
25
a0ccbcbd
GM
262012-10-29 Glenn Morris <rgm@gnu.org>
27
28 * emacs-lisp/cl.el (defsetf): Doc fix.
29
b3871e59
SM
302012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
33 syntax to the matching opener, if any (bug#12547).
34 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
35 matching open as a "case-(".
36 (sh-smie-rc-grammar): Add a corresponding rule for it.
37
cd44022c
DH
382012-10-28 Daniel Hackney <dan@haxney.org>
39
40 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
41 "PKGNAME-autoloads.el" in case we created it.
42
70edffb1
SM
432012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
44
86957a0c
SM
45 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
46 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 47 (completion--twq-all): Disable too-strict assertions.
86957a0c 48
70edffb1
SM
49 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
50
d069271c
EZ
512012-10-27 Eli Zaretskii <eliz@gnu.org>
52
53 * profiler.el (profiler-report-make-entry-part): Fix help-echo
54 text to match the real keybindings.
55
e2f022a3
JL
562012-10-27 Juri Linkov <juri@jurta.org>
57
58 * wdired.el (wdired-keep-marker-rename): New defcustom.
59 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
60 (Bug#11795)
61
62 * dired.el (dired-keep-marker-rename): Add reference to
63 `wdired-keep-marker-rename' in the docstring.
64 Add default character value ?R to display initially in
65 Customization UI instead of ?@.
66
df171c23
MR
672012-10-27 Martin Rudalics <rudalics@gmx.at>
68
69 * window.el (display-buffer): In doc-string describe
70 window-height and window-width alist entries.
71
72 * time.el (display-time-world): Restore fit-window-to-buffer
73 behavior.
74
05b621a6
CY
752012-10-27 Chong Yidong <cyd@gnu.org>
76
77 * subr.el (insert-buffer-substring-as-yank): Doc fix.
78
55f197b2
J
792012-10-26 Jambunathan K <kjambunathan@gmail.com>
80
81 * minibuffer.el (completion-category-overrides): New completion
82 category `bookmark' (bug#11131).
83
372212df
SM
842012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
85
150f809c
SM
86 * emacs-lisp/advice.el (ad-assemble-advised-definition):
87 Silence bogus compiler warnings for ad-do-it.
88
372212df
SM
89 * bookmark.el (bookmark-completing-read): Set the completion category
90 to `bookmark' (bug#11131).
91
c5772569
B
922012-10-26 Bastien <bzg@altern.org>
93 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * face-remap.el: Use lexical-binding.
96 (text-scale-adjust): Improve docstring. Use itself for the temporary
97 overlay-map bindings, so as to repeat the "Use..." message each time.
98
a2be0357
SM
992012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
100
63314e57
SM
101 * emacs-lisp/macroexp.el (macroexp--expand-all):
102 Obey byte-compile-warning-enabled-p (bug#12486).
103
a2be0357
SM
104 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
105 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
106
8c7727c3
MR
1072012-10-26 Martin Rudalics <rudalics@gmx.at>
108
109 * mouse.el (mouse-drag-line): Move last form into preceding when
110 clause (Bug#12731).
111
112 * help.el (resize-temp-buffer-window): Fix doc-string.
113
3f2a848d
DE
1142012-10-25 David Engster <deng@randomsample.de>
115
116 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 117 Remove. This feature is already integrated in imenu.
3f2a848d
DE
118
119 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
120 always loaded. Require `speedbar' unconditionally.
121
a7723be6
SM
1222012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
123
aaabfc8b
SM
124 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
125
414a8595
SM
126 * minibuffer.el (minibuffer-force-complete): Fix thinko.
127
fb5b9475
SM
128 * net/ldap.el (ldap-search-internal): The official ldif format starts
129 with a "version: 1" header (bug#12724).
130
a7723be6
SM
131 * emacs-lisp/package.el (package-installed-p): Warn if not ready
132 (bug#12721).
133
a05cb6e3
GM
1342012-10-25 Glenn Morris <rgm@gnu.org>
135
136 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
137
3c92de70
SM
1382012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * minibuffer.el (minibuffer-force-complete): Use one more marker
141 for the temporary-overlay-map command (bug#12619).
142
a4b6d7c6
CY
1432012-10-24 Chong Yidong <cyd@gnu.org>
144
145 * time.el (display-time-world-mode): Derive from special-mode.
146 (display-time-world): Use display-buffer (Bug#12708).
147 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
148 (display-time-world-display): Wrap the final delete-char inside
149 inhibit-read-only.
a4b6d7c6 150
75e8f9d2
CY
1512012-10-24 Chong Yidong <cyd@gnu.org>
152
cd996018
CY
153 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
154 Doc fix.
155
75e8f9d2
CY
156 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
157
d92df117
SM
1582012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * minibuffer.el (completion--all-sorted-completions-location): New var.
161 (completion--cache-all-sorted-completions)
162 (completion--flush-all-sorted-completions): Use it.
163 (completion-in-region, completion-in-region--postch)
164 (completion-at-point, completion-help-at-point): Use markers in
165 completion-in-region--data (bug#12619).
166
9c3e39f3
SM
1672012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
168
c79825bd
SM
169 * progmodes/compile.el (compilation-start): Try to handle common
170 quoting of `cd' argument (bug#12640).
171
9c3e39f3
SM
172 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
173 (bug#12671).
174
a6709bc7
GM
1752012-10-23 Glenn Morris <rgm@gnu.org>
176
177 * progmodes/gud.el (gud-menu-map):
178 Check gdb-active-process is bound. (Bug#12358)
179
d1069532
SM
1802012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
181
d20d69c0
SM
182 * repeat.el (repeat): Set real-this-command (bug#12232).
183
d1069532
SM
184 * htmlfontify.el (hfy-post-html-hook):
185 * filesets.el (filesets-cache-fill-content-hook):
186 * arc-mode.el (archive-extract-hook):
187 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
188 * net/rcirc.el (rcirc-sentinel-functions)
189 (rcirc-receive-message-functions, rcirc-activity-functions)
190 (rcirc-print-functions):
191 * net/dbus.el (dbus-event-error-functions):
192 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
193 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
194 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
195 * term/sun.el (sun-raw-prefix-hooks):
196 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
197
f7eac6d8
MA
1982012-10-23 Michael Albinus <michael.albinus@gmx.de>
199
d1069532
SM
200 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
201 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
202 (tramp-smb-wait-for-output): Add timeout to
203 `tramp-accept-process-output' calls.
204
608d9d7c
CY
2052012-10-23 Chong Yidong <cyd@gnu.org>
206
49238e7f
CY
207 * faces.el (font-list-limit): Define as an obsolete variable.
208
209 * startup.el (command-line):
210 * cus-start.el: Don't refer to font-list-limit.
211
608d9d7c
CY
212 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
213
4ff5b1b2
SM
2142012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * subr.el (internal-temp-output-buffer-show): Rename from
217 temp-output-buffer-show, since previously compiled files expect this name.
218
ea1d4aac
GM
2192012-10-23 Glenn Morris <rgm@gnu.org>
220
221 * image.el (image-type-from-file-name): If multiple types match,
222 return the first one that is supported. (Bug#9045)
223
eda82a31
GM
2242012-10-22 Glenn Morris <rgm@gnu.org>
225
226 * image.el (imagemagick-enabled-types): Doc fix.
227
4f020bec
TA
2282012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
229
230 * progmodes/which-func.el (which-func-current): The hash-table may have
231 an explicit nil (bug#12338).
232
c77d37e2
SM
2332012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * electric.el (electric-pair-delete-selection-self-insert-function):
236 Rename to electric-pair-will-use-region, return a boolean.
237 (electric-pair-mode): Adjust accordingly. Don't require delsel.
238
239 * delsel.el (delete-selection-helper): Use a function instead of a hook.
240 (delete-selection-pre-hook): Use use-region-p.
241 (delete-selection-self-insert-function): Remove.
242 (self-insert-command): Obey self-insert-uses-region-functions.
243 (self-insert-iso): Revert to previous setting, since we don't actually
244 know what that command does.
245 (delete-selection-self-insert-hooks): Remove.
246
b1d39ccc
SL
2472012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
248
249 * delsel.el (delete-selection-helper): New function, extracted from
250 delete-selection-pre-hook.
251 (delete-selection-pre-hook): Use it.
252 (delete-selection-self-insert-function): New function.
253 (delete-selection-self-insert-hooks): New hook.
254 (self-insert-command, self-insert-iso): Use it.
255 * electric.el (electric-pair-syntax): New function, extracted from
256 electric-pair-post-self-insert-function.
257 (electric-pair-post-self-insert-function): Use it.
258 (electric-pair-delete-selection-self-insert-function): New function.
259 (electric-pair-mode): Require delsel and setup
260 delete-selection-self-insert-hooks (bug#11520).
261
045ef729
CY
2622012-10-20 Chong Yidong <cyd@gnu.org>
263
4c5d08a8
CY
264 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
265 no changes to show (Bug#12586).
266
045ef729
CY
267 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
268 list explicitly (Bug#12571).
269
3503c798 2702012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 271
b1d39ccc
SL
272 * progmodes/flymake.el (flymake-create-temp-inplace):
273 Use file-truename.
79e1997a 274
2068905b
EZ
2752012-10-20 Eli Zaretskii <eliz@gnu.org>
276
277 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
278
4c9e9550
JB
2792012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
280
281 * calc/calc-units.el (math-extract-units): Properly extract powers
282 of units.
283
1a6e7e38
DC
2842012-10-20 Daniel Colascione <dancol@dancol.org>
285
286 * frame.el (make-frame): Set x-display-name as we used to in order
287 to unbreak creating an X11 frame from an Emacs daemon started
288 without a display.
289
8e808318
SM
2902012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * minibuffer.el (minibuffer-force-complete): Make the next completion use
293 the same completion-field (bug@12221).
294
fb0104da
MR
2952012-10-19 Martin Rudalics <rudalics@gmx.at>
296
297 * emacs-lisp/debug.el (debug): Record height of debugger window
298 also when debugger will be back (Bug#8789).
299
8c27235e
CY
3002012-10-18 Chong Yidong <cyd@gnu.org>
301
302 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
303 Convert to defcustom.
304 (gdb-get-source-file): Don't bind pop-up-windows.
305
306 * progmodes/gud.el (gud-display-line): Don't specially re-use
307 other frames for the gdb-mi case (Bug#12648).
308
90eacf99
SM
3092012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
310
aaf0c300
SM
311 * emacs-lisp/advice.el: Clean up commentary a bit.
312 (ad-do-advised-functions, ad-with-originals): Use `declare'.
313 (byte-code-function-p): Never redefine.
314
90eacf99
SM
315 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
316
281c9d2b
GM
3172012-10-18 Glenn Morris <rgm@gnu.org>
318
40714e3d
GM
319 * dired.el (dired-sort-toggle): Some ls implementations only allow
320 a single option string. (Bug#12666)
321
281c9d2b
GM
322 * minibuffer.el (completion-cycle-threshold): Doc fix.
323
b278604e
KH
3242012-10-17 Kenichi Handa <handa@gnu.org>
325
90eacf99
SM
326 * international/mule.el (set-keyboard-coding-system):
327 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
328 Supply TERMINAL arg to set-input-meta-mode.
329
df171c23 3302012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
331
332 * wdired.el (wdired-old-marks): New variable.
333 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
334 (wdired-do-renames): Move point with renamed file and don't lose
335 mark status (Bug#11795).
336
e5a94ec4
JL
3372012-10-16 Juri Linkov <juri@jurta.org>
338
339 * replace.el (query-replace-help): Mention multi-buffer replacement
340 keys in the Help message. (Bug#12655)
341
d18a0d24
CY
3422012-10-15 Chong Yidong <cyd@gnu.org>
343
344 * emacs-lisp/byte-run.el (defsubst): Doc fix.
345
8111f5e6
EZ
3462012-10-14 Eli Zaretskii <eliz@gnu.org>
347
7b9abf24
EZ
348 * window.el (display-buffer): Doc fix.
349
8111f5e6
EZ
350 * progmodes/compile.el (compilation-error-regexp-alist-alist):
351 Adjust the msft regexp to the output of Studio 2010, and move msft
352 before edg-1. See the discussion on emacs-devel,
353 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
354 for the details.
355
5046ef67
SM
3562012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
357
9760c73c
SM
358 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
359 (oset): Move uses of object-class-fast macro after its definition.
360
5046ef67
SM
361 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
362
0d11ff1c
CY
3632012-10-13 Chong Yidong <cyd@gnu.org>
364
365 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
366 enabled, re-enable it (Bug#11963).
367
88ded8ac
MR
3682012-10-13 Martin Rudalics <rudalics@gmx.at>
369
370 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
371 non-nil, restore window configuration (Bug#12623).
372
bd0ffffd
SM
3732012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
374
06485aa8
SM
375 * help-fns.el (describe-variable, describe-function-1):
376 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
377
bd0ffffd
SM
378 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
379
3a989246
GM
3802012-10-12 Glenn Morris <rgm@gnu.org>
381
382 * mail/rmailsum.el (rmail-header-summary):
383 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
384
55cd00c8
FEG
3852012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
386
bd0ffffd
SM
387 * progmodes/python.el (python-mode-map):
388 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
389 (python-nav--up-list): Fix behavior for blocks on the same level.
390
ac9fc2c7
SM
3912012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
392
d8cc4c00 393 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 394
5253a5fd
SM
395 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
396 changes to the format of load-history.
397
ac9fc2c7
SM
398 * international/mule-cmds.el (read-char-by-name): Move let-binding of
399 completion-ignore-case in case that var is buffer-local (bug#12615).
400
cde44a77
KH
4012012-10-11 Kenichi Handa <handa@gnu.org>
402
403 * international/eucjp-ms.el: Re-generated.
404
4ef4a10d
KH
4052012-10-10 Kenichi Handa <handa@gnu.org>
406
407 * select.el (xselect--encode-string): If a coding is specified for
408 selection, and that is compatible with COMPOUND_TEXT, use it.
409
9d7f027b
MR
4102012-10-10 Martin Rudalics <rudalics@gmx.at>
411
412 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
413 (switch-to-buffer):
414 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 415
238f3a58
SM
4162012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
419 Don't document nil as a useful value (bug#12583).
420
1d51f99c
MA
4212012-10-09 Michael Albinus <michael.albinus@gmx.de>
422
238f3a58
SM
423 * net/tramp.el (tramp-debug-message):
424 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
425 (with-tramp-progress-reporter): Rename from
426 `tramp-with-progress-reporter'.
238f3a58
SM
427 (with-tramp-file-property, with-tramp-connection-property):
428 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
429 `with-connection-property', respectively.
430
431 * net/tramp-cache.el: Remove `with-file-property' and
432 `with-connection-property'.
433
434 * net/tramp.el:
435 * net/tramp-gvfs.el:
436 * net/tramp-sh.el:
437 * net/tramp-smb.el: Adapt callees.
438
439 * net/trampver.el: Update release number.
440
26b77251
GM
4412012-10-09 Glenn Morris <rgm@gnu.org>
442
9a5f296f
GM
443 * w32-fns.el (set-message-beep):
444 * term/w32-win.el (set-message-beep): Update declarations.
445
94c66ce5
SM
4462012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
447
10766e9e
SM
448 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
449 (mode-line-widen, mode-line-input-method-map)
450 (mode-line-coding-system-map, mode-line-remote)
451 (mode-line-unbury-buffer, mode-line-bury-buffer)
452 (mode-line-next-buffer, mode-line-previous-buffer):
453 Replace save-selected-window+select-window => with-selected-window.
454
f754db08
SM
455 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
456 * progmodes/cc-vars.el (bq-process): Remove, unused.
457
94c66ce5
SM
458 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
459
a4ff7fe1
FEG
4602012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
461
462 Implemented `backward-up-list'-like navigation.
463 * progmodes/python.el (python-nav-up-list)
464 (python-nav-backward-up-list): New functions.
465 (python-mode-map): Define substitute key for backward-up-list to
466 python-nav-backward-up-list.
467
24517d82
FEG
4682012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
469
470 * progmodes/python.el (python-fill-paragraph): Rename from
471 python-fill-paragraph-function. Fixed fill-paragraph for
472 decorators (Bug#12605).
473
51867ae2
FEG
4742012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
475
476 * progmodes/python.el (python-shell-output-filter): Handle extra
477 carriage return in OSX (Bug#12409).
478
a5b773c4
FEG
4792012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
480
481 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 482 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
483 (python-syntax-propertize-function): Use it.
484 (python-shell-output-syntax-table): New var.
485 (inferior-python-mode): Prevent unbalanced parens/quotes from
486 previous output mess with current input context.
487
13373538
JB
4882012-10-08 Juanma Barranquero <lekktu@gmail.com>
489
490 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
491 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
492
775a132d
MA
4932012-10-08 Michael Albinus <michael.albinus@gmx.de>
494
495 * ffap.el (ffap-replace-file-component): Support Tramp file name
496 syntax, not only ange-ftp's one.
497
3ab44929
GM
4982012-10-08 Glenn Morris <rgm@gnu.org>
499
57f1dee4
GM
500 * cus-start.el (message-log-max): Set :version.
501
3ab44929
GM
502 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
503
6a088630
MR
5042012-10-08 Martin Rudalics <rudalics@gmx.at>
505
506 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
507 the minibuffer window (Bug#10851).
508
8dbce54c
FEG
5092012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
510
511 Enhancements on forward-sexp movement.
512 * progmodes/python.el (python-nav-beginning-of-statement)
513 (python-nav-end-of-statement): Return point-marker.
514 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
515 (python-info-current-symbol)
516 (python-info-statement-starts-block-p): Rename from
517 python-info-beginning-of-block-p.
518 (python-info-statement-ends-block-p): Rename from
519 python-info-end-of-block-p.
520 (python-info-beginning-of-statement-p)
521 (python-info-end-of-statement-p)
522 (python-info-beginning-of-block-p, python-info-end-of-block-p):
523 New functions.
524
5acd2b3e
SM
5252012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
528 frame-selected-windows.
529
e08348a0
DC
5302012-10-08 Daniel Colascione <dancol@dancol.org>
531
532 * battery.el (battery-status-function): Check for
533 w32-battery-status itself, not system-time windows-nt.
534
535 * frame.el: Require cl-lib.
536 (display-format-alist): New variable mapping frame types to
537 functions that initialize them.
538 (window-system-for-display): New function: interprets
539 display-format-alist.
540 (make-frame-on-display): Remove existing display-selection logic
541 and just forward to make-frame, which will now DTRT.
542 (make-frame): Restructure to use window-system-for-display to
543 figure out how to create a frame on a given display.
544 (display-mouse-p): Look for frame-type w32, not a particular
545 system-type.
546
547 * loadup.el: Load w32 lisp code when we have the w32 feature.
548
549 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
550 system-type windows-nt.
551
552 * server.el (server-create-window-system-frame): Look for window
553 type.
554 (server-proces-filter): Only force a window system when windows-nt
555 _and_ w32. Explain why.
556
557 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
558 of window systems we configure for the mode.
559
560 * startup.el (command-line): Mark window system is initialized
561 after we've done it.
562
563 * common-win.el (x-select-text): Look for w32, not windows-nt.
564
565 * ns-win.el: Require cl-lib. Add ourselves to
566 display-format-alist.
567 (ns-initialize-window-system): Assert we're not initialized twice.
568
569 * w32-win.el: Enable lexical binding; require cl-lib; add
570 ourselves to display-format-alist.
571 (w32-handle-dropped-file): Convert incoming dropped files from
572 Windows paths to Cygwin ones before passing them on to the rest of
573 Emacs.
574 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
575 (w32-initialize-window-system): Assert we're not initialized twice.
576
577 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
578 (x-initialize-window-system): Assert we're not initialized twice.
579
580 * w32-common-fns.el: New File.
581 (w32-version, w32-using-nt, w32-get-clipboard-data)
582 (w32-set-clipboard-data, x-set-selection, x-get-selection)
583 (w32-charset-info-alist, x-last-selected, text)
584 (x-get-selection-value, x-selection-value): Move here.
585
586 * w32-fns.el: Require w32-common-fns.
587 (w32-version, w32-using-nt, w32-get-clipboard-data)
588 (w32-set-clipboard-data, x-set-selection, x-get-selection)
589 (w32-charset-info-alist, x-last-selected, text)
590 (x-get-selection-value, x-selection-value): Move to
591 w32-common-fns.
592
593 * w32-vars.el:
594 (w32-allow-system-shell, w32-system-shells): Define only in
595 non-cygwin case.
596
795b1482
SM
5972012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
600 (read-passwd): Remove a few more potential sources of leaks.
601
f27c99dc
FEG
6022012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
603
604 * progmodes/python.el (inferior-python-mode)
795b1482 605 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
606 variables copied from parent buffer.
607
fcacb558
JD
6082012-10-07 Jan Djärv <jan.h.d@swipnet.se>
609
610 * term/ns-win.el (ns-read-file-name): Update declaration to match
611 nsfns.m.
612 (ns-respond-to-change-font): Change fontsize separatly so we are sure
613 it is set when font is acted upon.
614
be0d5bae
FEG
6152012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
616
617 Enhancements to indentation.
618 * progmodes/python.el (python-indent-context): Give priority to
619 inside-string context. Make comments indentation markers.
620 (python-indent-region): Do not mess with strings, unless it's the
621 enclosing set of quotes.
622
13af0d10
SM
6232012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
624
662a9d0e
SM
625 * window.el (internal--before-save-selected-window)
626 (internal--after-save-selected-window): New functions extracted from
627 save-selected-window. Make sure we return the `alist' we construct.
628 (save-selected-window): Use them.
629
630 * textmodes/tex-mode.el (tex-recenter-output-buffer):
631 Use with-selected-window.
632
13af0d10
SM
633 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
634 forms that define macros (bug#12593).
635
6aa75fb6
KH
6362012-10-07 Kenichi Handa <handa@gnu.org>
637
13af0d10
SM
638 * international/mule-conf.el (compound-text-with-extensions):
639 Add :mime-charset property as x-ctext.
6aa75fb6 640
78d876b9
SM
6412012-10-07 Stefan Merten <smerten@oekonux.de>
642
643 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
644 (rst-indent-literal-normal, rst-indent-literal-minimized)
645 (rst-indent-comment): Correct :version tag.
557337e9 646 (rst-official-cvs-rev): Correct version string.
78d876b9 647
99a1e701
GM
6482012-10-07 Glenn Morris <rgm@gnu.org>
649
650 * mail/rmailmm.el (rmail-mime-process-multipart):
651 Do not confuse a multipart message with an epilogue
652 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
653
08f18c3d
FEG
6542012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
655
656 Fix shell output retrieval and comint-prompt-regexp init.
657 * progmodes/python.el (inferior-python-mode):
658 (python-shell-make-comint): Fix initialization of
659 comint-prompt-regexp from copied file local variables.
660 (python-shell-fetched-lines): Remove var.
661 (python-shell-output-filter-in-progress): Rename from
662 python-shell-fetch-lines-in-progress.
663 (python-shell-output-filter-buffer): Rename from
664 python-shell-fetch-lines-string.
665 (python-shell-fetch-lines-filter): Delete function.
666 (python-shell-output-filter): New function.
667 (python-shell-send-string-no-output): Use them.
668
82ed3ab4
GM
6692012-10-07 Glenn Morris <rgm@gnu.org>
670
1595ecfa
GM
671 * hi-lock.el (hi-lock-process-phrase):
672 Try to make it less fragile. (Bug#7161)
673
82ed3ab4
GM
674 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
675
f1f4dba0
GM
6762012-10-06 Glenn Morris <rgm@gnu.org>
677
addc11ed 678 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
679 non-existent mode `help'.
680 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 681
460042b8
GM
682 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
683 (reftex-create-bibtex-footer): Fix custom types.
684
67667c70
GM
685 * progmodes/sh-script.el (sh-indent-after-continuation):
686 Add explicit :group.
687
18dec750
GM
688 * textmodes/rst.el (rst-preferred-decorations)
689 (rst-shift-basic-offset): Clarify obsolescence versions.
690
d1a1c7e6
GM
691 * profiler.el (profiler): Add missing group :version tag.
692 * avoid.el (mouse-avoidance-banish-position):
693 * proced.el (proced-renice-command):
694 * calc/calc.el (calc-ensure-consistent-units):
695 * calendar/icalendar.el (icalendar-import-format-uid):
696 * net/tramp.el (tramp-save-ad-hoc-proxies):
697 * progmodes/bug-reference.el (bug-reference-bug-regexp):
698 * progmodes/flymake.el (flymake-error-bitmap)
699 (flymake-warning-bitmap, flymake-fringe-indicator-position):
700 * progmodes/sh-script.el (sh-indent-after-continuation):
701 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
702 (verilog-before-save-font-hook, verilog-after-save-font-hook):
703 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
704 (vhdl-array-index-record-field-in-sensitivity-list)
705 (vhdl-indent-comment-like-next-code-line):
706 * textmodes/reftex-vars.el (reftex-ref-style-alist)
707 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
708 (reftex-cite-key-separator, reftex-create-bibtex-header)
709 (reftex-create-bibtex-footer):
710 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
711 (rst-indent-literal-normal, rst-indent-literal-minimized)
712 (rst-indent-comment): Add missing custom :version tags.
713
ef35abb4
GM
714 * calendar/timeclock.el (timeclock-modeline-display):
715 Add missing obsolete alias for renamed user option.
716
d1aae614
GM
717 * strokes.el (strokes-modeline-string):
718 * emulation/crisp.el (crisp-mode-modeline-string):
719 * eshell/esh-mode.el (eshell-status-in-modeline):
720 Aliases to defcustoms must come before the defcustom.
721
f1f4dba0
GM
722 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
723 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
724 (cal-tex-cursor-week-monday): Doc fixes.
725 (cal-tex-cursor-week2-summary): Doc fix.
726 Rename from cal-tex-cursor-week-at-a-glance.
727
728 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
729 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
730
731 * calendar/calendar.el (calendar-mode-map):
732 Add cal-tex-cursor-week2-summary.
733
d39109c3
SM
7342012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
735
685f87b0
SM
736 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
737
d39109c3
SM
738 * subr.el (read-passwd-map): New var.
739 (read-passwd): Use `read-string' again.
740 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
741
5694896d
J
7422012-10-06 Jambunathan K <kjambunathan@gmail.com>
743
744 * register.el (append-to-register, prepend-to-register):
745 Deactivate mark, as does `copy-to-register' (bug#12389).
746
9414dd8d
CY
7472012-10-06 Chong Yidong <cyd@gnu.org>
748
749 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
750
2b89bca4
KH
7512012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
752
753 * international/characters.el: Fix simple mistake ((car chars) ->
754 elt), delete duplicated code.
755
d5acb99a
GM
7562012-10-06 Glenn Morris <rgm@gnu.org>
757
758 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
759
123ec157
JS
7602012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
761
762 * color.el (color-hsl-to-rgb): Fix incorrect results for
763 small and large hue values. (Bug#12559)
764
7fa36ccb
FEG
7652012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
766
767 Enhancements to docstring formatting when filling paragraphs.
768 * progmodes/python.el (python-fill-docstring-style): Rename from
769 python-fill-string-style. Added new style.
770 (python-fill-string): Use new style. Better checks for
771 docstrings.
772
d8788e1e
GM
7732012-10-05 Glenn Morris <rgm@gnu.org>
774
204f3953
GM
775 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
776
d8788e1e
GM
777 * color.el (color-name-to-rgb, color-rgb-to-hex)
778 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
779 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
780 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
781 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
782
8d956cef
GM
783 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
784
e8757f09 7852012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
786
787 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
788 to get the correct size across symlinks.
789
e8757f09
GM
790 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
791
0e2ae83d
JL
7922012-10-04 Juri Linkov <juri@jurta.org>
793
794 * replace.el (query-replace-interactive): Declare obsolete.
795 (query-replace-read-from): Add the last incremental search string
796 to the list of default values accessible via M-n.
797 (map-query-replace-regexp): Use `read-regexp'.
798 (query-replace, query-replace-regexp, query-replace-regexp-eval)
799 (map-query-replace-regexp, replace-string, replace-regexp):
800 Fix docstrings to replace mentions of `query-replace-interactive'
801 with alternatives. (Bug#12526)
802
93cacb6d
JL
8032012-10-04 Juri Linkov <juri@jurta.org>
804
805 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
806 (dired-pop-to-buffer): Declare obsolete.
807 (dired-mark-pop-up): Doc fix.
808
fc345011
FEG
8092012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
810
811 Allow user to set docstring style for fill-paragraph.
812 * progmodes/python.el
813 (python-fill-comment-function, python-fill-string-function)
814 (python-fill-decorator-function, python-fill-paren-function):
815 Remove :safe for defcustoms.
816 (python-fill-string-style): New defcustom
5694896d 817 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
818 (python-fill-string): Honor python-fill-string-style settings.
819
6bab5d8b
MR
8202012-10-04 Martin Rudalics <rudalics@gmx.at>
821
822 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
823 after setting its buffer (Bug#10805).
824
a1a9f411
FEG
8252012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
826
827 Fix cornercase for string syntax.
828 * progmodes/python.el (python-syntax-propertize-function):
829 Simplify and enhance the regexp for unescaped quotes. Now it also
830 matches quotes in weird situations like the single quote in
831 "something\"'".
832 (python-syntax-stringify): Simplify num-quotes detecting code.
833
05e153a6
GM
8342012-10-03 Glenn Morris <rgm@gnu.org>
835
836 * help-macro.el (three-step-help):
837 Revert 2012-09-29 change. (Bug#12567)
838
2e566ecb
MR
8392012-10-03 Martin Rudalics <rudalics@gmx.at>
840
96ef9ccd
MR
841 * menu-bar.el (kill-this-buffer): Don't do anything when
842 `menu-frame' is not alive or visible (Bug#8184).
843
2e566ecb
MR
844 * emacs-lisp/debug.el (debug): When quitting the debugger window
845 restore current buffer (Bug#12502).
846
a96e1cb7
CY
8472012-10-02 Chong Yidong <cyd@gnu.org>
848
5694896d
J
849 * progmodes/hideif.el (hif-lookup, hif-defined):
850 Handle semantic-c-takeover-hideif.
a96e1cb7 851
b3ecad33
PE
8522012-10-02 Paul Eggert <eggert@cs.ucla.edu>
853
854 Change sampling interval units from ms to ns.
855 * profiler.el (profiler-sampling-interval): Change units
856 from ms to ns, multiplying the default by 1000000 so that
857 it remains 1 ms.
858 (profiler-report-cpu-line-format): Give enough room for
859 the maximum counters on 64-bit hosts.
860 (profiler-report-render-calltree-1): Call them "CPU samples",
861 not "Time (ms)", since they are not milliseconds now (and
862 never really were).
863
8cb51b66 8642012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 865
5694896d
J
866 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
867 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 868
fd795bf4
CY
8692012-10-02 Chong Yidong <cyd@gnu.org>
870
871 * emacs-lisp/eieio.el: Restore Version header.
872
fe0a74f9
SM
8732012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
874
6be9197e
SM
875 * vc/diff-mode.el (diff--auto-refine-data): New var.
876 (diff-hunk): Use it to delay refinement.
877 (diff-mode): Remove overlays when we turn off font-lock.
878
18486139
SM
879 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
880 (table-initialize-table-fixed-width-mode)
881 (table-set-table-fixed-width-mode): Remove functions.
882 (table-command-list): Move initialization into declaration.
883 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
884 (table-with-cache-buffer): Use `declare'.
885 (table-span-cell): Simplify via CSE.
886 (table-fixed-width-mode): Use define-minor-mode.
887 (table-call-interactively, table-funcall, table-apply): Remove.
888 (table-function): New function, to replace them.
889
d83ef976
SM
890 * bookmark.el (bookmark-search-pattern): Remove var.
891 (bookmark-read-search-input): Remove function.
892 (bookmark-bmenu-search): Reimplement using a minibuffer.
893
cd386662
SM
894 * faces.el (modeline): Remove obsolete face name.
895
fe0a74f9
SM
896 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
897 and give a non-nil default value.
898 (add-change-log-entry): Simplify accordingly.
899
9f7b98f8
DG
9002012-10-01 Dmitry Gutov <dgutov@yandex.ru>
901
902 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
903 (vc-git-log-edit-toggle-amend): New function.
904 (vc-git-log-edit-toggle-signoff): New function.
905 (vc-git-log-edit-mode): New major mode.
906 (vc-git-log-edit-mode-map): Keymap for it.
907 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
908
909 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
910 header names.
911 (log-edit-toggle-header): New function.
912 (log-edit-extract-headers): Accept function values in HEADERS alist.
913
62a81506
CY
9142012-10-01 David Engster <deng@randomsample.de>
915
916 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
917 from symbol property and change message to be more consistent with
918 Emacs proper.
919 (eieio-describe-generic): Add filename for each implementation.
920 Fix indices for generic and normal methods.
921 (eieio-method-def, eieio-class-def): New buttons.
922 (eieio-help-find-method-definition)
923 (eieio-help-find-class-definition): New functions.
924 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
925 class, constructor and method definitions.
926
927 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
928 information in symbol property.
929 (scoped-class): Remove.
930 (eieio-slot-name-index, call-next-method): Check if it is bound.
931
9322012-10-01 Leo P. White <lpw25@cam.ac.uk>
933
934 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
935 (eieio-custom-mode): New major mode.
936 (eieio-customize-object): Use it.
937
9382012-10-01 Eric Ludlam <zappo@gnu.org>
939
940 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
941 specifying the expected class, and whether subclassing is allowed.
942 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
943 (eieio-persistent-validate/fix-slot-value)
944 (eieio-persistent-slot-type-is-class-p): New functions.
945 (eieio-named::slot-missing): Doc fix.
62a81506
CY
946
947 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
948 Stop using unused publd variable.
949
950 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
951 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
952 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
953 (eieio-speedbar-handle-click): Do not specify a class for the
954 method. Fixes method invocation order problems with EDE.
955
375e49d4
SM
9562012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
959 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
960
16ce6ccd
KF
9612012-10-01 Karl Fogel <kfogel@red-bean.com>
962
963 * bookmark.el (bookmark-version-control): Give tags in the
964 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
965 (bookmark-write-file): Bind `print-circle' to `t' to allow
966 circular custom bookmark types. (Bug#12503)
16ce6ccd 967
19e54a4d
PE
9682012-10-01 Paul Eggert <eggert@cs.ucla.edu>
969
86ec63ba
PE
970 Revert the FOLLOW-SYMLINKS change for file-attributes.
971 * files.el (remote-file-name-inhibit-cache, after-find-file):
972 * time.el (display-time-file-nonempty-p): Undo last change.
973
19e54a4d
PE
974 * profiler.el (profiler-sampling-interval): Change default back to 1.
975 See Stefan Monnier in
976 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
977
0478776b
FEG
9782012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
979
980 Shell output catching a la gud-gdb.
981 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
982 (python-shell-fetch-lines-string, python-shell-fetched-lines):
983 New Vars.
0478776b
FEG
984 (python-shell-fetch-lines-filter): New function.
985 (python-shell-send-string-no-output): Use them.
986
c22bac2c
TM
9872012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
988
989 * profiler.el (profiler-sampling-interval): Rename from
990 profiler-sample-interval.
991 (profiler-sampling-interval): Default to 10.
992 (profiler-find-profile): New command (was profiler-find-log).
993 (profiler-find-profile-other-window): New command.
994 (profiler-find-profile-other-frame): New command.
995 (profiler-profile): Introduce API-level data structure.
996
e7a2937b
PE
9972012-09-30 Paul Eggert <eggert@cs.ucla.edu>
998
999 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1000 * files.el (remote-file-name-inhibit-cache):
1001 * time.el (display-time-file-nonempty-p): Use it.
1002 * files.el (after-find-file): Don't chase links before calling
1003 file-exists-p, as file-exists-p already does the right thing.
1004
4f595e15
RA
10052012-09-30 Ralf Angeli <angeli@caeruleus.net>
1006
1007 Merge from standalone RefTeX repository.
1008
1009 The following ChangeLog entries are shortened versions of the
1010 original ones with file paths adapted. A not so strongly edited
1011 version of the original ChangeLog can be found in the commit log.
1012
1013 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1014 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1015 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1016
1017 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1018 that entries with whitespace at various places are found.
1019 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1020 Include @String definitions in the resulting bib file. Add header
1021 and footer defined in `reftex-create-bibtex-header' and
1022 `reftex-create-bibtex-footer'.
1023 (reftex-do-citation): Make it possible again to insert
1024 non-existent entries. Save match data when asking for optional
1025 arguments. Return all keys, not just the first one.
1026 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1027 all citations in the same line.
1028 (reftex-parse-bibtex-entry): Accept additional optional argument
1029 `raw' and keep quotes or braces if it is non-nil. Match fields
1030 containing hyphens besides word constituents.
1031 (reftex-get-string-refs): New function.
1032 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1033 and ask if it should be reread in case it did.
1034 (reftex-pop-to-bibtex-entry)
1035 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1036 entries with spaces or tabs in front of arguments.
1037 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1038 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1039 Match entries containing numbers and symbol constituents.
1040 (reftex-do-citation, reftex-figure-out-cite-format):
1041 Use `reftex-cite-key-separator'.
4f595e15
RA
1042
1043 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1044 (reftex-mouse-view-crossref): Explain why point is set.
1045
1046 * textmodes/reftex-global.el: Whitespace changes.
1047
1048 * textmodes/reftex-index.el: Move provide statement to end of
1049 file.
1050 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1051 (reftex-index-visit-phrases-buffer): Set marker when visiting
1052 buffer. This allows for returning from the phrases file to the
1053 file one was just editing instead of the file where the last
1054 phrases was added from.
1055 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1056 punctuation syntax as it usually is not used as string quote in
1057 TeX-related modes and may occur unmatched. The change also
1058 prevents fontification of quoted content.
1059 (reftex-index-phrases-mode): Use it.
1060
375e49d4
SM
1061 * textmodes/reftex-parse.el (reftex-parse-from-file):
1062 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1063 (reftex-parse-from-file): Use beginning of match instead of end as
1064 bound.
1065
1066 * textmodes/reftex-ref.el: Adapt creation of
1067 `reftex-<package>-<macro>' functions to new structure of
1068 `reftex-ref-style-alist'.
375e49d4
SM
1069 (reftex-reference): Use `reftex-ref-style-list' function.
1070 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1071 reference macro if `reftex-ref-macro-prompt' is non-nil.
1072 (reftex-reference): Pass refstyle to `reftex-format-special'.
1073 Determine reference macro by looking at
375e49d4
SM
1074 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1075 Use only one special format function.
4f595e15
RA
1076 (reftex-varioref-vref, reftex-fancyref-fref)
1077 (reftex-fancyref-Fref): Remove definitions. The functions are now
1078 generated from `reftex-ref-style-alist'.
1079 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1080 Remove.
1081 (reftex-format-special): New function.
1082
1083 * textmodes/reftex-sel.el
1084 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1085 of `reftex-ref-style-alist'. Remove code for testing macro type.
1086 (reftex-select-toggle-varioref)
1087 (reftex-select-toggle-fancyref): Remove.
1088 (reftex-select-cycle-ref-style-internal)
1089 (reftex-select-cycle-ref-style-forward)
1090 (reftex-select-cycle-ref-style-backward): New functions.
1091 (reftex-select-label-map): Use `v' and `V' for general cycling
1092 through reference styles. Add `p' for switching between number
1093 and page reference types.
1094
375e49d4
SM
1095 * textmodes/reftex-toc.el (reftex-re-enlarge):
1096 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1097 the horizontal version throws an error even if the parameter is 0.
1098
1099 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1100 (reftex-plug-into-AUCTeX): Doc fix.
1101 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1102 string. Adapt to new name.
1103 (reftex-ref-style-alist): Change structure so that it is not
1104 possible to use multiple different package names within a style.
375e49d4
SM
1105 Remove the symbols for symbols for macro type distinction.
1106 Add characters for macro selection.
4f595e15
RA
1107 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1108 (reftex-create-bibtex-footer): New variables.
1109 (reftex-format-ref-function): Mention third argument of special
1110 format function.
375e49d4
SM
1111 (reftex-ref-style-alist, reftex-ref-style-default-list):
1112 New variables.
4f595e15
RA
1113 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1114 to new implementation. Mark as obsolete. Add compatibility code
1115 for honoring the variable values in case they are set.
375e49d4
SM
1116 (reftex-cite-format-builtin, reftex-bibliography-commands):
1117 Add support for ConTeXt.
1118 (reftex-format-ref-function, reftex-format-cite-function):
1119 Fix custom type.
4f595e15
RA
1120 (reftex-cite-key-separator): New variable.
1121
1122 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1123 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1124 `reftex-syntax-table' because parens have to retain their paren
1125 syntax in order for parsing of BibTeX entries like @book(...) to
1126 work.
1127 (reftex-in-comment): Do not error out if `comment-start-skip' is
1128 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1129 (reftex-tie-multifile-symbols): Add doc string.
1130 Initialize `reftex-ref-style-list'.
4f595e15
RA
1131 (reftex-untie-multifile-symbols): Add doc string.
1132 (reftex-add-index-macros): Doc fix.
1133 (reftex-ref-style-activate, reftex-ref-style-toggle)
1134 (reftex-ref-style-list): New functions.
1135 (reftex-mode-menu): Use them. Adapt to new structure of
1136 `reftex-ref-style-alist'.
1137 (reftex-select-with-char): Kill the RefTeX Select buffer when
1138 done.
1139 (reftex-remove-if): New function.
1140 (reftex-erase-all-selection-and-index-buffers)
1141 (reftex-mode-menu): Reference styles are now computed from
1142 `reftex-ref-style-alist'. Fix typo.
1143 (reftex-report-bug): New function.
1144 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1145 algorithms with O(n log n). Introduce optional argument SORT (not
1146 yet used).
1147
440ba395
FEG
11482012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1149
1150 Enhancements for triple-quote string syntax.
375e49d4
SM
1151 * progmodes/python.el (python-syntax-propertize-function):
1152 Match both quote cases in one regexp.
440ba395
FEG
1153 (python-syntax-stringify): Handle matches properly.
1154
4c478e6b
JL
11552012-09-30 Juri Linkov <juri@jurta.org>
1156
1157 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1158 to nil around the call to `insert' to prevent
4c478e6b
JL
1159 directory time modification by lock_file. (Bug#2295)
1160 * tar-mode.el (tar-summarize-buffer): Idem.
1161
d80d54b2
JL
11622012-09-30 Juri Linkov <juri@jurta.org>
1163
1164 * facemenu.el (list-colors-sort): Add option "Luminance".
1165 (list-colors-sort-key): Implement it.
1166
1167 * vc/diff-mode.el (diff-refine-removed):
1168 * vc/ediff-init.el (ediff-fine-diff-A):
1169 * vc/smerge-mode.el (smerge-refined-removed):
1170 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1171
d7e642cc
JD
11722012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1173
1174 * term/ns-win.el (x-file-dialog): New function.
1175
ee41332b
JB
11762012-09-30 Juanma Barranquero <lekktu@gmail.com>
1177
1178 * ido.el (ido-max-directory-size): Default to nil; the current
1179 default is small for POSIX systems, and impractical on Windows 7
1180 now that lstat returns directory sizes for NTFS.
1181
5938d519
MR
11822012-09-30 Martin Rudalics <rudalics@gmx.at>
1183
1184 In buffer display functions handle window-height/window-width
1185 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1186 * window.el (window--display-buffer): New argument ALIST.
1187 Obey window-height and window-width alist entries.
1188 (window--try-to-split-window): New argument ALIST.
1189 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1190 changed and window-combination-limit equals `window-size'.
1191 (display-buffer-in-atom-window)
1192 (display-buffer-in-major-side-window)
1193 (display-buffer-in-side-window, display-buffer-same-window)
1194 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1195 (display-buffer-pop-up-window, display-buffer-below-selected)
1196 (display-buffer-at-bottom, display-buffer-in-previous-window)
1197 (display-buffer-use-some-window): Adjust all callers of
1198 window--display-buffer and window--try-to-split-window.
1199 (fit-frame-to-buffer): New option.
1200 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1201 is non-nil.
1202 (display-buffer-in-major-side-window): Evaluate window-height /
1203 window-width alist entries.
1204
1205 * help.el (temp-buffer-resize-frames)
1206 (temp-buffer-resize-regexps): Remove options.
1207 (temp-buffer-resize-mode): Adjust doc-string.
1208 (resize-temp-buffer-window): Don't consult
1209 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1210 temp-buffer-resize-frames.
1211
375e49d4
SM
1212 * dired.el (dired-mark-pop-up):
1213 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1214 entry.
1215
c4c0c2df
CY
12162012-09-30 Chong Yidong <cyd@gnu.org>
1217
48de8b12
CY
1218 * server.el (server-host): Document the security implications.
1219 (server-auth-key): Doc fix.
1220
1221 * startup.el (initial-buffer-choice): Doc fix.
1222
1223 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1224
a97dc380
CY
1225 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1226 restriction change.
1227
d39d3c8e
CY
1228 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1229
c4c0c2df
CY
1230 * help-fns.el (help-fns--obsolete): Fix last change.
1231
98a5e33b
SM
12322012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1233
34cf6f39
SM
1234 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1235 (minor-mode-map-alist): Remove redundant code.
1236
e01c13fe
SM
1237 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1238 visited in a buffer.
1239 (cvs-insert-visited-file): New function.
1240 (find-file-hook): Use it.
1241
1242 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1243
02661b3a
SM
1244 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1245 chose face.
1246 (log-edit-empty-buffer-p): Don't require a space after a header.
1247
43711d4b
SM
1248 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1249
38a30d64
SM
1250 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1251
4ffb41a9
SM
1252 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1253 a proper minor-mode.
1254
98a5e33b
SM
1255 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1256
de82e29b
GM
12572012-09-29 Glenn Morris <rgm@gnu.org>
1258
5cc2e639
GM
1259 * winner.el (winner-mode): Remove variable (let define-minor-mode
1260 handle it).
1261 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1262 Doc fixes.
1263 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1264 (winner-mode): Use define-minor-mode.
1265
7bd302eb
GM
1266 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1267 the full definition in loaddefs, rather than duplicating it.
1268
2923922f 1269 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1270
0e3e4156
GM
1271 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1272 (inferior-lisp-program, inferior-lisp-load-command)
1273 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1274 No need to autoload defcustoms.
0e3e4156 1275
de82e29b
GM
1276 * hippie-exp.el (hippie-expand-try-functions-list)
1277 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1278 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1279 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1280 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1281 * progmodes/vhdl-mode.el (vhdl-line-expand):
1282 Explicitly load hippie-exp, so it does not get autoloaded
1283 while hippie-expand-try-functions-list is let-bound.
1284
e60b51ab
GM
12852012-09-28 Glenn Morris <rgm@gnu.org>
1286
277f0cfa
GM
1287 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1288
e60b51ab
GM
1289 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1290 Only "cl.el" counts as cl these days.
1291
53baf48a
JL
12922012-09-28 Juri Linkov <juri@jurta.org>
1293
1294 Display archive errors in the echo area instead of inserting
1295 to the file buffer.
1296
1297 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1298 to STDERR-TEST that can be a regexp matching a successful output.
1299 Create a temporary file and redirect stderr to it. Search for
1300 STDERR-TEST in the stderr output and display it in the echo area
1301 if no match is found.
1302 (archive-extract-by-file): New function like
1303 `archive-extract-by-stdout' but extracting archives to files
1304 and looking for successful matches in stdout. Function body is
1305 mostly copied from `archive-rar-extract'.
1306 (archive-rar-extract): Use `archive-extract-by-file'.
1307 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1308
9c1228c3
LL
13092012-09-28 Leo Liu <sdl.web@gmail.com>
1310
375e49d4
SM
1311 * pcomplete.el (pcomplete-show-completions):
1312 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1313
9c1228c3
LL
1314 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1315
7f457c06
SM
13162012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1317
3df749b0
SM
1318 * type-break.el: Use lexical-binding.
1319 (type-break-mode): Use define-minor-mode.
1320
7f457c06
SM
1321 * emacs-lisp/pcase.el (pcase--mark-used): New.
1322 (pcase--u1): Use it (bug#12512).
1323
1324 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1325 in load-history with the right file name.
1326
c00ebc98
TH
13272012-09-28 Tassilo Horn <tsdh@gnu.org>
1328
1329 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1330 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1331 (doc-view-get-bounding-box): Make bounding box slicing work for
1332 ODF and DVI documents.
1333
96fb7170
GM
13342012-09-28 Glenn Morris <rgm@gnu.org>
1335
1336 * type-break.el (type-break-mode, type-break-interval)
1337 (type-break-good-rest-interval, type-break-keystroke-threshold):
1338 No need to autoload.
1339 (type-break-good-rest-interval, type-break-keystroke-threshold):
1340 Add :set-after.
1341
5bc93c67
CY
13422012-09-28 Chong Yidong <cyd@gnu.org>
1343
1344 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1345 Add :version tag.
1346
9cad61d6
SM
13472012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1348
e28e67b3 1349 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1350
daee954c
GM
13512012-09-27 Glenn Morris <rgm@gnu.org>
1352
a88324d4
GM
1353 * faces.el (x-display-name): Declare (for without-x builds).
1354
8e5064e5
GM
1355 * linum.el (linum-format): Don't autoload it. Improve :type.
1356
cc1783c2
GM
1357 * progmodes/tcl.el: Don't require outline when compiling.
1358 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1359 * textmodes/sgml-mode.el: Don't require outline when compiling.
1360 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1361
48c339f2
GM
1362 * term.el (term-ansi-reset):
1363 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1364
daee954c
GM
1365 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1366 files for RCS and SCCS. (Bug#9781)
1367
b7f42161
CY
13682012-09-27 Chong Yidong <cyd@gnu.org>
1369
1370 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1371 change; value should be t.
1372
a2e770db
SM
13732012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1374
83600dc8
SM
1375 * image-mode.el: Use lexical-binding.
1376 (image-mode-winprops): Use t to stand for the window of
1377 a buffer that's not displayed.
1378 * doc-view.el (doc-view-new-window-function): Handle the new
1379 t in winprops.
1380 (doc-view-enlarge): Make it a real nop if the size is not changed.
1381 (doc-view-display): Handle the case where the buffer is not (yet?)
1382 displayed in any window.
1383 (doc-view-saved-settings): New var.
1384 (doc-view-mode): Use it.
1385 (doc-view-fallback-mode): Set it.
1386
a2e770db
SM
1387 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1388 Set lexical-binding.
1389 (minibuffer-eldef-shorten-default): New var.
1390 (minibuffer-default-in-prompt-regexps): Use it for new default.
1391 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1392
e3b60857
JB
13932012-09-26 Juanma Barranquero <lekktu@gmail.com>
1394
1395 * international/uni-bidi.el:
1396 * international/uni-category.el:
1397 * international/uni-name.el:
1398 * international/uni-numeric.el: Regenerate.
1399
3a880af4
SM
14002012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1401 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * profiler.el: New file.
1404
07b1a5fb
SM
14052012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1408 (testcover-reinstrument): Simplify with CSE.
1409
42019c2e
JB
14102012-09-26 Juanma Barranquero <lekktu@gmail.com>
1411
1412 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1413
179f044b
WS
14142012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1415
1416 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1417 (verilog-auto-input, verilog-auto-insert-lisp)
1418 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1419 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1420 (verilog-auto-unused, verilog-auto-wire)
1421 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1422 newline. Reported by Andrew Jones.
1423 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1424 Reported by Brad Dobbie.
07b1a5fb
SM
1425 (verilog-batch-delete-trailing-whitespace):
1426 Create verilog-batch-delete-trailing-whitespace.
1427 Reported by Brad Dobbie.
179f044b
WS
1428 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1429 parameters from another module. Reported by Dan Katz.
1430 (verilog-auto, verilog-auto-assign-modport)
1431 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1432 AUTOINOUTMODPORT for UVM interface module shell generation.
1433 Reported by Brad Dobbie.
1434 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1435 standard behavior.
1436 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1437 Reported by Matt Martin.
1438
9c52dd5a
MR
14392012-09-25 Martin Rudalics <rudalics@gmx.at>
1440
1441 * window.el (window--resize-child-windows): When resizing child
1442 windows proportionally, process them in reverse order to
1443 preserve the "when splitting a window the new one gets the odd
1444 line" behavior.
1445 (window--resize-root-window-vertically): When resizing the
1446 minibuffer window try to affect only windows at the bottom of the
1447 frame. (Bug#12419)
1448
863666eb
CY
14492012-09-25 Chong Yidong <cyd@gnu.org>
1450
1451 * subr.el (declare): Doc fix.
1452
1453 * help-fns.el (help-fns--obsolete): Handle macros properly.
1454
59f7af81
CY
14552012-09-25 Chong Yidong <cyd@gnu.org>
1456
1457 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1458 this function obsolete.
1459
1460 * calendar/cal-x.el (calendar-two-frame-setup)
1461 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1462 * calendar/calendar.el (american-calendar, european-calendar)
1463 (calendar-for-loop):
1464 * comint.el (comint-dynamic-simple-complete)
1465 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1466 * desktop.el (desktop-load-default):
1467 * dired-x.el (dired-omit-here-always)
1468 (dired-hack-local-variables, dired-default-directory):
1469 * emacs-lisp/derived.el (derived-mode-class):
1470 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1471 * emacs-lock.el (toggle-emacs-lock):
1472 * epa.el (epa-display-verify-result):
1473 * epg.el (epg-sign-keys, epg-start-sign-keys)
1474 (epg-passphrase-callback-function):
1475 * eshell/esh-util.el (eshell-for):
1476 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1477 (eshell-add-to-window-buffer-names):
1478 * files.el (locate-file-completion):
1479 * imenu.el (imenu-example--create-c-index)
1480 (imenu-example--create-lisp-index)
1481 (imenu-example--lisp-extract-index-name)
1482 (imenu-example--name-and-position):
1483 * international/mule-cmds.el (princ-list):
1484 * international/mule-diag.el (decode-codepage-char):
1485 * international/mule-util.el (detect-coding-with-priority):
1486 * iswitchb.el (iswitchb-read-buffer):
1487 * mail/mailalias.el (mail-complete):
1488 * mail/sendmail.el (mail-sent-via):
1489 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1490 (mouse-major-mode-menu):
1491 * password-cache.el (password-read-and-add):
1492 * pcomplete.el (pcomplete-parse-comint-arguments):
1493 * progmodes/sh-script.el (sh-maybe-here-document):
1494 * replace.el (query-replace-regexp-eval):
1495 * savehist.el (savehist-load):
1496 * simple.el (choose-completion-delete-max-match):
1497 * term.el (term-dynamic-simple-complete):
1498 * vc/ediff-init.el (ediff-check-version):
1499 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1500 * vc/vc.el (vc-diff-switches-list):
1501 * view.el (view-return-to-alist-update): Likewise.
1502
1503 * subr.el (eval-next-after-load, makehash, insert-string)
1504 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1505 mark obsolete.
1506 (mode-line-inverse-video): Variable deleted.
1507
1508 * international/mule-util.el (string-to-sequence): Remove.
1509
1510 * calendar/calendar.el (calendar-version):
1511 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1512 (icalendar-convert-diary-to-ical):
1513 * cus-edit.el (custom-mode):
1514 * ansi-color.el (ansi-color-unfontify-region):
1515 * international/latin1-disp.el (latin1-char-displayable-p):
1516 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1517 * progmodes/which-func.el (which-func-update-1):
1518 Use define-obsolete-function-alias.
59f7af81
CY
1519
1520 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1521 * net/newst-treeview.el (newsticker-groups-filename):
1522 Fix incorrect obsolescence declaration.
59f7af81
CY
1523
1524 * allout.el (allout-passphrase-hint-string): Likewise.
1525 (allout-init): Use a declare form to mark obsolete.
1526
1527 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1528 this applies to functions.
1529
1530 * iswitchb.el (iswitchb-read-buffer): Move code of
1531 iswitchb-define-mode-map here, and delete that obsolete function.
1532
1533 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1534 font-lock-reference-face.
1535
cca96c97
GM
15362012-09-25 Glenn Morris <rgm@gnu.org>
1537
b06eeda8
GM
1538 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1539 Doc fixes.
1540
cca96c97
GM
1541 * eshell/em-term.el (eshell-term-name):
1542 Default to term-term-name. (Bug#12485)
1543
dc4f818b
FEG
15442012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1545
cca96c97
GM
1546 * progmodes/python.el (python-shell-send-buffer): Better handling
1547 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1548
289c24bd
GM
15492012-09-24 Glenn Morris <rgm@gnu.org>
1550
1551 * eshell/esh-cmd.el (eshell-find-alias-function):
1552 Tighten up file-name regexp. (Bug#12499)
1553
8fb8b88f
FEG
15542012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1555
1556 Enhancements for triple-quote string syntax.
1557 * progmodes/python.el (python-quote-syntax): Remove.
1558 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1559 (python-syntax-count-quotes, python-syntax-stringify):
1560 New functions.
8fb8b88f 1561
6c27f0f8
CY
15622012-09-24 Chong Yidong <cyd@gnu.org>
1563
a5f2b6ec
CY
1564 * mail/supercite.el (sc-version): Remove obsolete function.
1565 (sc-describe): Don't mark as obsolete, since it is bound.
1566 (sc-submit-bug-report): Remove.
1567
1568 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1569 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1570 (log-edit-require-final-newline)
1571 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1572
1573 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1574 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1575 * vc/vc.el (vc-checkout-carefully): Likewise.
1576
1577 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1578 (emerge-version): Remove.
1579
1580 * progmodes/compile.el (compile-internal): Remove.
1581 (compilation-parse-errors-function): Fix typo.
1582
1583 * international/mule.el (set-char-table-default): Remove.
1584 (set-coding-priority, make-coding-system, generic-char-p)
1585 (charset-list, charset-bytes, charset-id): Use declare to mark
1586 functions as obsolete.
1587
1588 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1589 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1590 * vc/vc-hooks.el (vc-default-registered): Don't use
1591 vc-master-templates.
1592
07b1a5fb
SM
1593 * font-lock.el (font-lock-reference-face):
1594 Use define-obsolete-variable-alias.
6c27f0f8
CY
1595
1596 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1597 * calendar/calendar.el (calendar-font-lock-keywords):
1598 * calendar/diary-lib.el (diary-font-lock-keywords)
1599 (diary-fancy-font-lock-keywords):
1600 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1601 * textmodes/reftex-index.el (reftex-insert-index):
1602 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1603 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1604 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1605 * progmodes/prolog.el (prolog-font-lock-keywords):
1606 * progmodes/idlwave.el (idlwave-idl-keywords):
1607 * progmodes/ada-mode.el (ada-font-lock-keywords):
1608 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1609
bcc0adbf
GM
16102012-09-24 Glenn Morris <rgm@gnu.org>
1611
1612 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1613
095bb823
FEG
16142012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1615
1616 * progmodes/python.el (python-indent-line): More consistent cursor
1617 movement behavior.
1618
70efc5c9
SM
16192012-09-23 Stefan Merten <smerten@oekonux.de>
1620
1621 * textmodes/rst.el: Fix compiler warning.
1622
2f438239
RW
16232012-09-23 Roland Winkler <winkler@gnu.org>
1624
07b1a5fb
SM
1625 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1626 Transcribe also LaTeX hyphenation.
2f438239
RW
1627 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1628 bibtex-reformat-previous-options.
1629
936ad041
RW
16302012-09-23 Roland Winkler <winkler@gnu.org>
1631
1632 * proced.el (proced-renice-command): New variable.
1633 (proced-marked-processes): New function.
1634 (proced-with-processes-buffer): New macro.
1635 (proced-send-signal): Use them.
1636 (proced-renice): New command bound to r.
1637
6fab0274
RW
16382012-09-23 Roland Winkler <winkler@gnu.org>
1639
1640 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1641 ibuffer-saved-filter-groups has one element, shortcut the call of
1642 completing-read. (Bug#12331)
1643
9a930676
CY
16442012-09-23 Chong Yidong <cyd@gnu.org>
1645
1646 * bindings.el (mode-line-toggle-read-only):
1647 * bs.el (bs-toggle-readonly):
1648 * buff-menu.el (Buffer-menu-toggle-read-only):
1649 * dired.el (dired-toggle-read-only):
1650 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1651
d07ff9db
CY
16522012-09-23 Chong Yidong <cyd@gnu.org>
1653
1654 * image.el (image-type-available-p): Adapt to init-image-library
1655 argument changes.
1656
51c4474e
JL
16572012-09-22 Juri Linkov <juri@jurta.org>
1658
1659 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1660 `dired-toggle-read-only'. (Bug#12462)
1661
43bf5e8e
MR
16622012-09-22 Martin Rudalics <rudalics@gmx.at>
1663
1664 * subr.el (temp-output-buffer-show): New function.
1665 (with-output-to-temp-buffer): Call temp-output-buffer-show
1666 instead of internal-temp-output-buffer-show.
1667
c88b867f
CY
16682012-09-22 Chong Yidong <cyd@gnu.org>
1669
3df47cd5
CY
1670 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1671 (Bug#12462).
1672
c88b867f
CY
1673 * repeat.el (repeat): Doc fix (Bug#12348).
1674
1675 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1676 (Bug#10909).
1677
1678 * simple.el (shell-command-on-region): Doc fix.
3171e303 1679 (read-only-mode): Doc fix.
c88b867f 1680
df9685f3
EZ
16812012-09-22 Eli Zaretskii <eliz@gnu.org>
1682
1683 * emacs-lisp/timer.el (run-with-idle-timer)
1684 (timer-activate-when-idle): Warn against reinvoking an idle timer
1685 from within its own timer action. (Bug#12447)
1686
8e17c9ba
MR
16872012-09-22 Martin Rudalics <rudalics@gmx.at>
1688
1689 * cus-start.el (window-combination-limit): Add new optional
1690 values.
1691 * window.el (temp-buffer-window-show)
1692 (window--try-to-split-window): Handle new values of
1693 window-combination-limit (Bug#1806).
1694 (split-window): Test window-combination-limit for t instead of
1695 non-nil.
1696 (display-buffer-at-bottom): New buffer display action function.
1697 * help.el (temp-buffer-resize-regexps): New option.
1698 (temp-buffer-resize-mode): Rewrite doc-string.
1699 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1700 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1701
48a24920
SM
17022012-09-22 Stefan Merten <smerten@oekonux.de>
1703
70efc5c9 1704 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1705 (rst-official-version)
1706 (rst-package-emacs-version-alist): Sync with official version
1707 V1.4.0.
1708 (rst-faces-defaults, rst-set-level-default)
1709 (rst-level-face-max, rst-level-face-base-color)
1710 (rst-level-face-base-light, rst-level-face-format-light)
1711 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1712 (rst-adornment-faces-alist): Match new setup.
1713 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1714 (rst-level-5, rst-level-6): New faces.
1715
82f8cd94
CY
17162012-09-22 Chong Yidong <cyd@gnu.org>
1717
1718 * simple.el (undo): Handle indirect buffers (Bug#8207).
1719
acfa068f 17202012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1721
1722 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1723 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1724 (ido-set-matches-1): Use it. (Bug#2042)
1725
acfa068f 17262012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1727
1728 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1729 Fix 2011-05-17 change. (Bug#12418)
1730
acfa068f 17312012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1732
1733 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1734
acfa068f 17352012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1736
1737 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1738 Be more robust about locating simple.el.
1739
acfa068f 17402012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1741
1742 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1743
acfa068f
CY
17442012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1745
1746 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1747
41a97e6f
JL
17482012-09-20 Juri Linkov <juri@jurta.org>
1749
eb2deaff
JL
1750 * replace.el (query-replace-read-from): Use `read-regexp' instead
1751 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1752 (occur-read-primary-args): Use `read-regexp' instead of
1753 `read-string'.
1754 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1755 `read-from-minibuffer'.
1756 * isearch.el (isearch-occur): Use `read-regexp' instead of
1757 `read-string'.
1758 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1759 `read-from-minibuffer'.
1760 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1761 of `read-string'. (Bug#7567)
1762
5825610b
JL
1763 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1764 and allow accepting a list of strings prepended to a list of
1765 standard default values. Doc fix. (Bug#12321)
1766
eebbf404
JL
1767 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1768
41a97e6f
JL
1769 * replace.el (read-regexp): Don't add ": " when PROMPT already
1770 ends with a colon and space. (Bug#12321)
1771
c9e452d3
TH
17722012-09-20 Tassilo Horn <tsdh@gnu.org>
1773
1774 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1775 error.
1776
ee97deee
SM
17772012-09-20 Stefan Merten <smerten@oekonux.de>
1778
70efc5c9 1779 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1780 Fixes feature request bug#11711.
1781 (rst-mode): Create `imenu-create-index-function'.
1782 (rst-get-stripped-line): Delete after refactoring.
1783 (rst-section-tree, rst-section-tree-rec)
1784 (rst-section-tree-point): Refactor and document properly.
1785 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1786 (rst-imenu-convert-cell, rst-imenu-create-index):
1787 New function.
ee97deee 1788
f490dab9
SM
17892012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1790
95b9712e
SM
1791 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1792 (macroexp--expand-all): Use it.
1793 (macroexp--funcall-and-return): Remove by folding it into its sole
1794 caller (macroexp--warn-and-return).
1795 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1796 Use macroexp--obsolete-warning.
1797
f490dab9
SM
1798 * calc/calc.el: Fix last change by removing the whole chunk, since it
1799 was only needed back when Calc was not bundled.
1800
96e8d411
MR
18012012-09-20 Martin Rudalics <rudalics@gmx.at>
1802
1803 * emacs-lisp/debug.el (debug): Restore assignment to
1804 debugger-old-buffer removed on 2012-09-08.
1805
0876a82d
JL
18062012-09-20 Juri Linkov <juri@jurta.org>
1807
1808 * dired-aux.el (dired-diff): Remove (require 'diff) since
1809 `diff-latest-backup-file' is now autoloaded.
1810
9f7c28f0
CY
18112012-09-20 Chong Yidong <cyd@gnu.org>
1812
1813 * vc/diff.el (diff-latest-backup-file): Autoload.
1814
7a04bee9
SM
18152012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1816
e6f0a80d
SM
1817 * calc/calc.el: Remove redundant autoload shape check.
1818 (sel-mode): Don't defvar.
1819 (calc-get-stack-element): Add `sel-mode' arg instead.
1820 (calc-top, calc-top-list): Pass it this additional argument.
1821 * calc/calc-store.el (calc-store-map):
1822 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1823 (calc-map-equation, calc-outer-product, calc-inner-product):
1824 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1825
7a04bee9
SM
1826 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1827
12734222
JL
18282012-09-19 Juri Linkov <juri@jurta.org>
1829
1830 * dired-aux.el (dired-diff): Add (require 'diff) because
1831 `diff-latest-backup-file' is not autoloaded.
1832 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1833 of `dired-get-filename' to t to not report error when there is
1834 no default file on the current line.
1835
46624b4f
SM
18362012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1837
ce97595b
SM
1838 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1839 macroexp--eval-if-compile.
1840 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1841 (macroexp--expand-all): Use them (bug#12371).
1842
46624b4f
SM
1843 * doc-view.el (doc-view-guess-paper-size)
1844 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1845
db8a5a18
TH
18462012-09-19 Tassilo Horn <tsdh@gnu.org>
1847
1848 New feature: set optimal slice from BoundingBox information.
1849 * doc-view.el (doc-view-mode-map): Add keybinding.
1850 (doc-view-menu): Add menu entry.
1851 (doc-view-set-slice): Adapt docstring.
1852 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1853 (doc-view-scale-bounding-box)
1854 (doc-view-set-slice-from-bounding-box): New functions.
1855 (doc-view-paper-sizes): New defvar.
1856
69f6644c
GM
18572012-09-19 Glenn Morris <rgm@gnu.org>
1858
35f5b19d
GM
1859 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1860 (byte-compile-log-warning): Autoload. (Bug#12371)
1861
69f6644c
GM
1862 * calendar/calendar.el (calendar-american-month-header)
1863 (calendar-european-month-header, calendar-iso-month-header)
1864 (calendar-month-header): New options.
1865 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1866 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1867
e543ae91
JD
18682012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1869
1870 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1871
2fd5e67d
JL
18722012-09-18 Juri Linkov <juri@jurta.org>
1873
1874 * dired-aux.el (dired-diff): Restore original functionality of
1875 getting the default value, but keep new feature of using the
1876 latest existing backup file (`diff-latest-backup-file').
1877
42917e79
JL
18782012-09-18 Juri Linkov <juri@jurta.org>
1879
1880 * dired.el (dired-mark): If the region is active in Transient Mark
1881 mode, mark all files in the active region. Doc fix.
1882 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1883 Doc fix. (Bug#10624)
1884
20f70ede
JL
18852012-09-18 Juri Linkov <juri@jurta.org>
1886
1887 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1888 attributes for M-n are pulled from the file at point.
1889 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1890 Suggested by Drew Adams. (Bug#10624)
1891
32fb8162
DG
18922012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1893
1894 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1895 whitespace after "end".
1896 (ruby-do-end-to-brace): Collapse block to one line if it fits
1897 within fill-column.
1898
37ab5092
MR
18992012-09-18 Martin Rudalics <rudalics@gmx.at>
1900
1901 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1902 value.
1903 (debug): Don't remove debugger window when debugger is expected
1904 to be back.
1905
ed1f0bd3
CY
19062012-09-18 Chong Yidong <cyd@gnu.org>
1907
1908 * custom.el (defface): Doc fix.
1909
1910 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1911
a11035b8
MB
19122012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1913
1914 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1915 to initialize query-on-exit; then test that instead (bug#12288).
1916
64f6a736
SM
19172012-09-17 Stefan Merten <smerten@oekonux.de>
1918
70efc5c9 1919 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1920 (rst-defcustom-testcover, rst-testcover-add-compose)
1921 (rst-testcover-add-1value): New functions.
1922 (rst-portable-mark-active-p): Replace by `use-region-p'.
1923 (rst-update-section, rst-classify-adornment)
1924 (rst-find-title-line): Mark `1value' forms.
1925 (rst-classify-adornment): Remove superfluous form.
1926 (rst-update-section, rst-get-adornments-around)
1927 (rst-adornment-complete-p, rst-get-next-adornment)
1928 (rst-adjust, rst-promote-region)
1929 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1930 (rst-find-pfx-in-region, rst-section-tree-rec)
1931 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1932 (rst-toc-node, rst-toc, rst-forward-section)
1933 (rst-iterate-leftmost-paragraphs)
1934 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1935 (rst-bullet-list-region)
1936 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1937 (rst-compile-find-conf, rst-compile)
1938 (rst-repeat-last-character): Fix style.
1939
580bd868
CY
19402012-09-17 Chong Yidong <cyd@gnu.org>
1941
1942 * comint.el (comint--complete-file-name-data): Don't add a space
1943 if the status is `sole'; that adds a gratuitous space in the
1944 completion-cycling case (Bug#12092).
1945
1946 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1947
69de3ec6
RS
19482012-09-17 Richard Stallman <rms@gnu.org>
1949
0dee970c
RS
1950 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1951 only in the mime-shown mode, not in raw mode.
1952 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1953 mime processing. (Bug#12305)
0dee970c 1954
6b250df6
GM
1955 * mail/rmail.el (rmail-retry-failure):
1956 Turn off mime processing first. (Bug#12037)
acb1c47b 1957
69de3ec6
RS
1958 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1959
d079ee5f
CY
19602012-09-17 Chong Yidong <cyd@gnu.org>
1961
1962 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1963 (shell-dynamic-complete-functions): Convert to defcustom.
1964 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1965
865fe16f
CY
1966 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1967 * comint.el (comint-prompt-read-only):
1968 * custom.el (defcustom):
1969 * hi-lock.el (hi-lock-mode):
1970 * ibuffer.el (ibuffer-formats):
1971 * ielm.el (ielm-prompt-read-only):
1972 * novice.el (disable-command):
1973 * saveplace.el (toggle-save-place):
1974 * speedbar.el (speedbar-supported-extension-expressions):
1975 * startup.el (auto-save-list-file-prefix, init-file-user)
1976 (after-init-hook, inhibit-startup-echo-area-message):
1977 * strokes.el (strokes-help):
1978 * time-stamp.el (time-stamp):
1979 * calendar/calendar.el (calendar, diary-file):
1980 * calendar/diary-lib.el (diary-mail-entries, diary)
1981 (diary-list-entries-hook):
1982 * calendar/holidays.el (holidays, calendar-holidays):
1983 * calendar/lunar.el (lunar-phases):
1984 * calendar/solar.el (sunrise-sunset):
1985 * emulation/edt.el (edt-load-keys):
1986 * emulation/viper.el (viper-mode):
1987 * eshell/em-alias.el (eshell-command-aliases-list):
1988 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1989 * international/ogonek.el (ogonek-information):
1990 * net/tramp-cmds.el (tramp-bug):
1991 * net/quickurl.el (quickurl-reread-hook-postfix):
1992 * play/decipher.el (decipher-font-lock-keywords):
1993 * progmodes/cc-styles.el (c-set-style):
1994 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1995 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1996 * progmodes/octave-mod.el (octave-mode):
1997 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1998 * progmodes/verilog-mode.el (verilog-read-defines):
1999 * textmodes/two-column.el (2C-mode): Likewise.
2000
48093eb9
KY
20012012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2002
2003 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2004 that holds many addresses.
2005
c584eaf9
CY
20062012-09-16 Chong Yidong <cyd@gnu.org>
2007
40d70ecb
CY
2008 * align.el (align-areas): Call the indication function with
2009 positions instead of markers for arguments (Bug#12343).
2010
1667e065
CY
2011 * files.el (parse-colon-path): Use split-string (Bug#12351).
2012
fdc2806d 2013 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2014 (display-buffer-function): Mark as obsolete.
fdc2806d 2015
f1be615c 2016 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2017 values similar to font-lock-keywords (Bug#12136).
2018 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2019 (compilation-error-regexp-alist): Doc fix.
2020
f40a9709
GM
20212012-09-15 Glenn Morris <rgm@gnu.org>
2022
72aa16e1
GM
2023 * version.el (emacs-bzr-version-bzr): New function.
2024 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2025
82375160
GM
2026 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2027 checkouts, check the parent dirstate matches the branch.
2028 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2029 empty string.
2030
f40a9709
GM
2031 * version.el (emacs-bzr-version): Doc fix.
2032 (emacs-bzr-version-dirstate): New function.
2033 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2034 is local try and check that it matches the branch. If not, just
2035 use dirstate information. (Bug#12441)
2036
cb26b7f5
JL
20372012-09-14 Juri Linkov <juri@jurta.org>
2038
2039 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2040 (Bug#12399)
2041
2de39f08
SM
20422012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2043
0fb3cb7c
SM
2044 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2045
2de39f08
SM
2046 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2047 Remove obsolete byte-compiler hack that tried to silence some warnings.
2048 (edebug-submit-bug-report): Remove.
2049 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2050 Remove aliases, use the un-prefixed name instead.
2051 (edebug-pop-to-buffer): Consider other frames.
2052 (edebug-original-read):: Make it more obvious that it's always defined.
2053 (edebug--make-form-data-entry, edebug--form-data-name)
2054 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2055 single-dashed name, and implement with cl-defstruct.
2056 (edebug-set-form-data-entry): Use the standard accessors.
2057 (edebug-make-top-form-data-entry): Use push.
2058 (edebug-no-match): Drop useless `funcall'.
2059 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2060 to functions.
2061 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2062 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2063 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2064 (easy-menu-define, with-custom-print): Remove redundant specs.
2065 (edebug-outside-overriding-local-map)
2066 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2067 (edebug--display): Bind unread-command-events directly to nil rather
2068 than binding it to unread-command-events and later setting it to nil.
2069 (edebug--display): Kill edebug-eval-buffer here...
2070 (edebug--recursive-edit): ...rather than here.
2071 Bind standard-output and standard-input.
2072 (edebug-eval): Check cl-macroexpand-all is fboundp.
2073 (edebug-temp-display-freq-count): Fix last change.
2074
2075 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2076 * subr.el (noreturn, 1value): Add `debug' spec.
2077 * emacs-lisp/advice.el: Require cl-lib.
2078 (ad-copy-tree): Remove, use copy-tree instead.
2079 (ad-dolist): Remove use dolist or cl-dolist instead.
2080 (ad-do-return): Remove, use cl-return instead.
2081 (defadvice): Add `debug' spec.
2082
5b68b333
JL
20832012-09-13 Juri Linkov <juri@jurta.org>
2084
2085 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2086 (Bug#12399)
2087
b9800ec4
GM
20882012-09-13 Glenn Morris <rgm@gnu.org>
2089
6a2e6868
GM
2090 * calc/calc.el (math-compose-expr):
2091 * calc/calc-ext.el (math-compose-expr):
2092 * progmodes/cc-defs.el (cl-macroexpand-all):
2093 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2094 (cl-macroexpand-all): Update declarations.
2095
b9800ec4
GM
2096 * vc/vc.el: No need to require ediff.
2097 (ediff-load-version-control): Declare.
2098 (ediff-vc-internal): Fix declaration.
2099 (vc-version-ediff): Require ediff.
2100
c18e885b
PE
21012012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2102
2103 Use a more backwards-compatible timer format (Bug#12430).
2104 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2105 being right after USECS, as that better supports old code that
2106 inadvisedly looked directly at the timer vector.
2107
d607d303
KH
21082012-09-13 Kenichi Handa <handa@gnu.org>
2109
2110 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2111 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2112 `coding-priority' property of these language environment.
2113
72eac303
PE
21142012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2115
2116 Fix glitches caused by addition of psec to timers (Bug#12430).
2117 * image.el (image-animate-timer):
2118 * time.el (display-time-world-timer):
2119 Use timer--function and timer--args rather than raw access to
2120 timer vector.
2121
2168fe4f
GM
21222012-09-13 Glenn Morris <rgm@gnu.org>
2123
2124 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2125 If not compiling a file, try using load-file-name.
2126
bd8d6108
SM
21272012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2128
c0c54fbd
SM
2129 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2130 Fix last change.
2131 (edebug-update-eval-list): Use `push'.
2132
bd8d6108
SM
2133 * emacs-lisp/edebug.el: Use lexical-binding.
2134 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2135 Mark unused args with underscore.
2136 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2137 (edebug-form-data): Use defvar-local.
2138 (edebug-make-before-and-after-form, edebug-make-after-form):
2139 Use backquote.
2140 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2141 Not dynamically scoped any more.
2142 (edebug--enter-trace): Add arguments `function' and `args'.
2143 Rename from edebug-enter-trace.
2144 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2145 (edebug--update-coverage): Add `after-index' and `value' args.
2146 Rename from edebug-update-coverage.
2147 (edebug-slow-after): Call it accordingly.
2148 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2149 edebug-recursive-edit.
2150 (edebug--display): Call it accordingly. Add args `value',
2151 `offset-index', and `arg-mode'. Rename from edebug-display.
2152 (edebug-debugger, edebug): Call it accordingly.
2153 (edebug-eval-display-list): Use dolist.
2154
a9f9d9de
JL
21552012-09-12 Juri Linkov <juri@jurta.org>
2156
2157 * info.el (Info-search): Don't check for isearch-mode and
2158 isearch-regexp before let-binding search-spaces-regexp to
2159 Info-search-whitespace-regexp.
2160 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2161 search-whitespace-regexp if isearch-lax-whitespace or
2162 isearch-regexp-lax-whitespace is non-nil.
2163 (Info-mode): Don't set local variable search-whitespace-regexp.
2164 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2165
bfeae2cf
SM
21662012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2169 (debugger-env-macro): Remove support for unread-command-char.
2170
2171 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2172 the temporary map re-appearing on emulation-mode-map-alists.
2173
2174 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2175 since 22.1.
2176
2177 * ehelp.el (with-electric-help): Accept functions in
2178 electric-help-form-to-execute.
2179 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2180 And replace unread-command-char -> unread-command-events.
2181
fbbcaf1b
MA
21822012-09-12 Michael Albinus <michael.albinus@gmx.de>
2183
2184 Sync with Tramp 2.2.6.
2185
2186 * net/tramp.el (tramp-accept-process-output): Don't use
2187 JUST-THIS-ONE in the XEmacs case.
2188
2189 * net/trampver.el: Update release number.
2190
4dece104
MR
21912012-09-12 Martin Rudalics <rudalics@gmx.at>
2192
bfeae2cf
SM
2193 * emacs-lisp/debug.el (debugger-previous-window-height):
2194 New variable.
4dece104
MR
2195 (debug): When debugger-jumping-flag is non-nil try to restore
2196 height of debugger window. (Bug#8789)
2197
45b82ad0
SM
21982012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2199
60c49c0f
SM
2200 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2201 overriding-local-map and pre/post-command-hook here.
2202 (edebug-recursive-edit): Do it here instead (bug#12345).
2203 (edebug-outside-unread-command-char): Remove all uses of
2204 unread-command-char.
2205
45b82ad0
SM
2206 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2207 inhibit-debugger is bound instead.
2208
baa26ea0
BG
22092012-09-11 Bastien Guerry <bzg@gnu.org>
2210
2211 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2212 (Bug#12346)
baa26ea0 2213
04e8abfa
BG
22142012-09-11 Bastien Guerry <bzg@gnu.org>
2215
96d03571 2216 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2217 (Bug#12347)
96d03571
BG
2218
22192012-09-11 Bastien Guerry <bzg@gnu.org>
2220
fc0c31f8 2221 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2222
04e082b0
MM
22232012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2224
2225 * progmodes/sql.el: Version 3.1
2226 (sql-db2-escape-newlines): New variable.
2227 (sql-escape-newlines-filter): Use it.
2228
399a361b
JB
22292012-09-10 Juanma Barranquero <lekktu@gmail.com>
2230
2231 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2232
0780c517
DN
22332012-09-10 Dan Nicolaescu <dann@gnu.org>
2234
45b82ad0
SM
2235 * vc/diff-mode.el (diff-mode-menu):
2236 Bind diff-remove-trailing-whitespace.
0780c517 2237
9b851e25
SM
22382012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2241 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2242 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2243 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2244 (eval-defun-2): Remove bogus interactive spec.
2245 (lisp-indent-line): Remove redundant whole-exp code, now done in
2246 indent-according-to-mode.
2247 (save-match-data): Remove redundant indent data.
2248
2249 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2250 Use `declare'.
2251
3231d532
JL
22522012-09-09 Juri Linkov <juri@jurta.org>
2253
2254 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2255 (replace-lax-whitespace, query-replace-regexp)
2256 (query-replace-regexp-eval, replace-regexp): Doc fix.
2257 (perform-replace, replace-highlight): Let-bind
2258 isearch-lax-whitespace to replace-lax-whitespace and
2259 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2260
2261 * isearch.el (isearch-query-replace): Let-bind
2262 replace-lax-whitespace to isearch-lax-whitespace and
2263 replace-regexp-lax-whitespace to
2264 isearch-regexp-lax-whitespace. (Bug#10885)
2265
70fe8236
SM
22662012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2269
8ed43f15
AM
22702012-09-09 Alan Mackenzie <acm@muc.de>
2271
70fe8236
SM
2272 * progmodes/cc-engine.el (c-state-cache-init):
2273 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2274 (c-record-parse-state-state):
2275 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2276
bfabf70a
AS
22772012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2278
2279 * register.el (register-separator): Rename from
2280 separator-register. All uses changed. Doc fix.
2281 (register): Fix version.
2282
011474aa
CY
22832012-09-09 Chong Yidong <cyd@gnu.org>
2284
2285 * replace.el (query-replace-map): Bind four new symbols for
2286 requesting window scrolling.
2287
2288 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2289 query-replace-map (Bug#8948).
2290
2291 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2292
2293 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2294 since they are now in query-replace-map.
2295
2296 * window.el (scroll-other-window-down): Make the arg optional.
2297
a8b7cd8d
CY
22982012-09-09 Chong Yidong <cyd@gnu.org>
2299
2300 * files.el (hack-local-variables-confirm): Use quit-window to kill
2301 the *Local Variables* buffer.
2302
c3268831
DG
23032012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2304
2305 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2306 not just expect to be at its beginning. Adjust callees.
2307 Succeed when do-end block has no space before the pipe character.
2308 (ruby-brace-to-do-end): When the original block is one-liner,
2309 convert to multiline. Reindent the result.
2310
0979429b
J
23112012-09-08 Jambunathan K <kjambunathan@gmail.com>
2312
2313 * register.el (register): New group.
27359e99 2314 (separator-register): New user option.
0979429b
J
2315 (increment-register): Route it to `append-to-register', if
2316 register contains text. Implication is that `C-x r +' can now be
2317 used for appending to a text register (bug#12217).
2318 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2319 `separator-register'.
0979429b 2320
ace2989a
AM
23212012-09-08 Alan Mackenzie <acm@muc.de>
2322
2323 AWK Mode: make auto-newline work when there's "==" in the pattern.
2324 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2325 correctly.
0979429b
J
2326 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2327 Test more rigorously for "=" token.
ace2989a 2328
616c6c36
DG
23292012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2330
0979429b
J
2331 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2332 Only fail when reached LIMIT.
616c6c36 2333
35d98877
CY
23342012-09-08 Chong Yidong <cyd@gnu.org>
2335
2336 * dired.el (dired-mode-map): Don't bind M-=.
2337
2338 * dired-aux.el (dired-diff): Use backup file as default.
2339
1715f2db
DA
23402012-09-08 Drew Adams <drew.adams@oracle.com>
2341
2342 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2343
6dcef6ec
CY
23442012-09-08 Chong Yidong <cyd@gnu.org>
2345
2346 * subr.el (syntax-after, syntax-class): Doc fix.
2347
fa2bcf43
MR
23482012-09-08 Martin Rudalics <rudalics@gmx.at>
2349
2350 * window.el (display-buffer-in-previous-window): New buffer
2351 display action function.
2352
2353 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2354 (debugger-previous-window): New variable.
2355 (debug): Rewrite using display-buffer-in-previous-window,
2356 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2357
daac280a
SM
23582012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2361
9dd40b00
MM
23622012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2363
daac280a
SM
2364 * progmodes/python.el (python-shell-send-string):
2365 When default-directory is remote, create temp file on remote
9dd40b00
MM
2366 filesystem.
2367 (python-shell-send-file): When file is remote, pass local view of
2368 file paths to remote Python interpreter. (Bug#12340)
2369
145823ec
CY
23702012-09-07 Chong Yidong <cyd@gnu.org>
2371
cee2e90d
CY
2372 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2373
0d7eb2ea
CY
2374 * files.el (after-find-file): Don't fail on a read-only buffer if
2375 require-final-newline is `visit' or `visit-save' (Bug#11156).
2376
145823ec
CY
2377 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2378
daac280a
SM
2379 * userlock.el (ask-user-about-supersession-threat):
2380 Use read-char-choice (Bug#12093).
145823ec 2381
74c582e6
CY
23822012-09-07 Chong Yidong <cyd@gnu.org>
2383
e5c2edf7
CY
2384 * subr.el (buffer-narrowed-p): New function.
2385
2386 * ses.el (ses-widen):
2387 * simple.el (count-words--buffer-message):
1f9f395d 2388 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2389
2390 * simple.el (count-words-region): Don't signal an error if there
2391 is a non-nil prefix arg and the mark is not set.
c640e87d 2392
74c582e6
CY
2393 * help.el (describe-key-briefly): Allow the message to be seen
2394 when invoked from the minibuffer (Bug#7014).
2395
d81ceaaf
DG
23962012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2397
2398 * progmodes/ruby-mode.el (ruby-end-of-defun)
2399 (ruby-beginning-of-defun): Simplify, allow indentation before
2400 block beginning and end keywords.
8f06acce
DG
2401 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2402 (ruby-end-of-defun): Expect that the point is at the beginning of
2403 the defun.
d81ceaaf 2404
d458ef98
SM
24052012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2408 (bug#12367).
2409 (cl--make-usage-args): Strip _ from argument names.
2410
20367d28
RS
24112012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2412
2413 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2414 obsolete alias speedbar-key-map.
2415 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2416 (vhdl-index-menu-init): Don't use obsolete variable
2417 font-lock-maximum-size.
2418
3424a4f6
CY
24192012-09-06 Chong Yidong <cyd@gnu.org>
2420
2421 * frame.el (window-system-version): Mark as obsolete.
2422
fcbfbdea
CY
2423 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2424 of obsolete variable speedbar-key-map.
2425
826b3235
JL
24262012-09-06 Juri Linkov <juri@jurta.org>
2427
2428 * replace.el (replace-lax-whitespace): New defcustom.
2429 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2430 (replace-string, replace-regexp): Mention it in docstrings.
2431 (perform-replace, replace-highlight): Let-bind
2432 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2433 to the values of replace-lax-whitespace and regexp-flag.
2434 Don't let-bind search-whitespace-regexp. (Bug#10885)
2435
2436 * isearch.el (isearch-query-replace): Let-bind
2437 replace-lax-whitespace instead of let-binding
2438 replace-search-function and replace-re-search-function.
2439 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2440 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2441 (isearch-toggle-symbol): Set isearch-regexp to nil
2442 in isearch-word mode (like in isearch-toggle-word).
2443
1ec5e41d
JL
24442012-09-06 Juri Linkov <juri@jurta.org>
2445
2446 * replace.el (replace-search-function)
2447 (replace-re-search-function): Set default values to nil.
2448 (perform-replace): Let-bind isearch-related variables based on
2449 replace-related values, call `isearch-search-fun' and let-bind
2450 the result to `search-function'. Remove code that sets
2451 `search-function' and `search-string' separately for
2452 `delimited-flag'.
2453 (replace-highlight): Add new argument `delimited-flag' and
2454 rename other arguments to the names used in `perform-replace'.
2455 Let-bind `isearch-word' to the argument `delimited-flag'.
2456 (Bug#10885, bug#10887)
2457
0ba2d4b6
DG
24582012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2459
2460 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2461 ruby-beginning-of-indent, simplify, allow all keywords to have
2462 indentation before them.
2463 (ruby-beginning-of-indent): Adjust for above. Search until the
2464 found point is not inside a string or comment.
2465 (ruby-font-lock-keywords): Allow symbols to start with "@"
2466 character, give them higher priority than variables.
2467 (ruby-syntax-propertize-function)
2468 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2469 matchers. Expression expansions are not comments when inside a
2470 string, and there comment syntax status is irrelevant.
2471 (ruby-match-expression-expansion): New function. Check that
2472 expression expansion is inside a string, and it's not escaped.
2473 (ruby-font-lock-keywords): Use it.
2474
ef654460
MR
24752012-09-05 Martin Rudalics <rudalics@gmx.at>
2476
2477 * help.el (temp-buffer-max-height): New default value.
2478 (temp-buffer-resize-frames): New option.
2479 (resize-temp-buffer-window): Optionally resize frame.
2480
2481 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2482 (fit-frame-to-buffer): New function.
2483
7e570fbf 24842012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2485
2486 * emulation/cua-rect.el (cua--init-rectangles):
2487 * textmodes/picture.el (picture-mode-map):
2488 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2489 like forward-char and backward-char. (Bug#12317)
2490
7e570fbf 24912012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2492
2493 * progmodes/flymake.el (flymake-warning-re): New variable.
2494 (flymake-parse-line): Use it.
2495
7e570fbf 24962012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2497
2498 * calendar/holidays.el (holiday-christian-holidays):
2499 Rename an entry. (Bug#12289)
2500
7e570fbf 25012012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2502
2503 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2504 (bug#12222).
2505
972debf2
SM
25062012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * loadup.el: Load macroexp. Remove hack.
2509 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2510 (macroexp--expand-all): Use it to get better warnings.
2511 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2512 (internal-macroexpand-for-load): New functions.
2513 (macroexp--pending-eager-loads): New var.
2514 (emacs-startup-hook): New hack to replace one in loadup.el.
2515 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2516 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2517 (cl-psetf): Simplify.
2518 (cl-defstruct): Add indent rule.
2519
8ce192e3
LI
25202012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2521
2522 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2523 over `user-mail-address' for the SMTP MAIL FROM envelope.
2524 (smtpmail-via-smtp): Ditto.
2525
6578b4d8
DG
25262012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2527
2528 * progmodes/ruby-mode.el: Clean up keybindings.
2529 (ruby-mode-map): Don't bind ruby-electric-brace,
2530 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2531 backward-kill-word, reindent-then-newline-and-indent.
2532 (ruby-mark-defun): Remove.
2533 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2534 (ruby-mode): Set local beginning-of-defun-function and
2535 end-of-defun-function values.
2536
c5e28e39
MR
25372012-09-03 Martin Rudalics <rudalics@gmx.at>
2538
2539 * window.el (temp-buffer-window-setup-hook)
2540 (temp-buffer-window-show-hook): New hooks.
2541 (temp-buffer-window-setup, temp-buffer-window-show)
2542 (with-temp-buffer-window): New functions.
972debf2
SM
2543 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2544 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2545
2546 * help.el (temp-buffer-resize-mode): Fix doc-string.
2547 (resize-temp-buffer-window): New optional argument WINDOW.
2548
2549 * files.el (recover-file, save-buffers-kill-emacs):
2550 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2551
73406194
MA
25522012-09-02 Michael Albinus <michael.albinus@gmx.de>
2553
2554 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2555 remote definition of `default-directory', ensure we can connect.
2556
63dd1c6f
JL
25572012-09-02 Juri Linkov <juri@jurta.org>
2558
2559 Toggle whitespace matching mode with M-s SPC.
2560 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2561
2562 * isearch.el (search-whitespace-regexp): Doc fix.
2563 Remove cons cell customization.
2564 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2565 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2566 New variables.
2567 (isearch-forward, isearch-forward-regexp): Doc fix.
2568 (isearch-toggle-lax-whitespace): New command.
2569 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2570 (re-search-forward-lax-whitespace)
2571 (re-search-backward-lax-whitespace): New functions.
2572 (isearch-whitespace-regexp): Remove function.
2573 (isearch-query-replace): Let-bind replace-search-function and
2574 replace-re-search-function.
2575 (isearch-occur): Let-bind search-spaces-regexp according to the
2576 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2577 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2578 condition for C-q SPC.
2579 (isearch-search-fun-default): Use new functions mentioned above.
2580 (isearch-search-forward, isearch-search-backward): Remove functions.
2581 (isearch-search): Don't let-bind search-spaces-regexp.
2582 (isearch-lazy-highlight-space-regexp): Remove variable.
2583 (isearch-lazy-highlight-lax-whitespace)
2584 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2585 (isearch-lazy-highlight-new-loop): Use them.
2586 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2587
af7dda05
CY
25882012-09-02 Chong Yidong <cyd@gnu.org>
2589
2590 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2591
d67d3afd
GM
25922012-09-02 Glenn Morris <rgm@gnu.org>
2593
2594 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2595
69678719
GM
25962012-09-01 Glenn Morris <rgm@gnu.org>
2597
2598 * term.el: Tidy up menu definitions.
2599 (term-mode-map): Use easymenu for In/Out, Complete menus.
2600 (term-pager-break-map): Initialize in the defvar.
2601 (term-terminal-menu, term-signals-menu): Define with easymenu.
2602 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2603 (term-pager-menu): New, extracted from term-process-pager.
2604 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2605 (term-update-mode-line): Propertize line/char and page items.
2606 (term-process-pager): Move keymap initialization elsewhere.
2607
78dd6ab1
MR
26082012-09-01 Martin Rudalics <rudalics@gmx.at>
2609
2610 * window.el (switch-to-prev-buffer): Handle additional values of
2611 BURY-OR-KILL argument. Don't switch in minibuffer window.
2612 (switch-to-next-buffer): Don't switch in minibuffer window.
2613 (quit-restore-window): New function based on quit-window.
2614 Handle additional values of former KILL argument.
2615 (quit-window): Call quit-restore-window with appropriate
2616 interpretation of KILL argument.
2617 (display-buffer-below-selected): New buffer display action
2618 function.
2619
3d10e134
SM
26202012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * minibuffer.el (completion-at-point-functions): Complete docstring
2623 (bug#12254).
2624
0e23ef9d
PE
26252012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2626
2627 Better seed support for (random).
2628 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2629 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2630 * play/mpuz.el, play/tetris.el, play/zone.el:
2631 * calc/calc-comb.el (math-init-random-base):
2632 * play/blackbox.el (bb-init-board):
2633 * play/life.el (life):
2634 * server.el (server-use-tcp):
2635 * type-break.el (type-break):
2636 Remove unnecessary call to (random t).
2637 * net/sasl.el (sasl-unique-id-function):
2638 Change (random t) to (random), now that the latter is more random.
2639 * play/life.el (life-initialized): Remove no-longer-needed var.
2640
862382df
MR
26412012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2642
2643 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2644 Consider frame's buffer predicate when choosing the buffer.
2645 (Bug#12081)
2646
262a66e1
RS
26472012-08-30 Richard Stallman <rms@gnu.org>
2648
2649 * simple.el (special-mode-map): Delete binding for `z'.
2650
f17e1d00
AS
26512012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2652
2653 * progmodes/compile.el (compilation-always-kill): Doc fix.
2654
24777832
CY
26552012-08-30 Chong Yidong <cyd@gnu.org>
2656
2657 * window.el (display-buffer-reuse-frames): Make the obsolescence
2658 message more informative.
2659
69ba1f04
GM
26602012-08-30 Glenn Morris <rgm@gnu.org>
2661
2662 * paren.el (show-paren-delay):
2663 Add a :set function. Doc fix. (Bug#12297)
2664
f0019ede
MB
26652012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2666
2667 * progmodes/compile.el (compilation-always-kill): New var.
2668 (compilation-start): Use it.
2669
35e62fc9
SM
26702012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2671
af070a1c
SM
2672 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2673 * files.el (read-only-mode): Move to simple.el.
2674
35e62fc9
SM
2675 * files.el (read-only-mode): New minor mode.
2676 (toggle-read-only): Use it and mark obsolete.
2677 (find-file--read-only):
2678 * vc/vc.el (vc-next-action, vc-checkout):
2679 * vc/vc-cvs.el (vc-cvs-checkout):
2680 * obsolete/vc-mcvs.el (vc-mcvs-update):
2681 * ffap.el (ffap--toggle-read-only): Update callers.
2682
c2c43c23
MA
26832012-08-29 Michael Albinus <michael.albinus@gmx.de>
2684
2685 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2686 remote shell scripts.
2687 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2688
2689 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2690 "/usr/local/sbin".
2691
9fba804b
SM
26922012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2695
eada0861 26962012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2697
806f0cc7
LL
2698 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2699 completion-at-point. (Bug#12220)
2700
3bb213b9
LL
2701 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2702
22ab32ef
LL
2703 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2704
eada0861 27052012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2706
19c17fc1
CY
2707 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2708 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2709
eada0861 27102012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2711
2712 * progmodes/hideif.el (hif-compress-define-list):
2713 Fix typo. (Bug#11951)
2714
eada0861 27152012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2716
2717 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2718 buffer local setting.
2719
27d6c5a8
LL
2720 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2721 rcirc-encode-coding-system.
2722
eada0861 27232012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2724
2725 * net/rcirc.el (rcirc-split-message): New function.
2726 (rcirc-send-message): Use it. (Bug#12051)
2727
d44688e4
JL
27282012-08-28 Juri Linkov <juri@jurta.org>
2729
2730 * info.el (Info-fontify-node): Hide empty lines at the end of
2731 the node. (Bug#12272)
2732
34f10d41
MR
27332012-08-27 Drew Adams <drew.adams@oracle.com>
2734
2735 * dired.el (dired-pop-to-buffer): Make window start at beginning
2736 of buffer (Bug#12281).
2737
77f1f99c
CY
27382012-08-26 Chong Yidong <cyd@gnu.org>
2739
2740 * window.el (special-display-regexps, special-display-frame-alist)
2741 (special-display-buffer-names, special-display-function)
2742 (display-buffer-reuse-frames): Mark as obsolete.
2743
2744 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2745
2746 * help.el (help-print-return-message): Don't treat
2747 display-buffer-reuse-frames specially.
2748
d97af5a0
CY
27492012-08-26 Chong Yidong <cyd@gnu.org>
2750
9fba804b
SM
2751 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2752 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2753 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2754 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2755 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2756 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2757 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2758 the functions directly with gdb-display-buffer-other-frame-action.
2759 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2760 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2761 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2762 (gdb-display-registers-buffer): Define directly.
2763 (def-gdb-display-buffer): Macro deleted.
2764 (gdb-display-buffer): Remove second and third args, callers don't
2765 use them. Defer to the default display-buffer behavior, apart
2766 from making windows dedicated.
2767 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2768
2769 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2770
2771 * window.el (display-buffer-pop-up-frame): Handle a
2772 pop-up-frame-parameters alist entry.
2773 (display-buffer): Document it.
2774
dd7ffad6
CY
27752012-08-26 Chong Yidong <cyd@gnu.org>
2776
2777 * isearch.el (search-whitespace-regexp): Make string and nil
2778 values apply to both ordinary and regexp search. Allow a cons
2779 cell value to distinguish between the two.
2780 (isearch-whitespace-regexp, isearch-search-forward)
2781 (isearch-search-backward): New functions.
2782 (isearch-occur, isearch-search-fun-default, isearch-search)
2783 (isearch-lazy-highlight-new-loop): Use them.
2784 (isearch-forward, isearch-forward-regexp): Doc fix.
2785
4c47bd1e
CY
27862012-08-26 Chong Yidong <cyd@gnu.org>
2787
2788 * faces.el (help-argument-name): Always inherit from italic
2789 (Bug#12213).
2790
9aba119d
MR
27912012-08-25 Martin Rudalics <rudalics@gmx.at>
2792
2793 * window.el (window--even-window-heights): Even heights when
2794 WINDOW and the selected window form a vertical combination.
2795 (display-buffer-use-some-window): Provide that window used gets
2796 sized back by quit-window. (Bug#11880) and (Bug#12091)
2797
ca5256ad
PE
27982012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2799
2800 Fix file time stamp problem with bzr and CVS (Bug#12001).
2801 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2802 in the file's time stamp, since the version control system loses
2803 that information.
2804
d1c0d176
JL
28052012-08-22 Juri Linkov <juri@jurta.org>
2806
2807 * info.el (Info-fontify-node): Hide the suffix of the
2808 Info file name in the header line. (Bug#12187)
2809
141562ff
GM
28102012-08-22 Glenn Morris <rgm@gnu.org>
2811
2812 * calendar/cal-tex.el (cal-tex-weekly-common):
2813 Restore leading blank page.
2814
61a48e19 28152012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2816
2817 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2818 the region under `shift-select-mode'. (Bug#12231)
2819
28202012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2821
2822 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2823 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2824 gives details on why the space is never needed.
2825
ea95074e
MR
28262012-08-22 Martin Rudalics <rudalics@gmx.at>
2827
9fba804b
SM
2828 * window.el (walk-window-tree, window-with-parameter):
2829 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2830 should run on the minibuffer window.
2831 (window-at-side-list): Don't operate on minibuffer window.
2832 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2833 (window--size-ignore): Rename to window--size-ignore-p.
2834 Update callers.
caceae25
MR
2835 (display-buffer-in-atom-window, window--major-non-side-window)
2836 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2837 (delete-side-window, display-buffer-in-side-window):
2838 New functions.
caceae25
MR
2839 (window--side-check, window-deletable-p, delete-window)
2840 (delete-other-windows, split-window): Handle side windows and
2841 atomic windows appropriately.
2842 (window--display-buffer): Call display-buffer-record-window also
2843 when the window buffer did not change.
ea95074e 2844
80a51fa0
CS
28452012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2846
2847 * help-fns.el (help-fns--key-bindings):
2848 Abbreviate non-symbol remap targets. (Bug#12174)
2849
fbb6300b
MR
28502012-08-22 Martin Rudalics <rudalics@gmx.at>
2851
2852 * dired.el (dired-mark-remembered): Don't clobber point.
2853 (Bug#11795)
2854
2b2c0794
GM
28552012-08-22 Glenn Morris <rgm@gnu.org>
2856
2857 * progmodes/bug-reference.el (bug-reference): New custom group.
2858 (bug-reference-bug-regexp): Make it a defcustom.
2859
37219830
DU
28602012-08-22 Daiki Ueno <ueno@unixuser.org>
2861
2862 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2863 (js-paren-indent-offset, js-square-indent-offset)
2864 (js-curly-indent-offset): Add :safe (Bug#12257).
2865
94e0e559
EC
28662012-08-22 Edward O'Connor <hober0@gmail.com>
2867
2868 * json.el (json-key-format): Add error properties.
2869 (json-encode-key): New function.
2870 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2871 Use json-encode-key.
2872
da485f5e
GM
28732012-08-22 Glenn Morris <rgm@gnu.org>
2874
2875 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2876 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2877 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2878 Update for above change.
2879
c6cc78b8
AS
28802012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2881
2882 * cus-face.el (custom-face-attributes): Fix customize type for the
2883 :underline attribute. (Bug#11805)
2884
5481664a
MR
28852012-08-21 Martin Rudalics <rudalics@gmx.at>
2886
2887 * window.el (window-point-1, set-window-point-1): Remove.
2888 (window-in-direction, record-window-buffer)
2889 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2890 (window--state-get-1, display-buffer-record-window):
2891 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2892 window-point and set-window-point respectively.
2893
6d74698e
GM
28942012-08-21 Glenn Morris <rgm@gnu.org>
2895
b7fa2691
GM
2896 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2897 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2898 Use it.
2899
52f56d5a
GM
2900 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2901 (cal-tex-shortday): New function.
2902 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2903 (cal-tex-cursor-filofax-daily): Use the above.
2904
9f1ee09e
GM
2905 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2906 New functions.
2907 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2908 (cal-tex-cursor-filofax-week): Use them.
2909
79858159
GM
2910 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2911 New constants.
2912 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2913 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2914
d346b2b4
GM
2915 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2916 (cal-tex-end-document): Don't rely on buffer name.
2917
b2403709
GM
2918 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2919 Use cal-tex-vspace.
2920 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2921 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2922 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2923 Use cal-tex-arg.
b2403709 2924
1cebb5c0
GM
2925 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2926 (cal-tex-cursor-week, cal-tex-cursor-week2)
2927 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2928 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2929 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2930 (cal-tex-insert-preamble, cal-tex-b-document)
2931 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2932 Improve cal-tex-cmd usage.
2933
c68cd5d4
GM
2934 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2935 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2936 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2937 (cal-tex-weekly-paper): New function.
2938 (cal-tex-cursor-week, cal-tex-cursor-week2)
2939 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2940 (cal-tex-cursor-day): Use it.
2941
9dca4801
GM
2942 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2943 (cal-tex-cursor-filofax-week): Remove leading blank page.
2944
1941e134
GM
2945 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2946 Add autoload cookie. For now at least, don't use color, since
2947 no other cal-tex function does.
2948
6d74698e
GM
2949 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2950 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2951 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2952
64cde199
JL
29532012-08-21 Juri Linkov <juri@jurta.org>
2954
2955 * info.el (Info-file-attributes): New variable.
2956 (info-insert-file-contents): Add file attributes to
2957 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2958 `Info-toc-nodes' when previous modtime of the Info file is less
2959 than new modtime.
2960 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2961 of info.el. (Bug#12230)
2962
32757648
GM
29632012-08-20 Glenn Morris <rgm@gnu.org>
2964
2965 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2966 * calendar/holidays.el (calendar-holiday-list):
2967 Report errors with display-warning rather than beep'n'sleep.
2968
a32fbbcf
MA
29692012-08-20 Michael Albinus <michael.albinus@gmx.de>
2970
2971 * net/tramp.el (tramp-accept-process-output): Accept only output
2972 from PROC. Otherwise, process filters and sentinels might be
2973 confused. (Bug#12145)
2974
a05731a0
CY
29752012-08-20 Chong Yidong <cyd@gnu.org>
2976
2977 * descr-text.el (describe-text-properties-1): Use overlays-in to
2978 report on empty overlays (Bug#3322).
2979
36e8d1eb
GM
29802012-08-20 Glenn Morris <rgm@gnu.org>
2981
3d300447
GM
2982 * mail/rmailout.el (rmail-output-read-file-name):
2983 Trap and report errors in rmail-output-file-alist elements.
2984
36e8d1eb
GM
2985 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2986 since most non-font-lock faces are not also variables).
2987
b96e5814
ER
29882012-08-20 Edward Reingold <reingold@iit.edu>
2989
2990 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2991 New function. (Bug12160)
2992
7cef3569
GM
29932012-08-19 Glenn Morris <rgm@gnu.org>
2994
2995 * mail/rmailout.el (rmail-output-read-file-name):
2996 Fix previous change (when the alist is nil or does not match).
2997
17975d7f
CY
29982012-08-19 Chong Yidong <cyd@gnu.org>
2999
3000 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3001 (Bug#12228).
3002
2170b1bd
CY
30032012-08-18 Chong Yidong <cyd@gnu.org>
3004
3005 * simple.el (yank-handled-properties): New defcustom.
3006 (yank-excluded-properties): Add font-lock-face and category.
3007 (yank): Doc fix.
3008
9fba804b
SM
3009 * subr.el (remove-yank-excluded-properties):
3010 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3011 and category is now done this way, instead of being hard-coded.
3012 (insert-for-yank-1): Remove font-lock-face handling.
3013 (yank-handle-font-lock-face-property)
3014 (yank-handle-category-property): New function.
3015
ee218151
GM
30162012-08-17 Glenn Morris <rgm@gnu.org>
3017
3018 * mail/rmailout.el (rmail-output-read-file-name):
3019 Check rmail-output-file-alist against the full message body
3020 in the correct rmail buffer. (Bug#12214)
3021
4a6bc3fd
MA
30222012-08-17 Michael Albinus <michael.albinus@gmx.de>
3023
9fba804b
SM
3024 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3025 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3026
383dcbf9
CY
30272012-08-17 Chong Yidong <cyd@gnu.org>
3028
3029 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3030 font spec, set the font directly (Bug#3228).
3031
998c4a6a
MR
30322012-08-17 Martin Rudalics <rudalics@gmx.at>
3033
3034 * window.el (delete-window): Fix last fix.
3035
52162052
MR
30362012-08-16 Martin Rudalics <rudalics@gmx.at>
3037
3038 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3039 (window-child, window-child-count, window-last-child)
3040 (window-normalize-window, window-combined-p)
3041 (window-combinations, window-atom-root, window-min-size)
3042 (window-sizable, window-sizable-p, window-size-fixed-p)
3043 (window-min-delta, window-max-delta, window--resizable)
3044 (window--resizable-p, window-resizable, window-total-size)
3045 (window-full-height-p, window-full-width-p, window-body-size)
3046 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3047 (minimize-window, window-deletable-p, delete-window)
3048 (delete-other-windows, set-window-buffer-start-and-point)
3049 (next-buffer, previous-buffer, split-window, balance-windows-2)
3050 (set-window-text-height, window-buffer-height)
3051 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3052 (truncated-partial-width-window-p): Minor code adjustments.
3053 In doc-strings state whether the argument window has to denote a
85c2386b 3054 live, valid or any window.
52162052 3055
1c308380
PS
30562012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3057
3058 * progmodes/subword.el (subword-forward-function)
3059 (subword-backward-function, subword-forward-regexp)
3060 (subword-backward-regexp): New variables.
3061 (subword-forward, subword-forward-internal, subword-backward-internal):
3062 Use new variables, eg so that different "word" definitions
3063 can be easily used. (Bug#11411)
3064
94c9ece1
SM
30652012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3068 for composite selectors.
3069 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3070 operation just because we can't find a previous revision.
3071
f2045622
CY
30722012-08-15 Chong Yidong <cyd@gnu.org>
3073
3074 * frame.el (set-frame-font): Accept font objects.
3075
582db660
SM
30762012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3079
2f29c200
WJ
30802012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3081
456e62c2
WJ
3082 * man.el (Man-overstrike-face, Man-underline-face)
3083 (Man-reverse-face): Remove variables.
3084 (Man-overstrike, Man-underline, Man-reverse): New faces.
3085 (Man-fontify-manpage): Use them instead of the variables.
3086 (Man-cleanup-manpage): Comment change.
3087 (Man-ansi-color-map): New variable.
3088 (Man-fontify-manpage): Use it.
3089 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3090
2f29c200
WJ
3091 Implement ANSI SGR parameters 22-27 (bug#12146).
3092 * ansi-color.el (ansi-colors): Doc fix.
3093 (ansi-color-context, ansi-color-context-region): Doc fix.
3094 (ansi-color--find-face): New function.
3095 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3096 Rename the local variable `face' to `codes' since it is now a list of
3097 ansi codes. Doc fix.
3098 (ansi-color-get-face): Remove.
3099 (ansi-color-parse-sequence): New function, derived from
3100 ansi-color-get-face.
3101 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3102 codes 22-27.
3103
b4f5e9df
SM
31042012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * subr.el (read-passwd): Allow use from a minibuffer.
3107
ba025fbd
EZ
31082012-08-14 Eli Zaretskii <eliz@gnu.org>
3109
3110 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3111 inside comments and strings as identifiers.
3112
3113 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3114 expression to evaluate. This allows to evaluate expressions with
3115 embedded whitespace.
3116 (gud-tooltip-tips): Add a blank before the newline in the
3117 message-box text, for the benefit of message-box emulation on
3118 MS-Windows.
3119
3120 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3121 messages from GDB, pop them up in a tooltip to give feedback to
3122 user.
b4f5e9df
SM
3123 (gdb-tooltip-print-1): Quote the expression to evaluate.
3124 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3125 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3126 if the TTY name is nil or empty (which happens when communicating
3127 with the inferior via pipes, e.g. on MS-Windows).
3128 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3129 don't send that to the GUD buffer.
3130
c548f821
GM
31312012-08-14 Glenn Morris <rgm@gnu.org>
3132
3133 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3134 Optimize away setq-default with no args, as for setq. (Bug#12195)
3135
55802e4a
CY
31362012-08-14 Chong Yidong <cyd@gnu.org>
3137
4abcdac8
CY
3138 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3139
55802e4a
CY
3140 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3141 (Bug#12085).
3142
3c3cda1a
GM
31432012-08-14 Glenn Morris <rgm@gnu.org>
3144
3145 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3146
e1873bd0
MA
31472012-08-14 Michael Albinus <michael.albinus@gmx.de>
3148
3149 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3150 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3151 Use cached shell name.
3152
925411b4
FEG
31532012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3154
3155 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3156 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3157
e636fafe
DG
31582012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3159
3160 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3161 (ruby-percent-literal-beg-re): New constant.
3162 (ruby-syntax-general-delimiters-goto-beg): Rename to
3163 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3164 (ruby-syntax-propertize-general-delimiters): Rename to
3165 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3166 popular term. Adjust comments everywhere.
3167 (ruby-syntax-propertize-percent-literal): Only propertize when not
3168 inside a simple string or comment. When the literal is unclosed,
3169 leave the text after it unpropertized.
f063063a
DG
3170 (ruby-syntax-methods-before-regexp): New constant.
3171 (ruby-syntax-propertize-function): Use it to recognize regexps.
3172 Don't look at the text after regexp, just use the whitelist.
e636fafe 3173
e5b19827
AS
31742012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3175
3176 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3177 non-nil always load the compiled file if it exists. (Bug#12197)
3178
a9f6f311
CY
31792012-08-14 Chong Yidong <cyd@gnu.org>
3180
3181 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3182 (hi-lock-set-pattern): When deciding whether to use font lock or
3183 overlays, look at font-lock-mode instead of font-lock-fontified
3184 (Bug#12168).
3185 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3186 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3187
7d806b1e
DU
31882012-08-14 Daiki Ueno <ueno@unixuser.org>
3189
3190 * subr.el (internal--after-with-selected-window): Fix typo
3191 (Bug#12193).
3192
5beed586
FEG
31932012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3194
3195 Use `completion-table-dynamic' for completion functions.
3196 * progmodes/python.el
3197 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3198 (python-shell-completion--get-completions):
3199 Remove functions.
5beed586
FEG
3200 (python-shell-completion-complete-at-point): New function.
3201 (python-completion-complete-at-point): Use it.
3202
92cb3b04
J
32032012-08-13 Jambunathan K <kjambunathan@gmail.com>
3204
3205 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3206 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3207
89660017
SM
32082012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3c98c962
SM
3210 * subr.el (function-get): Refine `autoload' arg so it can also
3211 autoload functions for gv.el (bug#12191).
3212 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3213 autoloads macros.
3214
aa7c6dbe
SM
3215 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3216 Prefer pcase-let over destructuring-bind.
3217 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3218 Also, remove whitespace as we go, rather than after accumulating the
3219 various places.
3220
89660017
SM
3221 * subr.el (internal--before-with-selected-window)
3222 (internal--after-with-selected-window): Fix typo seleted->selected.
3223 (with-selected-window): Adjust callers.
3224 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3225
31cd32c9
BG
32262012-08-13 Bastien Guerry <bzg@gnu.org>
3227
0fcd3d9f 3228 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3229 enhancement. (Bug#12172)
3230
1b15d8ad
AS
32312012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3232
31e54db0
AS
3233 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3234 type 1-6.
3235 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3236 extended headers.
3237
1b15d8ad
AS
3238 * files.el (hack-local-variables-filter): Remove useless eval.
3239
35cb9c06
MR
32402012-08-13 Martin Rudalics <rudalics@gmx.at>
3241
3242 * subr.el (with-selected-window): Fix last change.
3243
1439443b
SM
32442012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * subr.el (internal--before-with-seleted-window)
3247 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3248 (with-selected-window): Use them, to replace dependency on
3249 tty-top-frame.
1439443b 3250
0d9e2599
NN
32512012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3252
3253 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3254 binding for `newline'.
3255 (ruby-move-to-block): When moving backward, stop at block opening,
3256 not indentation.
3257 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3258 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3259 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3260 `ruby-toggle-block'.
3261
ba10c48c
SM
32622012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * ibuffer.el (ibuffer-do-toggle-read-only):
3265 * dired.el (dired-toggle-read-only):
3266 * buff-menu.el (Buffer-menu-toggle-read-only):
3267 * bindings.el (mode-line-toggle-read-only):
3268 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3269
9229c658
AS
32702012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3271
3272 * descr-text.el (describe-char): Put the overlays over the
3273 "displayed as" character.
3274
0fd09128
JB
32752012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3276
3277 * calc/calc-units.el (math-default-units-table): Give an
3278 initial value.
3279 (math-put-default-units): Add options to put composite units and
3280 unit systems in the default units table.
3281 (calc-convert-units): Send composite units to
3282 `math-put-default-units' when appropriate.
3283
9ff9402d 32842012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3285
fbb5e336
GM
3286 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3287
7aacaf15
GM
3288 * tutorial.el (help-with-tutorial):
3289 * emacs-lisp/copyright.el (copyright-update-directory):
3290 * emacs-lisp/autoload.el (autoload-find-generated-file)
3291 (autoload-find-file): Disable local eval: (for insurance).
3292
f40b9f10
GM
3293 * files.el (hack-local-variables-filter): If an eval: form is not
3294 known to be safe, and enable-local-variables is :safe, then ignore
3295 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3296 This is CVE-2012-3479.
f40b9f10 3297
daa9f1a6
SM
32982012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3301 (rx-form): Simplify.
3302
9cd80478
DG
33032012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3304
0d9e2599
NN
3305 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3306 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3307 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3308 (ruby-syntax-propertize-function): Adjust for changes in
3309 `ruby-syntax-propertize-heredoc'.
3310
33112012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3312
9cd80478
DG
3313 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3314 binding (use `M-;' instead).
9cd80478 3315 (ruby-singleton-class-p): New function.
0d9e2599 3316 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3317
d301b413
SM
33182012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3321
1530c98e
CY
33222012-08-10 Chong Yidong <cyd@gnu.org>
3323
3324 * progmodes/python.el (python-shell-get-process-name): Don't mess
3325 with same-window-buffer-names.
3326
3327 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3328 (eshell-remove-from-window-buffer-names): Make obsolete.
3329 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3330 (eshell): Just use pop-to-buffer-same-window instead.
3331
e1293765
CY
33322012-08-10 Chong Yidong <cyd@gnu.org>
3333
3334 * bindings.el: Bind M-= back to count-words-region.
3335
3336 * simple.el (count-words-region): Accept a prefix arg for acting
3337 on the entire buffer.
3338 (count-words--buffer-message): New helper function.
3339
e1894109
SM
33402012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3343 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3344 (event-start, event-end): Use posn-at-point to return a more
3345 informative posn.
3346 (posnp): New function.
3347 * mouse.el (popup-menu-normalize-position): Use it.
3348
c69f56a2
MY
33492012-08-10 Masatake YAMATO <yamato@redhat.com>
3350
3351 * mouse.el (popup-menu-normalize-position): New function.
3352 (popup-menu): Use `popup-menu-normalize-position' to normalize
3353 the form for POSITION argument.
3354
3355 * term/x-win.el (x-menu-bar-open):
3356 Use the value returend from (posn-at-point) as position
3357 passed to `popup-menu'.
3358
31673780
JB
33592012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3360
3361 * calc/calccomp.el (math-compose-expr): Add extra argument
3362 indicating that parentheses should be put around products in
3363 denominators. Give multiplication precedence over division during
3364 composition.
3365
dab7711b
CY
33662012-08-09 Chong Yidong <cyd@gnu.org>
3367
dee4ef93
CY
3368 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3369 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3370 (Man-untabify-command, manual-program): Convert to defcustom
3371 (Bug#10429).
3372
73e2bbc5
CY
3373 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3374
3e861c8a
CY
3375 * descr-text.el (describe-char): Don't insert extra newlines
3376 (Bug#10127).
3377
a9f5a649
CY
3378 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3379 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3380
dab7711b
CY
3381 * align.el (align-region): Delete temporary markers (Bug#10047).
3382 Plus some code cleanups.
3383
e0cc4efa
FEG
33842012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3385
3386 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3387 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3388 (python-shell-internal-last-output): Use make-local-variable
3389 instead of make-variable-buffer-local.
3390
489af14f
FEG
33912012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3392
3393 * progmodes/python.el: Enhancements to forward-sexp.
3394 (python-nav-forward-sexp): Rename from
3395 python-nav-forward-sexp-function.
c69f56a2
MY
3396 (python-nav--forward-sexp, python-nav--backward-sexp):
3397 New functions.
489af14f 3398
0fc50303
JB
33992012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3400
3401 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3402 modes and simplification modes.
3403
5d65606a
SM
34042012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * delsel.el (delete-selection-pre-hook): Don't propagate the
3407 file-supersession signals (bug#12161).
3408
4250fdf5
SM
34092012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3412 (cl-map-extents): Add compatibility aliases (bug#12135).
3413
d9f9b465
MA
34142012-08-08 Michael Albinus <michael.albinus@gmx.de>
3415
3416 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3417 tests by `ignore-error'.
3418 (tramp-find-shell): Open also a new shell, when cache is already
3419 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3420
ce0fcefa
JL
34212012-08-08 Juri Linkov <juri@jurta.org>
3422
3423 * bookmark.el: Add `defaults' property to the bookmark record.
3424 (bookmark-current-buffer): Doc fix.
3425 (bookmark-make-record): Add `defaults' property with default values
3426 to the bookmark record.
3427 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3428 with `bookmark-insert-current-bookmark'.
3429 (bookmark-set): Get `defaults' property from the bookmark record
3430 and use it in `read-from-minibuffer'.
3431 (bookmark-insert-current-bookmark): Remove function.
3432
3433 * info.el (Info-bookmark-make-record): Add `defaults' property
3434 with values of canonical Info node name, the current Info file
3435 name and the current Info node name. (Bug#12107)
3436
53fa8652
JL
34372012-08-08 Juri Linkov <juri@jurta.org>
3438
3439 * files.el (basic-save-buffer): Use `buffer-name' as the default
3440 of `read-file-name' when buffer is not visiting a file (bug#12128).
3441
242c0a95
JL
34422012-08-08 Juri Linkov <juri@jurta.org>
3443
3444 * info.el (Info-isearch-search): Doc fix.
3445 (Info-search): Change search-failed message from "initial node" to
3446 "end of node" (bug#12078).
3447 (Info-isearch-search): Change `isearch-string-state' to
3448 `isearch--state-string'.
3449
32ac3a6b
GM
34502012-08-08 Glenn Morris <rgm@gnu.org>
3451
3452 * language/persian.el: Remove file.
f8c1afd5 3453 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3454 * loadup.el: Remove language/persian.
3455
2c2d9c9c
OF
34562012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3457
3458 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3459
2d79ec42
FEG
34602012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3461
3462 * progmodes/python.el Fixed defsubst warning.
3463 (python-syntax-context) Rename from python-info-ppss-context.
3464 (python-syntax-context-type): Rename from
3465 python-info-ppss-context-type.
3466 (python-syntax-comment-or-string-p): Rename from
3467 python-info-ppss-comment-or-string-p.
3468
2bd255dd
JB
34692012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3470
3471 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3472
c395097f
AS
34732012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3474
6125983e
AS
3475 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3476 a defcustom that is quoted with backquote.
3477
4250fdf5
SM
3478 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3479 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3480 (math-do-arg-check, math-define-function-body): Use backquote forms.
3481 * calc/calc-ext.el (math-defcache): Likewise.
3482 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3483 * allout.el (allout-new-exposure): Likewise.
3484 * calc/calcalg2.el (math-tracing-integral): Likewise.
3485 * info.el (Info-last-menu-item): Likewise.
3486 * emulation/vip.el (vip-loop): Likewise.
3487 * textmodes/artist.el (artist-funcall): Likewise.
3488 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3489 Construct menu-item directly.
3490
4250fdf5
SM
3491 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3492 Don't declare.
c395097f 3493
5fb50dd3
CY
34942012-08-07 Chong Yidong <cyd@gnu.org>
3495
3496 * simple.el (deactivate-mark): Preserve text properties when
3497 saving the primary selection (Bug#8384).
3498
54eea618
KR
34992012-08-07 Kevin Ryde <user42@zip.com.au>
3500
3501 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3502 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3503 and continue processing (Bug#12110).
3504
638eaeb9
SM
35052012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3508 syntax-propertize-function (bug#10095).
3509
ea376861
SM
35102012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3511
f91b35be
SM
3512 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3513 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3514 describe-function-1.
3515 (describe-function-1): Use them. Move compiler macro after sig.
3516 (help-fns--compiler-macro): Use function-get. Assume we're already in
3517 standard-output. Adjust layout to new call order.
3518
ea376861
SM
3519 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3520 re-binding a symbol that has a symbol-macro (bug#12119).
3521
d5be7bd0
MB
35222012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3523
3524 * language/persian.el: New file. (Bug#11812)
3525 * loadup.el: Add language/persian.el.
3526
90749b53
CY
35272012-08-06 Chong Yidong <cyd@gnu.org>
3528
3529 * window.el (window--maybe-raise-frame): New function.
3530 (window--display-buffer): Split off from here.
3531 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3532 (display-buffer-pop-up-window, display-buffer-use-some-window):
3533 Obey an inhibit-switch-frame action alist entry.
3534 (display-buffer): Update doc.
3535
3536 * replace.el (occur-after-change-function): Avoid losing focus by
3537 using the inhibit-switch-frame display parameter (Bug#12139).
3538
ba7b0154
FEG
35392012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3540
3541 Make internal shell process buffer names start with space.
3542 * progmodes/python.el (python-shell-make-comint): Add optional
3543 argument INTERNAL.
3544 (run-python-internal): Use it.
3545 (python-shell-internal-get-or-create-process): Check for new
3546 internal buffer names.
3547
5eaeacb5
GM
35482012-08-06 Glenn Morris <rgm@gnu.org>
3549
e296d94b 3550 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3551 Do less getting and setting of environment variables.
3552
b7ccbdc2
CY
35532012-08-05 Chong Yidong <cyd@gnu.org>
3554
777fe95e
CY
3555 * proced.el (proced): Add substitution string to docstring to
3556 trigger autoloading of the proced library on C-h f (Bug#1768).
3557
4250fdf5
SM
3558 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3559 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3560
3561 * imenu.el (imenu-generic-expression): Move documentation here
3562 from imenu--generic-function.
3563 (imenu--generic-function): Refer to imenu-generic-expression.
3564
9e3b7800 35652012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
3566
3567 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3568 indentation declaration.
3569 (viper-loop): Add indentation declaration (Bug#7025).
3570
e5d9c0d1
CY
35712012-08-05 Chong Yidong <cyd@gnu.org>
3572
f0422feb
CY
3573 * help-fns.el (describe-variable): Add hyperlink for
3574 directory-local variables files. Improve buffer-local and
3575 permanent-local reporting; suggested by MON KEY (Bug#6644).
3576
3577 * help-mode.el (help-dir-local-var-def): New button type.
3578
e5d9c0d1
CY
3579 * files.el (kill-buffer-hook): Provide a defvar.
3580
a4f2deaa
GM
35812012-08-05 Glenn Morris <rgm@gnu.org>
3582
3583 * eshell/esh-ext.el (eshell/addpath):
3584 Also update eshell-path-env. (Bug#12013)
3585
a9dd5754
CY
35862012-08-05 Chong Yidong <cyd@gnu.org>
3587
a4f2deaa 3588 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3589
d014c740
CY
3590 * fringe.el (fringe-styles): Add docstring.
3591 (fringe--check-mode): New function.
3592 (set-fringe-mode, set-fringe-style): Use it.
3593 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3594
a9dd5754
CY
3595 * files.el (set-auto-mode): Fix invalid setq call.
3596
7c2dc8bd
SM
35972012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * isearch.el: Misc simplification; use defstruct.
3600 (isearch-mode-map): Dense maps now work like sparse ones.
3601 (isearch--state): New defstruct.
3602 (isearch-string-state, isearch-message-state, isearch-point-state)
3603 (isearch-success-state, isearch-forward-state)
3604 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3605 (isearch-wrapped-state, isearch-barrier-state)
3606 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3607 replaced by defstruct's accessors.
3608 (isearch--set-state): Rename from isearch-top-state and change
3609 calling convention.
3610 (isearch-push-state): Use new isearch--get-state.
3611 (isearch-toggle-word): Disable regexp when enabling word.
3612 (isearch-message-prefix): Remove unused arg _c-q-hack.
3613 (isearch-message-suffix): Remove unused arg _ellipsis.
3614
7fcc0070
AS
36152012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3616
3617 * simple.el (list-processes--refresh): For a server use :host or
3618 :local as the address.
97ad0769 3619 (list-processes): Doc fix.
7fcc0070 3620
a11035b8 36212012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3622
3623 * lisp/mpc.el: Support password in host argument.
3624 (mpc--proc-connect): Parse and use new password element.
3625 Set mpc-proc variable instead of returning process.
3626 (mpc-proc): Adjust accordingly.
3627
6dad7178
EZ
36282012-08-03 Eli Zaretskii <eliz@gnu.org>
3629
18949c2f
EZ
3630 * whitespace.el (whitespace-display-mappings): Use Unicode
3631 codepoints, instead of emacs-mule codepoints. See
3632 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3633 for the details.
3634
6dad7178
EZ
3635 * files.el (file-truename): Don't skip symlink-chasing part on
3636 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3637 Windows into the loop that recursively chases symlinks.
3638 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3639 MS-DOS.
3640
385b0198
CY
36412012-08-03 Chong Yidong <cyd@gnu.org>
3642
6200f3c4
CY
3643 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3644
385b0198
CY
3645 * sort.el (sort-regexp-fields): Doc fix.
3646
b9e74744
TH
36472012-08-03 Tassilo Horn <tsdh@gnu.org>
3648
3649 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3650 labels regex position point at the expected place.
3651
41013cb4
MK
36522012-08-03 MON KEY <monkey@sandpframing.com>
3653
3654 * net/imap.el (imap-interactive-login, imap-authenticate)
3655 (imap-mailbox-lsub, imap-mailbox-list)
3656 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3657 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3658 (imap-parse-response): Doc fix.
3659
0ffee616
JT
36602012-08-03 João Távora <joaotavora@gmail.com>
3661
3662 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3663 if sexp scanning does not move point (Bug#5734).
3664
cfcc9cc8
TH
36652012-08-02 Tassilo Horn <tsdh@gnu.org>
3666
3667 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3668 Add listings, minted, and ctable packages.
3669 (reftex-label-alist-builtin): Move listings, minted, and ctable
3670 entries before LaTeX.
a01bbb84 3671 (reftex-label-alist): Docfix.
cfcc9cc8 3672
66ec2442
BG
36732012-08-02 Bastien Guerry <bzg@gnu.org>
3674
3675 * replace.el (occur): Fix docstring (bug#12122).
3676
837b365b
GM
36772012-08-02 Glenn Morris <rgm@gnu.org>
3678
3679 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3680
e098de97
PE
36812012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3682
3683 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3684 * international/mule-cmds.el: Create
3685 inactivate-current-input-method-function as an obsolete alias for
3686 deactivate-current-input-method-function. See Katsumi Yamaoka in
3687 <http://bugs.gnu.org/10150#46>.
3688
a0f95636
JB
36892012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3690
3691 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3692 of nested `if's.
3693
0d26d7c4
GM
36942012-08-01 Glenn Morris <rgm@gnu.org>
3695
3696 * progmodes/autoconf.el (autoconf-definition-regexp):
3697 Add AH_TEMPLATE, adjust submatch numbering.
3698 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3699 (autoconf-current-defun-function): Update for above change.
3700 (autoconf-current-defun-function): First skip to end of current word.
3701
b686ba06
RS
37022012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3703
3704 * calendar/cal-html.el (cal-html-insert-agenda-days):
3705 Fix typo. (Bug#12018)
3706
0d49da68
FEG
37072012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3708
3709 Shell processes: enhancements to startup and CEDET compatibility.
3710 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3711 (python-shell-make-comint): accept-process-output at startup.
3712 (run-python-internal): Set inferior-python-mode-hook to nil.
3713 (python-shell-internal-get-or-create-process): call sit-for.
3714 (python-preoutput-result): Add obsolete alias.
3715 (python-shell-internal-send-string): Use it.
3716 (python-shell-send-setup-code): Remove call to
3717 accept-process-output.
3718
f1a71c6e
AS
37192012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3720
3721 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3722 (Bug#12108)
3723
d2605269
JB
37242012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3725
3726 * calc-mode.el (calc-basic-simplification-mode): Rename from
3727 `calc-limited-simplification-mode'.
3728 (calc-alg-simplification-mode): New function.
fc0c31f8 3729 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3730
d2605269
JB
3731 * calc.el (calc-set-mode-line): Adjust mode line display for
3732 basic simplification mode.
3733
3734 * calc-help.el (calc-m-prefix-help): Update help message.
3735
3736 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3737 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3738
a3827a43
BG
37392012-07-31 Bastien Guerry <bzg@gnu.org>
3740
3741 * man.el (man): Fix comment. (bug#12101)
3742
502e3f89
MR
37432012-07-31 Martin Rudalics <rudalics@gmx.at>
3744
3745 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3746 Don't return a non-nil value when no suitable buffer was found.
3747
d7714961
FEG
37482012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3749
3750 * progmodes/python.el (run-python-internal): Disable font lock for
3751 internal shells.
3752
1f45e27e
SM
37532012-07-30 Stefan Merten <smerten@oekonux.de>
3754
70efc5c9 3755 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3756 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3757 (rst-official-version, rst-official-cvs-rev)
3758 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3759 (rst-mode-map): New key binding.
3760
0aee6912
PE
37612012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3762
3763 Update .PHONY listings in makefiles.
3764 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3765 autoloads, update-subdirs, updates, bzr-update, update-authors,
3766 compile-onefile, compile-calc, backup-compiled-files,
3767 compile-after-backup, compile-one-process, mh-autoloads,
3768 bootstrap-clean, distclean, maintainer-clean.
3769
9052f9f0
JB
37702012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3771
1823ac5a
JB
3772 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3773 (calc-set-mode-line): Don't display "AlgSimp ".
3774
3775 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3776 (calc-lim-simplify-mode): New function.
3777 (calc-set-simplify-mode): Default to 'alg.
3778 (calc-default-simplify-mode): Make algebraic simplifications
3779 the default.
3780
3781 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3782 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3783
8d7c7eed 3784 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3785 indicate new simplification modes.
3786
1823ac5a
JB
3787 * calc/README: Mention new default simplification mode.
3788
9052f9f0
JB
3789 * calc/calc.el (math-normalize-error): New variable.
3790 (math-normalize): Set `math-normalize-error' to t
3791 when there's an error.
3792
3793 * calc/calc-alg.el (math-simplify): Don't simplify when
3794 `math-normalize' returns an error.
3795
20ba0cb4
EZ
37962012-07-29 Eli Zaretskii <eliz@gnu.org>
3797
3798 * international/mule-cmds.el (set-locale-environment): Revert last
3799 change, since display-graphic-p returns nil when this function is
3800 called during startup. Instead...
3801
3802 * term/w32console.el (terminal-init-w32console): ...setup the
3803 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3804
a5dcc929
JL
38052012-07-29 Juri Linkov <juri@jurta.org>
3806
3807 * simple.el (goto-line): Don't display default line number in the
3808 prompt because it should be displayed by `read-number' (bug#9952).
3809 Add the current line number to the defaults of `goto-line' to
3810 allow its easier modification by users with `M-n' (bug#9201).
3811
3812 * subr.el (read-number): Support multiple default values like in
3813 other minibuffer reading functions. Replace `read' with
3814 `string-to-number' for consistency with `number-to-string'.
3815
72b255c7
PE
38162012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3817
3818 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3819 * emulation/viper-init.el (viper-deactivate-input-method-action):
3820 Rename from viper-inactivate-input-method-action.
3821 (viper-deactivate-input-method):
3822 Rename from viper-inactivate-input-method.
3823 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3824 * international/mule-cmds.el (deactivate-input-method):
3825 Rename from inactivate-input-method.
3826 Also run input-method-deactivate-hook.
3827 (deactivate-current-input-method-function):
3828 Rename from inactivate-current-input-method-function.
3829 (input-method-deactivate-hook): New hook.
3830 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3831 (inactivate-input-method): Mark obsolete.
3832
72b255c7
PE
3833 * international/quail.el (quail-activate):
3834 Also run quail-deactivate-hook.
3835 (quail-deactivate): Rename from quail-inactivate.
3836 * international/robin.el (robin-activate):
3837 Also run robin-deactivate-hook.
3838 (robin-deactivate): Rename from robin-inactivate.
3839
2549c068
CY
38402012-07-29 Chong Yidong <cyd@gnu.org>
3841
3842 * simple.el (indicate-copied-region): New function.
3843 (kill-ring-save): Split off from here.
3844
3845 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3846 (kill-rectangle): Set deactivate-mark to t on read-only error.
3847
3848 * register.el (copy-to-register, copy-rectangle-to-register):
3849 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3850 (append-to-register, prepend-to-register): Call indicate-copied-region.
3851
38522012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3853
3854 * simple.el (async-shell-command-buffer): New defcustom.
3855 (shell-command): Use it. (Bug#4719)
3856
01bd1b0d
EZ
38572012-07-28 Eli Zaretskii <eliz@gnu.org>
3858
3859 * international/mule-cmds.el (set-locale-environment): In a
3860 console session on MS-Windows, set up keyboard and terminal
3861 encoding from the OEM codepage, not the ANSI codepage.
3862 (Bug#12055)
3863
a55739d3
CY
38642012-07-28 Chong Yidong <cyd@gnu.org>
3865
3866 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3867 gdb-get-location.
3868
0e1a094f 38692012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3870
3871 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3872 the alist (bug#12029).
3873
20329d73
EZ
38742012-07-28 Eli Zaretskii <eliz@gnu.org>
3875
3876 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3877 (compile-always, compile-first)
3878 ($(lisp)/calendar/cal-loaddefs.el)
3879 ($(lisp)/calendar/diary-loaddefs.el)
3880 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3881 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3882 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3883 instead of on update-subdirs.
3884 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3885
345a2258
CY
38862012-07-28 Chong Yidong <cyd@gnu.org>
3887
1eee6341
CY
3888 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3889 directory if vc-deduce-backend returns nil (Bug#7350).
3890
345a2258
CY
3891 * simple.el (delete-trailing-lines): New option.
3892 (delete-trailing-whitespace): Obey it (Bug#11879).
3893
049a0936
DE
38942012-07-28 David Engster <deng@randomsample.de>
3895
3896 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3897 Explanation of new 'symbol-qnames feature in doc-strings.
3898 (xml-maybe-do-ns): Return expanded names as plain symbols if
3899 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3900 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3901
aa81af71
FEG
39022012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3903
3904 Consistent completion in inferior python with emacs -nw.
3905 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3906 binding in inferior-python-mode-map with "\t".
3907 (python-shell-completion-complete-at-point)
3908 (python-completion-complete-at-point): Remove interactive spec.
3909
e827b1eb
JB
39102012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3911
3912 * calc/calccomp.el (math-compose-expr): Undo previous change.
3913
a90dfb95
FEG
39142012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3915
4250fdf5 3916 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3917 run-python.
3918 (python-shell-make-comint): Fix pop-to-buffer call.
3919 (run-python): Autoload. New arg SHOW.
3920 (python-shell-get-or-create-process): Do not pop python process
3921 buffer.
3922
32770973 39232012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3924
3925 * notifications.el (notifications-on-action-signal)
3926 (notifications-on-closed-signal): Use also the bus address for the map.
3927 (notifications-notify, notifications-close-notification)
fc0c31f8 3928 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3929
86332df2
TH
39302012-07-27 Tassilo Horn <tsdh@gnu.org>
3931
4250fdf5
SM
3932 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3933 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3934 ctable macro.
3935 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3936 labels written in keyvals syntax.
3937
ca1302a4
JB
39382012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3939
3940 * calc/calccomp.el (math-compose-expr): Use parentheses when
3941 there is a product in the denominator of a fraction.
3942
f8b91036
EZ
39432012-07-26 Eli Zaretskii <eliz@gnu.org>
3944
3945 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3946 ($(lisp)/calendar/diary-loaddefs.el)
3947 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3948 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3949 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3950 rewritten while the autoload files are built at the same time,
3951 which needs to load subdirs.el.
3952
c8e5a42c
MR
39532012-07-26 Martin Rudalics <rudalics@gmx.at>
3954
3955 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3956 (mouse-drag-line): Don't exit tracking when a switch-frame or
3957 switch-window event occurs (Bug#12006).
3958
670d85ea
SM
39592012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * mouse.el (popup-menu): Fix last change.
3962
7abaf5cc
SM
39632012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 Autoload from Lisp with more care. Follow aliases when looking for
3966 function properties.
3967 * subr.el (autoloadp): New function.
3968 (symbol-file): Use it.
3969 (function-get): New function.
3970 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3971 autoload-do-load.
3972 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3973 (lisp-indent-function):
3974 * emacs-lisp/gv.el (gv-get):
3975 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3976 * emacs-lisp/byte-opt.el (byte-optimize-form):
3977 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3978 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3979 Use function-get.
3980 * emacs-lisp/cl.el: Don't propagate function properties any more.
3981
3982 * speedbar.el (speedbar-add-localized-speedbar-support):
3983 * emacs-lisp/disass.el (disassemble-internal):
3984 * desktop.el (desktop-load-file):
3985 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3986 (describe-function-1):
3987 * emacs-lisp/find-func.el (find-function-noselect):
3988 * emacs-lisp/elp.el (elp-instrument-function):
3989 * emacs-lisp/advice.el (ad-has-proper-definition):
3990 * apropos.el (apropos-safe-documentation, apropos-macrop):
3991 * emacs-lisp/debug.el (debug-on-entry):
3992 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3993 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3994 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3995
b1364986
AA
39962012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3997
3998 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3999 function, not an obsolete variable (Bug#12046).
4000
67ada220
AS
40012012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4002
4003 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4004
f08088e3
CS
40052012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4006
4007 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4008 window only if it is still live (Bug#12034).
4009
8137e7b3
MR
40102012-07-25 Martin Rudalics <rudalics@gmx.at>
4011
4012 * subr.el (redirect-frame-focus): Add advertised calling
4013 convention (Bug#12030).
4014
09ae5da1
PE
40152012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4016
4017 Prefer typical American spelling for "acknowledgment".
4018 * vc/add-log.el (change-log-acknowledgment): Rename from
4019 change-log-acknowledgement, with an alias for the old name.
4020
3cc5a3a8
JB
40212012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4022
4023 * calc-alg.el (math-simplify-divide): Don't cross multiply
4024 in an equation when the lhs is a variable.
4025
b7af7f62
JD
40262012-07-24 Julien Danjou <julien@danjou.info>
4027
4028 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4029 Remove, unused.
4030
ec1b09b1
EZ
40312012-07-23 Eli Zaretskii <eliz@gnu.org>
4032
4033 * startup.el (command-line): Don't display an empty user name in
4034 the error message about non-existent home directory, when
4035 init-file-user was set to an empty string. See
4036 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4037 for the details and context.
4038
b525fd8a
VB
40392012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4040
4041 * ses.el (ses-cell-formula-aset): New macro.
4042 (ses-cell-references-aset): New macro.
4043 (ses-cell-p): New function.
4044 (ses-rename-cell): Do no longer rely on complex operations like
4045 ses-cell-set-formula or ses-set-cell to change the cell and handle
4046 the undo at the same time, but rather use lower level new macros
4047 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4048 the undo directly. Refresh the mode line.
b525fd8a 4049
2c73e345
LL
40502012-07-21 Leo Liu <sdl.web@gmail.com>
4051
670d85ea
SM
4052 * progmodes/cc-cmds.el (c-defun-name):
4053 Use match-string-no-properties instead for consistency.
2c73e345 4054
542dfbde
LL
40552012-07-20 Leo Liu <sdl.web@gmail.com>
4056
3646bcd6
LL
4057 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4058 (Bug#7879)
4059
542dfbde
LL
4060 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4061
25721031
CY
40622012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4065 * progmodes/bug-reference.el, misearch.el: Provide themselves
4066 (bug#11915).
4067
4068 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4069 of narrowed buffer (bug#11966).
4070
316e68a7
VB
40712012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4072
4073 * ses.el (ses-rename-cell): Set new name also in reference list of
4074 cells of which the renamed cell depends.
4075
bbf0e7d9
MY
40762012-07-20 Masatake YAMATO <yamato@redhat.com>
4077
4078 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4079 to check whether menu-bar is shown or not. If not shown,
4080 show the menu-bar as a popup menu instead of using tmm.
4081 * mouse.el (popup-menu): Accept `point' as `position' argument.
4082
c28662a8
DG
40832012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4084
4085 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4086 up inside string symbol literal (bug#11923).
4087
87ab808f
EZ
40882012-07-20 Eli Zaretskii <eliz@gnu.org>
4089
4090 * startup.el (fancy-startup-text): Read the whole tutorial, not
4091 just its first 256 bytes. Prevents gibberish in display of the
4092 tutorial title.
4093
89dea803
DA
40942012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4095
4096 Drop idle buffer compaction due to an absence of the
4097 proved efficiency.
4098 * compact.el: Remove.
4099
8a4e6db8
SS
41002012-07-19 Sam Steingold <sds@gnu.org>
4101
4102 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4103 vc-bzr-pull & vc-bzr-merge-branch.
4104 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4105 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4106 for consistency with compilation-error-regexp-alist.
4107 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4108 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4109 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4110 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4111
5db81e33
SM
41122012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * emacs-lisp/chart.el: Use lexical-binding.
4115 (chart-emacs-storage): Don't hardcode the list of entries.
4116
5b835e1d
DA
41172012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4118
4119 Next round of tweaks caused by Fgarbage_collect changes.
4120 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4121
9cd47b72
DA
41222012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4123
4124 Compact buffers when idle.
4125 * compact.el: New file.
4126
1d6fc0df
SM
41272012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 * subr.el (eventp): Presume that if it looks vaguely like an event,
4130 it's an event (bug#10190).
4131
1d29cc7d
FEG
41322012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4133
4134 Enhancements to ppss related code (thanks Stefan).
4135 * progmodes/python.el (python-indent-context)
4136 (python-indent-calculate-indentation, python-indent-dedent-line)
4137 (python-indent-electric-colon, python-nav-forward-block)
4138 (python-mode-abbrev-table)
1d6fc0df 4139 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4140 for ppss context.
4141 (python-info-continuation-line-p): Cleanup.
4142 (python-info-ppss-context): Do not catch 'quote.
4143 (python-info-ppss-context-type)
4144 (python-info-ppss-comment-or-string-p): Simplify.
4145
d583cbe6
FEG
41462012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4147
4148 * progmodes/python.el: Enhancements to eldoc support.
4149 (python-info-current-symbol): New function.
4150 (python-eldoc-at-point): Use python-info-current-symbol.
4151 (python-info-current-defun): Fix cornercase on first defun scan.
4152 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4153 and signal error when no inferior python process is available.
4154
eceb6feb
DG
41552012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4156
4157 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4158 assume it's always t.
4159 (vc-git-registered): Remove caching, the function is only called
4160 once.
4161 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4162
4c8ff0fe
CY
41632012-07-18 Chong Yidong <cyd@gnu.org>
4164
19fb7186
CY
4165 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4166
9587c688
CY
4167 * simple.el (count-words): Report on narrowing (Bug#9959).
4168
0fe776a1
CY
4169 * bindings.el: Bind M-= to count-words.
4170
4c8ff0fe
CY
4171 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4172
7f5331cc
MY
41732012-07-18 Masatake YAMATO <yamato@redhat.com>
4174
4175 * progmodes/sh-script.el (sh-imenu-generic-expression):
4176 Capture a function with `function' keyword and without parentheses
4177 like "function FOO" (bug#11856).
4178
2dc2a609
TH
41792012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4180
4181 * window.el (split-window-sensibly): Make WINDOW argument
4182 optional.
4183
439f7677
CY
41842012-07-18 Chong Yidong <cyd@gnu.org>
4185
9aeb25a6
CY
4186 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4187
439f7677
CY
4188 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4189 and make C-x 8 RET exit isearch (Bug#11439).
4190
4191 * international/iso-transl.el: Move isearch-mode-map key
4192 definitions to isearch.el.
4193
12999ea8
SM
41942012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4197 (eieio-defclass): Use gv-define-setter when possible.
4198
3ab6e069
DA
41992012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4200
4201 Reflect recent changes in Fgarbage_collect.
4202 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4203 reflect new format of data returned by Fgarbage_collect.
4204
0a60bc10
FEG
42052012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4206
4207 New utility functions + python-info-ppss-context fix (Bug#11910).
4208 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4209 (python-info-ppss-comment-or-string-p): New functions.
4210 (python-info-ppss-context): Small fix for string check.
4211
6dafa0d5
JL
42122012-07-17 Juri Linkov <juri@jurta.org>
4213
4214 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4215 (dired-do-async-shell-command): Don't add `*' at the end of the
4216 command (Bug#11815).
4217 (dired-do-shell-command): Doc fix.
4218 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4219 Join the individual commands using either "&" or ";" as the
4220 separator depending on the values of these trailing characters.
4221 At the end re-add the trailing "&". (Bug#10598)
4222
4223 * simple.el (async-shell-command): Sync the interactive spec with
4224 `shell-command'. Doc fix.
4225 (shell-command): Doc fix.
4226
b19dd9d1
JL
42272012-07-17 Juri Linkov <juri@jurta.org>
4228
4229 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4230
bcdc27d7 42312012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4232
bcdc27d7 4233 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4234 * progmodes/python.el (python-nav-beginning-of-statement):
4235 Rename from python-nav-statement-start.
bcdc27d7
FEG
4236 (python-nav-end-of-statement): Rename from
4237 python-nav-statement-end.
4238 (python-nav-beginning-of-block): Rename from
4239 python-nav-block-start.
4240 (python-nav-end-of-block): Rename from python-nav-block-end.
4241
191da00e
FEG
42422012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4243
7f5331cc
MY
4244 * progmodes/python.el (python-shell-send-string-no-output):
4245 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4246 future interactions (Bug#11868).
4247
4dc7c8d5 42482012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4249
88ecaf8f
SM
4250 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4251
ef501ef0
SM
4252 * emacs-lisp/elint.el (elint-find-args-in-code):
4253 Use help-function-arglist, so as to handle lexical byte-code.
4254
aa7aaf8f
SM
4255 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4256 change (bug#11826).
4257
45fd731c
SM
42582012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4259
2143fa32
SM
4260 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4261 Avoid spuriously marking the buffer as modified because of c-is-sws.
4262
efc26dbe
SM
4263 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4264 as not-a-comment (bug#11946).
4265
f5695c9a
SM
4266 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4267 for uninterned vars.
4268
4269 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4270 Use read-event since we don't really want to read chars but bytes.
4271
45fd731c
SM
4272 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4273 $$..$$ but also $..$ using regexps (bug#11953).
4274 Use tex-verbatim for \url and \path.
4275 (tex-font-lock-keywords): Define as defconst like the others.
4276 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4277
ddfc8813
RK
42782012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4279
4280 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4281 alias for insert-char.
4282
758e556a
FEG
42832012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4284
4285 * progmodes/python.el: Simplified imenu implementation.
4286 (python-nav-jump-to-defun): Remove command.
4287 (python-mode-map): Use `imenu' instead.
4288 (python-nav-list-defun-positions-cache)
4289 (python-imenu-include-defun-type, python-imenu-make-tree)
4290 (python-imenu-subtree-root-label, python-imenu-index-alist):
4291 Remove vars.
4292 (python-nav-list-defun-positions, python-nav-read-defun)
4293 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4294 (python-imenu-make-tree, python-imenu-create-index):
4295 Remove functions.
758e556a
FEG
4296 (python-mode): Update to interact with imenu by setting
4297 `imenu-extract-index-name-function' only.
4298
032d23ab
FEG
42992012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4300
4301 * progmodes/python.el: Enhancements to navigation commands.
4302 (python-nav-backward-sentence)
4303 (python-nav-forward-sentence): Remove.
4304 (python-nav-backward-statement, python-nav-forward-statement)
4305 (python-nav-statement-start, python-nav-statement-end)
4306 (python-nav-backward-block, python-nav-forward-block)
4307 (python-nav-block-start, python-nav-block-end)
4308 (python-nav-forward-sexp-function)
4309 (python-info-current-line-comment-p)
4310 (python-info-current-line-empty-p): New functions.
4311 (python-indent-context): Use `python-nav-statement-start'.
4312
01795a1b
MA
43132012-07-16 Michael Albinus <michael.albinus@gmx.de>
4314
9328d9aa
MA
4315 * eshell/em-ls.el (eshell/ls): Use `apply'.
4316
4317 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4318 multi-hops, instead of Tramp internals.
4319
01795a1b
MA
4320 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4321
4322 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4323 when F1 and F2 are located on different hosts.
4324
63408057
CY
43252012-07-14 Chong Yidong <cyd@gnu.org>
4326
4327 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4328 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4329 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4330 (xterm-mouse--read-event-sequence-1000)
4331 (xterm-mouse--read-event-sequence-1006): New functions. For old
4332 mouse protocol, handle M-mouse-X events correctly.
4333 (xterm-mouse-event): New arg specifying mouse protocol.
4334 (turn-on-xterm-mouse-tracking-on-terminal)
4335 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4336 sequence to toggle extended coordinates on newer XTerms.
4337 This appears to be harmless on terminals which do not support this.
63408057 4338
cd276f6e
LL
43392012-07-14 Leo Liu <sdl.web@gmail.com>
4340
28ca98ac
LL
4341 Add fringe bitmap indicators for flymake. (Bug#11253)
4342 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4343 (flymake-make-overlay): New arg BITMAP.
4344 (flymake-error-bitmap, flymake-warning-bitmap)
4345 (flymake-fringe-indicator-position): New user variables.
4346
cd276f6e
LL
4347 * fringe.el: New bitmap exclamation-mark.
4348
04408072
JD
43492012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4350
4351 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4352 also (Bug#7879).
4353
b5cf7fc4
CY
43542012-07-14 Chong Yidong <cyd@gnu.org>
4355
4356 * electric.el (electric-pair-post-self-insert-function): Fix pair
4357 insertion in empty-region case (Bug#11520).
4358
be755c79
RT
43592012-07-14 Chong Yidong <cyd@gnu.org>
4360
45fd731c
SM
4361 * bindings.el: Consolidate ctl-x-r-map bindings.
4362 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4363
4364 * rect.el, register.el: Move bindings to bindings.el.
4365
43662012-07-14 Reuben Thomas <rrt@sc3d.org>
4367
4368 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4369
7f5b3198
AS
43702012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4371
4372 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4373
97662200
JB
43742012-07-13 Juanma Barranquero <lekktu@gmail.com>
4375
80185fed
JB
4376 * bindings.el (top): Use `mapc' instead of `mapcar'.
4377
97662200
JB
4378 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4379
2bb1ae55
MA
43802012-07-13 Michael Albinus <michael.albinus@gmx.de>
4381
4382 * progmodes/sql.el (sql-comint): Suppress the check for program on
4383 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4384 (Bug#11908)
4385
dea31bd3
CY
43862012-07-13 Chong Yidong <cyd@gnu.org>
4387
4388 * bindings.el: Assign a non-nil permanent-local property to
4389 per-buffer variables which lack a default value (Bug#11930).
4390
4391 * help-fns.el (describe-variable): In the "automatically becomes
4392 local" notice, take note of permanent-local variables.
4393
b68b3337
CY
43942012-07-13 Chong Yidong <cyd@gnu.org>
4395
4396 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4397 to allow printing the message when called from Lisp.
4398
4399 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4400 Remove toggle-read-only.
4401
4402 * bs.el (bs-toggle-readonly):
45fd731c
SM
4403 * buff-menu.el (Buffer-menu-toggle-read-only):
4404 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4405
4406 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4407 Remove with-no-warnings around toggle-read-only.
4408 (ffap-read-only, ffap-read-only-other-window)
4409 (ffap-read-only-other-frame): Callers changed.
4410
4411 * help-mode.el: Don't require view package.
4412 (help-mode-finish): Set buffer-read-only instead of calling
4413 toggle-read-only.
4414
4415 * bindings.el (mode-line-toggle-read-only):
4416 * dired.el (dired-toggle-read-only):
4417 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4418 with non-nil second arg.
4419
4420 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4421 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4422 directly.
4423
56bc1586
EZ
44242012-07-12 Eli Zaretskii <eliz@gnu.org>
4425
4426 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4427 not incf.
4428
a464a6c7
SM
44292012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 More CL cleanups and reduction of use of cl.el.
4432 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4433 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4434 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4435 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4436 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4437 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4438 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4439 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4440 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4441 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4442 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4443 * eshell/em-cmpl.el, eshell/em-banner.el:
4444 * calendar/parse-time.el: Use cl-lib.
4445 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4446 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4447 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4448 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4449 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4450 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4451 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4452 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4453 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4454 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4455 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4456 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4457 `lambda' rather than with `quote'.
4458 (eshell-do-opt): Adjust accordingly.
4459 (eshell-process-option): Simplify.
4460 * eshell/esh-var.el:
4461 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4462 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4463 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4464 to `pcase--dontcare'.
4465 * emacs-lisp/cl.el (labels): Mark obsolete.
4466 (cl--letf, letf): Move to cl-lib.
4467 (cl--letf*, letf*): Remove.
4468 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4469 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4470 (cl-progv): Rewrite.
4471 (cl--letf, cl-letf): Move from cl.el.
4472 (cl-letf*): New macro.
4473 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4474
7ad4afe1
MA
44752012-07-11 Michael Albinus <michael.albinus@gmx.de>
4476
4477 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4478
9af57756
CY
44792012-07-11 Chong Yidong <cyd@gnu.org>
4480
4481 * vc/log-edit.el (log-edit-vc-backend): New variable.
4482 (log-edit): Doc fix.
4483
4484 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4485 argument of log-edit to set up all local variables.
4486 (vc-start-logentry): New optional arg specifying VC backend.
4487
4488 * vc/vc.el (vc-checkin): Use it.
4489 (vc-deduce-fileset): Handle Log Edit buffers.
4490 (vc-diff): Make first argument optional too.
4491
4492 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4493
8477cc7a
MA
44942012-07-10 Michael Albinus <michael.albinus@gmx.de>
4495
4496 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4497 command, just in case. The function is not needed anymore.
4498 (eshell-external-command): Do not call `eshell-remote-command'.
4499
19faa8e8
SM
45002012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4501
f58e0fd5
SM
4502 Reduce use of (require 'cl).
4503 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4504 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4505 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4506 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4507 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4508 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4509 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4510 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4511 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4512 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4513 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4514 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4515 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4516 (byte-compile-unfold-bcf, byte-compile-check-variable):
4517 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4518 (byte-compile-nilconstp):
4519 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4520 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4521
2519d43a
SM
4522 * emacs-lisp/gv.el (cond): Make it a valid place.
4523 (if): Simplify slightly.
4524
19faa8e8
SM
4525 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4526 (pcase--self-quoting-p): New function.
4527 (pcase--u1): Use it.
4528
c4907a5e
GM
45292012-07-10 Glenn Morris <rgm@gnu.org>
4530
4531 * emacs-lisp/authors.el (authors-fixed-entries):
4532 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4533
c4444d16
PE
45342012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4535
4536 Rename configure.in to configure.ac (Bug#11603).
4537 * emacs-lisp/authors.el (authors-canonical-file-name):
4538 * progmodes/autoconf.el (autoconf-mode):
4539 Prefer configure.ac to configure.in.
4540
d75be97d
CY
45412012-07-08 Chong Yidong <cyd@gnu.org>
4542
01ac65bd
CY
4543 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4544 Implement the mouse-1-click-follows-link handling properly.
4545
4546 * info.el (Info-link-keymap): Use follow-link mechanism for
4547 header-line links (Bug#374).
4548
d75be97d
CY
4549 * simple.el (deactivate-mark): Do not set the primary selection
4550 if another program has acquired it (Bug#11772).
4551
87a92845 45522012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4553
4554 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4555 (woman-decode-region): Replace escaped-escapes without destroying
4556 bold or underline (Bug#11552).
87a92845 4557 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4558
621b9d6c
CY
45592012-07-07 Chong Yidong <cyd@gnu.org>
4560
4561 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4562 (interprogram-cut-function, interprogram-paste-function):
4563 Mention that we typically mean the clipboard.
621b9d6c 4564
133a11fc
GM
45652012-07-06 Glenn Morris <rgm@gnu.org>
4566
0d27a45e
GM
4567 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4568
133a11fc
GM
4569 * files.el (toggle-read-only): Restrict message to interactive use.
4570
07b151f1
MA
45712012-07-06 Michael Albinus <michael.albinus@gmx.de>
4572
4573 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4574
4575 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4576
211b896b
GM
45772012-07-06 Glenn Morris <rgm@gnu.org>
4578
50394322
GM
4579 * Makefile.in (compile-one-process): Rename from "recompile".
4580
211b896b
GM
4581 * Makefile.in (bzr-update): "compile" is the same as "recompile
4582 autoloads", but parallelizable, so use that instead.
4583
4737eec9
DG
45842012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4585
4586 * window.el (quit-window): Always restore window height when
8137e7b3 4587 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4588
226c3633 45892012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4590
4591 * simple.el (kill-whole-line): Doc tweak.
4592
226c3633 45932012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4594
4595 * files.el (file-relative-name): Compare file names
4596 case-insensitively if on MS-Windows or MS-DOS, or if
4597 read-file-name-completion-ignore-case is non-nil. Don't use
4598 case-fold-search for this purpose. (Bug#11827)
4599
4dc7c8d5
SM
46002012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4601
4602 * calendar/cal-dst.el (calendar-current-time-zone):
4603 Return calendar-current-time-zone-cache if non-nil.
4604
46052012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 46062012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4607
19faa8e8
SM
4608 * calendar/cal-dst.el (calendar-current-time-zone):
4609 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4610
60198fc9
GM
46112012-07-06 Glenn Morris <rgm@gnu.org>
4612
4613 * Makefile.in (cvs-update): Remove old alias.
4614
957b3189
MA
46152012-07-05 Michael Albinus <michael.albinus@gmx.de>
4616
4617 Sync with Tramp 2.2.6-pre.
4618
4619 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4620 compatible declaration.
4621
19faa8e8
SM
4622 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4623 Protect `list-load-path-shadows' call.
957b3189
MA
4624
4625 * net/tramp-compat.el (top): Require packages, which aren't
4626 autoloaded anymore for XEmacs. Protect call of
4627 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4628 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4629 it hurts at least for SXEmacs.
4630 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4631 standard-value for `temporary-file-directory'.
4632
4633 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4634 Redirect stderr to /dev/null.
4635 (tramp-sh-handle-write-region): uid and gid can be floats.
4636 Reported by Russell Sim <russell.sim@gmail.com>.
4637 (tramp-sh-handle-vc-registered): Hide errors.
4638 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4639 and `start-file-process'.
4640 (tramp-maybe-open-connection): Check also whether `non-essential'
4641 is bound.
4642
566df3fc
CY
46432012-07-04 Chong Yidong <cyd@gnu.org>
4644
4645 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4646 (xml-parse-tag): Likewise, and avoid changing entity tables.
4647 (xml-syntax-table): Define from scratch, making sure not to give
4648 x2000 and other Unicode spaces whitespace syntax, since those are
4649 not spaces in XML.
4650 (xml-parse-fragment): Delete unused function.
4651 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4652 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4653 (xml-entity-ref, xml-pe-reference-re)
4654 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4655 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4656 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4657 (xml-entity-value-re): Use syntax references in regexps where
4658 possible; no need to define inside a let-binding.
4659 (xml-parse-dtd): Use xml-pe-reference-re.
4660 (xml-entity-or-char-ref-re): New defconst.
4661 (xml-parse-string, xml-substitute-special): Use it.
4662
30eabd7a
SM
46632012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4664
0781098a
SM
4665 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4666 (find-file--read-only): New function.
4667 (find-file-read-only, find-file-read-only-other-window)
4668 (find-file-read-only-other-frame): Use it.
4669 (insert-file-contents-literally): Don't `fset'.
4670 (get-free-disk-space): Use locate-dominating-file.
4671
b5771c0d
SM
4672 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4673 function is already compiled.
4674
30eabd7a
SM
4675 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4676
b4886f6e
MA
46772012-07-03 Michael Albinus <michael.albinus@gmx.de>
4678
4679 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4680 files on the same host.
4681
b9d82339
AS
46822012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4683
4684 * help-fns.el (describe-function-1): Only call
4685 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4686
a76e6535
CY
46872012-07-03 Chong Yidong <cyd@gnu.org>
4688
4689 * xml.el: Protect parser against XML bombs.
4690 (xml-entity-expansion-limit): New variable.
4691 (xml-parse-string, xml-substitute-special): Use it.
4692 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4693
b544fef2
GM
46942012-07-03 Glenn Morris <rgm@gnu.org>
4695
4696 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4697 Allow linking to specific messages in debbugs reports (eg 123#5).
4698
a7aef6f5
CY
46992012-07-02 Chong Yidong <cyd@gnu.org>
4700
4701 * xml.el: Fix entity and character reference expansion, allowing
4702 them to expand into markup as per XML spec.
4703 (xml-default-ns): New variable.
4704 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4705 (xml-parse-region): Make first two arguments optional.
4706 Discard text properties.
4707 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4708 All callers changed.
a7aef6f5
CY
4709 (xml-parse-tag): Call xml-parse-tag-1. For backward
4710 compatibility, this function should not modify buffer contents.
4711 (xml-parse-tag-1): Fix opening-tag regexp.
4712 (xml-parse-string): Rewrite, handling entity and character
4713 references properly.
4714 (xml--entity-replacement-text): Signal an error if a parameter
4715 entity is undefined.
4716
3df31c9f
SM
47172012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4718
2b5208f1
SM
4719 * comint.el (comint-output-filter): Filter out repeated prompts.
4720
3df31c9f
SM
4721 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4722 and file-name-absolute-p.
4723 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4724 internal calls.
4725
e3ac1281
PE
47262012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4727
4728 Spelling fixes.
4729 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4730 Rename from byte-compile--refiy-function. All uses changed.
4731
fbf2e7ad
CY
47322012-07-01 Chong Yidong <cyd@gnu.org>
4733
4734 * xml.el (xml--parse-buffer): New function. Move most of
4735 xml-parse-region here.
4736 (xml-parse-region): Copy region into a temporary buffer, since
4737 parameter entity substitution requires changing buffer contents.
4738 Use xml--parse-buffer.
4739 (xml-parse-file): Use xml--parse-buffer.
4740 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4741 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4742
9bf0aa15
GM
47432012-06-30 Glenn Morris <rgm@gnu.org>
4744
bbce2853
GM
4745 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4746
9bf0aa15
GM
4747 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4748 Remove outdated and unnecessary dbus declarations.
4749
0d23c240
EZ
47502012-06-30 Eli Zaretskii <eliz@gnu.org>
4751
4752 * emacs-lisp/timer.el (timer-until): Subtract results of
4753 float-time, instead of taking float-time of the result of
4754 time-subtract, since float-time signals an error for negative time
4755 arguments.
4756
b3218de1
CY
47572012-06-30 Chong Yidong <cyd@gnu.org>
4758
4759 * xml.el (xml-*-re): Convert defvars into defconsts, and
4760 eval-and-compile them so eval-and-compile works on derivatives.
4761 (xml--entity-replacement-text): Use eval-and-comple.
4762
a40c87a0
MA
47632012-06-30 Michael Albinus <michael.albinus@gmx.de>
4764
4765 * vc/vc-git.el (vc-git-registered): Use cache property
4766 `git-registered'.
4767 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4768 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4769 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4770
ac87de97
DG
47712012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4772
4773 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4774 removed (likely outside Emacs). (Bug#11757)
ac87de97 4775
ac10fe06
SM
47762012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4777
3df31c9f 4778 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4779
7f3fbd5d
CY
47802012-06-30 Chong Yidong <cyd@gnu.org>
4781
4782 * xml.el: Implement XML parameter entities.
4783 (xml-parameter-entity-alist): New variable.
4784 (xml-parse-region, xml-parse-fragment): Preserve previous values
4785 of xml-entity-alist and xml-parameter-entity-alist, so that
4786 repeated calls on different documents do not change them.
4787 (xml-parse-tag): Fix doctype regexp.
4788 (xml--entity-replacement-text): New function.
4789 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4790 properly requires url retrieval which is unimplemented.
4791 (xml-escape-string): Doc fix.
4792
3cfbebba
SM
47932012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4796
2af3565e
DA
47972012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4798
4799 * fringe.el (fringe-mode): Doc fix.
4800
929df0e7
MA
48012012-06-29 Michael Albinus <michael.albinus@gmx.de>
4802
4803 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4804 is non-nil.
4805 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4806 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4807
c8d3a25c 48082012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4809
c8d3a25c
GM
4810 * calendar/cal-dst.el (calendar-current-time-zone):
4811 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4812
c8d3a25c 48132012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4814
4815 * progmodes/which-func.el (which-func-format):
4816 Add mouse-face. (Bug#11698)
4817
c8d3a25c
GM
48182012-06-29 Leo Liu <sdl.web@gmail.com>
4819
4820 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4821
48222012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * minibuffer.el (minibuffer-confirm-exit-commands):
4825 Add completion-at-point (bug#11725).
4826
48272012-06-29 Glenn Morris <rgm@gnu.org>
4828
4829 * progmodes/f90.el (f90-font-lock-keywords-2):
4830 Add some preprocessor elements. (Bug#10499)
4831
48322012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4835 Use syntax-propertize (bug#11739).
4836
2badeec4
JB
48372012-06-28 Juanma Barranquero <lekktu@gmail.com>
4838
4839 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4840
ae4969c2
JD
48412012-06-28 Julien Danjou <julien@danjou.info>
4842
4843 * term.el (term-handle-colors-array): Use a set of new faces to
4844 color the terminal. Also uses :inverse-video property.
4845 (term-default-fg-color): Set to nil by default, deprecate in favor
4846 of `term-face'.
4847 (term-default-bg-color): Set to nil by default, deprecate in favor
4848 of `term-face'.
4849 (term-current-face): Use `term-face' by default.
4850 (term-bold-attribute): Variable deleted.
4851
1c9bd870
GM
48522012-06-28 Glenn Morris <rgm@gnu.org>
4853
4854 * simple.el (completion-list-mode-finish):
4855 Don't use toggle-read-only. (Since completion-list-mode has
4856 a special mode-class, it wasn't doing anything extra anyway.)
4857
c207708c
SM
48582012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 Make inlining of other-mode interpreted functions work (bug#11799).
4861 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4862 (byte-compile): Use it to fix compilation of lexical-binding closures.
4863 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4864 function, if needed.
4865
3fd56834
SM
48662012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4867
04901786
SM
4868 * help-mode.el (help-make-xrefs): Don't just withstand
4869 cyclic-variable-indirection but any error in documentation-property.
4870
1ec4b7b2
SM
4871 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4872 memory use.
4873 * bindings.el (bindings--define-key): New function.
4874 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4875 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4876 * bindings.el: Use it to purecopy define-key bindings.
4877
e309e2a5
SM
4878 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4879
d5c6faf9
SM
4880 * emacs-lisp/cl.el (flet): Mark obsolete.
4881 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4882 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4883 * progmodes/js.el (js-c-fill-paragraph):
4884 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4885 (ebrowse-switch-member-buffer-to-derived-class):
4886 * play/5x5.el (5x5-solver): Use cl-flet.
4887
6e9590e2
SM
4888 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4889 (cl--symbol-function): New macro.
4890 (cl--letf, cl--letf*): Use it.
4891
3fd56834
SM
4892 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4893 Strip "toggle-" if any.
4894
35ff222c
GM
48952012-06-27 Glenn Morris <rgm@gnu.org>
4896
1ba6038a
GM
4897 * info.el (Info-default-directory-list): Move here from paths.el.
4898 * paths.el: Remove file, which is now empty.
4899 * loadup.el: No longer load "paths".
4900
0ea0e51b
GM
4901 * custom.el (custom-initialize-delay): Doc fix.
4902
35ff222c
GM
4903 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4904 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4905 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4906 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4907 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4908 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4909 * eshell/eshell.el (eshell-defgroup): Remove alias.
4910
c89926a5
CY
49112012-06-27 Chong Yidong <cyd@gnu.org>
4912
4913 * help.el (help-enable-auto-load): New variable.
4914
4915 * help-fns.el (help-fns--autoloaded-p): New function.
4916 (describe-function-1): Refer to a function as "autoloaded" if it
4917 was autoloaded at any time in the past. Perform autoloading if
4918 help-enable-auto-load is non-nil.
4919
cc06e7e7
EZ
49202012-06-26 Eli Zaretskii <eliz@gnu.org>
4921
4922 * makefile.w32-in (compile, compile-always): Depend on
4923 update-subdirs, not on subdirs.el. Otherwise, several different
4924 sub-targets of 'bootstrap' running in parallel could
4925 simultaneously write to subdirs.el, producing a garbled file.
4926
d2c32364
SS
49272012-06-26 Sam Steingold <sds@gnu.org>
4928
4929 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4930 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4931 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4932 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4933 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4934 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4935 * textmodes/tex-mode.el: Use it.
4936 Did not touch cedet and org because they are maintained elsewhere.
4937
5cf983b2
MR
49382012-06-26 Martin Rudalics <rudalics@gmx.at>
4939
4940 * calendar/calendar.el (calendar-exit): Don't try to delete or
4941 iconify last frame. See:
4942 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4943
8c4f2952
JD
49442012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4945
4946 * server.el (server-process-filter): Remember dir in the
4947 process's `server-client-directory' properties.
4948
772b2e2c
CY
49492012-06-24 Chong Yidong <cyd@gnu.org>
4950
4951 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4952 non-tag text.
4953
711b11e1
JB
49542012-06-23 Juanma Barranquero <lekktu@gmail.com>
4955
4956 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4957
dc5d230c
SM
49582012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * help-fns.el (describe-variable): Don't croak when doc is not found.
4961 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4962 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4963 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4964 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4965 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4966 ((lambda ..) ..).
4967 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4968
136e1c1d
CY
49692012-06-23 Chong Yidong <cyd@gnu.org>
4970
e8c1cabf
CY
4971 * info.el (Info-mouse-follow-link): Accept symbol values of
4972 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4973 (Info-fontify-node): Use Info-link-keymap for all navigation
4974 buttons, with link-args property to perform the desired action.
4975 (Info-link-keymap): Doc fix.
4976 (Info-next-link-keymap, Info-prev-link-keymap)
4977 (Info-up-link-keymap): Delete now-unused keymaps.
4978
0e9e6c6a
CY
49792012-06-23 Chong Yidong <cyd@gnu.org>
4980
05e89fea
CY
4981 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4982
0e9e6c6a
CY
4983 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4984 system abbrevs.
4985
4986 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4987
e33c6771
SM
49882012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4989
b68581e2
SM
4990 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4991 (bug#11719).
4992
e33c6771
SM
4993 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4994 the requote function doesn't work properly (bug#11714).
4995
7117e105
GM
49962012-06-23 Glenn Morris <rgm@gnu.org>
4997
4998 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4999
36cec983
SM
50002012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5001
5002 Further GV/CL cleanups.
5003 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5004 gv-expander.
5005 (gv--defun-declaration): New function.
5006 (defun-declarations-alist): Use it.
5007 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5008 (gv-place): Autoload.
5009 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5010 original definition of dotimes and dolist.
5011 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5012 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5013 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5014 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5015 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5016 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5017 to the function's definition.
5018 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5019 * window.el:
5020 * files.el:
5021 * faces.el:
5022 * env.el: Don't use CL.
5023
d35af63c
PE
50242012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5025
5026 Support higher-resolution time stamps (Bug#9000).
5027
5028 * calendar/time-date.el (with-decoded-time-value): New arg
5029 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5030 (encode-time-value): New optional arg PICO. New type 3.
5031 (time-to-seconds) [!float-time]: Support the new picoseconds
5032 component if it's used.
5033 (seconds-to-time, time-subtract, time-add):
5034 Support ps-resolution time stamps as well.
5035
5036 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5037 (timerp): Timer vectors now have length 9, not 8.
5038 (timer--time): Support new-style (4-part) time stamps.
5039 (timer-next-integral-multiple-of-time): Time stamps now have
5040 picosecond resolution, so take a bit more care about rounding.
5041 (timer-relative-time, timer-inc-time): New optional arg psecs.
5042 (timer-set-time-with-usecs): Set psecs to 0.
5043 (timer--activate): Check psecs component, too.
5044
5045 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5046
ac77b21a
SM
50472012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5048
f143bfe3
SM
5049 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5050 Move the non-essential binding to the post/pre-command-hook where it is
5051 more obviously correct.
5052
ac77b21a
SM
5053 * subr.el (read-passwd): Don't use a history at all.
5054 * savehist.el (savehist-save): Remove password saved accidentally
5055 because of the above bug.
5056
76386c5a
BG
50572012-06-22 Bastien Guerry <bzg@gnu.org>
5058
5059 * files.el (toggle-read-only): Display a message telling whether
5060 the buffer is read-only or not (bug#11726).
5061
2ee3d7f0
SM
50622012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * emacs-lisp/gv.el: New file.
5065 * subr.el (push, pop): Extend to generalized variables.
5066 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5067 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5068 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5069 gv-define-simple-setter, and gv-define-expander.
5070 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5071 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5072 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5073 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5074 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5075 gv-letplace.
5076 (cl-defstruct): Don't define setf-method any more.
5077 * emacs-lisp/cl.el (flet): Don't autoload.
5078 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5079 (define-setf-expander, defsetf, define-modify-macro)
5080 (cl-struct-setf-expander): Move from cl-lib.el.
5081 * emacs-lisp/syntax.el:
5082 * emacs-lisp/ewoc.el:
5083 * emacs-lisp/smie.el:
5084 * emacs-lisp/cconv.el:
5085 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5086 (timer--time): Use gv-define-simple-setter.
5087 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5088 to avoid coding-system problems in subr.el. Adjust all users.
5089 (macroexp--maxsize, macroexp-small-p): New functions.
5090 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5091 * scroll-bar.el (scroll-bar-mode):
5092 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5093 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5094 * winner.el (winner-configuration, winner-make-point-alist)
5095 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5096 * files.el (locate-file-completion-table): Avoid list*.
5097
c5695d1d
CY
50982012-06-22 Chong Yidong <cyd@gnu.org>
5099
5100 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5101 (dired-create-files): Doc fix (Bug#11329).
5102 (dired-do-copy): Doc fix (Bug#11334).
5103 (dired-mark-read-string): Doc fix (Bug#11553).
5104
2ee3d7f0
SM
5105 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5106 Doc fix (Bug#11326).
c5695d1d
CY
5107 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5108 (dired-dwim-target): Doc fix.
5109
5110 * wdired.el (wdired-mode): Doc fix.
5111
89b5595a
GM
51122012-06-22 Glenn Morris <rgm@gnu.org>
5113
575db3f1
GM
5114 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5115 (pcmpl-rpm-cache-stamp-file): New constant.
5116 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5117 (pcmpl-rpm-packages): Optionally cache list of packages.
5118
a4c8dd51
GM
5119 * pcmpl-rpm.el (pcmpl-rpm): New group.
5120 (pcmpl-rpm-query-options): New option.
5121 (pcmpl-rpm-packages): No need to inline it.
5122 Use pcmpl-rpm-query-options.
5123
89b5595a
GM
5124 * calendar/calendar.el (calendar-in-read-only-buffer):
5125 Avoid some needless mode changes.
5126
e76f0800
CY
51272012-06-21 Chong Yidong <cyd@gnu.org>
5128
5129 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5130 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5131 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5132
297a8f1d
CY
51332012-06-20 Chong Yidong <cyd@gnu.org>
5134
5135 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5136
d34c18b1
DR
51372012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5138
5139 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5140 (bug#11201).
5141
32f7f28e
CY
51422012-06-20 Chong Yidong <cyd@gnu.org>
5143
5144 * term.el (term-window-width): Handle the case of a missing right
5145 fringe (Bug#8837).
5146 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5147 (term-mode): Use define-derived-mode. Minor cleanups.
5148 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5149 (term-move-columns, term-insert-char, term-emulate-terminal)
5150 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5151
493c6688
MA
51522012-06-20 Michael Albinus <michael.albinus@gmx.de>
5153
d34c18b1
DR
5154 * net/ange-ftp.el (ange-ftp-get-passwd):
5155 Bind `enable-recursive-minibuffers'.
493c6688
MA
5156 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5157
3f06ecf4
DR
51582012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5159
5160 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5161
68f12411
GM
51622012-06-19 Glenn Morris <rgm@gnu.org>
5163
5164 * progmodes/python.el (python-mode): Derive from prog-mode.
5165
b3820318
KG
51662012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5167
5168 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5169 (edt-user-menu-bar-update-buffers): New functions.
5170 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5171
c6bf3022
CY
51722012-06-19 Chong Yidong <cyd@gnu.org>
5173
5174 * subr.el (with-selected-window): Preserve the selected window's
5175 terminal's top-frame (Bug#4702).
5176
5177 * window.el (save-selected-window): Likewise.
5178
25f09295
SM
51792012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * progmodes/python.el (python-rx-constituents): Move backquote.
5182 (python-skeleton-define, python-define-auxiliary-skeleton):
5183 Use `declare'.
5184
6b11952a
MA
51852012-06-18 Michael Albinus <michael.albinus@gmx.de>
5186
5187 * minibuffer.el (read-file-name-default): Revert the patch from
5188 2012-06-17.
5189
ee4b1330
SM
51902012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5193 (pcase--u1, pcase--q1): Don't use apply-partially.
5194
35647f79
GM
51952012-06-18 Glenn Morris <rgm@gnu.org>
5196
5197 * progmodes/python.el (python-proc, python-buffer)
5198 (python-send-receive, python-send-string): Fix obsolete versions.
5199
24b0cff0
MR
52002012-06-18 Martin Rudalics <rudalics@gmx.at>
5201
5202 * window.el (special-display-p): Completely remove stringp
5203 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5204
29855149
MA
52052012-06-17 Michael Albinus <michael.albinus@gmx.de>
5206
5207 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5208
5209 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5210
5211 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5212 * net/tramp-sh.el (tramp-maybe-open-connection):
5213 Throw if `non-essential' is non-nil.
5214
07463363
MR
52152012-06-17 Martin Rudalics <rudalics@gmx.at>
5216
5217 * window.el (special-display-p): Signal an error if BUFFER-NAME
5218 is not a string (Bug#11713).
5219
48d1354e
PE
52202012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5221
5222 * progmodes/python.el (python-info-beginning-of-backslash):
5223 Rename from python-info-beginning-of-backlash, as a spelling fix.
5224
eb4a8a9a
CY
52252012-06-17 Chong Yidong <cyd@gnu.org>
5226
5227 * term.el (term-emulate-terminal): If term-check-size is called,
5228 move point to the process mark without resetting point (Bug#4635).
5229
ddfbf826 52302012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5231
5232 * international/mule-cmds.el (mule-menu-keymap)
5233 (set-language-environment, set-locale-environment): Doc tweaks.
5234
9b0e3eba
AA
52352012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5236
5237 * cus-face.el (custom-face-attributes): Add wave-style underline
5238 attribute.
5239 * faces.el (set-face-attribute): Update docstring to describe
5240 wave-style underline attribute.
5241
771e3eae
CY
52422012-06-16 Chong Yidong <cyd@gnu.org>
5243
5244 * term/xterm.el (terminal-init-xterm): Discard input before
5245 querying background mode (Bug#10959).
5246
7ae2ea10
SM
52472012-06-16 Stefan Merten <smerten@oekonux.de>
5248
5249 * textmodes/rst.el: Added and corrected some comments.
5250 (rst-re-alist-def): Improve symbol syntax.
5251 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5252 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5253 (rst-official-version, rst-official-cvs-rev): Update version
5254 information.
7ae2ea10 5255
b6974efa
JB
52562012-06-15 Juanma Barranquero <lekktu@gmail.com>
5257
5258 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5259 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5260
8826d473
GM
52612012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5262
5263 * progmodes/python.el: New python.el merge.
5264 (python-guess-indent): Obsolete var.
5265 (python-indent-guess-indent-offset): New defcustom.
5266 (python-indent): Obsolete var.
5267 (python-indent-offset): New defcustom.
5268 (python-python-command, python-jython-command): Delete var.
5269 (python-shell-interpreter): New defcustom.
5270 (python-pdbtrack-do-tracking-p): Delete var.
5271 (python-pdbtrack-activate): New defcustom.
5272 (python-use-skeletons): Obsolete var.
5273 (python-skeleton-autoinsert): New defcustom.
5274 (inferior-python-filter-regexp, python-continuation-offset)
5275 (python-honour-comment-indentation, python-indent-string-contents)
5276 (python-jython-packages, python-mode-hook)
5277 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5278 (python-shell-prompt-alist)
5279 (python-source-modes): Delete defcustoms.
5280 (python-check-buffer-name, python-eldoc-setup-code)
5281 (python-eldoc-string-code, python-ffap-setup-code)
5282 (python-ffap-string-code, python-fill-comment-function)
5283 (python-fill-decorator-function, python-fill-paren-function)
5284 (python-fill-string-function, python-imenu-include-defun-type)
5285 (python-imenu-make-tree, python-imenu-subtree-root-label)
5286 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5287 (python-shell-compilation-regexp-alist)
5288 (python-shell-completion-module-string-code)
5289 (python-shell-completion-pdb-string-code)
5290 (python-shell-completion-setup-code)
5291 (python-shell-completion-string-code)
5292 (python-shell-enable-font-lock, python-shell-exec-path)
5293 (python-shell-extra-pythonpaths)
5294 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5295 (python-shell-process-environment)
5296 (python-shell-prompt-block-regexp)
5297 (python-shell-prompt-output-regexp)
5298 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5299 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5300 (python-shell-virtualenv-path): New defcustoms.
5301 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5302 (inferior-python-mode-syntax-table, python--prompt-regexp)
5303 (python-buffer, python-command python-python-command)
5304 (python-default-template, python-imports, python-indent-index)
5305 (python-indent-list, python-indent-list-length)
5306 (python-mode-running, python-pdbtrack-is-tracking-p)
5307 (python-preoutput-continuation, python-preoutput-leftover)
5308 (python-preoutput-result, python-preoutput-skip-next-prompt)
5309 (python-prev-dir/file, python-recursing)
5310 (python-saved-check-command, python-version-checked)
5311 (python-which-func-length-limit)
5312 (view-return-to-alist): Delete vars.
5313 (python-check-custom-command, python-dotty-syntax-table)
5314 (python-imenu-index-alist, python-indent-current-level)
5315 (python-indent-dedenters, python-indent-levels)
5316 (python-nav-beginning-of-defun-regexp)
5317 (python-nav-list-defun-positions-cache)
5318 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5319 (python-shell-internal-buffer)
5320 (python-skeleton-available): New vars.
5321 (def-python-skeleton): Delete macro.
5322 (python-skeleton-define): New macro.
5323 (python-define-auxiliary-skeleton, python-rx): New macros.
5324 (python-insert-class): Delete command.
5325 (python-skeleton-class): New command.
5326 (python-insert-def): Delete command.
5327 (python-skeleton-def): New command.
5328 (python-insert-for): Delete command.
5329 (python-skeleton-for): New command.
5330 (python-insert-if): Delete command.
5331 (python-skeleton-if): New command.
5332 (python-insert-try/except, python-insert-try/finally): Delete commands.
5333 (python-skeleton-try): New command.
5334 (python-insert-while): Delete command.
5335 (python-skeleton-while): New command.
5336 (python-backspace): Delete command.
5337 (python-indent-dedent-line-backspace): New command.
5338 (python-electric-colon): Delete command.
5339 (python-indent-electric-colon): New command.
5340 (python-guess-indent): Delete command.
5341 (python-indent-guess-indent-offset): New command.
5342 (python-shift-left): Delete command.
5343 (python-indent-shift-left): New command.
5344 (python-shift-right): Delete command.
5345 (python-indent-shift-right): New command.
5346 (python-find-function): Delete command.
5347 (python-nav-jump-to-defun): New command.
5348 (python-next-statement): Delete command.
5349 (python-nav-forward-sentence): New command.
5350 (python-previous-statement): Delete command.
5351 (python-nav-backward-sentence): New command.
5352 (python-fill-paragraph): Delete command.
5353 (python-fill-paragraph-function): New command.
5354 (python-send-buffer): Delete command.
5355 (python-shell-send-buffer): New command.
5356 (python-send-defun): Delete command.
5357 (python-shell-send-defun): New command.
5358 (python-send-region, python-send-region-and-go): Delete commands.
5359 (python-shell-send-region)
5360 (python-shell-switch-to-shell): New commands.
5361 (python-send-string): Delete command.
5362 (python-shell-send-string): New command.
5363 (python-switch-to-python): Delete command.
5364 (python-shell-switch-to-shell): New command.
5365 (python-describe-symbol): Delete command.
5366 (python-eldoc-at-point): New command.
5367 (python--set-prompt-regexp, python-args-to-list)
5368 (python-after-info-look, python-check-version)
5369 (python-check-comint-prompt, python-find-imports)
5370 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5371 (python-unload-function, python-expand-template)
5372 (python-maybe-jython, python-preoutput-filter)
5373 (python-pdbtrack-get-source-buffer)
5374 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5375 (python-pdbtrack-toggle-stack-tracking)
5376 (python-pdbtrack-track-stack-file, python-initial-text)
5377 (python-first-word, python-comment-line-p, python-send-command)
5378 (python-setup-brm, python-sentinel, python-set-proc)
5379 (python-skip-out, python-input-filter, python-outdent-p)
5380 (python-outline-level, python-backslash-continuation-line-p)
5381 (python-end-of-block, python-end-of-statement, python-mark-block)
5382 (python-beginning-of-block, python-beginning-of-statement)
5383 (python-blank-line-p, python-beginning-of-string)
5384 (python-open-block-statement-p): Delete functions.
5385 (python-indent-line, python-indent-line-1): Delete functions.
5386 (python-indent-line): New function.
5387 (python-indentation-levels): Delete function.
5388 (python-indent-calculate-levels): New function.
5389 (python-proc): Delete function.
5390 (python-shell-get-process): New function.
5391 (python-send-receive): Delete function.
5392 (python-shell-send-string-no-output): New function.
5393 (python-module-path): Delete function.
5394 (python-ffap-module-path): New function.
5395 (python-completion-at-point)
5396 (python-symbol-completions): Delete functions.
5397 (python-completion-complete-at-point): New function.
5398 (python-load-file): Delete function.
5399 (python-shell-send-file): New function.
5400 (python-calculate-indentation): Delete function.
5401 (python-indent-calculate-indentation): New function.
5402 (python-skip-comments/blanks): Delete function.
5403 (python-util-forward-comment): New function.
5404 (python-continuation-line-p): Delete function.
5405 (python-info-continuation-line-p): New function.
5406 (python-which-func, python-current-defun): Delete function.
5407 (python-info-current-defun): New function.
5408 (python-beginning-of-defun): Delete function.
5409 (python-nav-beginning-of-defun): New function.
5410 (python-close-block-statement-p)
5411 (python-block-end-p): Delete function.
5412 (python-info-closing-block): New function.
5413 (python-comint-output-filter-function)
5414 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5415 (python-fill-comment, python-fill-decorator, python-fill-paren)
5416 (python-fill-string, python-imenu-make-element-tree)
5417 (python-imenu-make-tree, python-imenu-tree-assoc)
5418 (python-indent-context, python-indent-dedent-line)
5419 (python-indent-line-function)
5420 (python-indent-post-self-insert-function)
5421 (python-indent-toggle-levels)
5422 (python-info-assignment-continuation-line-p)
5423 (python-info-beginning-of-backlash)
5424 (python-info-block-continuation-line-p)
5425 (python-info-closing-block-message)
5426 (python-info-line-ends-backslash-p)
5427 (python-info-looking-at-beginning-of-defun)
5428 (python-info-ppss-context, python-info-ppss-context-type)
5429 (python-nav-list-defun-positions, python-nav-read-defun)
5430 (python-nav-sentence-end, python-nav-sentence-start)
5431 (python-pdbtrack-comint-output-filter-function)
5432 (python-pdbtrack-set-tracked-buffer)
5433 (python-shell-calculate-exec-path)
5434 (python-shell-calculate-process-environment)
5435 (python-shell-completion--do-completion-at-point)
5436 (python-shell-completion--get-completions)
5437 (python-shell-completion-complete-at-point)
5438 (python-shell-completion-complete-or-indent)
5439 (python-shell-get-or-create-process)
5440 (python-shell-get-process-name)
5441 (python-shell-internal-get-or-create-process)
5442 (python-shell-internal-get-process-name)
5443 (python-shell-internal-send-string, python-shell-make-comint)
5444 (python-shell-parse-command, python-shell-send-setup-code)
5445 (python-skeleton-add-menu-items)
5446 (python-util-clone-local-variables, python-util-position)
5447 (run-python-internal, python-indentation-levels)
5448 (python-nav-beginning-of-defun)
5449 (python-completion-complete-at-point): New functions.
5450 (run-python): Change arguments. New API requirements.
5451
4302f5ba
SM
54522012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5453
f38ea36d
SM
5454 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5455 (bug#11649).
5456
5457 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5458 (macroexp--expand-all): Use it.
5459
4302f5ba
SM
5460 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5461 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5462 Use `cl-function' instead.
5463
33377562
JB
54642012-06-14 Juanma Barranquero <lekktu@gmail.com>
5465
5466 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5467 Suggested by Stefan Monnier while discussing bug#11657.
5468
54c5ba1a
SS
54692012-06-14 Sam Steingold <sds@gnu.org>
5470
5471 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5472
f9f1b1fe
AS
54732012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5474
5475 * play/doctor.el (doctor-doc): Remove parameter and use
5476 doctor-sent instead of sent.
5477 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5478
a81068ba
SM
54792012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5480
5a315f9c
SM
5481 * files.el: Require cl-lib.
5482 (file-name-non-special): Replace case -> cl-case.
5483
5484 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5485
a81068ba
SM
5486 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5487 mapping from #' to function*.
5488
8cca9703
CY
54892012-06-13 Chong Yidong <cyd@gnu.org>
5490
5491 * mouse.el (mouse-drag-track): Do not set the mark if the user
5492 releases the mouse without selecting anything (Bug#11588).
5493
a12ac9d7
SM
54942012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5495
ccf1dc18
SM
5496 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5497 as well (bug#11646).
5498
ef62b23d
SM
5499 * loadup.el: Count byte-code functions as well.
5500
c4c8444a
SM
5501 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5502 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5503
a12ac9d7
SM
5504 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5505 (bug#11649). Add cl-defun and cl-defmacro.
5506
87e6e64f
DA
55072012-06-13 Drew Adams <drew.adams@oracle.com>
5508
5509 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5510 Fix last change.
5511
682cefaf
MA
55122012-06-13 Michael Albinus <michael.albinus@gmx.de>
5513
5514 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5515 Otherwise, it blocks in batch mode.
5516
773e1f08
JB
55172012-06-13 Juanma Barranquero <lekktu@gmail.com>
5518
5519 * help-mode.el (bookmark-make-record-default): Declare.
5520
60057926
CY
55212012-06-13 Chong Yidong <cyd@gnu.org>
5522
5523 * emacs-lisp/package.el (list-packages): Compute a list of
5524 packages that are newly-available since the last list-packages
5525 invocation.
5526 (package-menu--new-package-list): New var.
5527 (package-menu--generate, package-menu--print-info)
5528 (package-menu--status-predicate, package-menu-mark-install):
5529 Handle new status label "new".
5530
ad4d226c
SM
55312012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5534 conversion to backquotes.
5535
f1a4e679
CY
55362012-06-12 Chong Yidong <cyd@gnu.org>
5537
5538 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5539 Rename from gud-inhibit-global-bindings.
5540
5541 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5542
5543 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5544 hook from nxml-glyph-set-hook.
5545
5546 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5547 declaration.
5548
5549 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5550
5551 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5552 Convert to defcustom.
5553
0c9e42b5
DA
55542012-06-12 Drew Adams <drew.adams@oracle.com>
5555
5556 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5557 New functions.
5558 (help-mode): Use them.
5559
09e06855
GM
55602012-06-11 Glenn Morris <rgm@gnu.org>
5561
5562 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5563 Use preprocessor face for directives.
5564 (fortran-directive-re): Doc fix.
5565
71adb94b
SM
55662012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5567
2eb87922
SM
5568 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5569 conversion to backquotes (bug#11652).
5570
71adb94b
SM
5571 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5572 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5573 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5574 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5575 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5576 (cl-ninth, cl-tenth): Mark them as inlinable.
5577 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5578 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5579 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5580 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5581 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5582 (cl-list*, cl-adjoin): Don't put an autoload manually.
5583 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5584 (cl--compiler-macro-list*): Add autoload cookie.
5585 (cl--compiler-macro-cXXr): New function.
2eb87922 5586
71adb94b
SM
5587 * help-fns.el (help-fns--compiler-macro): New function extracted from
5588 describe-function-1; follow aliases and use `compiler-macro' property.
5589 (describe-function-1): Use it.
5590
a6674402
CY
55912012-06-11 Chong Yidong <cyd@gnu.org>
5592
5593 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5594 is uninstalled, if imagemagick is installed.
5595
bb3faf5b
SM
55962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * emacs-lisp/cl-lib.el: Use lexical-binding.
5599 (cl-map-extents, cl-maclisp-member): Remove.
5600 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5601 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5602 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5603 * emacs-lisp/cl-extra.el: Use lexical-binding.
5604 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5605 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5606 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5607 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5608 * emacs-lisp/cl-seq.el: Use lexical-binding.
5609 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5610 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5611 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5612 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5613 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5614 CL's internals.
5615
2fe4b125
MA
56162012-06-11 Michael Albinus <michael.albinus@gmx.de>
5617
5618 Sync with Tramp 2.2.6-pre.
5619
5620 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5621 `print-length' and `print-level' to nil, in order to avoid
5622 truncation. Reported by Christopher Schmidt
5623 <christopher@ristopher.com>.
5624
5625 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5626
5627 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5628 New defmacro.
5629 (tramp-compat-copy-directory): Add optional argument
5630 COPY-CONTENTS. It is not handled yet.
5631
5632 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5633 (tramp-ftp-file-name-p): Simplify.
5634
5635 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5636 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5637 connection vector.
5638
5639 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5640 (tramp-methods): Do not use `tramp-password-end-of-line'.
5641 (tramp-completion-function-alist-putty): Handle UNIX case.
5642 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5643 (tramp-do-file-attributes-with-stat)
5644 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5645 gid as real numbers. They could run out of integer range on cygwin.
5646 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5647 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5648 (tramp-open-connection-setup-interactive-shell):
5649 Use `tramp-cleanup'. Move check for busyboxes ...
5650 (tramp-find-shell): ... here. Simplify implementation.
5651 Set "remote-shell" property also for alternative shells.
5652 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5653 If failing, a regular file would be written otherwise.
5654 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5655 (tramp-find-inline-encoding): Cache the coding commands in the
5656 process cache. Apply test command on the remote side, if defined.
5657 (tramp-find-inline-compress): Cache the compress commands in the
5658 process cache.
5659 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5660 when requested. Handle hops.
5661 (tramp-current-connection): New defvar.
87e6e64f
DA
5662 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5663 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5664 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5665 (tramp-get-inline-compress, tramp-get-inline-coding):
5666 Read connection properties from the process cache.
2fe4b125
MA
5667
5668 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5669 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5670 New defconsts.
2fe4b125
MA
5671 (tramp-smb-prompt): Extend for powershell prompt.
5672 (tramp-smb-file-name-handler-alist): Add handlers for
5673 `process-file', `shell-command' and `start-file-process'.
5674 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5675 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5676 (tramp-smb-file-name-p): Simplify.
5677 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5678 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5679 (tramp-smb-shell-quote-argument): New defuns.
5680 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5681 Implement using "tar". By this, time-stamps are preserved.
5682 (tramp-smb-handle-copy-file): Handle also the case of directories.
5683 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5684 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5685 Use `tramp-get-connection-buffer').
2fe4b125
MA
5686 (tramp-smb-handle-rename-file): Use "rename", when source and
5687 target are on the same share.
87e6e64f
DA
5688 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5689 Use `tramp-smb-server-version'.
2fe4b125
MA
5690 (tramp-smb-wait-for-output): Remove prompt.
5691
5692 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5693 (tramp-methods, tramp-rsh-end-of-line):
5694 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5695 (tramp-save-ad-hoc-proxies): New defcustom.
5696 (tramp-completion-function-alist): Adapt docstring.
5697 (tramp-default-password-end-of-line): Remove defcustom.
5698 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5699 (tramp-user-regexp, tramp-file-name-regexp-unified)
5700 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5701 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5702 (tramp-remote-file-name-spec-regexp): New defconst.
5703 (tramp-file-name-structure): Extend structure for hops.
5704 (tramp-get-method-parameter): Move up.
5705 (tramp-file-name-p, tramp-dissect-file-name)
5706 (with-parsed-tramp-file-name): Handle hops.
5707 (tramp-file-name-hop): New defun.
5708 (tramp-make-tramp-file-name): New optional arg HOP.
5709 (tramp-message-show-progress-reporter-message): New defvar.
5710 (tramp-with-progress-reporter): Use it. We cannot use
5711 `tramp-message-show-message' here, because this suppresses also
5712 error buffers.
5713 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5714 `tramp-message-show-message' is nil.
5715 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5716 (tramp-cleanup): New defun.
5717 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5718 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5719 an error unchanged.
5720 (tramp-completion-handle-file-name-all-completions): Handle hops.
5721 Fix an error when called from ido.
5722 (tramp-completion-dissect-file-name): Use better local variable
5723 name. Add hop to the vector.
5724 (tramp-handle-insert-file-contents): Use progress-reporter for the
5725 whole scenario.
5726 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5727 to `t'.
5728 (tramp-check-for-regexp): Simplify search.
5729 (tramp-enter-password): Remove it. Move implementation ...
5730 (tramp-action-password): ... here.
5731 (tramp-mode-string-to-int, tramp-local-host-p)
5732 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5733 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5734 Set tramp-autoload cookie.
2fe4b125
MA
5735
5736 * net/trampver.el: Update release number.
5737
57382012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5739 Michael Albinus <michael.albinus@gmx.de>
5740
5741 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5742 (tramp-parse-group, tramp-parse-file)
5743 (tramp-parse-shostkeys-sknownhosts): New defuns.
5744 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5745 (tramp-parse-shosts-group, tramp-parse-sconfig)
5746 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5747 (tramp-parse-sknownhosts, tramp-parse-hosts)
5748 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5749 Use them.
5750 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5751 (tramp-parse-putty-group): Don't narrow.
5752 (tramp-parse-putty): Make a loop.
5753 (tramp-file-name-handler): Catch the `suppress' signal.
5754
72834e10
CY
57552012-06-11 Chong Yidong <cyd@gnu.org>
5756
5757 * image.el (imagemagick-register-types): Put the ImageMagick entry
5758 at the end of image-type-file-name-regexps.
5759
a4712e11
JB
57602012-06-11 Johan Bockgård <bojohan@gnu.org>
5761
5762 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5763 (pcase, pcase-let*, pcase-dolist): Use them.
5764
82ad98e3
SM
57652012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5766
5767 * emacs-lisp/pcase.el (pcase--let*): New function.
5768 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5769 (pcase--expand): Use macroexp-let².
5770
f80efb86
SM
57712012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5774 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5775 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5776 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5777 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5778 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5779
31ca4639 57802012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5781
31ca4639
CY
5782 * mail/rmail.el (rmail-yank-current-message): Leave point at
5783 correct position. (Bug#11660)
94f0aa34 5784
31ca4639 57852012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5786
31ca4639 5787 * allout-widgets.el: Fix code header.
9e1b8ec4 5788
31ca4639 57892012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5790
f80efb86
SM
5791 * cus-edit.el (customize-changed-options-previous-release):
5792 Bump to 24.1.
31ca4639 5793
642b6d30
AS
57942012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5795
5796 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5797
4f5d2ba1
CY
57982012-06-09 Chong Yidong <cyd@gnu.org>
5799
5800 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5801
e75852fd
MR
58022012-06-09 Martin Rudalics <rudalics@gmx.at>
5803
5804 * window.el (special-display-popup-frame): Don't use
5805 window--display-buffer (Bug#11651).
5806
1e48e282
EZ
58072012-06-09 Eli Zaretskii <eliz@gnu.org>
5808
8a26b487
EZ
5809 Fix parallel builds: make sure loaddefs.el is not being written
5810 while Lisp files are compiled.
5811 (compile): Don't depend on 'mh-autoloads'.
5812 (compile-CMD, compile-SH): Depend on 'autoloads'.
5813 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5814
1e48e282
EZ
5815 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5816
6175e34b
CY
58172012-06-09 Chong Yidong <cyd@gnu.org>
5818
5819 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5820 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5821 Doc fixes (Bug#11225).
5822
d9857e53
SM
58232012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5826 a function if there's a clear indication that it has a compiler-macro.
5827 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5828 (macro-declarations-alist): Add arglist to declaration functions.
5829 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5830 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5831 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5832 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5833 Also add autoload to find the compiler macro.
5834 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5835 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5836 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5837 (cl--compiler-macro-get): New functions, replacing calls to
5838 cl-define-compiler-macro.
5839 (cl-typep) [compiler-macro]: Use macroexp-let².
5840
f81298f8 58412012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5842
5843 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5844 string properly, fixes Bug#11473.
5845
4b56d0fe
CY
58462012-06-08 Chong Yidong <cyd@gnu.org>
5847
5848 * faces.el (set-face-attribute): Doc fix.
5849 (modify-face): Don't use :bold and :italic.
5850 (error, warning, success): Tweak definitions.
5851
5852 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5853 (custom-modified, custom-set, custom-changed, custom-themed)
5854 (custom-saved, custom-button, custom-button-mouse)
5855 (custom-button-pressed, custom-state, custom-comment-tag)
5856 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5857 (custom-group-subtitle): Use new-style face specs.
5858 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5859 (custom-set-face, custom-changed-face, custom-saved-face)
5860 (custom-button-face, custom-button-pressed-face)
5861 (custom-documentation-face, custom-state-face)
5862 (custom-comment-face, custom-comment-tag-face)
5863 (custom-variable-tag-face, custom-variable-button-face)
5864 (custom-face-tag-face, custom-group-tag-face-1)
5865 (custom-group-tag-face): Remove obsolete face alias.
5866
5867 * epa.el (epa-validity-high, epa-validity-medium)
5868 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5869 (epa-field-name, epa-field-body):
5870 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5871 (font-lock-keyword-face, font-lock-builtin-face)
5872 (font-lock-function-name-face, font-lock-variable-name-face)
5873 (font-lock-type-face, font-lock-constant-face):
5874 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5875 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5876 * speedbar.el (speedbar-button-face, speedbar-file-face)
5877 (speedbar-directory-face, speedbar-tag-face)
5878 (speedbar-selected-face, speedbar-highlight-face)
5879 (speedbar-separator-face):
5880 * whitespace.el (whitespace-newline, whitespace-space)
5881 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5882 (whitespace-line, whitespace-space-before-tab)
5883 (whitespace-space-after-tab, whitespace-indentation)
5884 (whitespace-empty):
5885 * emulation/cua-base.el (cua-global-mark):
5886 * eshell/em-prompt.el (eshell-prompt):
5887 * net/newst-plainview.el (newsticker-new-item-face)
5888 (newsticker-old-item-face, newsticker-immortal-item-face)
5889 (newsticker-obsolete-item-face, newsticker-date-face)
5890 (newsticker-statistics-face, newsticker-default-face):
5891 * net/newst-reader.el (newsticker-feed-face)
5892 (newsticker-extra-face, newsticker-enclosure-face):
5893 * net/newst-treeview.el (newsticker-treeview-face)
5894 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5895 (newsticker-treeview-immortal-face)
5896 (newsticker-treeview-obsolete-face)
5897 (newsticker-treeview-selection-face):
5898 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5899 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5900 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5901 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5902 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5903 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5904 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5905 (mpuz-text):
5906 * progmodes/vera-mode.el (vera-font-lock-number)
5907 (vera-font-lock-function, vera-font-lock-interface):
5908 * textmodes/table.el (table-cell): Use new-style face specs, and
5909 don't use the old :bold and :italic attributes.
5910
5911 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5912 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5913 (ebrowse-member-class, ebrowse-progress): Likewise.
5914 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5915 (ebrowse-file-name-face, ebrowse-default-face)
5916 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5917 (ebrowse-progress-face): Remove obsolete faces.
5918
5919 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5920 Inherit from error and warning faces respectively.
5921
5922 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5923 Likewise.
f80efb86
SM
5924 (flyspell-incorrect-face, flyspell-duplicate-face):
5925 Remove obsolete aliases.
4b56d0fe 5926
03310646
MA
59272012-06-08 Michael Albinus <michael.albinus@gmx.de>
5928
5929 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5930 Avoid infloop.
5931
513749ee
SM
59322012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * startup.el (argv, argi): Make lexically scoped.
5935 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5936 * emacs-lisp/cl-macs.el: Use lexical-binding.
5937 Rename cl-bind-* to cl--bind-*.
5938 * files.el: Don't require `cl' since it doesn't use it.
5939 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5940
595ef4ad
JB
59412012-06-08 Juanma Barranquero <lekktu@gmail.com>
5942
5943 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5944 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5945 instead of calling external sort utility.
5946 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5947
e9f66fcb
EZ
59482012-06-08 Eli Zaretskii <eliz@gnu.org>
5949
5950 * descr-text.el (describe-char): Mention how to insert the
5951 character, if the current input method doesn't support it.
5952 See the discussion in this thread for the details:
5953 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5954
3d10db47
SS
59552012-06-08 Sam Steingold <sds@gnu.org>
5956
5957 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5958 XF86Back to previous-buffer.
5959 (minibuffer-local-map): Bind them to next-history-element and
5960 previous-history-element respectively.
5961 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5962 help-go-back respectively.
5963 * info.el (Info-mode-map): Bind them to Info-history-forward and
5964 Info-history-back respectively.
5965 These are the keys next to Up on the ThinkPad keyboard.
5966
de7e2b36
SM
59672012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5970 * emacs-lisp/cl-macs.el: Provide itself.
5971 (cl--labels-convert-cache): New var.
5972 (cl--labels-convert): New function.
5973 (cl-flet, cl-labels): New implementation with new semantics, relying on
5974 lexical-binding.
5975 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5976 (cl-closure-vars, cl--function-convert-cache)
5977 (cl--function-convert): Move from cl-macs.el.
5978 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5979 rename by removing the "cl-" prefix.
5980 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5981
6fa6c4ae
SM
59822012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5985 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5986 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5987 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5988 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5989 (cl-hash-table-count): Add old compatibility aliases.
5990
5991 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5992 Use macroexpand-all-environment instead.
5993 (cl--old-macroexpand): New var.
5994 (cl--sm-macroexpand): New function.
5995 (cl-symbol-macrolet): Use it during macro expansion.
5996 (cl--function-convert-cache): New var.
5997 (cl--function-convert): New function, extracted from
5998 cl-macroexpand-all.
5999 (cl-lexical-let): Use it.
6000
6001 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6002 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6003 (cl-member): Remove old alias.
6004
6005 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6006 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6007 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6008 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6009 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6010 (cl-macroexpand-cmacs): Remove var.
6011 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6012 Use macroexpand-all instead.
6013
4dd1c416
SM
60142012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6015
6016 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6017 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6018 (macroexp-copyable-p): New functions and macros.
6019 * emacs-lisp/edebug.el (edebug-unwrap):
6020 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6021 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6022 (pcase--let*): Remove.
6023 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6024 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6025 macroexp-const-p instead.
6026 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6027
6028 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6029 instead of "cl-" for internal definitions. Use macroexp-const-p.
6030 (cl-old-bc-file-form): Remove var.
6031 (cl-const-exprs-p): Remove fun.
6032 (cl-labels, cl-macrolet): Use backquote.
6033 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6034 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6035 (cl-define-setf-expander): Rename from cl-define-setf-method.
6036 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6037
6038 * international/mule-cmds.el: Don't require CL.
6039 (view-hello-file): Don't use `letf'.
6040
ed8bd4d7
SM
60412012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6042
7287f2f3
SM
6043 * tmm.el (tmm-prompt): Use string-prefix-p.
6044 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6045 (tmm-add-prompt): Use minibuffer-completion-help.
6046 (tmm-delete-map): Remove.
6047
ed8bd4d7
SM
6048 * subr.el (kbd): Make it its own function.
6049
7b4cdbf4
SM
60502012-06-07 Stefan Merten <smerten@oekonux.de>
6051
6052 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6053 Silence compiler warnings. Fix versions.
ed8bd4d7 6054 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6055 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6056 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6057 (rst-package-emacs-version-alist): Correct Emacs version to
6058 represent major merge with upstream.
ed8bd4d7 6059 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6060
2b48d721
GM
60612012-06-06 Glenn Morris <rgm@gnu.org>
6062
6063 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6064 Only print environment variables if set.
6065
fa779ab0
SM
60662012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6069 (macroexp--cons): Rename from maybe-cons.
6070 (macroexp--accumulate): Rename from macroexp-accumulate.
6071 (macroexp--all-forms): Rename from macroexpand-all-forms.
6072 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6073 (macroexp--expand-all): Rename from macroexpand-all-1.
6074
628299e0
SS
60752012-06-06 Sam Steingold <sds@gnu.org>
6076
6077 * calendar/calendar.el (calendar-in-read-only-buffer):
6078 Call `special-mode' to enable the standard read-only keybindings.
6079
b7bb5838
SM
60802012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6081
6082 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6083 with "loading" messages (bug#11635).
6084
dfb308ba
MA
60852012-06-06 Michael Albinus <michael.albinus@gmx.de>
6086
6087 * files.el (enable-remote-dir-locals): New option.
6088 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6089
0372ee92
MA
6090 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6091 Ensure, that the temp directory is local.
6092
6093 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6094 `temporary-file-directory'.
6095
eed0bb91
MA
6096 * progmodes/python.el (python-send-region): Ensure, that the
6097 temporary file is created also in the remote case.
6098
7a58f64d
GM
60992012-06-06 Glenn Morris <rgm@gnu.org>
6100
f7dd4e98
GM
6101 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6102 (vc-rcs-update-changelog): Use it.
6103
090bd7cb 6104 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6105
7a58f64d
GM
6106 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6107 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6108 (vc-sccs-diff): Replace use of the external vcdiff script.
6109
daed4003
GM
61102012-06-05 Glenn Morris <rgm@gnu.org>
6111
6112 * ledit.el: Move to obsolete/.
6113
48c455c7
SS
61142012-06-05 Sam Steingold <sds@gnu.org>
6115
ed9265fc 6116 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6117 patch (Bug#11140).
6118
57a7d507
SM
61192012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6120
090bd7cb 6121 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6122
53aacf21
SM
6123 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6124 compiler-macro expansion.
6125
57a7d507
SM
6126 Add native compiler-macro support.
6127 * emacs-lisp/macroexp.el (macroexpand-all-1):
6128 Support compiler-macros directly. Properly follow aliases and apply
6129 the compiler macros more thoroughly.
6130 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6131 macroexpand now properly follows aliases.
6132 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6133 (cl-compiler-macroexpand): Use new prop.
6134 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6135
6136 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6137
51a5f9d8
MR
61382012-06-05 Martin Rudalics <rudalics@gmx.at>
6139
6140 * window.el (get-lru-window, get-mru-window, get-largest-window):
6141 New argument NOT-SELECTED to avoid picking the selected window.
6142 (window--display-buffer-1, window--display-buffer-2): Replace by
6143 new function window--display-buffer
6144 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6145 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6146 Use window--display-buffer.
51a5f9d8
MR
6147 (display-buffer-use-some-window): Remove temporary dedication
6148 hack by calling get-lru-window and get-largest-window with
6149 NOT-SELECTED argument non-nil. Call window--display-buffer.
6150
08f9f738
GM
61512012-06-05 Glenn Morris <rgm@gnu.org>
6152
6153 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6154 Replace external vcdiff script.
6155
e364a2b7
SM
61562012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6159
041df390
CY
61602012-06-04 Chong Yidong <cyd@gnu.org>
6161
e364a2b7
SM
6162 * image.el (imagemagick-types-inhibit): Revert last change.
6163 Add INFO and M.
47b36b94 6164 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6165
7c1898a7
SM
61662012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * emacs-lisp/cl-lib.el: Rename from cl.el.
6169 * emacs-lisp/cl.el: New compatibility file.
6170 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6171 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6172 to obey the "cl-" prefix.
6173 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6174
0c3461de
GM
61752012-06-03 Glenn Morris <rgm@gnu.org>
6176
1e266c88
GM
6177 * emacs-lisp/authors.el (authors-aliases): Addition.
6178
0c3461de
GM
6179 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6180 Fix :version.
6181
d8a52e15
SM
61822012-06-03 Stefan Merten <smerten@oekonux.de>
6183
6184 * textmodes/rst.el: Add comments.
6185 (rst-transition, rst-adornment): New faces.
6186 (rst-adornment-faces-alist): Make default safe to reevaluate.
6187 Fixes
6188 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6189 Improve customization tags.
6190 (rst-define-level-faces): Clarify meaning.
6191
5205d6f6
CY
61922012-06-03 Chong Yidong <cyd@gnu.org>
6193
6194 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6195 (compilation-mode-line-run, compilation-mode-line-exit):
6196 New faces.
5205d6f6
CY
6197 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6198
757ee657
JD
61992012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6200
7c1898a7
SM
6201 * progmodes/which-func.el (which-func-update-ediff-windows):
6202 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6203
5f2c76c6
CY
62042012-06-03 Chong Yidong <cyd@gnu.org>
6205
6206 * bindings.el: Remove explicit help text from format-mode-line.
6207 It is now supplied by mode-line-default-help-echo.
6208 (mode-line-front-space, mode-line-end-spaces)
6209 (mode-line-misc-info): New variables.
6210 (mode-line-modes, mode-line-position): Move the default value to
6211 the variable definition.
6212 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6213 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6214 (mode-line-modified-help-echo): New functions.
6215 (mode-line-mule-info, mode-line-modified): Use them.
6216 (mode-line-eol-desc, propertized-buffer-identification):
6217 Consistency fixes for help text.
cbe46e5f
CY
6218 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6219 set-buffer-file-coding-system (Bug#289).
6220 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6221
f2d6a3df
SM
62222012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * simple.el (execute-extended-command): Set real-this-command
6225 (bug#11506).
6226
37269466
CY
62272012-06-02 Chong Yidong <cyd@gnu.org>
6228
6229 Remove incorrect uses of "modeline" in comments, docstrings, and
6230 function/variable names (Bug#10329).
6231
6232 * cus-edit.el (mode-line):
6233 * dframe.el (dframe-mouse-hscroll):
6234 * emacs-lisp/re-builder.el:
6235 * emacs-lisp/easy-mmode.el (define-minor-mode):
6236 * frame.el (set-frame-name):
6237 * help.el (lookup-minor-mode-from-indicator):
6238 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6239 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6240 (c-toggle-hungry-state):
6241 * progmodes/antlr-mode.el (antlr-language-alist):
6242 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6243 * progmodes/vhdl-mode.el (vhdl-mode):
6244 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6245 * term/ns-win.el (ns-face-at-pos):
6246 * term/sup-mouse.el (sup-mouse-report):
6247 * textmodes/flyspell.el (flyspell-mode-line-string):
6248 * textmodes/ispell.el (ispell-highlight-face):
6249 * textmodes/reftex-global.el:
6250 * vc/vc-arch.el (vc-arch-mode-line-string):
6251 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6252 * vc/vc-git.el (vc-git-mode-line-string):
6253 * vc/vc-hooks.el (vc-display-status)
6254 (vc-default-mode-line-string):
6255 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6256
6257 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6258
6259 * dired.el (dired-sort-set-mode-line): Rename from
6260 dired-sort-set-modeline. All callers changed.
6261
6262 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6263 eshell-status-in-modeline.
6264
6265 * foldout.el (foldout-mode-line-string): Rename from
6266 foldout-modeline-string. All callers changed.
6267 (foldout-update-mode-line): Rename from foldout-update-modeline.
6268
6269 * subr.el (redraw-modeline): Make into obsolete alias.
6270
6271 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6272 timeclock-modeline-display. Make old name an alias.
6273 (timeclock-update-mode-line): Likewise. All callers changed.
6274 (timeclock-mode-line-display): No need to check before using
6275 add-hook.
6276 (timeclock-relative, timeclock-day-over-hook)
6277 (timeclock-use-elapsed, timeclock-mode-string)
6278 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6279
6280 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6281 crisp-mode-modeline-string.
6282
6283 * play/solitaire.el (solitaire-build-mode-line): Rename from
6284 solitaire-build-modeline. All callers changed.
6285
6286 * play/zone.el (zone-hiding-mode-line): Rename from
6287 zone-hiding-modeline. All callers changed.
6288 (zone): Remove unusued `modeline-hidden-level' property.
6289
6290 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6291 xscheme-modeline-initialize. All callers changed.
6292
6293 * strokes.el (strokes-lighter): Rename from
6294 strokes-modeline-string.
6295
6296 * textmodes/sgml-mode.el (html-face-tag-alist)
6297 (html-tag-face-alist): Use mode-line face instead of obsolete
6298 alias modeline.
6299
42152ee4
SM
63002012-06-02 Stefan Merten <smerten@oekonux.de>
6301
6302 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6303 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6304
95f520b5
CY
63052012-06-02 Chong Yidong <cyd@gnu.org>
6306
6307 * image.el (imagemagick-enabled-types): Rename from
6308 imagemagick-types-enable. Add many more types.
6309 (imagemagick-types-inhibit): Change default to nil.
6310 (imagemagick-filter-types): Caller changed.
6311
4a5f187a
SM
63122012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6313
03fef3e6
SM
6314 * emacs-lisp/cl-macs.el: Use backquotes.
6315 (cl-transform-function-property): Use eval-and-compile rather than
6316 abusing `require'.
6317 (defstruct): Use declare-function instead of with-no-warnings.
6318
4a5f187a
SM
6319 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6320 (byte-compile-output-docform): Re-add the print-circle bindings.
6321 (byte-compile-fix-header): Use #$ just because it's shorter.
6322 (byte-compile-output-file-form): Remove defun/defmacro.
6323
bd56924f
MR
63242012-06-01 Martin Rudalics <rudalics@gmx.at>
6325
6326 * simple.el (choose-completion): Remove now obsolete binding for
6327 owindow.
6328
046e38ce
MA
63292012-06-01 Michael Albinus <michael.albinus@gmx.de>
6330
6331 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6332 in order to avoid "Stack overflow in regexp matcher".
6333
32d72c2f
GM
63342012-05-31 Glenn Morris <rgm@gnu.org>
6335
6336 * image.el: For clarity, call imagemagick-register-types at
6337 top-level, rather than relying on a custom :initialize.
6338 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6339 (imagemagick-filter-types): New function. (Bug#7406)
6340 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6341 If disabling support, remove elements altogether rather
6342 than using an impossible regexp.
6343 (imagemagick-types-inhibit): Give it the default init function.
6344
dd41169b
SM
63452012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6346
4a5f187a
SM
6347 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6348 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6349
efc00ab1 63502012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6351
6352 * desktop.el (desktop-read): Clear previous and next buffers for
6353 all windows and bury *Messages* buffer (bug#11556).
6354
500fcedc
SM
63552012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 Add `declare' for `defun'. Align `defmacro's with it.
6358 * emacs-lisp/easy-mmode.el (define-minor-mode)
6359 (define-globalized-minor-mode): Don't autoload the var definitions.
6360 * emacs-lisp/byte-run.el: Use lexical-binding.
6361 (defun-declarations-alist, macro-declarations-alist): New vars.
6362 (defmacro, defun): Use them.
6363 (make-obsolete, define-obsolete-function-alias)
6364 (make-obsolete-variable, define-obsolete-variable-alias):
6365 Use `declare'.
6366 (macro-declaration-function): Mark obsolete.
6367 * emacs-lisp/autoload.el: Use lexical-binding.
6368 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6369
6e8a1786
AM
63702012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6371
6372 * textmodes/ispell.el (ispell-with-no-warnings):
6373 Define as a macro.
500fcedc
SM
6374 (ispell-kill-ispell, ispell-change-dictionary):
6375 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6376 `interactive-p'.
6377
61b108cc
SM
63782012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6381 (macro-declaration-function): Move var from C code.
6382 (macro-declaration-function): Define function with defalias.
6383 * emacs-lisp/macroexp.el (macroexpand-all-1):
6384 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6385 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6386 defun/defmacro any more.
6387 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6388 Provide fallback for unknown arglist.
6389 (byte-compile-arglist-warn): Change calling convention.
6390 (byte-compile-output-file-form): Move print-vars binding.
6391 (byte-compile-output-docform): Simplify accordingly.
6392 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6393 (byte-compile-defmacro-declaration): Remove.
6394 (byte-compile-file-form-defmumble): Generalize to defalias.
6395 (byte-compile-output-as-comment): Return byte-positions.
6396 Simplify callers accordingly.
6397 (byte-compile-lambda): Use `assert'.
6398 (byte-compile-defun, byte-compile-defmacro): Remove.
6399 (byte-compile-file-form-defalias):
6400 Use byte-compile-file-form-defmumble.
6401 (byte-compile-defalias-warn): Remove.
6402
6d3f7c2f
SM
64032012-05-29 Stefan Merten <smerten@oekonux.de>
6404
6405 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6406 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6407
6408 (rst-mode-abbrev-table): Merge definition.
6409 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6410 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6411
6dbaa1c7
UJ
64122012-05-29 Ulf Jasper <ulf.jasper@web.de>
6413
6414 * calendar/icalendar.el
6415 (icalendar-export-region): Export UID properly.
6416
d209e2fb 64172012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6418 * calendar/icalendar.el (icalendar-import-format):
6419 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6420 (icalendar-import-format-uid): New.
6421 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6422 Export UID.
6423
6876a58d
SM
64242012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6427 different alternative patterns.
6428 (pcase-codegen): Be more careful to preserve identity.
6429 (pcase--u1): Don't forget to mark vars as used.
6430
6431 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6432 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6433 (byte-compile-from-buffer): ...rather than here.
6434
6435 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6436 functions from byte-compile-function-environment.
6437
46b7967e
TN
64382012-05-29 Troels Nielsen <bn.troels@gmail.com>
6439
6440 * window.el (window-deletable-p): Avoid deleting the root window
6441 of a frame with an active minibuffer.
6442
69d565e2
MR
64432012-05-29 Martin Rudalics <rudalics@gmx.at>
6444
6445 * simple.el (choose-completion): Use quit-window (Bug#11567).
6446
a149fa51
CY
64472012-05-29 Chong Yidong <cyd@gnu.org>
6448
6449 * whitespace.el (whitespace-cleanup): Fix usage of
6450 whitespace-empty-at-bob-regexp (Bug#11492).
6451
2b311310
AH
64522012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6453
6454 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6455 revert (Bug#11488).
6456
b9cb2387
JL
64572012-05-29 Juri Linkov <juri@jurta.org>
6458
6459 * isearch.el (isearch-mode-map): Bind `M-s _' to
6460 `isearch-toggle-symbol'. Bind `M-s c' to
6461 `isearch-toggle-case-fold'.
6462 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6463 (isearch-forward): Add `M-s _' to the docstring.
6464 (isearch-forward-symbol, isearch-toggle-case-fold)
6465 (isearch-symbol-regexp): New functions. (Bug#11381)
6466
d5e61c1c
JL
64672012-05-29 Juri Linkov <juri@jurta.org>
6468
6469 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6470 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6471 a function, call it to get the regexp.
6472 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6473 property `isearch-message-prefix' instead of the string "word ".
6474 (isearch-search-fun-default): For the case of `isearch-word',
6475 return a lambda that calls re-search-forward/re-search-backward
6476 with a regexp returned by `word-search-regexp' or by the function
6477 in `isearch-word'.
6478
8cbd80f7
JL
64792012-05-29 Juri Linkov <juri@jurta.org>
6480
6481 * isearch.el (isearch-search-fun-default): New function.
6482 (isearch-search-fun): Move default part to the new function
6483 `isearch-search-fun-default'.
6484 (isearch-search-fun-function): Set the default value to
6485 `isearch-search-fun-default'. (Bug#11381)
6486
6487 * comint.el (comint-history-isearch-end):
6488 Use `isearch-search-fun-default'.
6489 (comint-history-isearch-search): Use `isearch-search-fun-default'
6490 and remove spacial case for `isearch-word'.
6491 (comint-history-isearch-wrap): Remove spacial case for
6492 `isearch-word'.
6493
6494 * hexl.el (hexl-isearch-search-function):
6495 Use `isearch-search-fun-default'.
6496
6497 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6498 Use `word-search-regexp' for `isearch-word'.
6499
6500 * misearch.el (multi-isearch-search-fun):
6501 Use `isearch-search-fun-default'.
6502
6503 * simple.el (minibuffer-history-isearch-search):
6504 Use `isearch-search-fun-default' and remove spacial case for
6505 `isearch-word'.
6506 (minibuffer-history-isearch-wrap): Remove spacial case for
6507 `isearch-word'.
6508
6509 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6510 Remove spacial case for `isearch-word'.
6511 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6512
85c8c5b6
AM
65132012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6514
6515 Decrease XEmacs incompatibilities.
6516 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6517 Use `string-match'.
6518 (flyspell-delete-region-overlays): Use alternative definition for
6519 XEmacs.
6520 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6521 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6522 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6523 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6524 `define-obsolete-face-alias' under XEmacs, but old method.
6525
6526 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6527 `with-no-warnings' definition or Emacs alias.
6528 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6529 (ispell-word): Do not use `region-p' if XEmacs.
6530
8cab9efc
AM
65312012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6532
6533 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6534 Check for `ispell-dictionary-base-alist' instead of full
6535 `ispell-dictionary-alist'.
6536 (ispell-init-process): Show spellchecker when starting new Ispell
6537 process.
6538
fda91268
RZ
65392012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6542 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6543
694ea8e3
JB
65442012-05-27 Juanma Barranquero <lekktu@gmail.com>
6545
6546 * version.el (motif-version-string, gtk-version-string)
6547 (ns-version-string): Declare.
6548
e4d4f539
JL
65492012-05-27 Juri Linkov <juri@jurta.org>
6550
6551 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6552 after the `eval-defun-1' specialcaseing
6553 like in `edebug-eval-defun' (bug#10181).
6554
6555 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6556 like in `eval-defun-1'.
6557
33017faf 65582012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6559
fda91268
RZ
6560 * mail/sendmail.el (mail-yank-region):
6561 Recognize rmail-yank-current-message in addition to insert-buffer.
6562 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6563 a *mail* buffer created through rmail-start-mail with sendmail as
6564 mail-user-agent.
6565
33017faf
GM
65662012-05-27 Chong Yidong <cyd@gnu.org>
6567
6568 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6569 Default to 256 (Bug#11267).
6570
6571 * help.el (describe-mode): Doc fix.
6572
04188bb9
GM
65732012-05-26 Glenn Morris <rgm@gnu.org>
6574
38264cc9
GM
6575 * w32-fns.el (w32-init-info): Remove.
6576 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6577
eb7afdad
GM
6578 * info.el (info-initialize): For self-contained NS builds, put the
6579 included info/ directory at the front. (Bug#2791)
6580
04188bb9
GM
6581 * paths.el (Info-default-directory-list): Make it a defcustom,
6582 mainly so that we can use custom-initialize-delay.
6583
a179e3f7
SM
65842012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6585
43416392
SM
6586 * subr.el (buffer-has-markers-at): Mark obsolete.
6587
a179e3f7 6588 * subr.el (lambda): Use declare.
43416392 6589
a179e3f7
SM
6590 * emacs-lisp/lisp-mode.el (lambda):
6591 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6592
34a008d9
AH
65932012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6594
6595 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6596
0a3b289f
GM
65972012-05-26 Glenn Morris <rgm@gnu.org>
6598
6599 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6600
758c81e8
GM
66012012-05-25 Glenn Morris <rgm@gnu.org>
6602
f9f334f0
GM
6603 * paths.el: Remove no-byte-compile.
6604 * loadup.el: No need to load paths.el uncompiled.
6605
87eb79c2
GM
6606 * image.el (imagemagick-types-inhibit): Doc fix.
6607
758c81e8
GM
6608 * version.el: Remove no-byte-compile and associated formatting.
6609 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6610 is ancient code from when there was an "inc-vers.el".
6611
e7e85dc0
SM
66122012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * progmodes/gdb-mi.el: Minor style changes.
6615 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6616 Turn into minor modes.
6617 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6618 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6619 (gdb-shell): Remove unneeded let-binding.
6620 (gdb-get-many-fields): Eliminate O(n²) behavior.
6621
f31237a4
EZ
66222012-05-25 Eli Zaretskii <eliz@gnu.org>
6623
6624 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6625 platforms that don't link in fontset.c.
6626
bc1b21bb
JL
66272012-05-25 Juri Linkov <juri@jurta.org>
6628
6629 Use the same diff color scheme as in modern VCSes (bug#10181).
6630
6631 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6632 to avoid confusion with `diff-added' that now uses green colors.
6633 (diff-removed): Use shades of red.
6634 (diff-added): Use shades of green.
6635 (diff-changed): Leave just the yellow color.
6636 (diff-use-changed-face): New variable.
6637 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6638 how to highlight context diff changes.
6639 (diff-refine-change): Use shades of yellow.
6640 (diff-refine-removed): New face that uses shades of red.
6641 (diff-refine-added): New face that uses shades of green.
6642 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6643 `diff-refine-removed' in the call to `smerge-refine-subst'
6644 depending on the value of `diff-use-changed-face'.
6645
6646 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6647 (smerge-other): Use shades of green.
6648 (smerge-base): Use shades of yellow.
6649 (smerge-refined-change): Empty face.
6650 (smerge-refined-removed): New face that uses shades of red.
6651 (smerge-refined-added): New face that uses shades of green.
6652 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6653 args `props-r' and `props-a', and use them. Doc fix.
6654 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6655 on its value use different faces `smerge-refined-change',
6656 `smerge-refined-removed', `smerge-refined-added' in the call to
6657 `smerge-refine-subst'.
6658
6659 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6660 Add face condition `min-colors 88' with shades of red.
6661 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6662 `min-colors 88' with shades of green.
6663 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6664 `min-colors 88' with shades of yellow.
6665
6df9112c
GM
66662012-05-24 Glenn Morris <rgm@gnu.org>
6667
ead5edc0
GM
6668 * paths.el (prune-directory-list, remote-shell-program): Move to...
6669 * files.el (prune-directory-list, remote-shell-program): ...here.
6670 For the latter, delay initialization, prefer ssh, just search PATH.
6671
f18b81e6
GM
6672 * paths.el (term-file-prefix): Move to faces.el (the only user).
6673 * faces.el (term-file-prefix): Move here, make it a defcustom.
6674
ee2f89a6
GM
6675 * paths.el (news-directory, news-path, news-inews-program):
6676 Move to gnus/nnspool.el.
61a583ca 6677
f8815e4c
GM
6678 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6679
c8f3b42c
GM
6680 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6681 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6682 Make the latter a defcustom, with a delayed initialization.
6683
6df9112c
GM
6684 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6685 These were deleted from Gnus itself late 2010.
6686
5dadff36
JB
66872012-05-22 Juanma Barranquero <lekktu@gmail.com>
6688
9e1701c6
JB
6689 * progmodes/which-func.el (which-func-ff-hook):
6690 Check against user-error, not error.
6691
bd7239f5 6692 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6693 cl-specs.el, which no longer exists.
6694
3290526d
GM
66952012-05-22 Glenn Morris <rgm@gnu.org>
6696
6697 * info.el (info-emacs-bug): New command.
6698 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6699 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6700
ff0c3cfb
GM
67012012-05-21 Glenn Morris <rgm@gnu.org>
6702
6703 * makefile.w32-in (update-subdirs-SH):
6704 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6705
5814f126
SM
67062012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6707
a52c0aa0
SM
6708 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6709
5814f126
SM
6710 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6711 Simplify Maven regexp, and make sure the file can't start with a space
6712 (bug#11517).
6713
b847032c
GM
67142012-05-21 Glenn Morris <rgm@gnu.org>
6715
6716 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6717 Scrap superfluous subshells.
6718
3858bfe7
SM
67192012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6722 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6723
d14b0029
JB
67242012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6725
6726 * calc/calc.el (calc-ensure-consistent-units): New variable.
6727
a52c0aa0
SM
6728 * calc/calc-units.el (math-consistent-units-p)
6729 (math-check-unit-consistency): New functions.
6730 (calc-quick-units, calc-convert-units):
6731 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6732 is non-nil.
d14b0029
JB
6733 (calc-extract-units): Fix typo.
6734
60c4db3a
SM
67352012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6736
77f3b62e
SM
6737 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6738
60c4db3a
SM
6739 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6740 (flyspell-default-deplacement-commands): Don't spell check after
6741 repeated window/frame switches (e.g. triggered by mouse-movement).
6742 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6743 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6744 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6745 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6746 Remove unused vars.
6747 (flyspell-get-casechars, flyspell-get-not-casechars):
6748 Simplify; Don't bother removing a ] just to add it back.
6749 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6750
d209e2fb 67512012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6752
6753 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6754 New functions.
bd7239f5 6755 (math-function-table): Add support for more C functions.
b1a10716 6756
3f1b25b5
AM
67572012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6758
090bd7cb
JB
6759 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6760 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6761 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6762
b581bb5c
SM
67632012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6766 their respective macro declarations.
6767 * skeleton.el (define-skeleton):
6768 * progmodes/compile.el (define-compilation-mode):
6769 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6770 (define-ibuffer-filter):
6771 * emacs-lisp/generic.el (define-generic-mode):
6772 * emacs-lisp/easy-mmode.el (define-minor-mode)
6773 (define-globalized-minor-mode):
6774 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6775 * emacs-lisp/byte-run.el (defsubst):
6776 * custom.el (deftheme): Add doc-string metadata.
6777
70b8ef8f
SM
67782012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6781
b1198e17
SM
67822012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6783
9abdc45d
SM
6784 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6785
b1198e17
SM
6786 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6787 * emacs-lisp/cl-macs.el: Idem.
6788 * emacs-lisp/cl-specs.el: Remove.
6789
4735906a
SM
67902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 Minor renaming of internal CL functions and variables.
6793 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6794 (cl--position): Rename from cl-position.
6795 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6796 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6797 (cl--random-state): Rename from *random-state*.
6798
ac348012
SM
67992012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6802 parens around the arg list (bug#11499).
6803
a0a79cde
JL
68042012-05-17 Juri Linkov <juri@jurta.org>
6805
6806 * isearch.el (word-search-regexp, word-search-backward)
6807 (word-search-forward, word-search-backward-lax)
6808 (word-search-forward-lax): Move functions from search.c
6809 (bug#10145, bug#11381).
6810
65034a51
AM
68112012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6812
090bd7cb
JB
6813 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6814 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6815 Delay for otherchars as for normal word components.
65034a51 6816
1a72a195
SM
68172012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6818
6819 * minibuffer.el (completion--sifn-requote): Fix last change.
6820 (minibuffer-local-must-match-filename-map):
6821 Move define-obsolete-variable-alias before its var.
6822
fdb058c2
SM
68232012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6824
c41045e6
SM
6825 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6826
036dfb8b
SM
6827 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6828 behavior.
6829 (completion--string-equal-p): New function.
6830 (completion--twq-all): Use it to get better assertion failure data.
6831
2473256d
SM
6832 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6833 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6834 (shell--requote-argument): New functions.
6835 (shell-completion-vars): Use them.
6836 (shell--parse-pcomplete-arguments): Rename from
6837 shell-parse-pcomplete-arguments.
6838 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6839 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6840 Obey comint-file-name-quote-list.
6841
fdb058c2
SM
6842 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6843 (smie-indent-keyword): Use it.
6844
51fa99f1
SM
68452012-05-14 Stefan Merten <smerten@oekonux.de>
6846
6847 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6848
e18afed7 68492012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6850
6851 * net/rlogin.el (rlogin-mode-map): Fix last change.
6852
e18afed7 68532012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6854
6855 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6856 the following \r\n using a single `process-send-string', since the
6857 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6858 with two `process-send-string's (Bug#11444).
8633b1f4 6859
e18afed7 68602012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6861
fdb058c2
SM
6862 * shell.el (shell-parse-pcomplete-arguments):
6863 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6864
2d21d7f6
WJ
68652012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6866
e18afed7 6867 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6868 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6869 (image-transform-width, image-transform-fit-width): New functions.
6870 (image-transform-properties): Use them.
6871 (image-transform-check-size): New function.
6872 (image-toggle-display-image): Use it (for testing).
6873 (image-transform-set-rotation): Reduce angle mod 360.
6874 Delete obsolete comment.
6875
7102e6d0
WJ
68762012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6877
6878 * image-mode.el: Fix scaling (bug#11399).
6879 (image-transform-resize): Doc fix.
6880 (image-transform-properties): Default scale is 1 and height should
6881 be an integer.
6882
06bc5e6e
SM
68832012-05-13 Johan Bockgård <bojohan@gnu.org>
6884
6885 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6886 than hard-coding `car', to fix misbehavior when moving forward.
6887
0ae03b6a
CY
68882012-05-13 Chong Yidong <cyd@gnu.org>
6889
6890 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6891 (tabulated-list-entries, tabulated-list-padding)
6892 (tabulated-list-sort-key): Make permanent-local.
6893
6894 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6895 (electric-buffer-list): Put electric buffer menu
6896 command descriptions in this docstring, instead of the docstring
6897 of electric-buffer-menu-mode. Code cleanups.
6898 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6899 Electric-buffer-menu-mode.
6900 (electric-buffer-update-highlight): Minor code cleanup.
6901
205a7391
MA
69022012-05-13 Michael Albinus <michael.albinus@gmx.de>
6903
6904 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6905 (Bug#11447)
6906
e5bd0a28
SM
69072012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 Move define-obsolete-variable-alias before the var's definition.
6910 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6911 * tooltip.el (tooltip-hook):
6912 * textmodes/reftex-toc.el (reftex-toc-map):
6913 * textmodes/reftex-sel.el (reftex-select-label-map)
6914 (reftex-select-bib-map):
6915 * textmodes/reftex-index.el (reftex-index-map)
6916 (reftex-index-phrases-map):
6917 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6918 * progmodes/meta-mode.el (meta-mode-map):
6919 * novice.el (disabled-command-hook):
6920 * loadhist.el (unload-hook-features-list):
6921 * frame.el (blink-cursor):
6922 * files.el (find-file-not-found-hooks, write-file-hooks)
6923 (write-contents-hooks):
6924 * emulation/tpu-edt.el (GOLD-map):
6925 * emacs-lock.el (emacs-lock-from-exiting):
6926 * emacs-lisp/generic.el (generic-font-lock-defaults):
6927 * emacs-lisp/chart.el (chart-map):
6928 * dos-fns.el (register-name-alist):
6929 * dired-x.el (dired-omit-files-p):
6930 * desktop.el (desktop-enable):
6931 * cus-edit.el (custom-mode-hook):
6932 * buff-menu.el (buffer-menu-mode-hook):
6933 * bookmark.el (bookmark-read-annotation-text-func)
6934 (bookmark-exit-hooks):
6935 * allout.el (allout-mode-deactivate-hook)
6936 (allout-exposure-change-hook, allout-structure-added-hook)
6937 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6938 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6939 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6940 comes before the corresponding variable's definition.
6941
ac59c2f6
CY
69422012-05-12 Chong Yidong <cyd@gnu.org>
6943
6944 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6945 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6946 (Buffer-menu-mode-map): Bind it.
6947 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6948
dee6c9a3
SM
69492012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6950
2171cea5
SM
6951 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6952 (prolog-upper-case-string, prolog-lower-case-string)
6953 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6954 (prolog-use-smie, prolog-smie-grammar): New vars.
6955 (prolog-smie-forward-token, prolog-smie-backward-token)
6956 (prolog-smie-rules): New funs.
6957 (prolog-comment-indent): Remove.
6958 (prolog-mode-variables): Use default comment indentation instead.
6959 Setup SMIE.
6960 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6961 (prolog-mode): Don't call them any more.
6962 (prolog-electric-colon, prolog-electric-dash)
6963 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6964
aa0382bd
SM
6965 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6966
dbacb4bd
SM
6967 * minibuffer.el (completion--twq-all): Again, allow case differences.
6968
13bdd94c
SM
6969 * term.el: Move keymap initialization code to be more idiomatic.
6970 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6971 (term-terminal-menu): Move initialization into declaration.
6972 (term-escape-char): Let the user set it in her .emacs.
6973
ff46c759
SM
6974 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6975 Provide SMIE-based indentation (not enabled by default yet).
6976 (sh-mode-map): Don't bind electric keys.
6977 Use electric-pair-mode instead of skeleton-pair.
6978 (sh-assignment-regexp): Fit within 80 columns.
6979 (sh-indent-supported): Specify actual shell name instead of boolean.
6980 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6981 (sh-maybe-here-document): Use it. Make obsolete.
6982 (sh-electric-here-document-mode) New minor mode.
6983 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6984 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6985 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6986 (sh-smie-rc-grammar, sh-use-smie): New vars.
6987 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6988 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6989 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6990 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6991 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6992 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6993 (sh-set-shell): Use smie-setup if requested.
6994
dee6c9a3
SM
6995 * term.el (term-set-escape-char): Properly set term-escape-char.
6996 See http://stackoverflow.com/questions/10524656.
6997
9f9aa044
CY
69982012-05-10 Chong Yidong <cyd@gnu.org>
6999
7000 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7001 Use url-generic-parse-url, and handle host names and Windows
7002 filenames properly.
7003 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7004 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7005 URL schemes to work on.
7006 (ffap--toggle-read-only): New function.
7007 (ffap-read-only, ffap-read-only-other-window)
7008 (ffap-read-only-other-frame): Use it.
7009 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7010 necessary for ffap-url-unwrap-remote.
7011
836d29b3
DA
70122012-05-10 Dave Abrahams <dave@boostpro.com>
7013
7014 * cus-start.el (create-lockfiles): Add it.
7015
00fd78ed
CY
70162012-05-09 Chong Yidong <cyd@gnu.org>
7017
7018 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7019 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7020
666b903b 70212012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7022
7023 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7024
666b903b 70252012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7026
7027 * ansi-color.el (ansi-color-process-output): Check for validity of
7028 comint-last-output-start before using it. This avoids a bad
7029 interaction with gdb-mi's input/output buffer.
7030
666b903b 70312012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7032
7033 * files.el (dir-locals-read-from-file):
7034 Mention dir-locals in any error message.
7035
666b903b 70362012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7037
7038 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7039 package (Bug#11410).
7040
f677562b
CY
7041 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7042 variables into description.
7043
666b903b 70442012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7045
7046 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7047 shell-delimiter-argument-list (bug#11348).
7048 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7049
b499d8d0
JB
70502012-05-09 Juanma Barranquero <lekktu@gmail.com>
7051
8f6b6da8
JB
7052 * textmodes/rst.el: Silence byte-compiler warnings.
7053 (rst-re-alist, rst-reset-section-caches): Move around.
7054 (rst-re): Use `characterp', not `char-valid-p'.
7055 (font-lock-beg, font-lock-end): Declare.
7056
4824146a
JB
7057 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7058 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7059
b499d8d0
JB
7060 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7061
ad89bb83
GM
70622012-05-08 Glenn Morris <rgm@gnu.org>
7063
7064 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7065
8bba5a75
SM
70662012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7067
49ed9c8e
SM
7068 * vc/log-edit.el: Add GNU coding standards highlighting.
7069 (log-edit-font-lock-gnu-style)
7070 (log-edit-font-lock-gnu-keywords): New vars.
7071 (log-edit-font-lock-keywords): New fun.
7072 (log-edit-mode): Don't fold case in font-lock.
7073 (log-edit-font-lock-keywords): Do not assume case-folding.
7074
07d00b56
SM
7075 * imenu.el: Misc cleanup. Make docstrings out of comments.
7076 Use lexical-binding.
7077 (imenu--index-alist, imenu--last-menubar-index-alist)
7078 (imenu-menubar-modified-tick): Use defvar-local.
7079 (imenu--split-menu): Remove unused var.
7080 (imenu--cleanup-seen): Declare as global.
7081 (imenu--cleanup): Use dolist.
7082
8bba5a75
SM
7083 * subr.el (defvar-local): Add debug spec and doc-string position.
7084
5075bdb5
GM
70852012-05-08 Glenn Morris <rgm@gnu.org>
7086
090bd7cb 7087 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7088 * language/english.el, language/georgian.el, language/greek.el:
7089 * language/japanese.el, language/khmer.el, language/korean.el:
7090 * language/lao.el, language/misc-lang.el, language/romanian.el:
7091 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7092 * language/thai.el, language/utf-8-lang.el:
7093 Remove no-byte-compile setting.
7094
5075bdb5
GM
7095 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7096
06f679a7
AH
70972012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7098
7099 * progmodes/make-mode.el (makefile-browse):
7100 Remove unnecessary interactive. (Bug#11324)
7101
03794570
GM
71022012-05-07 Glenn Morris <rgm@gnu.org>
7103
af8630f4
GM
7104 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7105
03794570
GM
7106 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7107
f0809a9d
SM
71082012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7109
28be5ce7
SM
7110 * loadup.el: Preload newcomment.el.
7111 * newcomment.el: Move autoload-only code to toplevel.
7112
f0809a9d
SM
7113 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7114 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7115 Handle new :right-align column property.
7116 (tabulated-list-print-col): Idem, plus use `display' text-property to
7117 try and preserve alignment for variable pitch fonts.
7118
1241b724
CY
71192012-05-07 Chong Yidong <cyd@gnu.org>
7120
7121 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7122 (tabulated-list-use-header-line): New var.
7123 (tabulated-list-init-header): Use it.
7124 (tabulated-list-print-fake-header): New function.
7125 (tabulated-list-print): Use it.
7126 (tabulated-list-sort-button-map): Add non-header-line commands.
7127 (tabulated-list-init-header): Add column name property to basic
7128 labels as well.
7129 (tabulated-list-col-sort): Handle non-header-line button case.
7130 (tabulated-list--sort-by-column-name): Fix a corner case.
7131
f0809a9d
SM
7132 * buff-menu.el (list-buffers--refresh):
7133 Handle Buffer-menu-use-header-line.
1241b724 7134
e5f9458f
CY
71352012-05-06 Chong Yidong <cyd@gnu.org>
7136
7137 * buff-menu.el: Convert to Tabulated List mode.
7138 (Buffer-menu-buffer+size-width): Make obsolete.
7139 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7140 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7141 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7142 documentation into docstring of buffer-menu.
7143 (Buffer-menu-toggle-files-only): Add an informative message.
7144 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7145 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7146 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7147 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7148 (Buffer-menu-execute, Buffer-menu-select)
7149 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7150 (Buffer-menu-bury): Use Tabulated List machinery.
7151 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7152 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7153 Delete.
e5f9458f
CY
7154 (list-buffers--refresh): New function.
7155 (list-buffers-noselect): Use it.
7156 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7157 (Buffer-menu--pretty-file-name): New helper functions.
7158
7159 * loadup.el: Preload tabulated-list.
7160
7161 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7162 tabulated-list-sort-column.
7163 (tabulated-list-init-header): Add the initial aligning space even
7164 if tabulated-list-padding is zero.
7165
e129292c
CS
71662012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7167
7168 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7169 whose cdr is not a cons cell correctly (bug#11038).
7170
6632d361
CY
71712012-05-06 Chong Yidong <cyd@gnu.org>
7172
e129292c
CS
7173 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7174 Accept additional plist in column descriptors.
6632d361
CY
7175 (tabulated-list-init-header): Obey it.
7176 (tabulated-list-get-entry): New function.
7177 (tabulated-list-put-tag): Use it. Use string-width instead of
7178 length.
7179 (tabulated-list--column-number): New function.
7180 (tabulated-list-print): Use it.
e129292c
CS
7181 (tabulated-list-print-col): New function.
7182 Set `tabulated-list-column-name' property on each column's text.
6632d361 7183 (tabulated-list-print-entry): Use it.
e129292c
CS
7184 (tabulated-list-delete-entry, tabulated-list-set-col):
7185 New functions.
6632d361
CY
7186 (tabulated-list-sort-column): New command (Bug#11337).
7187
3cc99f68
CY
7188 * buff-menu.el (list-buffers): Move C-x C-b binding from
7189 buff-menu.el to bindings.el.
7190
7191 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7192 :advertised-binding feature.
7193
52b61776
TN
71942012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7195
7196 * progmodes/compile.el (compilation-internal-error-properties):
7197 Calculate start position correctly when end-col is set but
7198 end-line is not (Bug#11382).
7199
ebfe2597
WJ
72002012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7201
7202 * man.el (Man-unindent): Use text-property-default-nonsticky to
7203 prevent untabify from inheriting face properties (Bug#11408).
7204
6d3f7c2f
SM
72052012-05-05 Stefan Merten <smerten@oekonux.de>
7206
7207 * textmodes/rst.el: Major merge with upstream development up to
7208 Docutils SVN r7399 / rst.el V1.2.1.
7209
7210 Clarify maintainership and authors.
7211
7212 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7213 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7214 (rst-official-version, rst-official-cvs-rev, rst-version)
7215 (rst-package-emacs-version-alist): New functions and variables
7216 for version information.
7217
7218 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7219 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7220 (rst-mode-syntax-table, rst-mode): New and corrected functions
7221 and variables representing reStructuredText features.
7222
7223 (rst-re): New function for reStructuredText regexes. Use in
7224 many places.
7225
7226 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7227 (rst-mode-map): Rebind keys.
7228
7229 (rst-mode-lazy, rst-font-lock-keywords)
7230 (rst-font-lock-extend-region)
7231 (rst-font-lock-extend-region-internal)
7232 (rst-font-lock-extend-region-extend)
7233 (rst-font-lock-find-unindented-line-limit)
7234 (rst-font-lock-find-unindented-line-match)
7235 (rst-adornment-level, rst-font-lock-adornment-level)
7236 (rst-font-lock-adornment-match)
7237 (rst-font-lock-handle-adornment-pre-match-form)
7238 (rst-font-lock-handle-adornment-matcher): Major revision of
7239 font-locking. Integrate with other code. Use `jit-lock-mode'.
7240
7241 (rst-preferred-adornments, rst-adjust-hook)
7242 (rst-new-adornment-down, rst-preferred-bullets)
7243 (rst-preferred-bullets, rst-indent, rst-indent-width)
7244 (rst-indent-field, rst-indent-literal-normal)
7245 (rst-indent-literal-minimized, rst-indent-comment): Change,
7246 extend and improve customization.
7247
7248 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7249 (rst-normalize-cursor-position, rst-get-decoration)
7250 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7251 (rst-rstrip, rst-toc-insert-find-delete-contents)
7252 (rst-shift-fill-region, rst-compute-bullet-tabs)
7253 (rst-debug-print-tabs, rst-debug-mark-found)
7254 (rst-shift-region-guts, rst-shift-region-right)
7255 (rst-shift-region-left, rst-use-char-classes)
7256 (rst-font-lock-keywords-function)
7257 (rst-font-lock-indentation-point)
7258 (rst-font-lock-find-unindented-line-begin)
7259 (rst-font-lock-find-unindented-line-end)
7260 (rst-font-lock-find-unindented-line)
7261 (rst-font-lock-adornment-point, rst-font-lock-level)
7262 (rst-adornment-level-alist): Remove functions and variables.
7263
7264 (rst-compare-adornments, rst-get-adornment-match)
7265 (rst-suggest-new-adornment, rst-get-adornments-around)
7266 (rst-adornment-complete-p, rst-get-next-adornment)
7267 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7268 (rst-straighten-adornments): Standardize function names to
7269 use "adornment" instead of "decoration". Correct callers.
7270 Similar standardizing in many places.
7271
7272 (rst-update-section, rst-adjust, rst-promote-region)
7273 (rst-enumerate-region, rst-bullet-list-region)
7274 (rst-repeat-last-character): Correct use of `interactive'.
7275
7276 (rst-classify-adornment, rst-find-all-adornments)
7277 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7278 (rst-find-leftmost-column, rst-repeat-last-character):
7279 Refactor functions.
7280
7281 (rst-find-title-line, rst-reset-section-caches)
7282 (rst-get-adornments-around, rst-adjust-adornment-work)
7283 (rst-arabic-to-roman, rst-roman-to-arabic)
7284 (rst-insert-list-pos, rst-insert-list-new-item)
7285 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7286 New functions.
7287
7288 (rst-all-sections, rst-section-hierarchy)
7289 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7290 New variables.
7291
7292 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7293 configuration instead of only buffer. Change where necessary.
7294
7295 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7296 (rst-shift-region, rst-adaptive-fill): New functions for
7297 indentation and filling.
7298
7299 (rst-comment-line-break, rst-comment-indent)
7300 (rst-comment-insert-comment, rst-comment-region)
7301 (rst-uncomment-region): New functions for handling comments.
7302
7303 (rst-compile): Quote shell arguments.
7304
7305 (rst-compile-pdf-preview, rst-compile-slides-preview):
7306 Delete temporary files after use.
7307
a43f98b3
GM
73082012-05-05 Glenn Morris <rgm@gnu.org>
7309
48176e8b
GM
7310 * calendar/cal-html.el: Optionally include holidays in the output.
7311 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7312 (cal-html-holidays): New option.
7313 (cal-html-css-default): Add holiday entry.
7314 (holiday-in-range): Autoload it.
7315 (cal-html-htmlify-entry): Add optional class argument.
7316 (cal-html-htmlify-list): Add optional holidays argument.
7317 (cal-html-insert-agenda-days): Include holidays in the output.
7318 (cal-html-one-month): Maybe include holidays.
7319
a43f98b3
GM
7320 * calendar/holidays.el (holiday-in-range):
7321 Move here from cal-tex-list-holidays.
7322 * calendar/cal-tex.el (cal-tex-list-holidays):
7323 Make it an obsolete alias for holiday-in-range. Update all callers.
7324
fef9d149 73252012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7326
7327 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7328 Nextstep.
7329
248da2f4
RW
73302012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7331
7332 * files.el (file-auto-mode-skip): New var.
7333 (set-auto-mode-1): Use it.
7334
f95e9344
SM
73352012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7336
df96ab1e
SM
7337 * repeat.el: Use lexical-binding.
7338 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7339 (repeat-undo-count): Remove.
7340 (repeat):
7341 * progmodes/octave-mod.el (octave-abbrev-start):
7342 * progmodes/f90.el (f90-abbrev-start):
7343 * face-remap.el (text-scale-adjust):
7344 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7345
5342bb06
SM
7346 * emacs-lisp/pcase.el (pcase--let*): New function.
7347 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7348 a bit more.
7349 (pcase--split-pred): Be more clever about ruling out overlap between
7350 a predicate and some constant pattern.
7351 (pcase--q1): Use `null' instead of (eq foo nil).
7352
f95e9344
SM
7353 * subr.el (setq-local, defvar-local): New macros.
7354 (kbd): Redefine as an alias.
7355 (with-selected-window): Leave unrelated frames alone.
7356 (set-temporary-overlay-map): New function.
7357
71873e2b
SM
73582012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * subr.el (user-error): New function.
7361 * window.el (switch-to-buffer):
7362 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7363 (smerge-match-conflict):
7364 * simple.el (previous-matching-history-element)
7365 (next-matching-history-element, goto-history-element, undo-more)
7366 (undo-start):
7367 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7368 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7369 (next-file, tags-loop-scan, list-tags, complete-tag):
7370 * progmodes/compile.el (compilation-loop):
7371 * mouse.el (mouse-minibuffer-check):
7372 * man.el (Man-bgproc-sentinel, Man-goto-page):
7373 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7374 (Info-history-forward, Info-follow-reference, Info-menu)
7375 (Info-extract-menu-item, Info-extract-menu-counting)
7376 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7377 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7378 (Info-next-reference, Info-prev-reference, Info-index)
7379 (Info-index-next, Info-follow-nearest-node)
7380 (Info-copy-current-node-name):
7381 * imenu.el (imenu--make-index-alist)
7382 (imenu-default-create-index-function, imenu-add-to-menubar):
7383 * files.el (basic-save-buffer, recover-file):
7384 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7385 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7386 (checkdoc-message-text, checkdoc-defun):
7387 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7388 * cus-edit.el (customize-changed-options, customize-rogue)
7389 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7390 (custom-variable-mark-to-reset-standard)
7391 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7392 (custom-file):
7393 * completion.el (check-completion-length):
7394 * comint.el (comint-search-arg)
7395 (comint-previous-matching-input-string-position)
7396 (comint-previous-matching-input)
7397 (comint-replace-by-expanded-history-before-point, comint-send-input)
7398 (comint-copy-old-input, comint-backward-matching-input)
7399 (comint-goto-process-mark, comint-set-process-mark):
7400 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7401 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7402
8a61ee22
SM
74032012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7404
66408d1e
SM
7405 * dabbrev.el (dabbrev--ignore-case-p): New function.
7406 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7407 Use it.
7408
8a61ee22
SM
7409 * files.el (automount-dir-prefix): Mark as obsolete.
7410
3c74813a
GM
74112012-05-04 Glenn Morris <rgm@gnu.org>
7412
7413 * patcomp.el, play/bruce.el: Move to obsolete/.
7414
0bfcf5c5
PE
74152012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7416
7417 Fix minor Y10k bugs.
7418 * arc-mode.el (archive-unixdate):
7419 * autoinsert.el (auto-insert-alist):
7420 * calc/calc-forms.el (math-this-year):
7421 * emacs-lisp/copyright.el (copyright-current-year)
7422 (copyright-update-year, copyright):
7423 * tar-mode.el (tar-clip-time-string):
7424 * time.el (display-time-update):
7425 Don't assume years have 4 digits.
7426
78f3273a
CY
74272012-05-04 Chong Yidong <cyd@gnu.org>
7428
7429 * dos-w32.el (file-name-buffer-file-type-alist)
7430 (direct-print-region-use-command-dot-com):
7431 * ffap.el (ffap-menu-regexp):
7432 * find-file.el (ff-special-constructs):
7433 * follow.el (follow-debug):
7434 * forms.el (forms--debug):
7435 * iswitchb.el (iswitchb-all-frames):
7436 * ido.el (ido-all-frames):
7437 * emacs-lisp/timer.el (timer-max-repeats):
7438 * mail/feedmail.el (feedmail-mail-send-hook)
7439 (feedmail-mail-send-hook-queued):
7440 * mail/footnote.el (footnote-signature-separator):
7441 * mail/mailabbrev.el (mail-alias-separator-string)
7442 (mail-abbrev-mode-regexp):
7443 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7444 * progmodes/idlwave.el (idlwave-libinfo-file)
7445 (idlwave-default-completion-case-is-down)
7446 (idlwave-library-routines): Convert defvars to defcustoms.
7447
7448 * mail/rmail.el (rmail-decode-mime-charset):
7449 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7450 (idlwave-shell-fix-inserted-breaks)
7451 (idlwave-shell-activate-alt-keybindings)
7452 (idlwave-shell-use-breakpoint-glyph):
7453 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7454
f7ae6719
SM
74552012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7458
47086495
WS
74592012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7460
7461 * progmodes/verilog-mode.el (font-lock-keywords):
7462 Fix mis-highligting auto. Reported by Craig Barner.
7463 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7464 defines from global name space. Reported by Dan Dever.
47086495
WS
7465 (verilog-auto-reset, verilog-auto-reset-widths)
7466 (verilog-auto-tieoff): Support using unbased numbers for
7467 AUTORESET and AUTOTIEOFF.
7468 (verilog-submit-bug-report): Update variable list.
7469 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7470 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7471 (verilog-auto-template-lint): Fix hash error when linting modules
7472 with no used templates.
7473 (verilog-warn, verilog-warn-error)
7474 (verilog-warn-fatal): When non-interactive report multiple
7475 warnings before exiting. Suggested by Brad Dobbie.
7476 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7477 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7478 to report unused template errors. Reported by Brad Dobbie.
7479 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7480 nets, bug438. Reported by Vns Blore.
47086495
WS
7481 (verilog-auto-inout-module, verilog-auto-reg)
7482 (verilog-read-decls, verilog-read-sub-decls-sig)
7483 (verilog-signals-edit-wire-reg, verilog-signals-with):
7484 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7485 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7486 "reg" for backwards compatibility presuming Verilog 2001.
7487 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7488 (verilog-preprocess): Fix replication of preprocess output.
7489 Reported by Brad Dobbie.
7490 (verilog-auto-inst-interfaced-ports):
7491 Create verilog-auto-inst-interfaced-ports, bug429.
7492 Reported by Julian Gorfajn.
7493 (verilog-after-save-font-hook)
7494 (verilog-before-save-font-hook): New variable.
7495 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7496 (verilog-save-font-mods): Wrap disabling fontification, reported
7497 by David Rogoff.
7498 (verilog-do-indent, verilog-pretty-declarations-auto)
7499 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7500 Reported by Pierre-David Pfister.
7501 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7502 of class declarations, bug292. Reported by Kevin Heilman.
7503 (verilog-read-decls): Fix 'parameter type' not appearing in
7504 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7505 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7506 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7507 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7508 Reported by David Kravitz.
7509
75102012-05-03 Michael McNamara <mac@mail.brushroad.com>
7511
7512 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7513 assignment with tests in ifs and for loops.
7514 (verilog-extended-complete-re, verilog-complete-reg): Change so
7515 that DPI inport functions don't look like fuction declarations.
7516 (verilog-pretty-expr): Don't line up assignment
7517 operations to the test and increment in if and for loops
7518 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7519 that DPI inport functions don't look like fuction declarations.
47086495 7520
2e51d4b5
KH
75212012-05-03 Kenichi Handa <handa@m17n.org>
7522
7523 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7524 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7525 (Bug#11282).
7526
2bd785a2
SM
75272012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7528
7529 * emacs-lisp/bytecomp.el
7530 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7531 since cconv.el might have introduced :fun-body, internal-make-closure,
7532 and friends for bytecomp to handle (bug#11391).
7533 * custom.el (defcustom): Avoid ((λ ..) ..).
7534
99d27583
SM
75352012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7538
55a71479
JB
75392012-05-02 Juanma Barranquero <lekktu@gmail.com>
7540
7541 * notifications.el (dbus-debug):
7542 * term/linux.el (gpm-mouse-enable):
7543 * term/screen.el (xterm-register-default-colors): Declare.
7544
7b97c764
CY
75452012-05-02 Chong Yidong <cyd@gnu.org>
7546
2bc356d7
CY
7547 * cus-start.el (gc-cons-percentage, exec-suffixes)
7548 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7549 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7550 (make-cursor-line-fully-visible, void-text-area-pointer)
7551 (font-list-limit): Add customization data.
7552
7b97c764
CY
7553 * allout.el (allout-exposure-change-functions)
7554 (allout-structure-added-functions)
7555 (allout-structure-deleted-functions)
7556 (allout-structure-shifted-functions): Rename abnormal hooks from
7557 *-hook, and convert to defcustoms.
5d3385a0
JB
7558 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7559 Convert to defcustoms.
7b97c764
CY
7560 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7561
7562 * allout-widgets.el: Hook callers changed.
7563
90207a15 75642012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7565
7566 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7567 the yanked message in preference to the default value of
7568 buffer-file-coding-system.
7569
90207a15 75702012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7571
5d3385a0
JB
7572 * window.el (display-buffer--action-function-custom-type):
7573 Fix entry.
d9558cad 7574
90207a15 75752012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7576
7577 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7578
d80ac57b
GM
75792012-05-01 Glenn Morris <rgm@gnu.org>
7580
976f7668
GM
7581 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7582
beb83b5a
GM
7583 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7584
d80ac57b
GM
7585 * cus-edit.el (custom-variable-documentation): Simplify with format.
7586
b593d6a9 75872012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7588 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7589
7590 * simple.el (suggest-key-bindings, execute-extended-command):
7591 Move from keyboard.c.
7592
782fbf2a
CY
75932012-05-01 Chong Yidong <cyd@gnu.org>
7594
7595 * follow.el: Eliminate advice.
7596 (set-process-filter, process-filter, sit-for): Advice deleted.
7597 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7598 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7599 Vars deleted.
782fbf2a
CY
7600 (follow-auto): Use a :set function.
7601 (follow-mode): Rewritten. Don't advise process filters.
7602 (follow-switch-to-current-buffer-all, follow-scroll-up)
7603 (follow-scroll-down): Assume follow-mode is bound.
7604 (follow-comint-scroll-to-bottom)
7605 (follow-align-compilation-windows): New functions.
7606 (follow--window-sorter): New function.
7607 (follow-all-followers): Use it to explicitly sort windows by their
7608 positions; don't make assumptions about next-window order.
7609 (follow-windows-start-end, follow-delete-other-windows-and-split)
7610 (follow-calc-win-start): Doc fix.
7611 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7612 vertical-motion unnecessarily.
7613 (follow-adjust-window): New function.
7614 (follow-post-command-hook): Use it.
7615 (follow-call-set-process-filter, follow-call-process-filter)
7616 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7617 (follow-stop-intercept-process-output, follow-generic-filter):
7618 Functions deleted.
7619 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7620 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7621 New functions, replacing advice on scroll-bar-* commands.
87233a14 7622 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7623
7624 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7625 (comint-postoutput-scroll-to-bottom): Use it.
7626 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7627
290af740
GM
76282012-05-01 Glenn Morris <rgm@gnu.org>
7629
7630 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7631 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7632 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7633 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7634 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7635 Remove no-byte-compile setting.
7636
6eac8dc9
SM
76372012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7640 all-completions code to not return a number in the last cdr.
7641
9cc7819c
LL
76422012-04-30 Leo Liu <sdl.web@gmail.com>
7643
7644 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7645 read-only error.
7646
c93b886f
CY
76472012-04-29 Chong Yidong <cyd@gnu.org>
7648
7649 * follow.el (follow-calc-win-end): Rewrite to handle partial
7650 screen lines correctly (Bug#8390).
7651 (follow-avoid-tail-recenter): Minor cleanup.
7652
8b6c19f4
SM
76532012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 Avoid the obsolete `assoc' package.
7656 * speedbar.el (speedbar-refresh): Avoid adelete.
7657 (speedbar-file-lists): Simplify and avoid aput.
7658 * man.el (Man--sections, Man--refpages): New vars, replacing
7659 Man-sections-alist and Man-refpages-alist.
7660 (Man-build-section-alist, Man-build-references-alist):
7661 Use them; avoid aput.
7662 (Man--last-section, Man--last-refpage): New vars.
7663 (Man-follow-manual-reference): Use them.
7664 Use the `default' arg of completing-read.
7665 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7666
c5bb7569
CY
76672012-04-27 Chong Yidong <cyd@gnu.org>
7668
d1d2e2e8
CY
7669 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7670
15cd8efd
CY
7671 * startup.el (x-apply-session-resources): New function.
7672
7673 * term/ns-win.el (ns-initialize-window-system):
7674 * term/w32-win.el (w32-initialize-window-system):
7675 * term/x-win.el (x-initialize-window-system): Use it to properly
7676 set menu-bar-mode and other vars from X resources, even if the
7677 initial frame is not a window-system frame (Bug#2299).
7678
c5bb7569
CY
7679 * subr.el (read-key): Avoid running filter function when setting
7680 up temporary tool bar entries (Bug#9922).
7681
a8e7d6d7 76822012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7683
7684 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7685 (Bug#11344)
7686
a8e7d6d7 76872012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7688
7689 * select.el (xselect--encode-string): New function, split from
7690 xselect-convert-to-string.
7691 (xselect-convert-to-string): Use it.
7692 (xselect-convert-to-filename, xselect-convert-to-os)
7693 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7694 returned strings are properly encoded (Bug#11315).
7695
a8e7d6d7 76962012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7697
7698 * simple.el (delete-active-region): Move to killing custom group.
7699
a8e7d6d7 77002012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7701
7702 * progmodes/which-func.el (which-func-current): Quote %
7703 characters for mode-line processing.
7704
578c1d4b 77052012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7706
7707 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7708 reaching eob (Bug#11286).
7709
a8e7d6d7 77102012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7711
7712 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7713 (gdb): Make it buffer-local and init to zero.
7714 (gdb-control-commands-regexp): New variable.
7715 (gdb-send): Don't wrap in "-interpreter-exec console" if
7716 gdb-control-level is positive. Increment gdb-control-level
7717 whenever the command matches gdb-control-commands-regexp, and
7718 decrement it each time the command is "end". (Bug#11279)
7719
a8e7d6d7 77202012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7721
7722 * window.el (adjust-window-trailing-edge, enlarge-window)
7723 (shrink-window, window-resize):
7724 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7725 windows (Bug#11276).
7726
b3608390
CY
77272012-04-27 Chong Yidong <cyd@gnu.org>
7728
7729 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7730 fix "missing prefix" warning. All callers changed.
b3608390 7731
797e6e88
SM
77322012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * emacs-lisp/assoc.el: Move to obsolete/.
7735
e95a67dc
SM
77362012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7737
657c21e4 7738 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7739
7740 * term/ns-win.el (ns-define-service):
7741 * progmodes/pascal.el (pascal-goto-defun):
7742 * progmodes/js.el (js--read-tab):
7743 * progmodes/etags.el (tags-lazy-completion-table):
7744 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7745 * emacs-lisp/ewoc.el (ewoc--wrap):
7746 * emacs-lisp/assoc.el (aput, adelete, amake):
7747 * doc-view.el (doc-view-convert-current-doc):
7748 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7749
cb3e7ae0
CY
77502012-04-26 Chong Yidong <cyd@gnu.org>
7751
dce04f7f
CY
7752 * image.el (image-type-from-buffer): Only return supported image
7753 type (Bug#9045).
7754
cb3e7ae0
CY
7755 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7756 value, for symmetry with diff-end-of-hunk.
7757 (diff-split-hunk, diff-find-source-location)
7758 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7759 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7760 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7761 compute the relevant hunk or file properly (Bug#6005).
7762 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7763
0d42eb3e
SM
77642012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * vc/vc-mtn.el:
7767 * vc/vc-hg.el:
7768 * vc/vc-git.el:
7769 * vc/vc-dir.el:
7770 * vc/vc-cvs.el:
7771 * vc/vc-bzr.el:
7772 * vc/vc-arch.el:
7773 * vc/vc.el: Replace lexical-let by lexical-binding.
7774 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7775 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7776 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7777
f08ae1c9
CY
77782012-04-26 Chong Yidong <cyd@gnu.org>
7779
8b71081d
CY
7780 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7781 (diff-mode-shared-map): Bind it to / and [remap undo].
7782
f08ae1c9
CY
7783 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7784 (ediff-window-setup-function): Use it as the default, to set up
7785 windows based on whether the current frame is graphical (Bug#2138).
7786 (ediff-choose-window-setup-function-automatically): Make obsolete.
7787
7788 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7789
ef24141c
SM
77902012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7791
cc356a5d
SM
7792 * ffap.el: Remove old code for obsolete package.
7793 (ffap-complete-as-file-p): Remove.
7794
b4ff4f1f
SM
7795 Use completion-table-with-quoting for comint and pcomplete.
7796 * comint.el (comint--unquote&requote-argument)
7797 (comint--unquote-argument, comint--requote-argument): New functions.
7798 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7799 (comint-quote-filename): Use regexp-opt-charset.
7800 (comint--common-suffix, comint--common-quoted-suffix)
7801 (comint--table-subvert): Remove.
7802 (comint-unquote-function, comint-requote-function): New vars.
7803 (comint--complete-file-name-data): Use them with
7804 completion-table-with-quoting.
7805 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7806 * pcomplete.el (pcomplete-arg-quote-list)
7807 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7808 (pcomplete-unquote-argument-function): Default to non-nil.
7809 (pcomplete-unquote-argument): Simplify.
7810 (pcomplete--common-quoted-suffix): Remove.
7811 (pcomplete-requote-argument-function): New var.
7812 (pcomplete--common-suffix): New function.
7813 (pcomplete-completions-at-point): Use completion-table-with-quoting
7814 and completion-table-subvert.
7815
79c4eeb4
SM
7816 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7817 (minibuffer--double-dollars): Preserve properties.
7818 (completion--sifn-requote): New function.
7819 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7820
ef24141c
SM
7821 * minibuffer.el: Add support for completion of quoted/escaped data.
7822 (completion-table-with-quoting, completion-table-subvert): New funs.
7823 (completion--twq-try, completion--twq-all): New functions.
7824 (completion--nth-completion): New function.
7825 (completion-try-completion, completion-all-completions): Use it.
7826
784e7d6e
LL
78272012-04-25 Leo Liu <sdl.web@gmail.com>
7828
dd2ac746
SM
7829 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7830 Use compilation-message if available to find real filename.
784e7d6e 7831
07875ee7
CY
78322012-04-25 Chong Yidong <cyd@gnu.org>
7833
7834 * vc/diff-mode.el (diff-setup-whitespace): New function.
7835 (diff-mode): Use it.
7836
7837 * vc/diff.el (diff-sentinel):
7838 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7839 Whitespace mode variables based on diff style (Bug#8612).
7840
5055880d
LL
78412012-04-25 Leo Liu <sdl.web@gmail.com>
7842
daf75653
LL
7843 * progmodes/python.el (python-send-region): Add suffix .py to the
7844 temp file.
7845
5055880d
LL
7846 * files.el (auto-mode-alist): Use javascript-mode instead.
7847
db9b177b
AH
78482012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7849
ef24141c 7850 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7851
090bd7cb 7852 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7853 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7854 references, see Bug#9.
ef24141c 7855 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7856 when receiving a fault reply.
ef24141c 7857 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7858
090bd7cb 7859 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7860 (soap-inspect-simple-type): New function.
db9b177b 7861
090bd7cb 7862 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7863 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7864 (soap-decode-basic-type, soap-encode-basic-type):
7865 support unsignedInt and double basic types.
db9b177b 7866 (soap-resolve-references-for-simple-type)
ef24141c
SM
7867 (soap-parse-simple-type, soap-encode-simple-type): New function.
7868 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7869
090bd7cb 7870 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7871 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7872 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7873 the local name of "soapenc:Array".
7874 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7875 decoding integer, byte and anyURI xsd types.
7876
1fc6097b
CY
78772012-04-25 Chong Yidong <cyd@gnu.org>
7878
7879 * cus-edit.el (custom-buffer-create-internal): Update header text.
7880
afc6df87
EZ
78812012-04-25 Eli Zaretskii <eliz@gnu.org>
7882
7883 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7884 settings on 'system-type', not on 'window-system'. On MS-Windows,
7885 set interactive-mode on in GDB.
7886
dfbd787f
SM
78872012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7890 (ruby-syntax-propertize-regexp): Remove.
7891 (ruby-syntax-propertize-function): Split regexp into chunks.
7892 Match following code directly.
7893
85222d44
DG
78942012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7895
51a8ea2a
DG
7896 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7897 (ruby-syntax-propertize-regexp): New function.
7898 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7899 by a special keyword.
7900
85222d44
DG
7901 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7902 (ruby-syntax-general-delimiters-goto-beg)
7903 (ruby-syntax-propertize-general-delimiters): New functions.
7904 (ruby-syntax-propertize-function): Use them to handle GDL.
7905 (ruby-font-lock-keywords): Move old handling of GDL...
7906 (ruby-font-lock-syntactic-keywords): .. to here.
7907 (ruby-calculate-indent): Adjust indentation for GDL.
7908
b613912b
MA
79092012-04-24 Michael Albinus <michael.albinus@gmx.de>
7910
b5380639
MA
7911 * notifications.el (top): Remove unneeded declarations.
7912 (notifications-specification-version): Change to "1.2".
e43042fe 7913 (notifications-interface, notifications-notify-method)
b613912b
MA
7914 (notifications-close-notification-method): Fix docstring.
7915 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7916 (notifications-notify): Add :action-items, :resident and
7917 :transient hints. Change "image_data" to "image-data" and
7918 "image_path" to "image-path".
b613912b
MA
7919 (notifications-get-capabilities): New defun.
7920
257440aa
LL
79212012-04-24 Leo Liu <sdl.web@gmail.com>
7922
7923 * progmodes/python.el: Move hideshow setup to the end.
7924
b1bac16e
MR
79252012-04-24 Martin Rudalics <rudalics@gmx.at>
7926
7927 * window.el (handle-select-window): Clear echo area since this is
7928 no more done by read_char (Bug#11304).
7929
d81bd059
SM
79302012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7933 and `/ M' to filter-derived-mode.
7934 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7935 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7936 (ibuffer-mark-by-mode): Use default rather than initial-input.
7937 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7938
c4cf6d91
IA
79392012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7940
7941 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7942 (ibuffer-filter-by-derived-mode): New filter.
7943 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7944
7511ded8
CY
79452012-04-23 Andreas Politz <politza@fh-trier.de>
7946
7947 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7948
775c916b
CY
79492012-04-23 Chong Yidong <cyd@gnu.org>
7950
7951 * cus-edit.el (customize-apropos, customize-apropos-options):
7952 Disable matching of non-option variables (Bug#11176).
7953 (customize-option, customize-option-other-window)
7954 (customize-changed-options): Doc fix.
7955 (customize-apropos-options, customize-apropos-faces)
7956 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7957
7958 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7959 Fix word list splitting (Bug#11132).
46c71e23
CY
7960 (apropos-symbol, apropos-keybinding, apropos-label)
7961 (apropos-property, apropos-function-button)
7962 (apropos-variable-button, apropos-misc-button): New faces.
7963 (apropos-symbol-face, apropos-keybinding-face)
7964 (apropos-label-face, apropos-property-face, apropos-match-face):
7965 Variables removed (Bug#8396).
7966 (apropos-library-button, apropos-format-plist, apropos-print)
7967 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7968
2df41f9c
MA
79692012-04-23 Michael Albinus <michael.albinus@gmx.de>
7970
7971 * net/xesam.el (xesam-mode-map): Use let-bound map in
7972 initialization. (Bug#11292)
7973
da00640a
AM
79742012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7975
7976 Preserve ispell session localwords when switching back to
7977 original buffer.
7978
090bd7cb
JB
7979 * textmodes/ispell.el (ispell-buffer-session-localwords):
7980 New buffer-local variable to hold buffer session localwords.
ed9265fc 7981 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7982 localwords.
7983 (ispell-command-loop, ispell-change-dictionary)
7984 (ispell-buffer-local-words): Preserve session localwords when
7985 needed.
7986
090bd7cb
JB
7987 * textmodes/flyspell.el (flyspell-process-localwords)
7988 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7989
f621ccf5
AM
79902012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7991
090bd7cb
JB
7992 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7993 using obsolete `translation-table-for-input'.
ef24141c
SM
7994 (ispell-word, ispell-process-line, ispell-complete-word):
7995 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7996
c2d1019e
CY
79972012-04-22 Chong Yidong <cyd@gnu.org>
7998
7999 * cus-edit.el (custom-variable-menu)
8000 (custom-variable-reset-saved, custom-face-menu)
8001 (custom-face-reset-saved): If there is no saved value, make the
8002 "reset-saved" operation bring back the default (Bug#9509).
8003 (custom-face-state): Properly detect themed faces.
8004
eeddc531
CY
8005 * faces.el (face-spec-set): Stop supporting deprecated form of
8006 third arg.
8007
dcbf5805
MA
80082012-04-22 Michael Albinus <michael.albinus@gmx.de>
8009
8010 Move functions from C to Lisp. Make non-blocking method calls
8011 the default. Implement further D-Bus standard interfaces.
8012
ef24141c
SM
8013 * net/dbus.el (dbus-message-internal): Declare function.
8014 Remove unneeded function declarations.
dcbf5805
MA
8015 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8016 (dbus-message-type-method-return, dbus-message-type-error)
8017 (dbus-message-type-signal): Declare variables. Remove local
8018 definitions.
8019 (dbus-interface-dbus, dbus-interface-peer)
8020 (dbus-interface-introspectable, dbus-interface-properties)
8021 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8022 Adapt docstring.
8023 (dbus-interface-objectmanager): New defconst.
8024 (dbus-call-method, dbus-call-method-asynchronously)
8025 (dbus-send-signal, dbus-method-return-internal)
8026 (dbus-method-error-internal, dbus-register-service)
8027 (dbus-register-signal, dbus-register-method): New defuns, moved
8028 from dbusbind.c
8029 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8030 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8031 New defuns.
dcbf5805
MA
8032 (dbus-call-method-non-blocking): Make it an obsolete function.
8033 (dbus-unregister-object, dbus-unregister-service)
8034 (dbus-handle-event, dbus-register-property)
8035 (dbus-property-handler): Obey the new structure of
8036 `bus-registered-objects'.
8037 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8038 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8039 Use `dbus-call-method'.
8040
cf20dee0
CY
80412012-04-22 Chong Yidong <cyd@gnu.org>
8042
8043 * cus-edit.el (custom-commands, custom-reset-menu)
8044 (Custom-reset-standard): Tweak labels.
8045 (custom-reset-button-menu): Change default to t.
8046 (custom-buffer-create-internal): For the custom-reset-button-menu
8047 case, put the revert button first.
8048 (custom-group-subtitle): New face.
8049 (custom-group-value-create): Align docstring to a specific column.
8050
8051 * wid-edit.el (widget-documentation-link-add): Don't handle
8052 indentation in this function.
8053 (widget-documentation-string-indent-to): New function.
8054 (widget-documentation-string-value-create): Use it.
8055
8056 * autorevert.el (auto-revert):
8057 * epg-config.el (epg):
8058 * ibuffer.el (ibuffer):
8059 * mpc.el (mpc):
8060 * ses.el (ses):
8061 * eshell/eshell.el (eshell):
8062 * net/ange-ftp.el (ange-ftp):
8063 * progmodes/ebnf2ps.el (postscript):
8064 * progmodes/flymake.el (flymake):
8065 * progmodes/prolog.el (prolog):
8066 * progmodes/verilog-mode.el (verilog-mode):
8067 * progmodes/which-func.el (which-func):
8068 * term/xterm.el (xterm):
8069 * textmodes/picture.el (picture):
8070 * textmodes/tildify.el (tildify):
8071 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8072 customization buffers.
8073
583e23bd
AM
80742012-04-22 Alan Mackenzie <acm@muc.de>
8075
8076 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8077 Adding a ) can hide the resulting (..) from searches. Fix it.
8078 Bound the backward search to the position of the existing (.
8079
7dd51bf1
JB
80802012-04-21 Juanma Barranquero <lekktu@gmail.com>
8081
8082 * progmodes/verilog-mode.el (verilog-mode): Check whether
8083 which-func-modes is t before adding verilog-mode.
8084 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8085
d64a438f
LL
80862012-04-21 Leo Liu <sdl.web@gmail.com>
8087
7dd51bf1 8088 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8089
081e8d65
MV
80902012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8091
8092 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8093 filling of the last column of a table (Bug#5635).
8094 (woman-find-next-control-line): New arg, specifying an additional
8095 regexp component for the control line.
8096 (woman2-roff-buffer): Use it.
8097 (woman-break-table): New function.
8098 (woman2-TS): Use it.
8099
81002012-04-21 Chong Yidong <cyd@gnu.org>
8101
8102 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8103 (woman-horizontal-escapes, woman-negative-vertical-space)
8104 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8105 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8106
ed571ccb
SM
81072012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * minibuffer.el (completion-file-name-table): Complete user names.
8110
39773899
LL
81112012-04-20 Leo Liu <sdl.web@gmail.com>
8112
8113 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8114 and pcase-let*.
8115
de6ff46d
CY
81162012-04-20 Chong Yidong <cyd@gnu.org>
8117
8118 * server.el (server-execute): Respect initial-buffer-choice if it
8119 is a string and there are no files to open (Bug#2825).
8120 (server-create-window-system-frame, server-create-tty-frame):
8121 Don't switch buffers here.
2d0e8e61
CY
8122 (server-process-filter): Only try to open a window system frame if
8123 compiled with graphical support (Bug#8314).
de6ff46d 8124
54071013
DN
81252012-04-20 Dan Nicolaescu <dann@gnu.org>
8126
8127 * battery.el (battery-echo-area-format): Display remaining time
8128 for sysfs backend too (Bug#11269).
8129 (battery-linux-sysfs): Fix conditional for the charge.
8130
f30d612a
CY
81312012-04-20 Chong Yidong <cyd@gnu.org>
8132
c07a4c0b 8133 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8134 (gdb-inferior-io--init-proc): New function.
8135 (gdb-init-1): Use it.
8136 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8137 responsible for allocating a new pty and hooking it to gdb when
8138 the old pty gets an EIO due to process exit.
8139 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8140 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8141 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8142
2116e93c
EZ
81432012-04-20 Eli Zaretskii <eliz@gnu.org>
8144
8145 * window.el (window-min-size, window-sizable, window-min-delta)
8146 (window-max-delta, window--resizable, window-resizable)
8147 (window-total-size, window-full-height-p, window-full-width-p)
8148 (window-in-direction, window--resize-mini-window, window-resize)
8149 (window--resize-child-windows-normal)
8150 (window--resize-child-windows, window--resize-siblings)
8151 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8152 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8153
c07a4c0b 81542012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8155
ef24141c
SM
8156 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8157 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8158 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8159 pty process (Bug#11273).
8160 (gdb-update): New arg to suppress talking to the gdb process.
8161 (gdb-done-or-error): Use it.
8162 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8163 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8164 sentinel not being called.
8165
8166 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8167
d02766ab
CY
8168 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8169
c07a4c0b 81702012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8171
8172 * net/network-stream.el (open-network-stream): Doc fix.
8173
c07a4c0b 81742012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8175
8176 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8177
c07a4c0b 81782012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8179
8180 Ensure searching for keywords is case sensitive.
8181
8182 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8183 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8184 (c-defun-name, c-mark-function, c-cpp-define-name)
8185 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8186 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8187
ef24141c
SM
8188 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8189 Bind case-fold-search to nil.
f0f6bc35 8190
c07a4c0b 81912012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8192
8193 * mail/sendmail.el (mail-bury): Call return action with the right
8194 Rmail buffer (Bug#11242).
8195
9a864fa2
CY
8196 * server.el (server-process-filter): Handle corner case where both
8197 tty and nowait options are present (Bug#11102).
8198
539aa513
EZ
81992012-04-20 Eli Zaretskii <eliz@gnu.org>
8200
8201 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8202 (top level): Put into the executable the ident-style '$Id:' tag on
8203 windows-nt as well.
539aa513 8204
cfc7d5da
SM
82052012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * electric.el (electric-indent-post-self-insert-function): Check that
8208 electric-indent-mode is enabled in current buffer.
8209
5b01685c
JB
82102012-04-19 Juanma Barranquero <lekktu@gmail.com>
8211
8212 * imenu.el (imenu-progress-message): Restore; it is "used" in
8213 erc/erc-imenu.el and net/snmp-mode.el.
8214
4d6769e1
JB
82152012-04-19 Juanma Barranquero <lekktu@gmail.com>
8216
8217 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8218 (mouse-avoidance-nudge-mouse): Remove unused binding.
8219
8220 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8221
8222 * descr-text.el (describe-char):
8223 * progmodes/python.el (python-describe-symbol):
8224 Don't call `toggle-read-only', set `buffer-read-only'.
8225
8226 * imenu.el (imenu-default-goto-function): Mark unused args.
8227 (imenu-progress-message): Remove obsolete macro; all callers changed.
8228
8229 * subr.el (keymap-canonicalize): Remove unused binding.
8230 (read-passwd): Mark unused arg.
8231
8232 * tutorial.el (tutorial--display-changes): Remove unused binding.
8233 (tutorial--save-tutorial-to): Remove unused variable.
8234
8235 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8236 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8237 (package-generate-autoloads, package-menu--generate)
8238 (package-menu--find-upgrades): Remove unused bindings.
8239
8240 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8241 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8242 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8243 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8244 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8245 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8246 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8247 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8248 (cua-delete-char-rectangle): Mark unused args.
8249 (cua-align-rectangle): Remove unused binding.
8250
8251 * mail/rmail.el (compilation--message->loc)
8252 (epa--find-coding-system-for-mime-charset): Declare.
8253
8254 * net/dbus.el (dbus-register-service): Declare.
8255 (dbus-name-owner-changed-handler): Remove unused binding.
8256
8257 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8258 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8259 (nxml-scan-backward-within): Mark unused arg.
8260 (nxml-dynamic-markup-word): Remove unused binding.
8261
8262 * mouse.el (mouse-menu-major-mode-map):
8263 * emacs-lisp/authors.el (authors-scan-change-log)
8264 (authors-add-to-author-list):
8265 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8266 * emacs-lisp/smie.el (smie-auto-fill):
8267 * mail/sendmail.el (mail-bury):
8268 * mail/unrmail.el (unrmail):
8269 * net/tls.el (open-tls-stream):
8270 * textmodes/picture.el (picture-mouse-set-point):
8271 Remove unused bindings.
8272
8c8fc5df
MA
82732012-04-19 Michael Albinus <michael.albinus@gmx.de>
8274
8275 * net/tramp.el (tramp-action-password): Let-bind
8276 `enable-recursive-minibuffers' to t.
8277
a77b0ac9
SS
82782012-04-18 Sam Steingold <sds@gnu.org>
8279
8280 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8281 instead of 'string to accommodate values like [f11].
8282 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8283 * progmodes/gdb-mi.el: Likewise.
8284
12a106a9
LL
82852012-04-18 Leo Liu <sdl.web@gmail.com>
8286
8287 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8288 current buffer.
8289 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8290 LOCAL is nil.
8291
bc6494ef
CY
82922012-04-18 Chong Yidong <cyd@gnu.org>
8293
8294 * simple.el (line-move): Use forward-line if in batch mode
8295 (Bug#11053).
8296
c09c46b2
CS
82972012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8298
8299 * files.el (after-find-file): Do not try to add a final newline if
8300 the buffer is read-only (Bug#11156).
8301
5f6530ea
RS
83022012-04-17 Richard Stallman <rms@gnu.org>
8303
8304 * mail/rmail.el (rmail-start-mail):
8305 Pass (rmail-mail-return...) for the return-action.
8306 Pass (rmail-yank-current-message...) for the yank-action.
8307 (rmail-yank-current-message): New function.
8308 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8309 (rmail-reply): Likewise.
8310 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8311
8312 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8313 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8314 buffer, not newbuf.
8315
197b6f3c
JB
83162012-04-17 Juanma Barranquero <lekktu@gmail.com>
8317
8318 * server.el (server-ensure-safe-dir): Simplify.
8319
2311d8e5 83202012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8321
2311d8e5
GM
8322 * emacs-lisp/smie.el: Provide smarter auto-filling.
8323 (smie-auto-fill): New function.
8324 (smie-setup): Use it.
98fb480e 8325
2311d8e5
GM
8326 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8327
83282012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8329
8330 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8331 (comment-indent): Use it.
8332
2311d8e5 83332012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8334
8335 * ses.el: The overall change is to add cell renaming, that is
8336 setting fancy names for cell symbols other than name matching
8337 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8338 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8339 (ses-create-cell-variable): New defun.
2311d8e5 8340 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8341 (ses-relocate-formula): Relocate formulas only for cells the
8342 symbols of which are not renamed, i.e. symbols whose names do not
8343 match regexp "\\`[A-Z]+[0-9]+\\'".
8344 (ses-relocate-all): Relocate values only for cells the symbols of
8345 which are not renamed.
8346 (ses-load): Create cells variables as the (ses-cell ...) are read,
8347 in order to check row col consistency with cell symbol name only
8348 for cells that are not renamed.
8349 (ses-replace-name-in-formula): New defun.
8350 (ses-rename-cell): New defun.
4bdf2ad2 8351
fc72b15c
PO
83522012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8353
8354 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8355 New option (bug#11118).
8356 (perl-calculate-indent): Respect it.
8357
12e10e61
GM
83582012-04-17 Glenn Morris <rgm@gnu.org>
8359
8360 * dired-aux.el (dired-mark-read-string): Doc fix.
8361
30009afd
DA
83622012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8363
8364 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8365 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8366
41f03f4d
GM
83672012-04-17 Glenn Morris <rgm@gnu.org>
8368
8369 * mouse.el (mouse-drag-track):
8370 * speedbar.el (speedbar-frame-mode):
8371 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8372
f45f90f3
LL
83732012-04-16 Leo Liu <sdl.web@gmail.com>
8374
8375 * progmodes/python.el: Trivial cleanup.
8376
94ee8db5
GM
83772012-04-16 Glenn Morris <rgm@gnu.org>
8378
121b8917
GM
8379 * vc/vc.el (vc-string-prefix-p):
8380 * vc/pcvs-util.el (cvs-string-prefix-p):
8381 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8382 * mpc.el (mpc-string-prefix-p):
8383 Make all of these into obsolete aliases for string-prefix-p.
8384 Update callers.
8385 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8386
1197ecfa
GM
8387 * textmodes/two-column.el: Move custom options to the start.
8388 (frame-width): Remove compat definition.
8389 (2C-associate-buffer, 2C-dissociate):
8390 Use with-current-buffer rather than save-excursion.
8391 (2C-dissociate): Force a mode-line update.
8392 (2C-autoscroll): Use ignore-errors.
8393
099e7202
GM
8394 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8395 Autoload trivia.
8396
bf350d6a
GM
8397 * emacs-lisp/cl-extra.el (*random-state*):
8398 Remove unnecessary declaration.
8399
0e829eab
GM
8400 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8401
e3ad7552
GM
8402 * play/cookie1.el (cookie-snarf):
8403 Give an explicit error if input file cannot be read.
8404
68892d27
GM
8405 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8406
20f0c46d
GM
8407 * progmodes/perl-mode.el (c-macro-expand):
8408 Remove unnecessary autoload (it is in loaddefs.el).
8409
5a0978ce
GM
8410 * textmodes/picture.el (picture-desired-column)
8411 (picture-update-desired-column): Convert comments to doc-strings.
8412 (picture-substitute): Remove function.
8413 (picture-mode-map): Initialize in the defvar.
8414
6b955486
GM
8415 * woman.el: Remove eval-after-load for tar-mode.
8416 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8417 (woman-tar-extract-file): Autoload it.
8418
94ee8db5
GM
8419 * frame.el (automatic-hscrolling): Make this alias obsolete.
8420
177eca34
AM
84212012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8422
090bd7cb 8423 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8424 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8425 (ispell-dictionary-base-alist): Revert to original XEmacs
8426 friendly version for default. [:alpha:] will be added in
090bd7cb 8427 `ispell-set-spellchecker-params' if needed.
177eca34 8428
c505aaeb
CY
84292012-04-16 Chong Yidong <cyd@gnu.org>
8430
b19dd9d1 8431 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8432 (imagemagick-register-types): Use it.
8433 (imagemagick-types-inhibit): Add :set function. Allow new value
8434 of t to inhibit all types.
8435
8436 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8437 so we can preload it.
8438
8439 * loadup.el (fboundp): Preload regexp-opt, needed by
8440 imagemagick-register-types.
8441
60efac0f
CY
84422012-04-15 Chong Yidong <cyd@gnu.org>
8443
8444 * frame.el (scrolling): Remove nearly unused customization group.
8445
8446 * scroll-all.el (scroll-all-mode): Move to windows group.
8447
5dd1713e
CY
84482012-04-15 Chong Yidong <cyd@gnu.org>
8449
8450 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8451
e6fd457e
CY
84522012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8455 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8456
e153c136
GM
84572012-04-15 Glenn Morris <rgm@gnu.org>
8458
8459 * simple.el (process-file-side-effects): Doc fix.
8460
e6fd457e 84612012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8462
8463 * international/mule-cmds.el (set-language-environment): Doc fix.
8464
3603c3b1
JB
84652012-04-14 Juanma Barranquero <lekktu@gmail.com>
8466
8467 * server.el (server-auth-key, server-generate-key): Doc fixes.
8468 (server-get-auth-key): Doc fix. Use `string-match-p'.
8469 (server-start): Reflow docstring.
8470
e6de100c
LI
84712012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8472
8473 * server.el (server-generate-key): `called-interactively-p'
8474 requires a parameter.
8475
29734c21
MN
84762012-04-14 Michal Nazarewicz <mina86@mina86.com>
8477
8478 * server.el (server-auth-key): New variable.
75f1671a 8479 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8480 (server-start): Use the new variable and functions to allow
8481 setting a permanent server key (bug#9423).
8482
d65c9521
LL
84832012-04-14 Leo Liu <sdl.web@gmail.com>
8484
8485 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8486
5ae255c7
PE
84872012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8488
8489 Spelling fixes.
8490 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8491 Emacs uses American spelling.
8492
d5e6342e
JB
84932012-04-14 Juanma Barranquero <lekktu@gmail.com>
8494
8495 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8496 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8497 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8498 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8499
ab036cd7
SM
85002012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * progmodes/which-func.el (which-func-modes): Change default.
8503
35dc09a1 85042012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8505
8506 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8507 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8508
35dc09a1 85092012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8510
8511 * custom.el (custom-theme-set-variables): Doc fix.
8512
35dc09a1 85132012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8514
8515 * international/mule.el (set-auto-coding-for-load): Doc fix.
8516
35dc09a1 85172012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8518
35dc09a1
GM
8519 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8520 imenu work again for Objective C Mode. Correct the *-index values,
8521 these having been disturbed by a previous change in 2011-08.
57f845ee 8522
0de3da9f
AM
8523 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8524 Correct two search limits.
8525
35dc09a1 85262012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8527
8528 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8529
35dc09a1 85302012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8531
8532 * international/characters.el: Fix sorting.
8533
35dc09a1 85342012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8535
8536 * international/characters.el: Add more missing Latin case pairs.
8537
35dc09a1 85382012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8539
8540 * files.el (dir-locals-set-class-variables): Doc fix.
8541
35dc09a1 85422012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8543
3f1b5bf8
EZ
8544 * international/characters.el: Add set-case-syntax-pair call for
8545 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8546 counterpart. (Bug#11209)
8547
9f847f41
EZ
8548 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8549
35dc09a1 85502012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8551
8552 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8553
35dc09a1 85542012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8555
35dc09a1
GM
8556 * textmodes/ispell.el (ispell-dictionary-base-alist):
8557 Add data for Hebrew.
e2627d21 8558
35dc09a1 85592012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8560
35dc09a1
GM
8561 * net/rcirc.el (rcirc-cmd-quit):
8562 Revert 2012-03-18 change (Bug#11192).
5c14e333 8563
35dc09a1 85642012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8565
8566 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8567
35dc09a1 85682012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8569
4517fe3a
SM
8570 * minibuffer.el (completion-in-region-mode-map):
8571 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8572
b472a594
VD
85732012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8574
8575 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8576
09b95ce3
MY
85772012-04-13 Masatake YAMATO <yamato@redhat.com>
8578
8579 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8580 to allow `C-M-f' and `C-M-b' to move to the nearest path
8581 separator (bug#9511).
8582
4b63a9ca
LI
85832012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8584
8585 * avoid.el: Require cl when compiling. And also move the
8586 `provide' to the end.
8587
7b55b8bf
TV
85882012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8589
8590 * avoid.el (mouse-avoidance-banish-position): New variable.
8591 (mouse-avoidance-banish-destination): Use it (bug#10165).
8592
adedaa1f
LL
85932012-04-13 Leo Liu <sdl.web@gmail.com>
8594
8595 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8596
70e74021
KB
85972012-04-13 Ken Brown <kbrown@cornell.edu>
8598
8599 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8600 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8601 (browse-url-filename-alist): For the same reason, don't modify
8602 file:// URLs on Cygwin.
8603
e75e89ba
SM
86042012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8607 the region on shift if the binding is already shifted (bug#11221).
8608
82f289a4
GM
86092012-04-12 Glenn Morris <rgm@gnu.org>
8610
8611 * mail/mailpost.el: Move to obsolete/.
8612
d333dc4c
DA
86132012-04-12 Drew Adams <drew.adams@oracle.com>
8614
8615 * imenu.el (imenu--generic-function): Ignore invisible definitions
8616 (bug#10123).
8617
0d15b5ba
VD
86182012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8619
8620 * hexl.el (hexl-bits): New variable.
8621 (hexl-options): Mention the variable in the doc string.
75f1671a 8622 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8623 (hexl-mode): Mention the new variable.
75f1671a
JB
8624 (hexl-mode, hexl-current-address, hexl-current-address):
8625 Use the displen.
0d15b5ba
VD
8626 (hexl-ascii-start-column): New function.
8627 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8628 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8629
64a440db
AM
86302012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8631
8632 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8633 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8634 the encoding, as expected by hunspell.
8635
6decb6c2
SM
86362012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * battery.el (battery--linux-sysfs-regexp): New const.
8639 (battery-status-function): Use it. Remove yeeloong special case.
8640 (battery-yeeloong-sysfs): Remove.
8641 (battery-echo-area-format): Remove yeeloong special case.
8642
088be6fb
SM
86432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8644
6622e416
SM
8645 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8646 Reported by Noah Friedman.
8647
088be6fb
SM
8648 * subr.el (read-passwd): Use read-string.
8649
b49f886e
LMI
86502012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8651
8652 * vcursor.el (vcursor-move): Increase the priority of the overlay
8653 (bug#9663).
8654
a63067fc
DD
86552012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8656
8657 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8658 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8659
ac3cf14a
WS
86602012-04-11 William Stevenson <yhvh2000@gmail.com>
8661
8662 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8663 define-minor-mode (bug#10760).
8664
c4fc691b 86652012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8666
4d6769e1 8667 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8668 that directories matching `grep-find-ignored-files' won't be
8669 pruned (bug#10351).
8670
af23e2e5
CY
86712012-04-11 Chong Yidong <cyd@gnu.org>
8672
8673 * startup.el (command-line): Remove support for long-obsolete
8674 variable font-lock-face-attributes.
8675
ab7ce8c1
GM
86762012-04-11 Glenn Morris <rgm@gnu.org>
8677
8678 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8679
de8c03dc
SM
86802012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * window.el (window--state-get-1): Obey window-point-insertion-type.
8683
050cc68b
LB
86842012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8685
8686 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8687 to previous function when point is on the first character of a
75f1671a 8688 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8689
a38c310c
GM
86902012-04-11 Glenn Morris <rgm@gnu.org>
8691
effed0c2
GM
8692 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8693 not just file-errors.
8694
a38c310c
GM
8695 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8696 (vc-bzr-sha1): Use internal sha1.
8697
0221e323
SM
86982012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8701
43956923
SG
87022012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8703
8704 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8705 that start in the middle of the line (bug#10496).
8706
6a8c9eaf
DN
87072012-04-10 Dan Nicolaescu <dann@gnu.org>
8708
8709 * battery.el (battery-linux-proc-acpi): Only one battery is
8710 discharged at a time, but that seems to confuse battery.el when
8711 computing `rate-type' for the battery not being discharged
8712 (bug#10332).
8713
1930bf5d
SM
87142012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8715
2a718f6f
SM
8716 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8717
599430d0
SM
8718 * international/quail.el: Use dolist and simplify.
8719 (quail-define-package, quail-update-keyboard-layout)
8720 (quail-define-rules): Use dolist.
8721 (quail-insert-kbd-layout, quail-get-translation): CSE.
8722
a2754b6c
SM
8723 * tmm.el: Use dolist, remove left over hook.
8724 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8725 Use dolist.
8726 (calendar-load-hook): Don't mess with it.
8727
1930bf5d
SM
8728 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8729 Use derived-mode-p. Run the diff asynchronously.
8730
9f67961c
LMI
87312012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732
8733 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8734
2a8ce227
JB
87352012-04-10 Juanma Barranquero <lekktu@gmail.com>
8736
8737 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8738 (list-dynamic-libraries--loaded): New function.
8739 (list-dynamic-libraries--refresh): Use it.
8740
8f33b5f8
NW
87412012-04-10 Nathan Weizenbaum <nweiz@google.com>
8742
1930bf5d
SM
8743 * progmodes/python.el (python-fill-paragraph):
8744 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8745 disabled (bug#7018).
8746
b12f0439
L
87472012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8748
1930bf5d 8749 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8750 DOS/MS Windows for the Baltic languages. There are still plenty
8751 of texts written in this encoding/codepage (bug#6519).
b12f0439 8752
57c3bd01
GM
87532012-04-10 Glenn Morris <rgm@gnu.org>
8754
8755 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8756 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8757
6c3eab30
FA
87582012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8759
1930bf5d 8760 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8761 next-line "n" and previous-line "p" in order to make recentf more
8762 consistent with ibuffer, dired or org-mode (bug#9387).
8763
24d78a88
LMI
87642012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8765
bc72b5d9
LMI
8766 * image.el (put-image): Return the overlay created instead of the
8767 optional input string (bug#7834). Note that this may break code
8768 that is (for some reason or other) depending on `put-image'
8769 returning the string.
8770
bd2dba5a
LMI
8771 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8772
74beb59f
LMI
8773 * simple.el (zap-to-char): Allow zapping using input methods
8774 (bug#1580).
8775
24d78a88
LMI
8776 * textmodes/fill.el (fill-region): Leave point and mark where they
8777 were before filling (bug#5399).
8778
263f20cd
GM
87792012-04-09 Glenn Morris <rgm@gnu.org>
8780
8781 * version.el (emacs-bzr-get-version):
8782 Handle lightweight checkouts of local branches.
8783
58d1f797
AS
87842012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8785
263f20cd 8786 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8787
b4d3bc10
CY
87882012-04-09 Chong Yidong <cyd@gnu.org>
8789
8790 * custom.el (custom-variable-p): Return nil for non-symbol
8791 arguments instead of signaling an error.
8792 (user-variable-p): Obsolete alias for custom-variable-p.
8793
8794 * apropos.el (apropos-variable):
8795 * files-x.el (read-file-local-variable):
8796 * simple.el (set-variable):
8797 * woman.el (woman-mini-help):
8798 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8799
fd06db5d
GM
88002012-04-09 Glenn Morris <rgm@gnu.org>
8801
e5fcdb5e
GM
8802 * startup.el (normal-top-level): Don't look for leim-list.el
8803 in places where it will not be found. (Bug#910)
8804
fd06db5d
GM
8805 * international/mule-cmds.el (set-default-coding-systems):
8806 * files.el (normal-mode):
8807 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8808 This function was removed with ucs-tables.el in 2008.
8809
b39bb7e1
EZ
88102012-04-08 Eli Zaretskii <eliz@gnu.org>
8811
8812 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8813 ispell-encoding8-command to "-i", without a trailing space.
8814 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8815 separate command-line arguments, to specify the encoding, since
8816 that's how hunspell expects it.
8817
5c5b8e23
GM
88182012-04-08 Glenn Morris <rgm@gnu.org>
8819
8820 * loadup.el: Load bindings before cus-start.
8821 This reduces somewhat the number of "rogue" settings in emacs -Q.
8822
a1ed8b05
GM
88232012-04-07 Glenn Morris <rgm@gnu.org>
8824
8825 * version.el (emacs-bzr-get-version): New function.
dfae128a 8826 (emacs-bzr-version): New variable.
a1ed8b05
GM
8827 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8828 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8829
b142f158
EZ
88302012-04-07 Eli Zaretskii <eliz@gnu.org>
8831
dfae128a
GM
8832 * international/uni-bidi.el, international/uni-category.el:
8833 * international/uni-combining.el, international/uni-decimal.el:
8834 * international/uni-decomposition.el, international/uni-digit.el:
8835 * international/uni-lowercase.el, international/uni-mirrored.el:
8836 * international/uni-name.el, international/uni-numeric.el:
8837 * international/uni-titlecase.el, international/uni-uppercase.el:
8838 Update for Unicode 6.1.
b142f158 8839
9078ead6
EZ
88402012-04-07 Eli Zaretskii <eliz@gnu.org>
8841
8842 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8843
f23d2c7d
LMI
88442012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8845
8846 * window.el (shrink-window): Mention the `window-min-height'
8847 variable in the doc string.
8848
0a0a3573
BG
88492012-04-05 Bastien Guerry <bzg@altern.org>
8850
8851 * color.el (color-lighten-name): Fix typo.
8852
e5248ac9
SM
88532012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * server.el (server--on-display-p): New function.
8856 (server--on-display-p): Use it.
8857
b4243e22
GV
88582012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8859
8860 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8861 (bug#11145).
8862
305d9f44
SM
88632012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8864
8865 * comint.el (comint--common-quoted-suffix): Check string boundary
8866 before comparing (bug#11158).
8867 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8868
3d439cd1
CY
88692012-04-04 Chong Yidong <cyd@gnu.org>
8870
321cc491
CY
8871 * minibuffer.el (completion-extra-properties): Doc fix.
8872
3d439cd1
CY
8873 * subr.el (delayed-warnings-hook): Doc fix.
8874
2d562c0f
DU
88752012-04-04 Daiki Ueno <ueno@unixuser.org>
8876
8877 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8878 selection (Bug#11159).
8879 (epa-insert-keys): Inform that the default public key will be
8880 exported if no key is selected.
8881
4443f204
RS
88822012-04-04 Richard Stallman <rms@gnu.org>
8883
8884 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8885
529c06b6
CY
88862012-04-03 Chong Yidong <cyd@gnu.org>
8887
8888 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8889 mail-insert-file, not its obsolete alias mail-attach-file.
8890
66b907dc
MA
88912012-04-03 Michael Albinus <michael.albinus@gmx.de>
8892
8893 * notifications.el (notifications-notify): Fix docstring.
8894
c0ea195d
GM
88952012-04-02 Glenn Morris <rgm@gnu.org>
8896
8897 * emacs-lisp/authors.el (authors-aliases): Another addition.
8898
5ca64e00
MA
88992012-04-02 Michael Albinus <michael.albinus@gmx.de>
8900
8901 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8902 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8903 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8904
42ee526b
CY
89052012-04-01 Chong Yidong <cyd@gnu.org>
8906
8907 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8908 Handle root directory properly.
8909 (copy-directory): Caller changed.
8910
8911 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8912 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8913
0b021094
GM
89142012-03-31 Glenn Morris <rgm@gnu.org>
8915
40f86458
GM
8916 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8917
7019c177
GM
8918 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8919
a1daddd6
GM
8920 * calendar/calendar.el (calendar-window-list)
8921 (calendar-hide-window): Restore. (Bug#11140)
8922 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8923
0b021094
GM
8924 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8925
40311efc
TV
89262012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8927
8928 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8929 Check if file is a symlink (Bug#10489).
8930
8931 * files.el (copy-directory): Likewise.
8932
5319014e
CY
89332012-03-30 Chong Yidong <cyd@gnu.org>
8934
8935 * image.el (imagemagick-types-inhibit)
8936 (imagemagick-register-types): Doc fix.
8937
935d1290
AM
89382012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8939
090bd7cb 8940 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8941 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8942 and treats ~word as ordinary words in pipe mode.
935d1290 8943
61c6e8fd
GM
89442012-03-30 Glenn Morris <rgm@gnu.org>
8945
8946 * tutorial.el (help-with-tutorial): Ensure local variables don't
8947 happen to make the buffer read-only. (Bug#11127)
8948
81fdff00
SM
89492012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8952 (perl-calculate-indent): Return `noindent' in strings.
8953
6e7a6ec0
SS
89542012-03-28 Sam Steingold <sds@gnu.org>
8955
8956 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8957 instead of the broken adhockery which does not prevent calendar
8958 buffers from being displayed at random after exit.
8959 (calendar-window-list, calendar-hide-window): Remove the broken
8960 adhockery.
8961
fee88ca0
GM
89622012-03-28 Glenn Morris <rgm@gnu.org>
8963
8964 * replace.el (query-replace-map): Doc fix.
8965
38de3354
AS
89662012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8967
8968 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8969 contents. (Bug#11109)
8970
b973155e
SM
89712012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8974 (bug#11077).
8975 (avl-tree--check, avl-tree--check-node): New funs.
8976
dcb6e7b3
MR
89772012-03-27 Martin Rudalics <rudalics@gmx.at>
8978
8979 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8980 (switch-to-prev-buffer, switch-to-next-buffer):
8981 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8982 showing a buffer already is done on the same frame.
8983
b4fa35fa
GM
89842012-03-27 Glenn Morris <rgm@gnu.org>
8985
8986 * startup.el (mail-host-address): Doc fix.
8987
f9210e18
SM
89882012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8991 than 197 variables.
8992
c0bf7753
AF
89932012-03-26 Ami Fischman <ami@fischman.org>
8994
8995 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8996
33da7b16
GM
89972012-03-26 Glenn Morris <rgm@gnu.org>
8998
02243d9d
GM
8999 * files.el (save-buffers-kill-emacs): Doc fix.
9000
33da7b16
GM
9001 * startup.el (normal-top-level, command-line, command-line-1):
9002 Give them doc strings.
9003
e5a69fd0
EZ
90042012-03-25 Eli Zaretskii <eliz@gnu.org>
9005
9006 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9007 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9008
9a69676a
CY
90092012-03-25 Chong Yidong <cyd@gnu.org>
9010
4125cb8b
CY
9011 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9012 theme if it was previously enabled before (Bug#11031).
9013
dd470960
CY
9014 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9015 spec with custom-face-get-current-spec if its :shown-value is not
9016 determined yet (Bug#9337).
4125cb8b 9017 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9018
9a69676a
CY
9019 * button.el (button-at): Minor addition to docstring.
9020
6e7e90fa
SL
90212012-03-24 Simon Leinen <simon.leinen@gmail.com>
9022
9023 * vc/vc.el (vc-merge): Fix a prompt.
9024
f06e2758
CY
90252012-03-24 Chong Yidong <cyd@gnu.org>
9026
9027 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9028 point (Bug#9623).
9029
6e7e90fa
SL
9030 * button.el (button-at): Minor addition to docstring.
9031
b9d0879b
SM
90322012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * newcomment.el (comment-choose-indent): No space after BOL.
9035
e71cebb3
SS
90362012-03-22 Sam Steingold <sds@gnu.org>
9037
9038 * window.el (switch-to-prev-buffer): Revert last patch because the
9039 bug turned out to be an advertised feature (Elisp manual 28.14).
9040
335aff35
GM
90412012-03-22 Glenn Morris <rgm@gnu.org>
9042
9043 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9044 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9045
c676576a
LMI
90462012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9047
9048 * net/network-stream.el (network-stream-open-starttls): Make error
9049 message under Windows be less misleading.
9050
126f3d39
LW
90512012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9052
9053 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9054 understands (bug#9942).
9055
64fee311
CY
90562012-03-22 Chong Yidong <cyd@gnu.org>
9057
9058 * simple.el (end-of-visible-line): Handle return value of
9059 next-single-property-change properly (Bug#9371).
9060
a640d29a
KH
90612012-03-22 Kenichi Handa <handa@m17n.org>
9062
9063 * international/quail.el (quail-insert-kbd-layout): Fix previous
9064 change. To avoid unwanted bidi reordering, use
9065 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9066
39675016
DG
90672012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9068
9069 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9070 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9071 (ruby-beginning-of-indent): Be more careful with the difference
9072 between word-boundary and symbol boundary.
9073 (ruby-mode-syntax-table): Make : a symbol constituent.
9074
0a6934fc 90752012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9076
3d008e4f
SM
9077 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9078
0a6934fc
SM
90792012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9080
af67c9d7
SM
9081 * progmodes/etags.el (tags-completion-at-point-function):
9082 Improve last fix.
9083
1acad97c
SM
9084 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9085
e298b5da
SS
90862012-03-21 Sam Steingold <sds@gnu.org>
9087
9088 * progmodes/etags.el (tags-completion-at-point-function):
9089 Avoid the error when point is inside the pattern.
9090
91d82a70
JY
90912012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9092
9093 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9094 line (Bug#10855).
9095
69188b79
CY
90962012-03-21 Drew Adams <drew.adams@oracle.com>
9097
9098 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9099
99fc91fe
AK
91002012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9101
9102 * ido.el (ido-set-current-directory, ido-read-internal)
9103 (ido-choose-completion-string, ido-completion-help): Handle nil
9104 value of ido-completion-buffer (Bug#11008).
9105
087bbb4c
SS
91062012-03-21 Sam Steingold <sds@gnu.org>
9107
9108 * window.el (switch-to-prev-buffer): Do not switch to a visible
9109 window previous buffer, just like with the frame previous buffers.
9110
fb5b8aca
CY
91112012-03-21 Chong Yidong <cyd@gnu.org>
9112
9113 * faces.el (make-face, make-empty-face, copy-face):
9114 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9115 Doc fixes.
9116
dc9924b8
SM
91172012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9120 (widget-complete): Remove broken use of it.
9121
f0bcceb9
CY
91222012-03-20 Chong Yidong <cyd@gnu.org>
9123
dc9924b8
SM
9124 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9125 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9126 characters.
9127
ee52ebf3
TH
91282012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9129
9130 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9131 to draw rectangles, not squares. (Regression introduced by revno
9132 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9133
4c5779ab
CY
91342012-03-18 Chong Yidong <cyd@gnu.org>
9135
9136 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9137 it is not yet defined (for temacs).
9138
15360934
LL
91392012-03-18 Leo Liu <sdl.web@gmail.com>
9140
735135f9
PE
9141 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9142 prefix.
15360934 9143
d9a8eb66
EZ
91442012-03-17 Eli Zaretskii <eliz@gnu.org>
9145
9146 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9147 (ispell-choices-win-default-height, ispell-silently-savep)
9148 (ispell-dictionary-alist, ispell-encoding8-command)
9149 (ispell-check-version, ispell-aspell-find-dictionary)
9150 (ispell-valid-dictionary-list, ispell-words-keyword)
9151 (ispell-get-word, ispell-internal-change-dictionary)
9152 (ispell-region, ispell-skip-region-list)
9153 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9154 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9155 (ispell-message-text-end, ispell-message)
9156 (ispell-buffer-local-parsing): Doc fix.
9157
f02ff80d
J
91582012-03-13 Jambunathan K <kjambunathan@gmail.com>
9159
9160 * htmlfontify.el: Add support for code block fontification for ODT
9161 export (Bug #9914).
9162 (hfy-optimisations): Define new option
9163 `body-text-only'
9164 (hfy-fontify-buffer): Honor above setting.
9165 (hfy-begin-span, hfy-end-span): New routines factored out form
9166 `hfy-fontify-buffer'.
9167 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9168 that permit insertion of custom tags.
9169 (hfy-fontify-buffer): Use above handlers.
9170 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9171 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9172 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9173 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9174 bind a special variable `hfy-user-sheet-assoc'.
9175 (htmlfontify-string): New defun.
9176 (hfy-compile-face-map): Make sure that the last char in the
9177 buffer is correctly fontified.
9178 (hfy-face-resolve-face): Whitespace only change.
9179
9ac7a13f
EZ
91802012-03-17 Eli Zaretskii <eliz@gnu.org>
9181
9182 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9183 message more clear.
9184
e2b5bdd7
LL
91852012-03-16 Leo Liu <sdl.web@gmail.com>
9186
9187 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9188
2e492df3
AM
91892012-03-16 Alan Mackenzie <acm@muc.de>
9190
9191 Further optimise the handling of large macros.
9192
9193 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9194 limit to a call of `c-literal-limits'.
9195 (c-determine-+ve-limit): New function.
dc9924b8
SM
9196 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9197 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9198 In CASE 5B, restrict a search limit to 500.
9199 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9200
9201 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9202 Restrict macro bounds to +-500 from after-change's BEG END.
9203
50e94f0c
LL
92042012-03-16 Leo Liu <sdl.web@gmail.com>
9205
9206 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9207
6f09f6ed
AH
92082012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9209
9210 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9211 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9212
c7e73d51
GM
92132012-03-16 Glenn Morris <rgm@gnu.org>
9214
da986230
GM
9215 * view.el (view-buffer, view-buffer-other-window)
9216 (view-buffer-other-frame): Doc fixes re special mode-class.
9217
0835f01e
GM
9218 * subr.el (eval-after-load): If named feature is provided not from
9219 a file, run after-load forms. (Bug#10946)
9220
c7e73d51
GM
9221 * calendar/calendar.el (calendar-insert-at-column):
9222 Handle non-unit-width characters a bit better. (Bug#10978)
9223
3f2eafd1
CY
92242012-03-15 Chong Yidong <cyd@gnu.org>
9225
9226 * emacs-lisp/ring.el (ring-extend): New function.
9227 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9228
9229 * comint.el (comint-read-input-ring)
9230 (comint-add-to-input-history): Grow comint-input-ring lazily.
9231
103af3fe
SM
92322012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9233
663b1677
SM
9234 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9235 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9236
103af3fe
SM
9237 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9238 (imenu-add-to-menubar): Don't add a redundant index.
9239 (imenu-update-menubar): Handle a dynamically composed keymap.
9240
899cb7cb
KY
92412012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9242
9243 * mail/sendmail.el (mail-encode-header):
9244 Bind rfc2047-encode-encoded-words to nil.
9245
3809f91d
GM
92462012-03-13 Glenn Morris <rgm@gnu.org>
9247
9248 * calendar/calendar.el (calendar-string-spread):
9249 Handle non-unit-width characters a bit better. (Bug#10978)
9250
9e345a01
LL
92512012-03-13 Leo Liu <sdl.web@gmail.com>
9252
9253 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9254 directory and file as argument (Bug#10822).
9255
4a07df36
KS
92562012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9257
9258 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9259 For dynamically generated code, follow $PC.
9260 (gdb-disassembly-handler-custom): Handle no function name case.
9261
4aaa9356
TL
92622012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9263
9264 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9265 * emulation/ws-mode.el (ws-query-replace):
9266 * sort.el (sort-regexp-fields):
9267 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9268
225979da
SM
92692012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * dabbrev.el: Fix cycle completion order (bug#10963).
9272 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9273 (dabbrev-completion): Don't use an obarray; provide
9274 a cycle-sort-function.
9275
e2f1fdab
LL
92762012-03-12 Leo Liu <sdl.web@gmail.com>
9277
dc9924b8 9278 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9279 (kill-do-not-save-duplicates): Doc fix.
9280
b19490ed
SM
92812012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * dabbrev.el: Fix cycle completion (bug#10963).
9284 Use lexical binding and wrap to 80 columns.
9285 (dabbrev-completion): Delay computing the list of completions.
9286
4b05d722
KH
92872012-03-12 Kenichi Handa <handa@m17n.org>
9288
9289 * international/quail.el (quail-insert-kbd-layout): Surround each
9290 row by LRO and PDF instead of inserting many LRMs. Pad the left
9291 and right of each non-spacing marks. Insert invisible space
9292 between lower and upper characters to prevent composition.
9293
dbbc2e69
SM
92942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * minibuffer.el (minibuffer-complete): Don't get confused when the
9297 function is run twice via different commands (bug#10958).
9298 (complete-with-action): Fix docstring.
9299
292112ed
CY
93002012-03-12 Chong Yidong <cyd@gnu.org>
9301
5d1ac394
CY
9302 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9303 (nxml-completion-at-point-function): New function.
9304 (nxml-mode): Use it.
9305 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9306
292112ed
CY
9307 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9308 Load generated autoloads file before byte compiling (Bug#10970).
9309 (package--make-autoloads-and-compile): New helper fun.
9310
4098f8f7
CS
93112012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9312
9313 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9314
8f754691
MA
93152012-03-11 Michael Albinus <michael.albinus@gmx.de>
9316
9317 * autorevert.el (auto-revert-handler): Ensure, that
9318 file-readable-p is applied only for local files or in
9319 auto-revert-tail-mode.
9320
e29ab36b
AS
93212012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9322
dbbc2e69
SM
9323 * server.el (server-eval-at): Handle non-tcp connections.
9324 Decode result string.
ad0bf5b6 9325
e29ab36b
AS
9326 * server.el (server-msg-size): New constant.
9327 (server-reply-print): New function.
9328 (server-eval-and-print): Use it.
9329 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9330 Handle -print-nonl.
9331
de5939ba
CS
93322012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9333
9334 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9335 (Bug#10987).
9336
0c93eabf
CY
93372012-03-11 Chong Yidong <cyd@gnu.org>
9338
397a688f
CY
9339 * simple.el (goto-line): Doc fix (Bug#9938).
9340
2cc775f9
CY
9341 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9342
0c93eabf
CY
9343 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9344 when finished (Bug#10963).
9345
c491fa41
MR
93462012-03-11 Martin Rudalics <rudalics@gmx.at>
9347
9348 * window.el (split-window-below): Fix bug in case where
9349 split-window-keep-point is nil (Bug#10971).
9350
300e8fa5
JL
93512012-03-11 Juri Linkov <juri@jurta.org>
9352
9353 * replace.el (replace-highlight): Set isearch-word to nil
9354 unconditionally. (Bug#10887)
9355
dbf6c5a1
EZ
93562012-03-10 Eli Zaretskii <eliz@gnu.org>
9357
9358 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9359 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9360 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9361 (mairix-widget-create-query): Add usage information about mairix
9362 search forms: negating words, searching for substrings, etc.
9363
b9e501de
JP
93642012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9365
9366 * international/fontset.el (font-encoding-alist): Add an entry for
9367 ksx1001 (Bug#5667).
9368
92795c91
RS
93692012-03-10 Richard Stallman <rms@gnu.org>
9370
1694e6c1
RS
9371 * mail/sendmail.el (mail-encode-header):
9372 Set rfc2047-encode-encoded-words.
9373
607e8555
RS
9374 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9375
de3bc99a
RS
9376 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9377 view buffer means not swapped.
9378 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9379 (rmail-write-region-annotate): Error if real text has disappeared.
9380
92795c91
RS
9381 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9382
699bd04e
CY
93832012-03-10 Chong Yidong <cyd@gnu.org>
9384
9385 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9386 * emulation/cua-base.el (cua--init-keymaps):
9387 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9388
570a1714
MR
93892012-03-10 Martin Rudalics <rudalics@gmx.at>
9390
dbbc2e69
SM
9391 * speedbar.el (speedbar-unhighlight-one-tag-line):
9392 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9393
82dcf4e4
CY
93942012-03-10 Chong Yidong <cyd@gnu.org>
9395
7a2c7ca7
CY
9396 * minibuffer.el (completion-in-region, completion-help-at-point):
9397 Give the completion field overlay a high priority (Bug#6830).
9398
82dcf4e4
CY
9399 * dired.el (dired-goto-file): Recognize absolute file name
9400 listings (Bug#7126).
9401 (dired-goto-file-1): New helper function.
9402 (dired-toggle-read-only): Inhibit warnings.
9403
052e28ac
MA
94042012-03-09 Michael Albinus <michael.albinus@gmx.de>
9405
75f1671a 9406 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9407 there are no properties.
9408
95d5e396
LL
94092012-03-09 Leo Liu <sdl.web@gmail.com>
9410
9411 * savehist.el (savehist-printable): Stricter check for string
9412 value (Bug#10937).
9413
3f018d6d
EZ
94142012-03-09 Eli Zaretskii <eliz@gnu.org>
9415
dbbc2e69
SM
9416 * mail/smtpmail.el (smtpmail-send-it):
9417 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9418 valid mbox format.
9419
f7fd3d79
GM
94202012-03-09 Glenn Morris <rgm@gnu.org>
9421
9422 * files.el (dir-locals-find-file):
9423 Don't check result is regular, readable.
9424 (dir-locals-read-from-file): Demote errors.
9425
6ff6e72f
EZ
94262012-03-08 Eli Zaretskii <eliz@gnu.org>
9427
dbbc2e69
SM
9428 * international/quail.el (quail-insert-kbd-layout):
9429 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9430 layout cell, to prevent their reordering by bidi display engine.
9431 For details, see the discussion in
9432 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9433
9cec7834
AM
94342012-03-08 Alan Mackenzie <acm@muc.de>
9435
9436 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9437 the starting position; make it extend the marked region when
9438 invoked repeatedly - all under appropriate circumstances.
9439 Fixes bugs #5525, #10906.
9440
9a40b8d4
GM
94412012-03-08 Glenn Morris <rgm@gnu.org>
9442
9443 * files.el (locate-dominating-file, dir-locals-find-file):
9444 Undo 2012-03-06 change.
9445
7a08ed35
EZ
94462012-03-07 Eli Zaretskii <eliz@gnu.org>
9447
dbbc2e69
SM
9448 * international/quail.el (quail-help):
9449 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9450 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9451 for the reason.
9452
5aca4f71 94532012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9454
9455 Avoid superfluous registering of signals. (Bug#10807)
9456
9457 * notifications.el (notifications-on-action-object)
9458 (notifications-on-close-object): New defvars.
9459 (notifications-on-action-signal, notifications-on-closed-signal):
9460 Unregister the signal if not needed any longer.
9461 (notifications-notify): Register `notifications-action-signal' or
9462 `notifications-closed-signal', if :on-action or :on-close has been
9463 passed as argument.
9464
78e8b10a
CY
94652012-03-07 Chong Yidong <cyd@gnu.org>
9466
9467 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9468 non-X platforms.
9469
69481eb8
GM
94702012-03-06 Glenn Morris <rgm@gnu.org>
9471
9472 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9473 (x-disown-selection-internal, x-get-selection-internal):
9474 Doc fix (add arglist signatures). (Bug#10783)
9475
133b8e11
KS
94762012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9477
9478 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9479 Handle breakpoints with no "type".
9480
99a83064
GM
94812012-03-06 Glenn Morris <rgm@gnu.org>
9482
9483 * files.el (locate-dominating-file): Add optional predicate argument.
9484 (dir-locals-find-file): Make use of above change.
9485
17798e78
TTN
94862012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9487
9488 * info.el (Info-insert-dir): Also try "dir.gz".
9489
eb182446
GM
94902012-03-06 Glenn Morris <rgm@gnu.org>
9491
8f2114ee
GM
9492 * files.el (dir-locals-find-file):
9493 Ignore non-readable or non-regular files. (Bug#10928)
9494
eb182446
GM
9495 * files.el (locate-dominating-file): Doc fix.
9496
24679323
AS
94972012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9498
9499 * calendar/calendar.el (calendar-set-mode-line):
9500 `getenv' returns a string. (Bug#10951)
9501
01d972a9
LL
95022012-03-05 Leo Liu <sdl.web@gmail.com>
9503
109aa8a9
LL
9504 * simple.el (backward-delete-char-untabify): Constrain point to
9505 field (Bug#10939).
9506
01d972a9
LL
9507 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9508
10607bea
CY
95092012-03-05 Chong Yidong <cyd@gnu.org>
9510
9511 * simple.el (count-words): If called from Lisp, return the word
9512 count, for symmetry with `count-lines'. Arglist changed.
9513 (count-words--message): Args changed. Consolidate counting code
9514 from count-words and count-words-region.
9515 (count-words-region): Caller changed.
9516 (count-lines-region): Make it an obsolete alias.
9517
5dd11cfe
TH
95182012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9519
9520 * saveplace.el (save-place-to-alist)
9521 (save-place-ignore-files-regexp): Allow value nil to disable this
9522 feature.
9523
c349f4e6
CY
95242012-03-04 Chong Yidong <cyd@gnu.org>
9525
9526 * faces.el (face-spec-reset-face): For the default face, reset the
9527 attributes to default values (Bug#10748).
9528
e627be4c
LMI
95292012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9530
9531 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9532 previous patch: Check `message-send-mail-function', and not the
9533 default function (bug#10897).
9534
ebeabff4
MA
95352012-03-04 Michael Albinus <michael.albinus@gmx.de>
9536
a41a6cf4
MA
9537 * notifications.el (notifications-on-action-signal)
9538 (notifications-on-closed-signal): Check for unique service name of
9539 incoming event. Fix error in removing entry.
ebeabff4 9540 (top): Register for signals with wildcard service name.
a41a6cf4 9541 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9542
c1ca42b4
CY
95432012-03-04 Chong Yidong <cyd@gnu.org>
9544
dc9924b8 9545 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9546
ea16568d
GM
95472012-03-04 Glenn Morris <rgm@gnu.org>
9548
9549 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9550 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9551 (expand-abbrev, define-abbrev-table): Doc fixes.
9552
fbae4637
LMI
95532012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9554
9555 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9556 `message-default-send-mail-function' and not `send-mail-function'
9557 when doing the prompting for `sendmail-query-once' before sending
9558 in Message buffers (bug#10897).
9559
a1e7225c
LMI
9560 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9561 This is inconsistent with all the other stream functions, which leave
9562 the setting up to the higher levels (if so wanted) (bug#10931).
9563
56d093a9
AM
95642012-03-02 Alan Mackenzie <acm@muc.de>
9565
9566 Depessimize the handling of very large macros.
9567
9568 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9569 (c-macro-cache-syntactic): New variables to implement a one
9570 element macro cache.
9571 (c-invalidate-macro-cache): New function.
9572 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9573 Adapt to use the new cache.
9574 (c-state-safe-place): Use better the cache of safe positions.
9575 (c-state-semi-nonlit-pos-cache)
9576 (c-state-semi-nonlit-pos-cache-limit):
9577 New variables for...
9578 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9579 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9580 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9581 Use c-state-semi-safe-place.
56d093a9 9582
dbbc2e69
SM
9583 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9584 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9585
817e5c3d
MA
95862012-03-02 Michael Albinus <michael.albinus@gmx.de>
9587
dbbc2e69
SM
9588 * jka-compr.el (jka-compr-call-process):
9589 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9590 not remote.
9591
a032a702
MA
95922012-03-01 Michael Albinus <michael.albinus@gmx.de>
9593
9594 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9595 access of FILE2, if FILE1 does not exist.
9596
99a54f21
MA
9597 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9598 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9599
9600 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9601 Add "PAGER=" to `process-environment'.
9602
f6561e1f
MM
96032012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9604
9605 * progmodes/sql.el: Bug fix
9606 (sql-get-login-ext): Save login values in globals.
9607 (sql-get-login): Use new version of `sql-get-login-ext'.
9608 (sql-interactive-mode): Set global `sql-connection' to nil.
9609 (sql-connect): Set global values for connection.
9610 (sql-product-interactive): Save global values as buffer local.
9611
2d44d9cc
LL
96122012-02-29 Leo Liu <sdl.web@gmail.com>
9613
9614 * abbrev.el (define-abbrevs): Reset sys to nil.
9615
96b49301 96162012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9617
bf7f9bc5
JB
9618 * files.el (file-equal-p): Rename from `files-equal-p'.
9619 Return nil when one or both files don't exist.
96b49301 9620 (file-subdir-of-p): Now only top directory must exists,
9621 return nil if it doesn't.
bf7f9bc5
JB
9622 (copy-directory): No need to test with `file-subdir-of-p' after
9623 creating dir.
9624 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9625 to `file-equal-p'.
96b49301 9626
44e97401
GM
96272012-02-28 Glenn Morris <rgm@gnu.org>
9628
9629 * shell.el (shell-mode):
9630 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9631 * play/landmark.el (landmark-font-lock-face-O):
9632 * play/handwrite.el (handwrite):
9633 * play/gomoku.el (gomoku-O):
9634 * net/browse-url.el (browse-url-browser-display):
9635 * international/mule.el (define-charset):
9636 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9637 * filesets.el (filesets-find-file-delay):
9638 * eshell/em-xtra.el (eshell-xtra):
9639 * eshell/em-unix.el (eshell-grep):
9640 * emulation/viper.el (viper-mode):
9641 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9642 * emacs-lisp/easymenu.el (easy-menu-define):
9643 * calendar/timeclock.el (timeclock-use-display-time):
9644 * bs.el (bs-mode):
9645 * bookmark.el (bookmark-save-flag):
9646 Doc fix (standardize possessive apostrophe usage).
9647
c98c6276
CY
96482012-02-27 Chong Yidong <cyd@gnu.org>
9649
bf7f9bc5
JB
9650 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9651 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9652
c98c6276
CY
9653 * font-lock.el (font-lock-specified-p): Rename from
9654 font-lock-spec-present. Callers changed.
9655
9c62cd04 96562012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9657
bf7f9bc5
JB
9658 * emacs-lisp/package.el (package-compute-transaction):
9659 Handle holding a package version to t in package-load-list.
8ac9e529 9660
530739c9
MA
96612012-02-26 Michael Albinus <michael.albinus@gmx.de>
9662
9663 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9664 (tramp-get-inode, tramp-get-device): Use cached values.
9665
487915d7
AM
96662012-02-26 Alan Mackenzie <acm@muc.de>
9667
9668 Check there is a font-lock specification before doing initial
9669 fontification.
9670
9671 * font-core.el (font-lock-mode): Move the conditional from
9672 :after-hook to font-lock-initial-fontify.
9673 (font-lock-default-function): Move the check for a specification
9674 to font-lock-spec-present.
9675
dc9924b8 9676 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9677 (font-lock-spec-present): New function.
9678
4fd96557
JB
96792012-02-26 Jim Blandy <jimb@red-bean.com>
9680
9681 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9682 (gdb-send): Apply it to the operand of the '-interpreter-exec
9683 console' command, so that we can pass arguments with (say) quotes
9684 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9685
9a4888c0
CY
96862012-02-26 Chong Yidong <cyd@gnu.org>
9687
07498861
CY
9688 * help-fns.el (describe-function-1): Clarify description of
9689 remapping (Bug#10844).
9690
9a4888c0
CY
9691 * files.el (files-equal-p): Doc fix.
9692 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9693 and quit the loop once a mismatch is found.
9694
ea8fb88d
JB
96952012-02-25 Juanma Barranquero <lekktu@gmail.com>
9696
9697 * bs.el (bs--show-with-configuration): Don't throw an error
9698 if the window cannot be split; otherwise, subsequent calls to
9699 bs-show fail, restoring a stale window config. (Bug#10882)
9700
525795c1
JD
97012012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9702
9703 * term/ns-win.el (global-map): Bind ns-drag-file to
9704 ns-find-file (Bug#5855, Bug#10050).
9705
f008086f
AS
97062012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9707
9708 * calendar/parse-time.el (parse-time-string): Allow extractor to
9709 return nil.
9710
a3fcfa99
MA
97112012-02-25 Michael Albinus <michael.albinus@gmx.de>
9712
91027d08
JB
9713 * net/tramp.el (tramp-file-name-for-operation):
9714 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9715
9716 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9717 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9718 Add COPY-CONTENTS argument.
a3fcfa99 9719
67b0de11
CY
97202012-02-25 Chong Yidong <cyd@gnu.org>
9721
9722 Add custom groups for VC backends, for consistency with vc-bzr.
9723
9724 * vc/vc-arch.el (vc-arch):
9725 * vc/vc-cvs.el (vc-cvs):
9726 * vc/vc-git.el (vc-git):
9727 * vc/vc-hg.el (vc-hg):
9728 * vc/vc-mtn.el (vc-mtn):
9729 * vc/vc-rcs.el (vc-rcs):
9730 * vc/vc-sccs.el (vc-sccs):
9731 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9732 All relevant defcustoms reassigned.
9733
3c9dfce6
CY
97342012-02-25 Chong Yidong <cyd@gnu.org>
9735
1339bf43
CY
9736 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9737
3c9dfce6
CY
9738 * term/x-win.el (x-initialize-window-system): Reduce default for
9739 x-selection-timeout to 5 seconds (Bug#8869).
9740
25b2e303 97412012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9742
ec70a47d
GM
9743 * files.el (files-equal-p, file-subdir-of-p): New functions.
9744 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9745 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9746 * dired-aux.el (dired-copy-file-recursive): Same.
9747 (dired-create-files): Modify destination when source is equal to
9748 dest when copying files.
53a46cd0 9749 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9750
914260cd
MA
97512012-02-24 Michael Albinus <michael.albinus@gmx.de>
9752
9753 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9754 (Bug#10874)
9755
2cb228f7
AM
97562012-02-23 Alan Mackenzie <acm@muc.de>
9757
9758 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9759 parameter "after-hook:" to allow the expansion to run code after
9760 the execution of the mode hooks.
9761
9762 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9763 from font-lock-mode-internal.
2cb228f7 9764
91027d08 9765 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9766 :after-hook.
9767
8f0fde21
SM
97682012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9769
3e88618b
SM
9770 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9771 (completion--cache-all-sorted-completions): New function.
9772 (completion-all-sorted-completions): Use it.
9773 (completion--do-completion, minibuffer-force-complete):
9774 Use it to re-instate the flush hook.
9775
8f0fde21
SM
9776 * icomplete.el (icomplete-completions): Replace last fix with a better
9777 one (bug#10850).
9778
8e911f6f
DG
97792012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9780
9781 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9782 when it might call us back infinitely (bug#10797).
9783
49fe4321
GM
97842012-02-23 Glenn Morris <rgm@gnu.org>
9785
9786 * minibuffer.el (completion-category-overrides): Doc fix.
9787
b291b572
SM
97882012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9791 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9792
31a9ef2e
GM
97932012-02-23 Glenn Morris <rgm@gnu.org>
9794
5e6e6794 9795 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9796 (authors-obsolete-files-regexps, authors-ignored-files)
9797 (authors-ambiguous-files, authors-renamed-files-alist):
9798 Add more entries.
9799
0bd1e074
JL
98002012-02-23 Juri Linkov <juri@jurta.org>
9801
9802 * isearch.el (isearch-occur): Sync interactive spec with occur's
9803 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9804
b617673c
JL
9805 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9806
19e9789e
JL
98072012-02-22 Juri Linkov <juri@jurta.org>
9808
9809 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9810 (ucs-insert): Doc fix. Check for hex digits in the string.
9811 Don't display `nil' in the error message. (Bug#10857)
9812
f41ce09d
AM
98132012-02-22 Alan Mackenzie <acm@muc.de>
9814
7a71b18d 9815 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9816
ac2eceee
GM
98172012-02-22 Glenn Morris <rgm@gnu.org>
9818
9819 * ffap.el (ffap-c-path):
9820 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9821
abd1f678
CY
98222012-02-22 Chong Yidong <cyd@gnu.org>
9823
9824 * custom.el (load-theme): Doc fix.
9825
f25aef2e
GM
98262012-02-22 Glenn Morris <rgm@gnu.org>
9827
9828 * dired-x.el (dired-guess-shell-alist-default):
9829 Remove escape sequences from nroff output. (Bug#172)
9830
5f8dc2ca
GM
98312012-02-21 Glenn Morris <rgm@gnu.org>
9832
6ff86ec4
GM
9833 * vc/emerge.el (emerge-defvar-local):
9834 Set `permanent-local' property rather than unused `preserved'.
9835
be3223a3 9836 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9837 (picture-mode-map): Use it. (Bug#10860)
9838 (picture-mode): Doc fix.
9839
3fe58f4f
JB
98402012-02-21 Juanma Barranquero <lekktu@gmail.com>
9841
9842 * newcomment.el (uncomment-region-default): Remove unused binding.
9843
f9a998c3
GM
98442012-02-21 Glenn Morris <rgm@gnu.org>
9845
9846 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9847 (picture-self-insert, picture-tab-chars): Doc fix.
9848 (picture-mode-map): Fix C-a, C-e.
9849
c6029348
GM
98502012-02-20 Glenn Morris <rgm@gnu.org>
9851
9852 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9853
ab1ce9d7
LL
98542012-02-20 Leo Liu <sdl.web@gmail.com>
9855
9856 * icomplete.el (icomplete-completions): Check FROM arg before
9857 passing to substring (Bug#10850).
9858
0fd40f89
CY
98592012-02-19 Chong Yidong <cyd@gnu.org>
9860
9861 * comint.el: Require ansi-color.
9862 (comint-output-filter-functions): Add ansi-color-process-output.
9863
9864 * ansi-color.el: Don't set comint-output-filter-functions; it is
9865 now in the initial value defined in comint.el.
9866 (ansi-color-apply-face-function): New variable.
9867 (ansi-color-apply-on-region): Use it.
9868 (ansi-color-apply-overlay-face): New function.
9869
9870 * shell.el (shell): No need to require ansi-color.
9871 (shell-mode): Use ansi-color-apply-face-function to highlight
9872 color escapes using font-lock-face property (Bug#10835).
9873
20af2394
CY
98742012-02-19 Chong Yidong <cyd@gnu.org>
9875
9876 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9877 mode-line formats (Bug#10839).
9878
e23a3fbe
GM
98792012-02-18 Glenn Morris <rgm@gnu.org>
9880
b474519e
GM
9881 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9882
9883 * mail/undigest.el (unforward-rmail-message): Doc fix.
9884
e23a3fbe
GM
9885 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9886
57939ff4
EZ
98872012-02-18 Eli Zaretskii <eliz@gnu.org>
9888
9889 * international/characters.el (script-list): Sync with the latest
9890 Unicode Character Database.
9891
0c23686e
AS
98922012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9893
9894 * international/titdic-cnv.el: Remove duplicate coding tag.
9895 * language/cham.el: Likewise.
9896 * language/tai-viet.el: Likewise.
9897
6818b449
GM
98982012-02-18 Glenn Morris <rgm@gnu.org>
9899
9900 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9901 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9902 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9903 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9904 * calendar/holidays.el (holiday-bahai-holidays)
9905 (calendar-holidays, list-holidays):
9906 Use utf-8 Bahá'í in doc-strings, menus, etc.
9907
0311a3fc
TH
99082012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9909
9910 * saveplace.el (save-place-ignore-files-regexp): New variable
9911 allowing for excluding files from saving their location of point.
9912 The default value matches the temporary commit message editing
9913 files from Git, SVN, Bazaar, and Mercurial.
9914 (save-place-to-alist): Use it.
9915
d209e2fb 99162012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9917 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9918
9919 * newcomment.el (uncomment-region-default): Don't leave extra space
9920 when an arg is provided (bug#8150).
9921
ee0ce425
TZ
99222012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9923
eb864a71 9924 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9925
95ddf442
GM
99262012-02-17 Glenn Morris <rgm@gnu.org>
9927
9928 * net/socks.el: Require network-stream. (Bug#10599)
9929
48dd1e39 99302012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9931
9932 * international/charprop.el:
9933 * international/uni-name.el:
9934 * international/uni-old-name.el:
9935 * international/uni-comment.el: Regenerate.
9936
d68cd087
GM
99372012-02-16 Glenn Morris <rgm@gnu.org>
9938
9939 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9940 Interactively in calendar buffer, give an error if not on a date.
9941
13932042
GM
99422012-02-15 Glenn Morris <rgm@gnu.org>
9943
9944 * shell.el (shell-delimiter-argument-list):
9945 Revert 2011-02-17 change. (Bug#8027)
9946
c3a70e2b
CY
99472012-02-15 Chong Yidong <cyd@gnu.org>
9948
60236b0d
CY
9949 * minibuffer.el (completion-at-point-functions): Doc fix.
9950
c3a70e2b
CY
9951 * custom.el (defcustom): Doc fix; note use of defvar.
9952
9f26dc24
GM
99532012-02-15 Glenn Morris <rgm@gnu.org>
9954
9955 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9956 Doc fixes.
9957
6546b134
GM
99582012-02-14 Glenn Morris <rgm@gnu.org>
9959
9960 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9961
d29b2b4c
LI
99622012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9963
9964 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9965 way the ports list is computed.
835bdcba
LI
9966 (smtpmail-query-smtp-server): Prompt the user for a port number if
9967 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9968
08dcdbc9
TZ
99692012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9970
9971 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9972
2605051a
GM
99732012-02-13 Glenn Morris <rgm@gnu.org>
9974
9975 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9976
7ee99f32
TZ
99772012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9978
9979 * net/gnutls.el (gnutls-trustfiles): New variable.
9980 (gnutls-negotiate): Use it.
9981
5f0af64f
LI
99822012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9983
9984 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9985 does its stuff if Gnus is running.
9986
c14fcc95
AM
99872012-02-13 Alan Mackenzie <acm@muc.de>
9988
9989 Fix a loop in c-set-fl-decl-start.
9990
7a71b18d 9991 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9992 c-backward-syntactic-ws actually moves backwards.
9993
142b4d90
LL
99942012-02-13 Leo Liu <sdl.web@gmail.com>
9995
9996 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9997 beginning so that all \C-o chars are removed.
9998
fa9958a6
TZ
99992012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10000
dc9924b8 10001 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10002
0bc5886a
AM
100032012-02-12 Alan Mackenzie <acm@muc.de>
10004
10005 Fix infinite loop with long macros.
4d6769e1 10006 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10007
d4bd55e7
CY
100082012-02-12 Chong Yidong <cyd@gnu.org>
10009
10010 * window.el (display-buffer): Doc fix (Bug#10785).
10011
66f3fe22
GM
100122012-02-12 Glenn Morris <rgm@gnu.org>
10013
bd7da63e
GM
10014 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10015 (x-disown-selection-internal, x-get-selection-internal):
10016 Sync docs with the xselect.c versions.
10017
66f3fe22
GM
10018 * allout-widgets.el: Add missing license notice.
10019
3e0d2fa7
GM
100202012-02-11 Glenn Morris <rgm@gnu.org>
10021
cfecdf09
GM
10022 * select.el (x-get-selection-internal, x-own-selection-internal)
10023 (x-disown-selection-internal):
10024 * x-dnd.el (x-get-selection-internal): Update declarations.
10025
6d216d7f
GM
10026 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10027
2bed3f04
GM
10028 * window.el (window-sides-slots):
10029 * tool-bar.el (tool-bar-position):
10030 * term/xterm.el (xterm-extra-capabilities):
10031 * ses.el (ses-self-reference-early-detection):
10032 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10033 (verilog-auto-wire-type)
10034 (verilog-auto-delete-trailing-whitespace)
10035 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10036 (verilog-auto-tieoff-declaration):
10037 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10038 (sql-oracle-statement-starters, sql-oracle-scan-on):
10039 * progmodes/prolog.el (prolog-align-comments-flag)
10040 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10041 (prolog-left-indent-regexp, prolog-paren-indent-p)
10042 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10043 (prolog-types, prolog-mode-specificators)
10044 (prolog-determinism-specificators, prolog-directives)
10045 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10046 (prolog-electric-dot-flag)
10047 (prolog-electric-dot-full-predicate-template)
10048 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10049 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10050 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10051 (prolog-program-switches, prolog-prompt-regexp)
10052 (prolog-debug-on-string, prolog-debug-off-string)
10053 (prolog-trace-on-string, prolog-trace-off-string)
10054 (prolog-zip-on-string, prolog-zip-off-string)
10055 (prolog-use-standard-consult-compile-method-flag)
10056 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10057 (prolog-imenu-max-lines, prolog-info-predicate-index)
10058 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10059 (prolog-char-quote-workaround):
10060 * progmodes/cc-vars.el (c-defun-tactic):
10061 * net/tramp.el (tramp-encoding-command-interactive)
10062 (tramp-local-end-of-line):
10063 * net/soap-client.el (soap-client):
10064 * net/netrc.el (netrc-file):
10065 * net/gnutls.el (gnutls):
10066 * minibuffer.el (completion-category-overrides)
10067 (completion-cycle-threshold)
10068 (completion-pcm-complete-word-inserts-delimiters):
10069 * man.el (Man-name-local-regexp):
10070 * mail/feedmail.el (feedmail-display-full-frame):
10071 * international/characters.el (glyphless-char-display-control):
10072 * eshell/em-ls.el (eshell-ls-date-format):
10073 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10074 (lisp-lambda-list-keyword-parameter-indentation)
10075 (lisp-lambda-list-keyword-parameter-alignment):
10076 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10077 * dired-x.el (dired-omit-verbose):
10078 * cus-theme.el (custom-theme-allow-multiple-selections):
10079 * calc/calc.el (calc-highlight-selections-with-faces)
10080 (calc-lu-field-reference, calc-lu-power-reference)
10081 (calc-note-threshold):
10082 * battery.el (battery-mode-line-limit):
10083 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10084 (archive-7z-update):
10085 * allout.el (allout-prefixed-keybindings)
10086 (allout-unprefixed-keybindings)
10087 (allout-inhibit-auto-fill-on-headline)
10088 (allout-flattened-numbering-abbreviation):
10089 * allout-widgets.el (allout-widgets-auto-activation)
10090 (allout-widgets-icons-dark-subdir)
10091 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10092 (allout-widgets-theme-dark-background)
10093 (allout-widgets-theme-light-background)
10094 (allout-widgets-item-image-properties-emacs)
10095 (allout-widgets-item-image-properties-xemacs)
10096 (allout-widgets-run-unit-tests-on-load)
10097 (allout-widgets-time-decoration-activity)
10098 (allout-widgets-hook-error-post-time)
10099 (allout-widgets-track-decoration):
10100 Add missing :version tags to new defcustoms and defgroups.
10101
5fec1b8e
GM
10102 * progmodes/sql.el (sql-ansi-statement-starters)
10103 (sql-oracle-statement-starters): Add custom type.
10104
3e0d2fa7
GM
10105 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10106 (prolog-system-version): Give it a type.
10107
90b671e2
EZ
101082012-02-11 Eli Zaretskii <eliz@gnu.org>
10109
10110 * term/pc-win.el (x-select-text, x-selection-owner-p)
10111 (x-own-selection-internal, x-disown-selection-internal)
10112 (x-get-selection-internal): Sync doc strings and argument lists
10113 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10114
5eac0c02
LL
101152012-02-11 Leo Liu <sdl.web@gmail.com>
10116
10117 * progmodes/python.el (python-end-of-statement): Fix infinite
10118 loop. (Bug#10788)
10119
f82cb659
GM
101202012-02-10 Glenn Morris <rgm@gnu.org>
10121
10122 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10123 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10124
cc26d239
LI
101252012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10126
10127 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10128 about SMTP before checking the From header.
10129
91027d08 10130 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10131 into own function for reuse by emacsbug.el.
10132
1be3ca5a
LL
101332012-02-10 Leo Liu <sdl.web@gmail.com>
10134
10135 * subr.el (condition-case-unless-debug): Rename from
10136 condition-case-no-debug. All callers changed.
10137 (with-demoted-errors): Fix caller.
10138
10139 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10140 * nxml/rng-valid.el (rng-do-some-validation):
10141 * emacs-lisp/package.el (package-refresh-contents)
10142 (package-menu-execute):
10143 * desktop.el (desktop-create-buffer):
91027d08 10144 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10145
b011fbfe
GM
101462012-02-10 Glenn Morris <rgm@gnu.org>
10147
b2096d72
GM
10148 * textmodes/bibtex.el:
10149 Add missing :version tags for new/changed defcustoms.
10150
b011fbfe
GM
10151 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10152
4c7e65bf
LI
101532012-02-09 Lars Ingebrigtsen <larsi@rusty>
10154
10155 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10156 (smtpmail-via-smtp): Use it, or fall back on the From address.
10157 (smtpmail-send-it): Ditto.
10158
f3934f6f
SM
101592012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10162 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10163 (byte-compile-tmp-var): New const.
10164 (byte-compile-defvar): Use it to minimize .elc size.
10165 Just use `defvar' rather than simulate it (bug#10761).
10166
a075a2c5
GM
101672012-02-09 Glenn Morris <rgm@gnu.org>
10168
cf3aa21b
GM
10169 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10170
354998cd
GM
10171 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10172 Add :version tags.
10173
dc9924b8
SM
10174 * progmodes/compile.el (compilation-error-screen-columns)
10175 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10176
dab3703d
GM
10177 * vc/log-view.el (log-view-toggle-entry-display):
10178 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10179
3f88cd72
GM
10180 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10181 (report-emacs-bug-can-use-xdg-email):
10182 (report-emacs-bug-insert-to-mailer): Doc fixes.
10183 (report-emacs-bug): Message fix.
10184
d95b247d
GM
10185 * net/browse-url.el (browse-url-can-use-xdg-open)
10186 (browse-url-xdg-open): Doc fixes.
10187
a075a2c5
GM
10188 * electric.el (electric-indent-mode, electric-pair-mode)
10189 (electric-layout-rules, electric-layout-mode): Doc fixes.
10190 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10191
ffb6157e
MR
101922012-02-08 Martin Rudalics <rudalics@gmx.at>
10193
10194 * server.el (server-unselect-display): Don't inadvertently kill
10195 the current buffer. (Bug#10729)
10196
e1ac4066
GM
101972012-02-08 Glenn Morris <rgm@gnu.org>
10198
34e8a2da
GM
10199 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10200 (sql-list-table): Doc fixes.
10201
b4ac6e8c
GM
10202 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10203 Comment out (does nothing).
10204
e1ac4066
GM
10205 * completion.el (dynamic-completion-mode):
10206 * dirtrack.el (dirtrack-debug-mode):
10207 * electric.el (electric-layout-mode):
10208 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10209 * face-remap.el (text-scale-mode, buffer-face-mode):
10210 * iimage.el (iimage-mode):
10211 * image-mode.el (image-transform-mode):
10212 * minibuffer.el (completion-in-region-mode):
10213 * scroll-lock.el (scroll-lock-mode):
10214 * simple.el (next-error-follow-minor-mode):
10215 * tar-mode.el (tar-subfile-mode):
10216 * tooltip.el (tooltip-mode):
10217 * vcursor.el (vcursor-use-vcursor-map):
10218 * wid-browse.el (widget-minor-mode):
10219 * emulation/tpu-edt.el (tpu-edt-mode):
10220 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10221 * international/iso-ascii.el (iso-ascii-mode):
10222 * language/thai-util.el (thai-word-mode):
10223 * mail/supercite.el (sc-minor-mode):
10224 * net/goto-addr.el (goto-address-mode):
10225 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10226 * progmodes/cwarn.el (cwarn-mode):
10227 * progmodes/flymake.el (flymake-mode):
10228 * progmodes/glasses.el (glasses-mode):
10229 * progmodes/hideshow.el (hs-minor-mode):
10230 * progmodes/pascal.el (pascal-outline-mode):
10231 * textmodes/enriched.el (enriched-mode):
10232 * vc/smerge-mode.el (smerge-mode):
10233 Doc fixes (minor mode argument).
10234
5e0d957f
EZ
102352012-02-07 Eli Zaretskii <eliz@gnu.org>
10236
10237 * ls-lisp.el (ls-lisp-sanitize): New function.
10238 (ls-lisp-insert-directory): Use it to fix or remove any elements
10239 in file-alist with missing attributes. (Bug#4673)
10240
98d7371e
AM
102412012-02-07 Alan Mackenzie <acm@muc.de>
10242
10243 Fix spurious recognition of c-in-knr-argdecl.
10244
10245 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10246 putative K&R region.
10247
667ced3a
AM
102482012-02-07 Alan Mackenzie <acm@muc.de>
10249
eb864a71
LM
10250 * progmodes/cc-engine.el (c-forward-objc-directive):
10251 Prevent looping in "#pragma mark @implementation".
667ced3a 10252
5b77774d
MA
102532012-02-07 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * notifications.el (notifications-on-closed-signal): Make `reason'
10256 optional. (Bug#10744)
10257
af008560
GM
102582012-02-07 Glenn Morris <rgm@gnu.org>
10259
60d47423
GM
10260 * emacs-lisp/easy-mmode.el (define-minor-mode):
10261 Doc fixes for the macro and the mode it defines.
10262
dd605cc4
GM
10263 * image.el (imagemagick-types-inhibit): Doc fix.
10264
af008560
GM
10265 * cus-start.el (imagemagick-render-type): Add it.
10266
5cc59a37
LI
102672012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10268
4d6769e1
JB
10269 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10270 Set the default at load time, too, so that `font-lock-fontify-buffer'
10271 can be called without setting up the entire mode first. This fixes
10272 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10273
9a6dd747
CY
102742012-02-06 Chong Yidong <cyd@gnu.org>
10275
2d16b285
CY
10276 * simple.el (list-processes--refresh): Delete exited processes
10277 (Bug#8094).
10278
171e9b6e
CY
10279 * comint.el (comint-next-prompt): next-single-char-property-change
10280 and prev-single-char-property-change never return nil (Bug#8657).
10281
9a6dd747
CY
10282 * custom.el (defcustom): Doc fix (Bug#9711).
10283
aa4589a7
CY
102842012-02-05 Chong Yidong <cyd@gnu.org>
10285
5c2a252f
CY
10286 * cus-edit.el (custom-variable-reset-backup): Quote the value
10287 before storing it in the customized-value property (Bug#6712).
4aab9006 10288 (custom-display): Add a customization type tag.
983b9602 10289 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10290
aa4589a7
CY
10291 * wid-edit.el (widget-field-value-get): New optional arg to
10292 suppress trailing whitespace truncation.
10293 (character): Use it (Bug#2689).
10294
1ff980ae
AS
102952012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10296
10297 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10298 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10299
03988c98
CY
103002012-02-05 Chong Yidong <cyd@gnu.org>
10301
eeb6cc88
CY
10302 * cus-edit.el (custom-variable-value-create): For mismatched
10303 types, show the current value (Bug#7600).
10304
03988c98
CY
10305 * custom.el (defcustom): Doc fix.
10306
f8cdeef0
GM
103072012-02-05 Glenn Morris <rgm@gnu.org>
10308
10309 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10310
0696d255
JB
103112012-02-05 Juanma Barranquero <lekktu@gmail.com>
10312
10313 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10314 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10315 (pp-last-sexp): Use `looking-at-p'.
10316
34c99998
GM
103172012-02-04 Glenn Morris <rgm@gnu.org>
10318
8f05da42
GM
10319 * files.el (revert-buffer):
10320 Doc fix (mention revert-buffer-in-progress-p).
10321
f160676e
GM
10322 * emacs-lisp/ert-x.el (ert-simulate-command):
10323 Check deferred-action-list (which is obsolete) is bound.
10324
c7291ad9
GM
10325 * subr.el (with-wrapper-hook): Doc fixes.
10326
34c99998
GM
10327 * simple.el (filter-buffer-substring-functions)
10328 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10329
6283a7d3
LL
103302012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10331
10332 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10333 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10334
e96e3013
LL
103352012-02-04 Leo Liu <sdl.web@gmail.com>
10336
10337 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10338
8ded50f2
GM
103392012-02-04 Glenn Morris <rgm@gnu.org>
10340
82ff1d13
GM
10341 * image.el (image-extension-data): Add obsolete alias.
10342
987a0a16
GM
10343 * isearch.el (isearch-update): Doc fix.
10344
ea32ef46
GM
10345 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10346
8ded50f2
GM
10347 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10348
eea14f31
GM
103492012-02-03 Glenn Morris <rgm@gnu.org>
10350
10351 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10352 (image-animate-timeout): Doc fix.
10353
10354 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10355
12f381b7
GM
103562012-02-02 Glenn Morris <rgm@gnu.org>
10357
953cebf5
GM
10358 * server.el (server-auth-dir): Doc fix.
10359 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10360
12f381b7
GM
10361 * subr.el (run-mode-hooks): Doc fix.
10362
953a8c3b
JL
103632012-02-02 Juri Linkov <juri@jurta.org>
10364
10365 * image-mode.el (image-toggle-display-image): Remove tautological
10366 `major-mode' from the `derived-mode-p' test.
10367
c5d3843c
KH
103682012-02-02 Kenichi Handa <handa@m17n.org>
10369
9f6e692e 10370 * composite.el (compose-region): Cancel previous change.
c5d3843c 10371
159462d4 103722012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10373
10374 * composite.el (compose-region, compose-string): Signal error for
10375 a null string component (Bug#6988).
10376
9f562668
CY
103772012-02-01 Chong Yidong <cyd@gnu.org>
10378
e2cef717
CY
10379 * view.el (view-buffer-other-window, view-buffer-other-frame):
10380 Handle special modes like view-buffer (Bug#10650).
10381 (view-buffer): Simplify.
10382
9f562668
CY
10383 * frame.el (set-frame-font): Tweak meaning of third argument.
10384
9f6e692e
JB
10385 * dynamic-setting.el (font-setting-change-default-font):
10386 Use set-frame-font (Bug#9982).
9f562668 10387
781acb9f
GM
103882012-02-01 Glenn Morris <rgm@gnu.org>
10389
6035be52
GM
10390 * progmodes/compile.el (compilation-internal-error-properties):
10391 Respect compilation-first-column in the "*compilation*" buffer.
10392
781acb9f
GM
10393 * emacs-lisp/easy-mmode.el (define-minor-mode):
10394 Relax :variable's test for a named function.
10395
abbceb00
AM
103962012-01-31 Alan Mackenzie <acm@muc.de>
10397
10398 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10399 off by one error.
10400
fce3fdeb
CY
104012012-01-31 Chong Yidong <cyd@gnu.org>
10402
10403 * frame.el (set-frame-font): New arg ALL-FRAMES.
10404
10405 * menu-bar.el (menu-set-font): Use set-frame-font.
10406
10407 * faces.el (face-spec-reset-face): Don't apply unspecified
10408 attribute values to the default face.
10409
47893581
JB
104102012-01-31 Juanma Barranquero <lekktu@gmail.com>
10411
10412 * progmodes/cwarn.el (cwarn): Remove dead link.
10413 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10414 Remove * from defcustom docstrings.
10415 (turn-on-cwarn-mode): Make obsolete.
10416 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10417 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10418
e58e988a
GM
104192012-01-31 Glenn Morris <rgm@gnu.org>
10420
60dc2671 10421 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10422 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10423 Allow named functions to be used as the cdr of :variable.
e58e988a 10424
7a3f511d
GM
104252012-01-30 Glenn Morris <rgm@gnu.org>
10426
10427 * emacs-lisp/authors.el (authors-fixed-entries):
10428 Remove reference to deleted file rnewspost.el.
10429
cb882333
JB
104302012-01-29 Juanma Barranquero <lekktu@gmail.com>
10431
10432 * window.el (window-with-parameter): Remove unused variable `windows'.
10433 (window--side-check): Remove unused variable `code'.
10434 (window--resize-siblings): Remove unused variable `first'.
10435 (adjust-window-trailing-edge): Remove unused variable `failed'.
10436 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10437 Use `let', not `let*'.
10438 (balance-windows-2): Remove unused variable `found'.
10439 (window--state-put-2): Remove unused variable `splits'.
10440 (window-state-put): Remove unused variable `selected'.
10441 (same-window-p): Use `string-match-p'.
10442 (display-buffer-assq-regexp): Remove unused variable `value'.
10443 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10444 Mark argument ALIST as ignored.
10445 (pop-to-buffer): Remove unused variable `old-window'.
10446
907201af
EZ
104472012-01-29 Eli Zaretskii <eliz@gnu.org>
10448
10449 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10450 and .lzma compressed files.
10451
ea162670
CY
104522012-01-29 Chong Yidong <cyd@gnu.org>
10453
5b95ee8a
CY
10454 * frame.el (window-system-default-frame-alist): Doc fix.
10455
ea162670
CY
10456 * dynamic-setting.el (font-setting-change-default-font): Don't
10457 change the default face if SET-FONT argument is non-nil (Bug#9982).
10458
d6e6f4b1
SB
104592012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10460
10461 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10462
0f29fa41 104632012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10464
10465 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10466 breakpoints in files outside current directory (Bug#6098).
10467
db174434
CY
104682012-01-29 Chong Yidong <cyd@gnu.org>
10469
6b25e4e2
SE
10470 * progmodes/python.el: Require ansi-color at top-level.
10471
6df6ae42
JB
10472 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10473 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10474 (lisp-mode-abbrev-table): Add doc.
10475 (lisp-mode-variables): Don't set local-abbrev-table.
10476 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10477
e70ee681
RW
104782012-01-28 Roland Winkler <winkler@gnu.org>
10479
10480 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10481
ace88aa2
RW
104822012-01-28 Roland Winkler <winkler@gnu.org>
10483
10484 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10485 (bibtex-set-dialect): Use it. Either set global values of
10486 dialect-dependent variables or bind these variables buffer-locally
10487 (Bug#10254).
10488 (bibtex-mode): Call bibtex-set-dialect via
10489 hack-local-variables-hook.
eb864a71
LM
10490 (bibtex-dialect): Update docstring.
10491 Add safe-local-variable predicate.
ace88aa2
RW
10492 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10493 bibtex-set-dialect.
10494 (bibtex-mode-map): Define menu for each dialect.
10495 (bibtex-entry): Fix docstring.
10496
93376c5b
CY
104972012-01-28 Chong Yidong <cyd@gnu.org>
10498
10499 * eshell/esh-arg.el (eshell-quote-argument): New function.
10500
10501 * eshell/esh-ext.el (eshell-invoke-batch-file):
10502 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10503 first arg to eshell-parse-command (Bug#10523).
10504
4372494f
DA
105052012-01-28 Drew Adams <drew.adams@oracle.com>
10506
10507 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10508 `default-directory' is non-nil.
10509
4d4ec1f8
EZ
105102012-01-28 Eli Zaretskii <eliz@gnu.org>
10511
10512 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10513 line that displays system-configuration-options. (Bug#9924)
10514
7c188927
DA
105152012-01-28 Drew Adams <drew.adams@oracle.com>
10516
10517 * descr-text.el (describe-char): Show information about POS, in
10518 addition to information about the character at POS. Improve and
10519 update the doc string. Change "code point" to "code point in
10520 charset", to avoid confusion with the character's Unicode code
10521 point shown above that. (Bug#10129)
10522
e0da685a
EZ
105232012-01-28 Eli Zaretskii <eliz@gnu.org>
10524
10525 * descr-text.el (describe-char): Show the raw character, not only
10526 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10527 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10528 for the reasons.
10529
70550acf
PH
105302012-01-28 Phil Hagelberg <phil@hagelb.org>
10531
eb864a71
LM
10532 * emacs-lisp/package.el (package-install):
10533 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10534
0ce8e868
CY
105352012-01-28 Chong Yidong <cyd@gnu.org>
10536
cb882333
JB
10537 * emacs-lisp/package.el (package-maybe-load-descriptor):
10538 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10539 (package-maybe-load-descriptor): Use it.
10540 (package-download-transaction): Fully load required packages
10541 inside the loop, so that `require' calls work (Bug#10593).
10542 (package-install): No need to call package-initialize now.
10543
2e7f3bea
CY
105442012-01-28 Chong Yidong <cyd@gnu.org>
10545
6e9bad14
CY
10546 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10547
f823b8ca
CY
10548 * tooltip.el (tooltip-mode): Doc fix.
10549 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10550
2680c309
CY
10551 * frame.el (set-cursor-color): Doc fix (Bug#352).
10552
d7a9e63b
CY
10553 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10554 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10555
2e7f3bea
CY
10556 * cus-edit.el (custom-buffer-create-internal): Fix search button
10557 action (Bug#10542).
2ae01800 10558 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10559
fc4f7a23
EW
105602012-01-27 Eduard Wiebe <usenet@pusto.de>
10561
10562 * dired.el (dired-mark-files-regexp):
10563 Include any subdirectory components. (Bug#10445)
10564
7dd37071
ML
105652012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10566
10567 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10568 Handle [host]:port syntax. (Bug#10533)
10569
a268160b
AH
105702012-01-27 Alex Harsanyi <harsanyi@mac.com>
10571
10572 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10573
e43273ef
GM
105742012-01-26 Glenn Morris <rgm@gnu.org>
10575
10576 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10577 * term.el (term-raw-escape-map): Use Control-X-prefix.
10578 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10579
1edf595d
MR
105802012-01-25 Martin Rudalics <rudalics@gmx.at>
10581
10582 * window.el (window-state-get, window--state-get-1): Don't deal
10583 with fixed-sizeness of windows. Simplify code.
10584
fa8eafef
JC
105852012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10586
6df6ae42
JB
10587 * window.el (window--state-get-1, window--state-put-2):
10588 Don't save and restore the mark.
fa8eafef 10589
0b21c100
CY
105902012-01-25 Chong Yidong <cyd@gnu.org>
10591
10592 * custom.el (custom-variable-p): Doc fix.
10593
5ae1a6c8
GM
105942012-01-25 Glenn Morris <rgm@gnu.org>
10595
40047858
GM
10596 * dired.el (dired-goto-file): Handle some of the more common
10597 characters that `ls -b' escapes. (Bug#10596)
10598
5ddce96c
GM
10599 * progmodes/compile.el (compilation-next-error-function):
10600 Respect compilation-first-column in the "*compilation*" buffer.
10601 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10602
5ae1a6c8
GM
10603 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10604
b559f1a9
GM
106052012-01-24 Glenn Morris <rgm@gnu.org>
10606
10607 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10608
6725d21a
JD
106092012-01-24 Julien Danjou <julien@danjou.info>
10610
10611 * color.el (color-rgb-to-hsl): Fix value computing.
10612 (color-hue-to-rgb): New function.
10613 (color-hsl-to-rgb): New function.
10614 (color-clamp, color-saturate-hsl, color-saturate-name)
10615 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10616 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10617
70df4bbe
GM
106182012-01-24 Glenn Morris <rgm@gnu.org>
10619
10620 * vc/vc-rcs.el (vc-rcs-create-tag):
10621 * vc/vc-sccs.el (vc-sccs-create-tag):
10622 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10623
802a2ae2
ML
106242012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10625
10626 * eshell/esh-util.el (eshell-read-hosts-file):
10627 Skip comment lines. (Bug#10549)
10628
d7128bb1
ML
10629 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10630
d1a5c3b4
JB
106312012-01-23 Juanma Barranquero <lekktu@gmail.com>
10632
2724d9c7
JB
10633 * subr.el (display-delayed-warnings): Doc fix.
10634 (collapse-delayed-warnings): New function to collapse identical
10635 adjacent warnings.
10636 (delayed-warnings-hook): Add it.
d1a5c3b4 10637
a5509865
MA
106382012-01-22 Michael Albinus <michael.albinus@gmx.de>
10639
10640 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10641
a5509865
MA
10642 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10643 (tramp-default-user-alist): Don't add "pscp".
10644 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10645 property "login-as", if set. (Bug#10530)
10646
cc6d5805
MA
106472012-01-21 Michael Albinus <michael.albinus@gmx.de>
10648
10649 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10650 "plink1" and "psftp". (Bug#10530)
10651
106522012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10653
10654 * international/mule-cmds.el (prefer-coding-system): Show a
10655 warning message if the default value of file-name-coding-system
10656 was not changed.
10657
f0960428
JC
106582012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10659
cb882333
JB
10660 * windmove.el (windmove-reference-loc):
10661 Fix windmove-reference-loc miscalculation.
f0960428 10662
dd6f2a63
JB
106632012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10664
10665 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10666 default unit.
10667
7b447e9b
GM
106682012-01-21 Glenn Morris <rgm@gnu.org>
10669
117a9ea1
GM
10670 * international/mule.el (auto-coding-alist): Add .tbz.
10671
7b447e9b
GM
10672 * files.el (local-enable-local-variables): Doc fix.
10673 (inhibit-local-variables-regexps): Rename from
10674 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10675 Doc fix. Add some extensions from auto-coding-alist.
10676 (inhibit-local-variables-suffixes):
10677 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10678 (inhibit-local-variables-p):
10679 New function, extracted from set-auto-mode-1.
10680 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10681 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10682 (hack-local-variables): Doc fix. Make the mode-only case
10683 respect enable-local-variables and friends.
10684 Respect inhibit-local-variables-regexps for file-locals, but
10685 not for directory-locals.
10686 (set-visited-file-name):
10687 Take account of inhibit-local-variables-regexps.
10688 Whether it applies may change as the file name is changed.
10689 * jka-cmpr-hook.el (jka-compr-install):
10690 * jka-compr.el (jka-compr-uninstall):
10691 Update for inhibit-first-line-modes-suffixes name change.
10692
dd6e3cdd
MR
106932012-01-20 Martin Rudalics <rudalics@gmx.at>
10694
10695 * help-macro.el (make-help-screen): Temporarily restore original
10696 binding for minor-mode-map-alist (Bug#10454).
10697
0d0deb38
JD
106982012-01-19 Julien Danjou <julien@danjou.info>
10699
10700 * color.el (color-name-to-rgb): Use the white color to find the max
10701 color component value and return correctly computed values.
10702 (color-name-to-rgb): Add missing float conversion for max value.
10703
34a02f46
MR
107042012-01-19 Martin Rudalics <rudalics@gmx.at>
10705
10706 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10707 special state value for window-persistent-parameters.
10708 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10709 (window--state-put-2): Reset all window parameters to nil before
10710 assigning values of persistent parameters.
10711
606c44c4
AM
107122012-01-18 Alan Mackenzie <acm@muc.de>
10713
10714 Eliminate sluggishness and hangs in fontification of "semicolon
10715 deserts".
10716
cb882333
JB
10717 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10718 Change value 10000 -> 3000.
606c44c4
AM
10719 (c-state-safe-place): Reformulate so it doesn't stack up an
10720 infinite number of wrong entries in c-state-nonlit-pos-cache.
10721 (c-determine-limit-get-base, c-determine-limit): New functions to
10722 determine backward search limits disregarding literals.
10723 (c-find-decl-spots): Amend commenting.
10724 (c-cheap-inside-bracelist-p): New function which detects "={".
10725
10726 * progmodes/cc-fonts.el
10727 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10728 backward search.
10729 (c-font-lock-declarations): Fix an occurrence of point being
10730 undefined. Check additionally for point being in a bracelist or
10731 near a macro invocation without a semicolon so as to avoid a
10732 fruitless time consuming search for a declarator. Give a more
10733 precise search limit for declarators using the new
10734 c-determine-limit.
10735
f3860cea
GM
107362012-01-18 Glenn Morris <rgm@gnu.org>
10737
10738 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10739 (set-auto-mode): Doc fixes.
10740
1db03b16
GM
107412012-01-17 Glenn Morris <rgm@gnu.org>
10742
0e6038be
GM
10743 * isearch.el (search-nonincremental-instead): Fix doc typo.
10744
1db03b16
GM
10745 * dired.el (dired-insert-directory): Handle newlines in directory name.
10746 (dired-build-subdir-alist): Unescape newlines in directory name.
10747
4cb0aa75
MA
107482012-01-17 Michael Albinus <michael.albinus@gmx.de>
10749
10750 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10751 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10752 (tramp-action-terminal): Use it. (Bug#10530)
10753
1d00653d
SM
107542012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10757
6a6ee00d
MR
107582012-01-16 Martin Rudalics <rudalics@gmx.at>
10759
10760 * window.el (window-state-ignored-parameters): Remove variable.
10761 (window--state-get-1): Rename argument MARKERS to IGNORE.
10762 Handle persistent window parameters. Make copy of clone-of
10763 parameter only if requested. (Bug#10348)
10764 (window--state-put-2): Install a window parameter only if it has
10765 a non-nil value or an existing parameter shall be overwritten.
10766
97912def
MA
107672012-01-15 Michael Albinus <michael.albinus@gmx.de>
10768
10769 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10770
688070a5
EZ
107712012-01-14 Eli Zaretskii <eliz@gnu.org>
10772
10773 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10774 don't pass the (nil) value of `upnode' to string-match.
10775
301afadc
CY
107762012-01-14 Chong Yidong <cyd@gnu.org>
10777
10778 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10779 Fix values recognized by the cursorBlink resource.
301afadc 10780
9e5788aa
PE
107812012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10782
10783 * epg.el (epg--make-temp-file): Avoid permission race condition
10784 when running on old Emacs versions (bug#10403).
10785
3cdb7f5a
GM
107862012-01-14 Glenn Morris <rgm@gnu.org>
10787
10788 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10789
8c82b1b4
AM
107902012-01-13 Alan Mackenzie <acm@muc.de>
10791
10792 Fix filling for when filladapt mode is enabled.
10793
10794 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10795 c-mask-paragraph, pass in `fill-paragraph' rather than
10796 `fill-region-as-paragraph'. (This is a reversion of a previous
10797 change.)
eb864a71
LM
10798 * progmodes/cc-mode.el (c-basic-common-init):
10799 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10800
e517eda4
GM
108012012-01-13 Glenn Morris <rgm@gnu.org>
10802
1498536e
GM
10803 * dired.el (dired-switches-escape-p): New function.
10804 (dired-insert-directory): Use dired-switches-escape-p.
10805 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10806
e517eda4
GM
10807 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10808
328f984d
GM
108092012-01-12 Glenn Morris <rgm@gnu.org>
10810
10811 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10812 changes in adaptive-fill-regexp. (Bug#10276)
10813
2cc769a8
AM
108142012-01-11 Alan Mackenzie <acm@muc.de>
10815
10816 Fix Emacs bug #10463 - put `widen's around the critical spots.
10817
1d00653d 10818 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10819 widen around each invocation of c-state-pp-to-literal. Remove an
10820 unused let variable.
10821
e52c37fa
GM
108222012-01-11 Glenn Morris <rgm@gnu.org>
10823
10824 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10825 Doc fix.
e52c37fa 10826
96f8741e
CY
108272012-01-10 Chong Yidong <cyd@gnu.org>
10828
1d00653d
SM
10829 * net/network-stream.el (network-stream-open-starttls):
10830 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10831 response to the capability command.
10832
b09a806e
GM
108332012-01-10 Glenn Morris <rgm@gnu.org>
10834
10835 * mail/unrmail.el (unrmail): Tweak previous change.
10836
7655cb66
CY
108372012-01-09 Chong Yidong <cyd@gnu.org>
10838
10839 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10840
9d5a8f0b
AM
108412012-01-08 Alan Mackenzie <acm@muc.de>
10842
10843 Optimise font locking in long enum definitions.
10844
10845 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10846 arm to a cond form to handle enums.
10847 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10848 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10849
9a0115ab 108502012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10851
10852 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10853 (Bug#10401)
6bb72cbd 10854
f186bb95
LMI
108552012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10856
29232a68
LMI
10857 * faces.el (set-face-attribute): Clarify the meaning of the nil
10858 frame (bug#10294).
10859
4e5d086d
LMI
10860 * subr.el (with-selected-frame): Mention that the selected frame
10861 is restored (bug#9980).
10862
8e66aebe
LMI
10863 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10864 (bug#9759).
10865
cd394be1 10866 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10867 (password-read): Don't autoload unused function.
10868
adf4e762
JB
108692012-01-07 Juanma Barranquero <lekktu@gmail.com>
10870
10871 * progmodes/which-func.el (which-func-mode): Turn into a
10872 non-interactive function and mark as obsolete (bug#10428).
10873
89bd9ccd
CY
108742012-01-06 Chong Yidong <cyd@gnu.org>
10875
10876 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10877 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10878 functions, along with 1 and -1.
10879
4afee9d5
EZ
108802012-01-06 Eli Zaretskii <eliz@gnu.org>
10881
10882 * time.el (display-time-load-average)
10883 (display-time-default-load-average): Doc fixes. See the thread
10884 starting at
10885 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10886 for the details.
10887
536aea70
GM
108882012-01-06 Glenn Morris <rgm@gnu.org>
10889
665ae865
GM
10890 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10891 has no messages. (Bug#10377)
10892
c869783d
GM
10893 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10894 than Info-edit. (Bug#10385)
10895
2bb4227e
GM
10896 * time.el (display-time-load-average, display-time-next-load-average):
10897 Doc fixes.
10898
7d5944b9
GM
10899 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10900 local setting of buffer-read-only to the input buffer. (Bug#10419)
10901
536aea70
GM
10902 * calendar/calendar.el (calendar-mode):
10903 Locally set scroll-margin to 0. (Bug#10379)
10904
7dccca16
UM
109052012-01-06 Ulrich Mueller <ulm@gentoo.org>
10906
10907 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10908
afbb7930
GM
109092012-01-05 Glenn Morris <rgm@gnu.org>
10910
10911 * eshell/em-unix.el (diff-no-select): Autoload it.
10912 (eshell/diff): Use diff-no-select. (Bug#10420)
10913
04482335
CY
109142012-01-05 Chong Yidong <cyd@gnu.org>
10915
7baca3bc
CY
10916 * shell.el (shell-dynamic-complete-functions): Revert last change.
10917 (shell-command-completion-function): New function.
10918 (shell-completion-vars): Use it to implement
10919 shell-completion-execonly (Bug#10417).
10920
04482335
CY
10921 * custom.el (enable-theme): Don't set custom-safe-themes.
10922
1d00653d
SM
10923 * cus-theme.el (custom-theme-merge-theme):
10924 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10925
bb5aa5d6
MM
109262012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10927
10928 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10929 first prompt in `sql-interacive-mode'.
10930 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10931 keywords.
6df6ae42 10932 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10933 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10934 context of original buffer. Invoke `sql-login-hook'.
10935
a7183d7c
EZ
109362012-01-04 Eli Zaretskii <eliz@gnu.org>
10937
10938 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10939 letters in cite-prefix.
10940
a1eacd1e
LMI
109412012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10942
10943 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10944
787cdb34
CY
109452012-01-03 Chong Yidong <cyd@gnu.org>
10946
1d00653d
SM
10947 * shell.el (shell-dynamic-complete-functions):
10948 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10949 comint-filename-completion first (Bug#10417).
10950
30710442
RS
109512012-01-02 Richard Stallman <rms@gnu.org>
10952
10953 * battery.el (battery-status-function):
10954 Detect when to use battery-yeeloong-sysfs.
10955 (battery-echo-area-format): Add string for Yeeloong.
10956 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10957 (battery-yeeloong-sysfs): New function.
10958
f75bfc33
CY
109592012-01-02 Chong Yidong <cyd@gnu.org>
10960
10961 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10962 (dirtrack): Merge code for handling relative filenames in prompt
10963 from shell-dir-cookie-watcher.
10964 (dirtrack-debug-message): New arg to avoid excess format calls.
10965
10966 * shell.el (shell-dir-cookie-re): Variable deleted.
10967 (shell-dir-cookie-watcher): Function deleted.
10968 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10969 with dirtrack-mode.
10970
651e947e
EZ
109712012-01-01 Eli Zaretskii <eliz@gnu.org>
10972
1d00653d
SM
10973 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10974 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10975 libgnutls-26.dll.
10976
94d4c7dc
AS
109772011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10978
10979 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10980
8d43f3cd
EZ
109812011-12-31 Eli Zaretskii <eliz@gnu.org>
10982
10983 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10984 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10985
98c8795a
MA
109862011-12-29 Michael Albinus <michael.albinus@gmx.de>
10987
10988 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10989 also for alternative shells.
10990 (tramp-open-connection-setup-interactive-shell): Check, whether
10991 the shell is a busybox.
10992 (tramp-send-command): Don't suppress multiple prompts for
10993 busyboxes, it hurts.
10994
51281b32
CY
109952011-12-28 Chong Yidong <cyd@gnu.org>
10996
10997 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10998 (gdb-get-source-file): Move mode line update to
10999 gdb-get-source-file (Bug#10087).
11000
2170cb53
CY
110012011-12-25 Chong Yidong <cyd@gnu.org>
11002
11003 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11004 gud-gdb-marker-filter without taking it as an argument.
11005 (gud-gdb-run-command-fetch-lines): Caller changed.
11006 (gud-gdb-completion-function): New variable.
11007 (gud-gdb-completion-at-point): Use it.
11008 (gud-gdb-completions-1): Split from gud-gdb-completions.
11009
11010 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11011 function as separate arguments.
11012 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11013 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11014 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11015 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11016 (gdb-stopped, def-gdb-auto-update-trigger)
11017 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11018 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11019 Callers changed.
2170cb53
CY
11020 (gud-gdbmi-completions): New function.
11021 (gdb): Use it for generating the completion table.
11022
be8b11bb
AM
110232011-12-24 Alan Mackenzie <acm@muc.de>
11024
11025 Introduce a mechanism to widen the region used in context font
1d00653d 11026 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11027
1d00653d
SM
11028 * progmodes/cc-langs.el (c-before-font-lock-functions):
11029 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11030 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11031 functions to be run just before context (etc.) font locking.
11032
11033 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11034 New, functionality extracted from
be8b11bb 11035 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11036 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11037 (c-after-change): Set c-in-after-change-fontification.
11038 (c-set-fl-decl-start): Rejig its interface, so it can be called
11039 from both after-change and context fontifying.
b81d40f0
JB
11040 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11041 New functions.
11042 (c-standard-font-lock-fontify-region-function): New variable.
11043 (c-font-lock-fontify-region): New function.
be8b11bb 11044
341cf6ac
JL
110452011-12-24 Juri Linkov <juri@jurta.org>
11046
11047 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11048 (Bug#10348)
11049
bffcee0a
MA
110502011-12-23 Michael Albinus <michael.albinus@gmx.de>
11051
11052 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11053 existence of source file. (Bug#10325)
11054
cb5e207c
AM
110552011-12-23 Alan Mackenzie <acm@muc.de>
11056
11057 Fix unstable fontification inside templates.
11058
b81d40f0
JB
11059 * progmodes/cc-langs.el (c-before-font-lock-functions):
11060 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11061 additionally has c-set-fl-decl-start. The other languages (apart
11062 from AWK) have that as a single entry.
11063
b81d40f0
JB
11064 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11065 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11066 c-set-fl-decl-start.
11067
b81d40f0
JB
11068 * progmodes/cc-mode.el (c-common-init, c-after-change):
11069 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11070 (c-set-fl-decl-start): New function, extracted from
11071 c-font-lock-enclosing-decls and enhanced.
11072
60ff536c
JB
110732011-12-23 Juanma Barranquero <lekktu@gmail.com>
11074
11075 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11076
1c4757d6
JL
110772011-12-22 Juri Linkov <juri@jurta.org>
11078
11079 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11080
d031f2c7
CY
110812011-12-22 Chong Yidong <cyd@gnu.org>
11082
11083 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11084
bace743a
DA
110852011-12-21 Drew Adams <drew.adams@oracle.com>
11086
11087 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11088
728a1f2b
JC
110892011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11090
11091 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11092
0d373f73
TZ
110932011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11094
fec0aaa4
TZ
11095 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11096 highlighting and support. Fix up comments for capitalization.
11097 (cfengine-mode-debug): New var.
11098 (cfengine3-mode): Change the modeline indicator to "CFE3".
11099 (cfengine3-font-lock-keywords): Improve defun highlighting.
11100 (cfengine2-actions): Rename from `cfengine-actions'.
11101 (cfengine2-font-lock-keywords): Rename from
11102 `cfengine-font-lock-keywords'.
11103 (cfengine2-imenu-expression): Rename from
11104 `cfengine-imenu-expression'.
11105 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11106 (cfengine2-beginning-of-defun): Rename from
11107 `cfengine-beginning-of-defun'.
11108 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11109 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11110 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11111 modeline indicator to "CFE2".
11112 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11113 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11114
bc86f573
CY
111152011-12-21 Chong Yidong <cyd@gnu.org>
11116
11117 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11118 filename argument.
11119
d45ba96b
MR
111202011-12-20 Martin Rudalics <rudalics@gmx.at>
11121
11122 * window.el (window-normalize-buffer-to-display): Remove.
11123 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11124
a6198c90
CY
111252011-12-19 Chong Yidong <cyd@gnu.org>
11126
11127 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11128 Don't signal an error in a predicate function; return non-nil.
11129 (vc-dir-mark-file): Move the error here.
11130 (vc-dir-mark-unmark): If acting on the region, keep going if one
11131 of the entries cannot be marked/unmarked.
11132 (vc-dir-mark-all-files): If current entry is a directory, mark
11133 only child files, as documented.
11134
34c5fb55
VB
111352011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11136
11137 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11138 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11139 addition.
11140
c803b2b7
JD
111412011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11142
11143 * term/ns-win.el (ns-get-selection-internal)
11144 (ns-store-selection-internal): Declare.
1154d12e
JB
11145 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11146 Declare as obsolete.
11147 (ns-get-pasteboard, ns-paste-secondary):
11148 Use ns-get-selection-internal.
41e9b956 11149 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11150 Use ns-store-selection-internal.
c803b2b7 11151
9cff91f8 111522011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11153
11154 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11155 (vc-deduce-fileset): Doc fix.
99a289d9 11156
f16c898a
AS
111572011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11158
11159 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11160
763237c4
SS
111612011-12-13 Sam Steingold <sds@gnu.org>
11162
11163 * man.el (Man-getpage-in-background): When running under a
11164 window-system, ignore $MANWIDTH and $COLUMNS.
11165
5fc1c122
KH
111662011-12-15 Kenichi Handa <handa@m17n.org>
11167
11168 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11169 (setup-ethiopic-environment-internal): Comment out key-binding for
11170 ethio-toggle-punctuation.
11171
13d49cbb
AM
111722011-12-13 Alan Mackenzie <acm@muc.de>
11173
898169a2
AM
11174 Add the switch statement to AWK Mode.
11175
7a71b18d 11176 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11177 "default" to the keywords regexp.
11178
7a71b18d 11179 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11180 expression as the rest.
1d00653d
SM
11181 (c-nonlabel-token-key): Allow string literals for AWK.
11182 Refactor for the other modes.
898169a2 11183
13d49cbb 11184 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11185 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11186 routines. Limit backward searching in c-font-lock-enclosing.decl.
11187
11188 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11189 pp-state and literal type in addition to the limits.
1d00653d 11190 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11191 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11192 (c-slow-in-literal, c-fast-in-literal): Remove.
11193 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11194
11195 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11196 being in a literal. Add a limit for backward searching.
11197
11198 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11199 c-slow-in-literal.
11200
15e0efc7
SM
112012011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11204
454592a6
MR
112052011-12-13 Martin Rudalics <rudalics@gmx.at>
11206
11207 * window.el (delete-other-windows): Use correct frame in call to
11208 window-with-parameter.
11209
87393f26
DP
112102011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11211
11212 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11213 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11214 (makefile-gmake-statements, makefile-makepp-statements):
11215 Use it and add new makepp keywords.
11216 (makefile-makepp-font-lock-keywords): Add new patterns.
11217 (makefile-match-function-end): Match new [...] and [[...]].
11218
11636b22
JB
112192011-12-11 Juanma Barranquero <lekktu@gmail.com>
11220
11221 * ses.el (ses-call-printer-return, ses-cell-property-get)
11222 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11223 (ses-create-cell-variable, ses-reset-header-string)
11224 (ses-cell-set-formula, ses-repair-cell-reference-all)
11225 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11226 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11227 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11228 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11229 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11230 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11231 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11232 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11233 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11234 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11235 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11236 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11237
cf018193
VB
112382011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11239
11240 * ses.el: The overall change is to add cell renaming, that is
11241 setting fancy names for cell symbols other than name matching
11242 "\\`[A-Z]+[0-9]+\\'" regexp .
11243 (ses-create-cell-variable): New defun.
11244 (ses-relocate-formula): Relocate formulas only for cells the
11245 symbols of which are not renamed, i.e. symbols whose names do not
11246 match regexp "\\`[A-Z]+[0-9]+\\'".
11247 (ses-relocate-all): Relocate values only for cells the symbols of
11248 which are not renamed.
11249 (ses-load): Create cells variables as the (ses-cell ...) are read,
11250 in order to check row col consistency with cell symbol name only
11251 for cells that are not renamed.
11252 (ses-replace-name-in-formula): New defun.
11253 (ses-rename-cell): New defun.
11254
ee957461
CY
112552011-12-11 Chong Yidong <cyd@gnu.org>
11256
11257 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11258 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11259
9a9e9ef0
MR
112602011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11261
11262 * window.el (other-window): Fix docstring.
11263
92a8eba5
EZ
112642011-12-10 Eli Zaretskii <eliz@gnu.org>
11265
11266 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11267 `from' or `to' address before taking its substring.
11268 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11269 encoded name is chopped in the middle of the encoded string, and
11270 thus displayed encoded.
11271
e152e577
JB
112722011-12-10 Juanma Barranquero <lekktu@gmail.com>
11273
11274 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11275
e5d84bfe
EZ
112762011-12-10 Eli Zaretskii <eliz@gnu.org>
11277
11278 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11279 to use texinfo-update-node and commands that call it if the
11280 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11281 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11282 (texinfo-all-menus-update, texinfo-master-menu)
11283 (texinfo-update-node, texinfo-every-node-update)
11284 (texinfo-multiple-files-update): Doc fix. Warn against updating
11285 all the @node lines.
11286 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11287 argument is numeric. Explain better in the doc string what the
11288 function really does.
11289 (texinfo-insert-master-menu-list): Improve the error message
11290 displayed if there's no menu in the Top node.
11291 (Bug#2975) See also this thread:
e5d84bfe
EZ
11292 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11293
1d84e9bb
MG
112942011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11295
11296 * speedbar.el (speedbar-supported-extension-expressions):
11297 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11298
382c953b
JB
112992011-12-09 Juanma Barranquero <lekktu@gmail.com>
11300
11301 * printing.el (pr-mode-alist):
11302 * simple.el (filter-buffer-substring-functions)
11303 (completion-list-insert-choice-function):
11304 * window.el (window-with-parameter, window-atom-root)
11305 (window-sides-slots, window-size-fixed, window-min-delta)
11306 (window-max-delta, window--resize-mini-window)
11307 (window--resize-child-windows-normal, window-tree)
11308 (delete-other-windows, quit-window, split-window)
11309 (display-buffer-record-window, special-display-buffer-names)
11310 (special-display-regexps, special-display-popup-frame)
11311 (same-window-p, split-window-sensibly)
11312 (display-buffer-overriding-action, display-buffer-alist)
11313 (display-buffer-base-action, display-buffer, switch-to-buffer)
11314 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11315 (fit-window-to-buffer, recenter-positions)
11316 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11317 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11318 and remove unneeded backslashes in docstrings.
11319
39c9faef
SM
113202011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11321
98449af8
SM
11322 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11323
39c9faef
SM
11324 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11325 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11326 end in ".mk".
11327 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11328 when reading the makefile (bug#10116).
11329
86ed9fdc
SM
113302011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11333 (bug#10116).
11334
5580f89d
GM
113352011-12-06 Glenn Morris <rgm@gnu.org>
11336
11337 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11338
28d3917c
CY
113392011-12-06 Chong Yidong <cyd@gnu.org>
11340
11341 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11342
a98edce9
JB
113432011-12-06 Juanma Barranquero <lekktu@gmail.com>
11344
11345 * textmodes/table.el (table-shorten-cell): Fix typo.
11346
e65adfac
CG
113472011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11348
11349 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11350
71cc0b74
EZ
113512011-12-05 Eli Zaretskii <eliz@gnu.org>
11352
11353 * descr-text.el (describe-char): Fix display of strong
11354 right-to-left characters and directional embeddings and overrides.
11355
11356 * simple.el (what-cursor-position): Fix display of codepoints of
11357 strong right-to-left characters.
11358
315bc30d
CY
113592011-12-05 Chong Yidong <cyd@gnu.org>
11360
11361 * faces.el (read-color): Doc fix.
11362
58a70b94
GM
113632011-12-05 Glenn Morris <rgm@gnu.org>
11364
11365 * align.el (align--set-marker): Add doc-string.
11366 Don't try to move something that is not a marker. (Bug#10216)
11367
5158face
GM
113682011-12-04 Glenn Morris <rgm@gnu.org>
11369
11370 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11371 overly zealous deletion of trailing whitespace.
11372
520fca41
JB
113732011-12-04 Juanma Barranquero <lekktu@gmail.com>
11374
11375 * server.el (server-delete-client): On Windows, do not try to delete
11376 the only terminal.
11377 (server-process-filter): On Windows, treat requests for a tty frame as
11378 if they were for a GUI frame if the running server is in GUI mode.
11379
5e605a2e
GM
113802011-12-03 Glenn Morris <rgm@gnu.org>
11381
11382 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11383
5c3fe83f
SM
113842011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11385
6f5e57e7
SM
11386 * electric.el: Streamline electric-indent's hook.
11387 (electric-indent-chars): Revert to simple list.
11388 (electric-indent-functions): New var.
11389 (electric-indent-post-self-insert-function): Use it.
11390
5c3fe83f
SM
11391 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11392 there's no inferior buffer (bug#10196).
11393 (prolog-consult-compile): Don't use toggle-read-only.
11394
6bdac736
MA
113952011-12-02 Michael Albinus <michael.albinus@gmx.de>
11396
11397 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11398 interrupt. (Bug#10187)
11399
6131ba7f
SM
114002011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11401
99c79fee
SM
11402 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11403 (bug#9160).
11404
6131ba7f
SM
11405 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11406 (bug#10191).
11407
cb0a02ea
JL
114082011-12-02 Juri Linkov <juri@jurta.org>
11409
11410 * info.el (Info-search): Display "end of manual" when Isearch
11411 reaches the end of single-file Info manual. (Bug#9918)
11412
66e0570c
EZ
114132011-12-02 Eli Zaretskii <eliz@gnu.org>
11414
11415 * isearch.el (isearch-message-prefix): Run the input method part
11416 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11417
02b16839
JL
114182011-12-02 Juri Linkov <juri@jurta.org>
11419
11420 * isearch.el (isearch-occur): Use `word-search-regexp' for
11421 `isearch-word'.
11422 (isearch-search-and-update): Add condition for `isearch-word' and
11423 call `word-search-regexp'. (Bug#10145)
11424
0b950688
GM
114252011-12-01 Glenn Morris <rgm@gnu.org>
11426
11427 * eshell/em-hist.el (eshell-hist-initialize):
11428 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11429 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11430
9505c3c7
SM
114312011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11432
11433 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11434
1bbe96b2 114352011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11436
a1beca85
SM
11437 * progmodes/verilog-mode.el (verilog-pretty-expr):
11438 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11439 verilog, such as += *= and the like.
11440 (verilog-assignment-operator-re): Regular expression to find the
11441 assigment operator in a verilog assignment.
11442 (verilog-assignment-operation-re): Regular expression to find an
11443 assignment statement for pretty-expr.
11444 (verilog-in-attribute-p): Query returns true if point is in an
11445 attribute context; used to skip these for expression line up from
11446 pretty-expr.
11447 (verilog-in-parameter-p): Query returns true if point is in an
11448 parameter definition context; used to skip these for expression
11449 line up from pretty-expr.
11450 (verilog-in-parenthesis-p): Query returns true if point is in a
11451 parenthetical expression, specifically ( ) but not [ ] or { };
11452 used by pretty-expr.
11453 (verilog-just-one-space): If there is no space, don't add one.
11454 (verilog-get-lineup-indent-2): Specifically skip just attribute
11455 contexts for expression lineup, rather than skipping all
11456 parenthetical expressions.
11457 (verilog-calculate-indent): Fix comment, and fix indent.
11458 (verilog-do-indent): Indent declarations in lists (suggested by
11459 Joachim Lechner).
11460 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11461 skeleton items.
11462 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11463 by Alain Mellan).
11464
1bbe96b2 114652011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11466
11467 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11468 parameters with embedded comments. Reported by Ray Stevens.
11469 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11470 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11471 Reported by Tim Holt.
11472 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11473 instantiated by upper module causing wrong expansion until AUTOed a
11474 second time. Reported by K C Buckenmaier.
11475 (verilog-diff-auto): Fix showing .* as a difference when
11476 `verilog-auto-star-save' off. Reported by Dan Dever.
11477 (verilog-auto-reset, verilog-read-always-signals)
11478 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11479 temporary signals in reset list if
11480 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11481 style to each signal's assignment type, bug381.
11482 Reported by Thomas Esposito.
6288f0ca
WS
11483 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11484 (verilog-uvm-statement-re): Support UVM indentation and
11485 highlighting, with old OVM keywords only.
a1beca85 11486 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11487 Support AUTOTIEOFF creating non-wire data types.
11488 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11489 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11490 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11491 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11492 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11493 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11494 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11495 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11496 non-numeric vector width. Reported by Alex Reed.
11497 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11498 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11499 (verilog-auto-delete-trailing-whitespace):
11500 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11501 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11502 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11503 Fix verilog-scan-cache corruption when running user AUTO expansion
11504 hooks that call indentation routines.
11505 (verilog-simplify-range-expression): Fix typo ignoring lower case
11506 identifiers.
11507 (verilog-delete-auto): Fix delete-autos to also remove user created
11508 automatics, as long as they start with AUTO.
11509 (verilog-batch-diff-auto, verilog-diff-auto)
11510 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11511 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11512 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11513 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11514 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11515 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11516 is disabled and its cache will get corrupt, causing AUTOS not to
11517 expand. Instead use only -quick functions.
11518 (verilog-scan-region): Fix scanning over escaped quotes.
11519 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11520 (verilog-re-search-backward-quick)
11521 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11522 related functions now ignore strings, to fix misparsing of strings
11523 with magic comments embedded in them.
a1beca85
SM
11524 (verilog-read-auto-template):
11525 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11526 Reported by Brad Dobbie.
11527 (verilog-read-auto-template):
11528 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11529 Reported by Brad Dobbie.
6288f0ca
WS
11530 (verilog-auto-inst, verilog-auto-inst-param)
11531 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11532 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11533 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11534 debugging templates without merge conflicts, bug357.
11535 Reported by Brad Dobbie.
11536 (verilog-read-auto-template):
11537 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11538 Reported by Brad Dobbie.
11539 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11540 abbrevs so user won't be asked to save.
11541 (verilog-read-auto-lisp-present): Fix to start at beginning of
11542 buffer in case called outside of verilog-auto.
11543 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11544 to "X-2". Reported by Matthew Myers.
11545 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11546 all inputs from module templates. Reported by Leith Johnson.
11547 (verilog-module-inside-filename-p): Fix locating programs as with
11548 modules.
11549 (verilog-auto-inst-port): Fix vl-width expressions when using
11550 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11551 (verilog-decls-get-regs, verilog-decls-get-signals,
11552 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11553 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11554 verilog-read-decls): Combine reg and wire structures into one var
11555 structure to represent SystemVerilog concepts.
11556 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11557 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11558 (verilog-auto-wire-type, verilog-insert-definition):
11559 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11560 SystemVerilog "logic" keyword instead of "wire"/"reg".
11561 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11562 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11563 ifdef or generate if so there's not a driver conflict).
11564 Reported by Matthew Myers.
11565 (verilog-auto-declare-nettype, verilog-insert-definition):
11566 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11567 `default_nettype none. Reported by Julian Gorfajn.
11568 (verilog-read-always-signals-recurse, verilog-read-decls)
11569 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11570 malformed end statement, bug325. Reported by Joshua Wise and
11571 Andrew Drake.
11572 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11573 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11574 when expanding .* in interfaces, bug320.
11575 Reported by Pierre-David Pfister.
6288f0ca 11576 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11577 name and open parenthesis, bug317.
11578 Reported by Pierre-David Pfister.
6288f0ca
WS
11579 (verilog-simplify-range-expression): Fix simplification of
11580 multiplications inside AUTOWIRE connections, bug303.
11581 (verilog-auto-inst-port): Support parameter expansion in
11582 multidimensional arrays.
11583 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11584 after "assert property". Reported by Julian Gorfajn.
11585 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11586 with multiplication, bug303.
11587 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11588 Reported by Jan Frode Lonnum.
11589
1bbe96b2
GM
115902011-11-30 Juanma Barranquero <lekktu@gmail.com>
11591
11592 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11593 (hfy-shell-file-name, hfy-shell):
11594 * international/fontset.el (x-decompose-font-name): Fix typos.
11595
115962011-11-29 Ken Brown <kbrown@cornell.edu>
11597
11598 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11599 (gdb-version): Remove defvar.
11600 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11601 (gdb-gud-context-command, gdb-non-stop-handler)
11602 (gdb-current-context-command, gdb-stopped): Use it.
11603 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11604 (gdb-non-stop-handler): Don't enable pretty-printing here.
11605 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11606 non-stop mode. Use the following.
11607 (gdb-check-target-async): New defun.
11608 (gud-watch, gdb-stopped): Fix whitespace.
11609 (gdb-get-source-file): Don't try to display the source file if
11610 `gdb-main-file' is nil.
11611
116122011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * align.el: Try to generate fewer markers (bug#10047).
11615 (align--set-marker): New macro.
11616 (align-region): Use it.
11617
c935221f
SM
116182011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11621
e70b5064
CY
116222011-11-29 Chong Yidong <cyd@gnu.org>
11623
11624 * indent.el (indent-for-tab-command, indent-according-to-mode):
11625 Doc fix.
11626 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11627
f3af92b7
MA
116282011-11-29 Michael Albinus <michael.albinus@gmx.de>
11629
11630 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11631 aware of remote file names. (Bug#10124)
11632
ed472be9
CY
116332011-11-29 Chong Yidong <cyd@gnu.org>
11634
11635 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11636
24510c22
SM
116372011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * files.el (find-file): Don't use force-same-window (bug#10144).
11640 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11641 use pop-to-buffer if the selected window can't be used.
11642 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11643
c60c3703
EZ
116442011-11-28 Eli Zaretskii <eliz@gnu.org>
11645
11646 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11647 special-mode-map.
11648
e95def75
CY
116492011-11-28 Chong Yidong <cyd@gnu.org>
11650
11651 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11652
c3f1c606
NR
116532011-11-27 Nick Roberts <nickrob@snap.net.nz>
11654
11655 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11656 gdb-get-source-file-list on gdb-create-source-file-list.
11657
00db469c
EZ
116582011-11-26 Eli Zaretskii <eliz@gnu.org>
11659
11660 * whitespace.el (whitespace-newline): Use a different foreground
11661 color for 16-color light-background displays.
11662
4ad3bc2a
CY
116632011-11-24 Chong Yidong <cyd@gnu.org>
11664
11665 * window.el (display-buffer--special-action): Doc fix.
11666
e9fce1ac
JB
116672011-11-25 Juanma Barranquero <lekktu@gmail.com>
11668
11669 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11670 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11671 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11672 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11673 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11674 (avl-tree-stack-first):
11675 * emacs-lisp/cconv.el (cconv--analyse-use):
11676 * net/gnutls.el (gnutls-negotiate): Fix typos.
11677
cb825e5d
GM
116782011-11-24 Glenn Morris <rgm@gnu.org>
11679
3adbe224
GM
11680 * lpr.el (lpr-windows-system, lpr-lp-system):
11681 * mail/binhex.el (binhex-begin-line):
11682 * progmodes/grep.el (grep-history, grep-find-history):
11683 * textmodes/flyspell.el:
11684 * vc/pcvs-defs.el (cvs-global-menu):
11685 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11686 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11687 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11688
321decc8
GM
11689 * net/tls.el: Fix case of "GnuTLS".
11690
420b63ad
GM
11691 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11692
cb825e5d
GM
11693 * version.el (emacs-build-system): Give it a doc-string.
11694
a0649f08
JL
116952011-11-24 Juri Linkov <juri@jurta.org>
11696
11697 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11698
c0bc0fd4
GM
116992011-11-24 Glenn Morris <rgm@gnu.org>
11700
11701 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11702 if called on a non-mime message just toggle the headers. (Bug#8006)
11703
20db1522
JB
117042011-11-24 Juanma Barranquero <lekktu@gmail.com>
11705
11706 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11707 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11708 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11709 (allout-rebullet-heading, allout-open-sibtopic)
11710 (allout-toggle-current-subtree-encryption)
11711 (allout-toggle-subtree-encryption, allout-encrypt-string)
11712 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11713 (allout-distinctive-bullets-string, allout-auto-activation):
11714 * window.el (window-normalize-buffer-to-display):
11715 * progmodes/verilog-mode.el (verilog-batch-indent):
11716 * textmodes/bibtex.el (bibtex-field-braces-opt)
11717 (bibtex-field-strings-opt):
11718 * vc/cvs-status.el (cvs-tree-merge):
11719 Fix typos.
11720
7262a87c
MA
117212011-11-23 Michael Albinus <michael.albinus@gmx.de>
11722
11723 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11724 `non-essential' to t, in order to avoid remote connections.
11725
283430a1
EZ
117262011-11-23 Eli Zaretskii <eliz@gnu.org>
11727
a1beca85
SM
11728 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11729 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11730 case-insensitively.
11731
d2992a38
ML
117322011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11733
11734 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11735
50419064
GM
117362011-11-23 Glenn Morris <rgm@gnu.org>
11737
da94eca1
GM
11738 * paths.el (rmail-file-name): Reformat the doc-string so that it
11739 is picked up.
11740
9aac4de2
GM
11741 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11742 (rmail-auto-file): Ignore case in the "special" field names,
11743 as mail-fetch-field does for all others.
11744
8038d2d2
GM
11745 * mail/rmail.el (rmail-forward):
11746 * mail/rmailkwd.el (rmail-set-label):
11747 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11748 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11749
f3fe222a
GM
11750 * mail/rmail.el (rmail-current-message): Doc fix.
11751
50419064
GM
11752 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11753
28109f49
SM
117542011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11757
394c65f1
GM
117582011-11-22 Glenn Morris <rgm@gnu.org>
11759
11760 * mail/rmailmm.el (test-rmail-mime-handler)
11761 (test-rmail-mime-bulk-handler)
11762 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11763
f2a0aa3a
JL
117642011-11-21 Juri Linkov <juri@jurta.org>
11765
1154d12e
JB
11766 * calc/calc.el (calc-read-key-sequence):
11767 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11768
9c34a344
LMI
117692011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11770
11771 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11772 Tell the caller that the next line needs recomputation, even
11773 though it doesn't start a sexp (bug#10094).
11774
f04a3be9
SM
117752011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11778
7978747f
SM
117792011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11780
f04a3be9
SM
11781 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11782 Use force-same-window.
7978747f 11783
fe7a3057
JB
117842011-11-20 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * descr-text.el (describe-char-unicode-data):
11787 * json.el (json-string-escape):
11788 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11789 (Footnote-unicode, Footnote-style-p):
11790 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11791
24901d61
CY
117922011-11-20 Chong Yidong <cyd@gnu.org>
11793
11794 * window.el (replace-buffer-in-windows): Restore interactive spec.
11795
bac7ff22
SM
117962011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11797
24f3d7b9
SM
11798 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11799
bac7ff22
SM
11800 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11801 (byte-compile-global-not-obsolete-vars): New var.
11802 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11803 Use it.
11804 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11805
cd1181db
JB
118062011-11-20 Juanma Barranquero <lekktu@gmail.com>
11807
11808 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11809 * progmodes/pascal.el (electric-pascal-equal):
11810 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11811 * xml.el (xml-substitute-special): Fix typos.
11812
7fb18e9e
GM
118132011-11-20 Glenn Morris <rgm@gnu.org>
11814
11815 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11816 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11817 Doc fixes.
11818 (rmail-decode-mime-charset): Mark as obsolete.
11819
11820 * mail/rmailsum.el (rmail-message-regexp-p-1):
11821 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11822 Before using mime functions, check they are set. (Bug#10077)
11823
d5a6b3ba
JL
118242011-11-19 Juri Linkov <juri@jurta.org>
11825
11826 * info.el (Info-finder-find-node): Use `package--builtins' instead
11827 of `package-alist'. Use node names formed by the pattern "Keyword "
11828 and the keyword name.
11829
e981b61f
AS
118302011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11831
1d00653d 11832 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11833
3ffbc301
JL
118342011-11-19 Juri Linkov <juri@jurta.org>
11835
11836 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11837 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11838 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11839 `old-history', `old-history-forward'. Add let-binding
11840 `window-selected'. Remove calls to `kill-buffer',
11841 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11842 before calling `Info-find-node', so `Info-find-node-2' will reread
11843 the Info file. Restore window positions only when `window-selected'
11844 is non-nil.
11845
30c62133
JL
118462011-11-19 Juri Linkov <juri@jurta.org>
11847
11848 * isearch.el (isearch-lazy-highlight-new-loop):
11849 Remove condition `(not isearch-error)'. (Bug#9918)
11850
11851 * misearch.el (multi-isearch-search-fun): Add condition
11852 `(not bound)' to ignore lazy-highlighting search.
11853 Add the search-failed message "end of multi" when the end of
11854 multi-sequence is reached. Uncapitalize the search-failed
11855 message "Repeat for next buffer".
11856
11857 * info.el (Info-search): Add the search-failed message
11858 "end of the manual" when the end of the manual is reached
11859 in Isearch mode.
11860
645ca9cf
JL
118612011-11-19 Juri Linkov <juri@jurta.org>
11862
11863 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11864 Use non-destructive `remove' instead of `delete' because
11865 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11866 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11867
df754f66
JL
118682011-11-19 Juri Linkov <juri@jurta.org>
11869
11870 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11871 to nil instead of binding `search-ring' and `regexp-search-ring'.
11872 (Bug#9185)
11873
0e23d96a
EZ
118742011-11-19 Eli Zaretskii <eliz@gnu.org>
11875
11876 * simple.el (line-move): Force movement by logical lines for any
11877 hscrolled window, not only when auto-hscroll-mode is on.
11878 (line-move-visual): Update doc string to that effect. (Bug#10076)
11879
8a6ccb66
AS
118802011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11881
11882 * language/european.el (macintosh): Define as alias for mac-roman.
11883
49ae5b39
EZ
118842011-11-19 Eli Zaretskii <eliz@gnu.org>
11885
11886 * mail/rmailmm.el (rmail-mime-display-header)
11887 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11888 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11889 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11890 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11891 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11892 of a raw aref.
11893 (rmail-mime-entity-segment): To get past the tagline, move forward
11894 2 more lines, to account for the 2 empty lines that precede and
11895 follow the line with the buttons.
11896 (rmail-mime-update-tagline): Move one more line, to get past the
11897 empty line that follows the buttons in the tagline. (Bug#9520)
11898
c56cad4a
MR
118992011-11-19 Martin Rudalics <rudalics@gmx.at>
11900
11901 * window.el (window-max-delta-1, window-min-delta-1)
11902 (window-min-size-1, window-state-get-1, window-state-put-1)
11903 (window-state-put-2): Use "window--" prefix.
11904
cbe71af3
SM
119052011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11906
2ad52c60
SM
11907 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11908 (smie-warning-count): New var.
11909 (smie-set-prec2tab): Use it.
11910 (smie-bnf->prec2): Improve warnings. Add docstring.
11911 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11912 (smie-bnf--set-class): New function.
11913 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11914 corner case.
11915
6944dbc1
SM
11916 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11917 (compilation-error-properties, compilation-move-to-column):
11918 Handle compilation-first-column while in the target buffer.
11919
c400c4d7
SM
11920 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11921 Don't hardcode point-min==1.
11922
6dbe3e96
SM
11923 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11924 (eshell-rewrite-for-command): Remove workaround.
11925 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11926 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11927 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11928
cbe71af3
SM
11929 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11930
a8e1496d
GM
119312011-11-17 Glenn Morris <rgm@gnu.org>
11932
11933 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11934 Ignore buffer-local generated-autoload-file if it is the same
11935 as the global value. (Bug#10049)
11936
df85d315
JB
119372011-11-17 Juanma Barranquero <lekktu@gmail.com>
11938
11939 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11940 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11941 (reftex-toc-previous-heading, reftex-toc-max-level)
11942 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11943 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11944 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11945 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11946 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11947 (reftex-toc-rename-label, reftex-toc-visit-location)
11948 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11949 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11950 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11951 leaving "*toc*" only for references to the buffer.
11952
a0c2d0ae
MR
119532011-11-17 Martin Rudalics <rudalics@gmx.at>
11954
11955 * window.el (window-resize, delete-window, split-window):
11956 Replace window-splits by window-combination-resize.
1d00653d 11957 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11958
35c0bac8
GM
119592011-11-17 Glenn Morris <rgm@gnu.org>
11960
11961 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11962 Make bash entry derive from sh entry, not shell entry.
11963
d0c8fc8a
MA
119642011-11-16 Michael Albinus <michael.albinus@gmx.de>
11965
7262a87c
MA
11966 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11967 local file name.
11968
7877f373
JB
119692011-11-16 Juanma Barranquero <lekktu@gmail.com>
11970
11971 * menu-bar.el (menu-bar-file-menu):
11972 * printing.el (pr-ps-utility):
11973 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11974 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11975 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11976 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11977 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11978 (icalendar--convert-cyclic-to-ical)
11979 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11980 (icalendar--convert-ical-to-diary)
11981 (icalendar--convert-recurring-to-diary)
11982 (icalendar--convert-non-recurring-all-day-to-diary)
11983 (icalendar-import-format-sample):
11984 * progmodes/idlw-shell.el (idlwave-shell-mode):
11985 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11986 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11987 (vhdl-ps-print-init): Fix typos.
11988
10649b82
KM
119892011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11990
9d0cfcd6
GM
11991 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11992 FSF and collapse date sequence, obscure author/maintainer email address
11993 better, remove extra version line, track relocation of author's webpage.
10649b82 11994
9d0cfcd6
GM
11995 * progmodes/python.el (python-pdbtrack-input-prompt)
11996 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11997 regular python pdb prompts. Adjustments shamelessly taken exactly as
11998 suggested in EmacsWiki page (tiny change):
11999 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12000
58179cce
JB
120012011-11-16 Juanma Barranquero <lekktu@gmail.com>
12002
12003 * expand.el (expand-pos, expand-index, expand-point):
12004 Remove redundant info from docstring.
12005 (expand-add-abbrevs): Doc fix.
12006 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12007 (expand-sample-perl-mode-expand-list): Fix typos.
12008
12009 * net/dbus.el (dbus-event-member-name):
12010 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12011 * term/pc-win.el (msdos-create-frame-with-faces):
12012 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12013
b6f67890
MR
120142011-11-16 Martin Rudalics <rudalics@gmx.at>
12015
12016 * window.el (split-window, window-state-get-1)
12017 (window-state-put-1, window-state-put-2): Rename occurrences of
12018 window-nest to window-combination-limit.
1d00653d 12019 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12020
ce7ddba0
CY
120212011-11-16 Chong Yidong <cyd@gnu.org>
12022
12023 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12024 regexp (Bug#10033).
12025
3ae704f4
SM
120262011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12029 `completing-read' will remove *Completions* and will preserve
12030 current-buffer for us.
12031 (tmm-add-prompt): Users of *Completions* will always (re)set its
12032 major mode.
12033 (tmm-old-comp-map): Remove.
12034
6ad1cdde
GM
120352011-11-16 Glenn Morris <rgm@gnu.org>
12036
12037 * mail/rmailedit.el: Require rmailmm when compiling.
12038 (rmail-old-mime-state): New declaration.
12039 (rmail-edit-current-message): If editing a mime message,
12040 edit the "raw" message from the mbox buffer.
12041 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12042
d20faa20
GM
120432011-11-15 Glenn Morris <rgm@gnu.org>
12044
12045 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12046 which wasn't being used. Add optional arg to force given state.
12047 (rmail-mime): Add optional arg to force given state.
12048
c7015153
JB
120492011-11-15 Juanma Barranquero <lekktu@gmail.com>
12050
12051 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12052 * frame.el (display-mm-dimensions-alist):
12053 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12054 (outline-move-subtree-down):
12055 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12056 (newsticker--treeview-do-get-node):
12057 * net/quickurl.el (quickurl-list-buffer-name):
12058 * progmodes/dcl-mode.el (dcl-mode):
12059 * progmodes/gdb-mi.el (gdb-mapcar*):
12060 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12061
45261b50
GM
120622011-11-15 Glenn Morris <rgm@gnu.org>
12063
12064 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12065 in a boolean sense, so just make it a boolean, and fix the doc.
12066 (rmail-show-mime-function, rmail-mime-feature)
12067 (rmail-require-mime-maybe): Doc fixes.
12068 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12069
12070 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12071
0d26e0b6
JB
120722011-11-15 Juanma Barranquero <lekktu@gmail.com>
12073
12074 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12075 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12076 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12077 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12078
447f30f6
GM
120792011-11-15 Glenn Morris <rgm@gnu.org>
12080
672b871d
GM
12081 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12082 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12083 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12084 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12085 (rmail-mime, rmail-show-mime): Doc fixes.
12086
f6aa5bb1
GM
12087 * term/ns-win.el (mode-line-frame-identification):
12088 Leave it alone. (Bug#10051)
12089
947cd66b
GM
12090 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12091
447f30f6
GM
12092 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12093 Handle empty buffers. (Bug#9978)
12094
0b381c7e
JB
120952011-11-14 Juanma Barranquero <lekktu@gmail.com>
12096
12097 * international/mule.el (define-charset):
12098 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12099 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12100 * progmodes/verilog-mode.el (verilog-backward-token):
12101 * textmodes/ispell.el (lookup-words):
12102 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12103
71e027ac
GM
121042011-11-14 Glenn Morris <rgm@gnu.org>
12105
56632ce4
GM
12106 * progmodes/executable.el
12107 (executable-make-buffer-file-executable-if-script-p):
12108 Handle file-modes returning nil.
12109
40500957
GM
12110 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12111 message - not necessary, and causes problems. (Bug#9831)
12112
071c2340
GM
12113 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12114
d3cfca60
GM
12115 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12116
71e027ac
GM
12117 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12118 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12119 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12120
89d61221
MR
121212011-11-12 Martin Rudalics <rudalics@gmx.at>
12122
12123 * window.el (window-resize, delete-window): Use window-splits
12124 variable instead of function.
12125 (window-state-get-1, window-state-put-2, window-state-put):
12126 Don't deal with windows' splits status.
12127
98282f6f
GM
121282011-11-12 Glenn Morris <rgm@gnu.org>
12129
12130 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12131 (apropos-documentation): Doc fixes.
12132
40a8bdf6
JB
121332011-11-11 Juanma Barranquero <lekktu@gmail.com>
12134
12135 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12136 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12137
65bd19ff
SM
121382011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12139
12140 * electric.el (electric-indent-post-self-insert-function): Make it
12141 possible for a char to only indent in some circumstances.
12142 (electric-indent-mode): Simplify.
12143
54f9154c
MR
121442011-11-11 Martin Rudalics <rudalics@gmx.at>
12145
12146 * window.el (windows-with-parameter): Remove unused function.
12147 (windows-at-side): Rename to window-at-side-list.
12148 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12149 (window-side-check, window-size-ignore, window-size-fixed-1)
12150 (window-in-direction-2): Prefix with "window--".
12151 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12152
68cbc58b
GM
121532011-11-11 Glenn Morris <rgm@gnu.org>
12154
12155 * subr.el (eval-after-load): If FILE is already loaded,
12156 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12157
b2621720
GM
121582011-11-10 Glenn Morris <rgm@gnu.org>
12159
9a4de110
GM
12160 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12161 Call svn via vc-svn-command rather than vc-do-command.
12162 (vc-svn-command): Add --non-interactive. (Bug#9993)
12163 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12164
b2621720
GM
12165 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12166 Add toggle-read-only. (Bug#7292)
12167 * files.el (toggle-read-only): Mention that it should only
12168 be used interactively. (Bug#10006)
12169
1dce7193
SM
121702011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12171
d9ac1a1e
SM
12172 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12173 Adjust regexp for OCaml warnings.
12174
0c325082
SM
12175 * electric.el (electric-pair-post-self-insert-function): Let user
12176 turn it off buffer-locally (bug#9932).
12177
90132c14
SM
12178 * progmodes/python.el (python-beginning-of-statement):
12179 Rewrite (bug#2703).
12180
1dce7193
SM
12181 * progmodes/compile.el: Better handle TABs (bug#9749).
12182 (compilation-internal-error-properties)
12183 (compilation-next-error-function): Obey the target buffer's
12184 compilation-error-screen-columns.
12185
c4e7c63a
JB
121862011-11-09 Juanma Barranquero <lekktu@gmail.com>
12187
12188 * progmodes/meta-mode.el: Remove obsolete comments.
12189 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12190 Fix typos in docstrings.
12191
2cffd681
MR
121922011-11-09 Martin Rudalics <rudalics@gmx.at>
12193
12194 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12195 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12196 (window--resizable): New function. Make all callers of
12197 window-resizable call window--resizable instead.
12198 (window-resizable): Rewrite in terms of window--resizable.
12199
0edcba87
GM
122002011-11-08 Glenn Morris <rgm@gnu.org>
12201
12202 * progmodes/delphi.el (delphi-mode-syntax-table):
12203 Let define-derived-mode define a proper syntax table. (Bug#9994)
12204
4b0d61e3
SM
122052011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12206
12207 * window.el: Stay away from defsubst.
12208 (window-list-no-nils): Remove.
12209 (window-state-get-1, window-state-get): Use backquote instead.
12210
cd394be1 122112011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12212
4b0d61e3 12213 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12214 Fix incorrect use of default argument in `completing-read'.
12215
e1c2c6f2
MR
122162011-11-08 Martin Rudalics <rudalics@gmx.at>
12217
12218 * window.el (display-buffer-function, special-display-function):
12219 Mention display-buffer-record-window but do not mention
12220 help-setup parameter in doc-strings.
b3f4a882 12221 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12222
105216ed
CY
122232011-11-08 Chong Yidong <cyd@gnu.org>
12224
12225 * window.el (window-total-height, window-total-width): Doc fix.
12226 (window-body-size): Move from C.
12227 (window-body-height, window-body-width): Move to C.
12228
0a9f9ab5
SM
122292011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * window.el: Make special-display like display-buffer-alist (bug#9532).
12232 (display-buffer--special-action): New function, morphed
12233 from display-buffer--special.
12234 (display-buffer): Use it to handle special-display-buffers at higher
12235 priority (just after display-buffer-alist).
12236 (display-buffer-fallback-action, display-buffer--other-frame-action)
12237 (pop-to-buffer-same-window): Remove display-buffer--special.
12238
a769dd15
GM
122392011-11-07 Glenn Morris <rgm@gnu.org>
12240
12241 * calendar/cal-menu.el (cal-menu-set-date-title):
12242 Do nothing if not in a calendar. (Bug#9976)
12243
05a61ee3
SM
122442011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12245
12246 * files.el (find-file): Always use selected-window.
12247
be7f5545
MR
122482011-11-07 Martin Rudalics <rudalics@gmx.at>
12249
12250 * window.el (window-combinations): Make WINDOW argument
12251 mandatory. Rewrite doc-string.
12252 (walk-window-subtree, window-atom-check, window-min-delta)
12253 (window-max-delta, window--resize-this-window)
12254 (window--resize-root-window-vertically, window-tree)
12255 (balance-windows, window-state-put): Rewrite doc-strings as to
12256 not mention the term "subwindow".
12257 (window--resize-subwindows-skip-p): Rename to
12258 window--resize-child-windows-skip-p.
12259 (window--resize-subwindows-normal): Rename to
12260 window--resize-child-windows-normal.
12261 (window--resize-subwindows): Rename to
12262 window--resize-child-windows.
12263 (window-or-subwindow-p): Rename to window--in-subtree-p.
12264
3c6702ef
ML
122652011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12266
12267 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12268 Ensure that mbox format messages end in two newlines (Bug#9974).
12269
49745b39
CY
122702011-11-06 Chong Yidong <cyd@gnu.org>
12271
12272 * window.el (window-combination-p): Function deleted; its
12273 side-effect is not used in any existing code.
12274 (window-combinations, window-combined-p): Call window-*-child
12275 directly.
12276
24300f5f
CY
122772011-11-05 Chong Yidong <cyd@gnu.org>
12278
12279 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12280 (window-size-ignore, window-state-get): Callers changed.
12281 (window-normalize-window): Rename from window-normalize-any-window.
12282 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12283 (window-normalize-live-window): Delete.
447f16b8
CY
12284 (window-combination-p, window-combined-p, window-combinations)
12285 (walk-window-subtree, window-atom-root, window-min-size)
12286 (window-sizable, window-sizable-p, window-size-fixed-p)
12287 (window-min-delta, window-max-delta, window-resizable)
12288 (window-resizable-p, window-full-height-p, window-full-width-p)
12289 (window-current-scroll-bars, window-point-1, set-window-point-1)
12290 (window-at-side-p, window-in-direction, window-resize)
12291 (adjust-window-trailing-edge, maximize-window, minimize-window)
12292 (window-deletable-p, delete-window, delete-other-windows)
12293 (record-window-buffer, unrecord-window-buffer)
12294 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12295 (quit-window, split-window, window-state-put)
12296 (set-window-text-height, fit-window-to-buffer)
12297 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12298
89bd5ee1
EZ
122992011-11-04 Eli Zaretskii <eliz@gnu.org>
12300
53479029
EZ
12301 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12302 rfc2047-decode-string.
12303 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12304 warnings.
12305
89bd5ee1
EZ
12306 * window.el (window-body-height, window-body-width): Mention in
12307 the doc string that the return values are in frame's canonical
12308 units. (Bug#9949)
12309
bd17fdee
AM
123102011-11-03 Alan Mackenzie <acm@muc.de>
12311
12312 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12313 change in cc-engine.el.
12314
acc825c5
SM
123152011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12316
12317 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12318
1885e5b8
MR
123192011-11-02 Martin Rudalics <rudalics@gmx.at>
12320
12321 * window.el (quit-window): Call unrecord-window-buffer after
12322 showing another buffer in the window. (Bug#9937)
acc825c5 12323 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12324
ebe06da9
JB
123252011-11-02 Juanma Barranquero <lekktu@gmail.com>
12326
12327 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12328 Accept status with more than 9 shelves. (Bug#9935)
12329 Reported by Colin D Bennett <colin@gibibit.com>.
12330
4ee88440
MR
123312011-11-01 Martin Rudalics <rudalics@gmx.at>
12332
12333 * help.el (with-help-window): Don't reference
12334 temp-buffer-show-specifiers in doc-string.
12335
08e1d82c
AS
123362011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12337
12338 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12339 menu-item.
12340
84bd6e9e
VJL
123412011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12342
12343 * whitespace.el: New version 13.2.2.
12344 (whitespace-newline-mode): Disable properly. Reported by Sarah
12345 <EmacsWiki>.
12346
dba0634a
UJ
123472011-10-30 Ulf Jasper <ulf.jasper@web.de>
12348
12349 * net/newst-treeview.el: Remove "Time-stamp".
12350 (newsticker--group-manage-orphan-feeds): Do not call
12351 newsticker--treeview-tree-update.
db22a3c2
JB
12352 (newsticker-treeview-update, newsticker-treeview):
12353 Call newsticker--treeview-tree-update if necessary.
dba0634a 12354
3d8daefe
MR
123552011-10-30 Martin Rudalics <rudalics@gmx.at>
12356
12357 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12358 (window-iso-combinations): Remove "iso-" infix.
12359 Suggested by Chong Yidong.
3d8daefe
MR
12360 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12361 (window-max-delta-1, window-resize, window--resize-siblings)
12362 (window--resize-this-window, adjust-window-trailing-edge)
12363 (split-window, balance-windows-1)
12364 (shrink-window-if-larger-than-buffer):
12365 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12366 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12367
1bc4c3ae
SM
123682011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12371 in place (bug#9907).
12372 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12373 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12374 (eshell-structure-basic-command, eshell-rewrite-while-command)
12375 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12376 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12377 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12378 (eshell-do-pipelines-synchronously, eshell-eval-command):
12379 Use backquotes and prefer setq to set.
12380 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12381 (eshell-macrop): Use functionp.
c1e2f5fa 12382 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12383
30b65d9c
CY
123842011-10-30 Chong Yidong <cyd@gnu.org>
12385
12386 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12387 instead of set-mark (Bug#9810).
12388
2d197ffb
CY
123892011-10-30 Chong Yidong <cyd@gnu.org>
12390
12391 * window.el (split-window-below, split-window-right): Rename from
12392 split-window-above-each-other and split-window-side-by-side
12393 respectively. All callers changed.
12394 (split-window-sensibly, split-window-sensibly): Use them.
12395 (split-window-keep-point): Doc fix.
12396
12397 * isearch.el: Add isearch-scroll property to split-window-below
12398 and split-window-right.
12399
12400 * follow.el (follow-mode):
12401 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12402 * progmodes/ada-xref.el (ada-gdb-application):
12403 * emulation/vip.el (vip-buffer-in-two-windows):
12404 * image-dired.el (image-dired-dired-with-window-configuration):
12405 * dired-x.el (dired-do-find-marked-files):
12406 * dired.el (dired-pop-to-buffer):
12407 * bs.el (bs--show-with-configuration):
12408 * vc/emerge.el (emerge-setup-windows):
12409 * textmodes/two-column.el (2C-two-columns):
12410 * textmodes/reftex-toc.el (reftex-toc):
12411 * progmodes/gdb-mi.el (gdb-setup-windows):
12412 * progmodes/fortran.el (fortran-window-create):
12413 * net/newst-treeview.el (newsticker--treeview-window-init):
12414 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12415 * emulation/tpu-edt.el (tpu-gold-map):
12416 * emulation/crisp.el (crisp-mode-map):
12417 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12418
38bb2ca8
CY
124192011-10-29 Chong Yidong <cyd@gnu.org>
12420
aa4de341
CY
12421 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12422
e1eb5385
CY
12423 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12424
5d2ece3c
CY
12425 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12426 forged Ispell output (Bug#7904).
12427
38bb2ca8
CY
12428 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12429
d0af9f77
SM
124302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12431
12432 * doc-view.el: Avoid ugly errors about not finding nil.
12433 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12434 (doc-view-dvipdf-program, doc-view-unoconv-program)
12435 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12436 Avoid nil or absolute file name as default value.
12437 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12438
52bedd34
AM
124392011-10-28 Alan Mackenzie <acm@muc.de>
12440
db22a3c2 12441 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12442
7e43cfa5
AM
124432011-10-28 Alan Mackenzie <acm@muc.de>
12444
12445 Amend the handling of c-beginning/end-of-defun in nested declaration
12446 scopes.
12447
52bedd34
AM
12448 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12449 cc-langs.el. Change it to a defcustom.
7e43cfa5 12450
52bedd34
AM
12451 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12452 cc-vars.el.
7e43cfa5 12453
d0af9f77
SM
12454 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12455 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12456
52bedd34 12457 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12458 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12459 (c-widen-to-enclosing-decl-scope): New function.
12460 (c-while-widening-to-decl-block): New macro.
12461 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12462 outward for defun boundaries, and correspondingly change symbol
12463 `respect-enclosure' to `go-outward'.
12464 (c-declaration-limits): Change algorithm to report only the "innermost"
12465 defun's boundaries.
12466
1a2ce9ee
DD
124672011-10-28 Deniz Dogan <deniz@dogan.se>
12468
12469 * net/rcirc.el (rcirc-mode): Use hard newlines.
12470
bc97a826
AM
124712011-10-28 Alan Mackenzie <acm@muc.de>
12472
12473 Amend to indent and fontify macros "which include their own semicolon"
12474 correctly, using the "virtual semicolon" mechanism.
12475
52bedd34 12476 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12477
d0af9f77 12478 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12479 Recode to scan one line at a time rather than having \n and \r
58179cce 12480 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12481 (c-forward-label): Amend for virtual semicolons.
58179cce 12482 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12483
52bedd34
AM
12484 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12485 of the new C macros.
bc97a826 12486
52bedd34 12487 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12488 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12489 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12490 (c-opt-cpp-macro-define): Make into a full language variable.
12491 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12492 AWK Mode (including \n, \r) removed, no longer needed.
12493
d0af9f77
SM
12494 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12495 Invoke c-make-macro-with-semi-re.
bc97a826 12496
52bedd34
AM
12497 * progmodes/cc-vars.el (c-macro-with-semi-re):
12498 (c-macro-names-with-semicolon): New variables.
58179cce 12499 (c-make-macro-with-semi-re): New function.
bc97a826 12500
7a6c0941
SM
125012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12502
12503 * vc/log-edit.el: Fill empty field rather than adding new one.
12504 (log-edit-add-field): New function.
12505 (log-edit-insert-changelog): Use it.
12506
b0c4cdcf
ML
125072011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12508
12509 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12510
ee1f1da9
SM
125112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12514 (gdb--check-interpreter): New function.
12515 (gdb): Use it.
12516
51bc5f8b
GM
125172011-10-27 Glenn Morris <rgm@gnu.org>
12518
416a2c45
GM
12519 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12520 (least-positive-float, least-negative-float)
12521 (least-positive-normalized-float, least-negative-normalized-float)
12522 (float-epsilon, float-negative-epsilon):
12523 Remove unnecessary declarations.
12524
12525 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12526 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12527 (least-positive-float, least-negative-float)
12528 (least-positive-normalized-float, least-negative-normalized-float)
12529 (float-epsilon, float-negative-epsilon): Add doc-strings,
12530 based on those in cl.texi.
12531
51bc5f8b
GM
12532 * files.el (set-visited-file-name): If the major-mode changed,
12533 reload the local variables. (Bug#9796)
12534
15de15c6
CY
125352011-10-27 Chong Yidong <cyd@gnu.org>
12536
12537 * subr.el (change-major-mode-after-body-hook): New hook.
12538 (run-mode-hooks): Run it.
12539
ee1f1da9
SM
12540 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12541 Use change-major-mode-before-body-hook.
15de15c6
CY
12542
12543 * simple.el (fundamental-mode):
12544 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12545 change introducing fundamental-mode-hook.
12546
5430d399
JB
125472011-10-26 Juanma Barranquero <lekktu@gmail.com>
12548
acc825c5 12549 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12550
ad74a69e
MA
125512011-10-26 Michael Albinus <michael.albinus@gmx.de>
12552
12553 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12554 tramp.el explicitly. (Bug#7583)
ad74a69e 12555
71d4c2a5
SM
125562011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * progmodes/octave-mod.el:
12559 * progmodes/octave-inf.el: Update maintainer.
12560
b1f6fa26
CY
125612011-10-26 Chong Yidong <cyd@gnu.org>
12562
12563 * subr.el (with-wrapper-hook): Rewrite doc.
12564
3f04efd6
MA
125652011-10-25 Michael Albinus <michael.albinus@gmx.de>
12566
12567 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12568 filenames "/method:foo:". (Bug#9793)
3f04efd6 12569
410488d3
SM
125702011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12573 (bug#9865).
12574
c1ebb47e
GM
125752011-10-24 Glenn Morris <rgm@gnu.org>
12576
12577 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12578
7f5c46c7
MA
125792011-10-24 Michael Albinus <michael.albinus@gmx.de>
12580
12581 * notifications.el: Add the requirement of a running D-Bus session
12582 bus to the Commentary.
12583
db2440b6
JL
125842011-10-24 Juri Linkov <juri@jurta.org>
12585
12586 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12587 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12588 (Bug#9364)
12589
feecf435
JL
125902011-10-24 Juri Linkov <juri@jurta.org>
12591
12592 * info.el (Info-following-node-name-re): Add newline to the list
12593 of allowed characters for leading space. (Bug#9824)
12594
a3839de2
SM
125952011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12596
acc825c5
SM
12597 * progmodes/octave-inf.el (inferior-octave-mode-map):
12598 Fix C-c C-h binding.
a3839de2
SM
12599 * progmodes/octave-mod.el (octave-help): Remove.
12600
09388e76
MA
126012011-10-23 Michael Albinus <michael.albinus@gmx.de>
12602
12603 Sync with Tramp 2.2.3.
12604
12605 * net/tramp-cache.el (top): Pacify byte-compiler using
12606 `init-file-user' and `site-run-file'.
12607
12608 * net/trampver.el: Update release number.
12609
86c60681
CY
126102011-10-23 Chong Yidong <cyd@gnu.org>
12611
12612 * files.el (toggle-read-only): Remove obsolete comment about
12613 version control.
12614
12615 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12616 for toggle-read-only. Note that this hasn't called vc-next-action
12617 since 2008-05-02, though it wasn't documented at the time.
12618
a3839de2
SM
12619 * vc/ediff-init.el (ediff-toggle-read-only-function):
12620 Use toggle-read-only.
86c60681 12621
cd5495ff
AM
126222011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12623
12624 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12625 of c-parse-state.
12626
00b77525 12627 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12628 correct faulty logical expression.
cd5495ff
AM
12629 (c-parse-state-state, c-record-parse-state-state):
12630 (c-replay-parse-state-state): New defvar/defuns.
12631 (c-debug-parse-state): Use new functions.
12632
42ee24ed
MR
126332011-10-22 Martin Rudalics <rudalics@gmx.at>
12634
12635 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12636 last fix. Use window-in-direction correctly.
42ee24ed 12637
a7dee7e7
CY
126382011-10-21 Chong Yidong <cyd@gnu.org>
12639
12640 * progmodes/idlwave.el (idlwave-mode):
12641 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12642 require-final-newline; that's done in prog-mode.
12643 Suggested by Stefan Monnier.
a7dee7e7 12644
e07b9a6d
MR
126452011-10-21 Martin Rudalics <rudalics@gmx.at>
12646
12647 * mouse.el (mouse-drag-window-above)
12648 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12649 (mouse-drag-mode-line-1, mouse-drag-header-line)
12650 (mouse-drag-vertical-line-rightward-window): Remove.
12651 (mouse-drag-line): New function.
12652 (mouse-drag-mode-line, mouse-drag-header-line)
12653 (mouse-drag-vertical-line): Call mouse-drag-line.
12654 * window.el (window-at-side-p, windows-at-side): New functions.
12655
7e1361d9
UM
126562011-10-21 Ulrich Mueller <ulm@gentoo.org>
12657
12658 * tar-mode.el (tar-grind-file-mode):
12659 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12660
30fcaf3a
CY
126612011-10-21 Chong Yidong <cyd@gnu.org>
12662
12663 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12664 * progmodes/vera-mode.el (vera-mode):
12665 Use mode-require-final-newline.
30fcaf3a 12666
516eddb0
GM
126672011-10-20 Glenn Morris <rgm@gnu.org>
12668
db22a3c2 12669 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12670
10d5f513
CS
126712011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12672
12673 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12674
ac6c8639
CY
126752011-10-20 Chong Yidong <cyd@gnu.org>
12676
12677 * emulation/cua-base.el (cua-mode):
12678 * mail/footnote.el (footnote-mode):
12679 * mail/mailabbrev.el (mail-abbrevs-mode):
12680 * net/xesam.el (xesam-minor-mode):
12681 * progmodes/bug-reference.el (bug-reference-mode):
12682 * progmodes/cap-words.el (capitalized-words-mode):
12683 * progmodes/compile.el (compilation-minor-mode)
12684 (compilation-shell-minor-mode):
12685 * progmodes/gud.el (gud-tooltip-mode):
12686 * progmodes/hideif.el (hide-ifdef-mode):
12687 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12688 * progmodes/subword.el (subword-mode):
12689 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12690 * progmodes/which-func.el (which-function-mode):
12691 * term/tvi970.el (tvi970-set-keypad-mode):
12692 * term/vt100.el (vt100-wide-mode):
12693 * textmodes/flyspell.el (flyspell-mode):
12694 * textmodes/ispell.el (ispell-minor-mode):
12695 * textmodes/nroff-mode.el (nroff-electric-mode):
12696 * textmodes/paragraphs.el (use-hard-newlines):
12697 * textmodes/refill.el (refill-mode):
12698 * textmodes/reftex.el (reftex-mode):
12699 * textmodes/rst.el (rst-minor-mode):
12700 * textmodes/sgml-mode.el (html-autoview-mode)
12701 (sgml-electric-tag-pair-mode):
12702 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12703 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12704 * emulation/crisp.el (crisp-mode):
12705 * emacs-lisp/eldoc.el (eldoc-mode):
12706 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12707 minor mode behavior.
12708
aa42ab43
JL
127092011-10-19 Juri Linkov <juri@jurta.org>
12710
12711 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12712 the list of hard-coded chars with escape-glyph face.
12713
89400f1d
SM
127142011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12715
12716 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12717
305c07f6
MA
127182011-10-19 Michael Albinus <michael.albinus@gmx.de>
12719
12720 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12721 running process.
12722
13754b54
GM
127232011-10-19 Glenn Morris <rgm@gnu.org>
12724
12725 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12726 Ignore ignored files. (Bug#9726)
12727
06e21633
CY
127282011-10-19 Chong Yidong <cyd@gnu.org>
12729
12730 Doc fix for minor modes, stating that an omitted argument enables
12731 the mode unconditionally when called from Lisp.
12732
12733 * abbrev.el (abbrev-mode):
12734 * allout.el (allout-mode):
12735 * autoinsert.el (auto-insert-mode):
12736 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12737 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12738 (global-auto-revert-mode):
12739 * battery.el (display-battery-mode):
12740 * composite.el (global-auto-composition-mode)
12741 (auto-composition-mode):
12742 * delsel.el (delete-selection-mode):
12743 * desktop.el (desktop-save-mode):
12744 * dired-x.el (dired-omit-mode):
12745 * dirtrack.el (dirtrack-mode):
12746 * doc-view.el (doc-view-minor-mode):
12747 * double.el (double-mode):
12748 * electric.el (electric-indent-mode, electric-pair-mode):
12749 * emacs-lock.el (emacs-lock-mode):
12750 * epa-hook.el (auto-encryption-mode):
12751 * follow.el (follow-mode):
12752 * font-core.el (font-lock-mode):
12753 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12754 * help.el (temp-buffer-resize-mode):
12755 * hilit-chg.el (highlight-changes-mode)
12756 (highlight-changes-visible-mode):
12757 * hi-lock.el (hi-lock-mode):
12758 * hl-line.el (hl-line-mode, global-hl-line-mode):
12759 * icomplete.el (icomplete-mode):
12760 * ido.el (ido-everywhere):
12761 * image-file.el (auto-image-file-mode):
12762 * image-mode.el (image-minor-mode):
12763 * iswitchb.el (iswitchb-mode):
12764 * jka-cmpr-hook.el (auto-compression-mode):
12765 * linum.el (linum-mode):
12766 * longlines.el (longlines-mode):
12767 * master.el (master-mode):
12768 * mb-depth.el (minibuffer-depth-indicate-mode):
12769 * menu-bar.el (menu-bar-mode):
12770 * minibuf-eldef.el (minibuffer-electric-default-mode):
12771 * mouse-sel.el (mouse-sel-mode):
12772 * msb.el (msb-mode):
12773 * mwheel.el (mouse-wheel-mode):
12774 * outline.el (outline-minor-mode):
12775 * paren.el (show-paren-mode):
12776 * recentf.el (recentf-mode):
12777 * reveal.el (reveal-mode, global-reveal-mode):
12778 * rfn-eshadow.el (file-name-shadow-mode):
12779 * ruler-mode.el (ruler-mode):
12780 * savehist.el (savehist-mode):
12781 * scroll-all.el (scroll-all-mode):
12782 * scroll-bar.el (scroll-bar-mode):
12783 * server.el (server-mode):
12784 * shell.el (shell-dirtrack-mode):
12785 * simple.el (auto-fill-mode, transient-mark-mode)
12786 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12787 (line-number-mode, column-number-mode, size-indication-mode)
12788 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12789 * strokes.el (strokes-mode):
12790 * time.el (display-time-mode):
12791 * t-mouse.el (gpm-mouse-mode):
12792 * tool-bar.el (tool-bar-mode):
12793 * tooltip.el (tooltip-mode):
12794 * type-break.el (type-break-mode-line-message-mode)
12795 (type-break-query-mode):
12796 * view.el (view-mode):
12797 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12798 (global-whitespace-mode, global-whitespace-newline-mode):
12799 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12800
a3839de2
SM
12801 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12802 Fix autogenerated docstring.
06e21633 12803
5214e501
JL
128042011-10-19 Juri Linkov <juri@jurta.org>
12805
12806 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12807 by checking environment variables "DESKTOP_SESSION" and
12808 "XDG_CURRENT_DESKTOP". (Bug#9779)
12809
195f8db9
JL
128102011-10-19 Juri Linkov <juri@jurta.org>
12811
12812 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12813 (browse-url-chromium-program, browse-url-chromium-arguments):
12814 New defcustoms.
12815 (browse-url-default-browser): Check for `browse-url-chromium' and
12816 call `browse-url-chromium-program'.
12817 (browse-url-chromium): New command. (Bug#9779)
12818
343a34ff
JB
128192011-10-18 Juanma Barranquero <lekktu@gmail.com>
12820
12821 * facemenu.el (list-colors-duplicates): On Windows, detect more
12822 duplicates by assuming that only colors matching "^System" are
12823 special "system colors". (Bug#9722)
12824
6978a151
SM
128252011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12826
12827 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12828 to distinguish the author from the committer.
12829
6a80b297
MA
128302011-10-18 Michael Albinus <michael.albinus@gmx.de>
12831
12832 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12833
b31a5677
JK
128342011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12835
12836 * international/mule.el (sgml-html-meta-auto-coding-function):
12837 Add support for detecting encoding in HTML5 specified only as
12838 <meta charset="UTF-8">. Implementation just makes http-equiv and
12839 content-type parts from HTML4 encoding string optional. (Bug#9716)
12840
80c6d77f
GM
128412011-10-18 Glenn Morris <rgm@gnu.org>
12842
12843 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12844
08b0fee8
CY
128452011-10-18 Chong Yidong <cyd@gnu.org>
12846
12847 * faces.el (cursor): Doc fix.
12848
67e729a5
CY
128492011-10-17 Chong Yidong <cyd@gnu.org>
12850
12851 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12852
343a34ff 128532011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12854
12855 * dirtrack.el (dirtrack): Support shell buffers with path
12856 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12857
0bc06380
TZ
128582011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12859
12860 * json.el: Bump version to 1.3 and note change in History.
12861 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12862
8b79f3e0
SM
128632011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12864
5a7c536b
SM
12865 * comint.el (comint-insert-input, comint-send-input)
12866 (comint-get-old-input-default, comint-backward-matching-input)
12867 (comint-next-prompt): Use nil instead of `input' for field property of
12868 past user input (bug#114).
12869
96a8a0df
SM
12870 * minibuffer.el (completion--replace): Inherit surrounding properties
12871 (bug#114).
12872 (minibuffer-complete-and-exit): Use it.
12873
8b79f3e0
SM
12874 * comint.el (comint--table-subvert): Quote the all-completions output
12875 (bug#9160).
12876
b8f7ff0d
MR
128772011-10-17 Martin Rudalics <rudalics@gmx.at>
12878
8b79f3e0 12879 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12880
b8f7ff0d 12881 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12882 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12883 entries and separate them from frame entries.
12884
c235b555
GM
128852011-10-15 Glenn Morris <rgm@gnu.org>
12886
12887 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12888 Doc fixes.
12889
6bbfa6e1
CY
128902011-10-15 Chong Yidong <cyd@stupidchicken.com>
12891
8b79f3e0
SM
12892 * net/network-stream.el (network-stream-open-starttls):
12893 Improve detection of failure due to lack of TLS support.
ec5c990d 12894
6bbfa6e1
CY
12895 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12896 putting the input text in front and in bold.
12897
98488977
SM
128982011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12899
3d1337be
SM
12900 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12901
ee0b45e4
SM
12902 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12903 empty buffer.
12904
98488977
SM
12905 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12906 unread-command-events rather than pushing yet-another event.
12907
186f4720
EZ
129082011-10-14 Eli Zaretskii <eliz@gnu.org>
12909
12910 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12911 the explanation of the possible choices. Make the options passed
12912 to completing-read shorter.
12913
8b7a997c
AM
129142011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12915
12916 * textmodes/flyspell.el (flyspell-large-region): Make sure
12917 extended character mode is used if defined (Bug#1339).
12918
12587bbb
EZ
129192011-10-13 Eli Zaretskii <eliz@gnu.org>
12920
12921 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12922 character info for LRE, LRO, RLE, and RLO characters by appending
12923 an invisible PDF.
12587bbb 12924
bad41229
SM
129252011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12928 even in case of error; add debug spec; simplify data flow.
12929 (with-timeout-handler): Remove.
12930
28dbc92f
MA
129312011-10-12 Michael Albinus <michael.albinus@gmx.de>
12932
12933 Fix Bug#6019, Bug#9315.
12934
12935 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12936 complete `buffer-file-name', the local file name part could look
12937 remotely (for example on VMS).
12938
12939 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12940 `tramp-run-real-handler'.
12941 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12942 already quoted by '"'.
12943
12944 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12945 Let `file-name-handler-alist' be nil, the local file name part
12946 could look remotely (for example on VMS).
12947
e1b0b23a
SM
129482011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12951 from here...
12952 (flyspell-post-command-hook): ...to here.
12953
a120bde9
SM
129542011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12955
12956 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12957 if not needed.
12958 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12959 using completion. Protect against "slow" callers.
12960 Remove the "message hack".
12961
7ce7717b
JL
129622011-10-11 Juri Linkov <juri@jurta.org>
12963
12964 * isearch.el (isearch-lazy-highlight-word): New variable.
12965 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12966 Use it. (Bug#9727)
12967
c02ee9d6
GM
129682011-10-11 Glenn Morris <rgm@gnu.org>
12969
12970 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12971 like f90-previous-statement does.
12972
93e616fd 129732011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12974
1f190e73 12975 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12976 only in interactive use, to avoid error.
12977
af7b6078
SM
129782011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12979
12980 * minibuffer.el (completion-file-name-table): Fix last change,
12981 i.e. ignore normal errors but not the other ones.
12982
0563dae9
MR
129832011-10-10 Martin Rudalics <rudalics@gmx.at>
12984
12985 * window.el (special-display-buffer-names)
12986 (special-display-regexps): Remove some remnants of earlier
12987 changes from doc-strings.
366ca7f3
MR
12988 (quit-windows-on): New function.
12989
12990 * vc/vc.el (vc-revert, vc-rollback):
12991 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12992 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12993 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12994
49677495
MR
129952011-10-09 Martin Rudalics <rudalics@gmx.at>
12996
12997 * window.el (frame-auto-hide-function): Add version tag.
12998 (Bug#9699)
12999
56f2d1e1
MA
130002011-10-09 Michael Albinus <michael.albinus@gmx.de>
13001
13002 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13003 condition.
13004
112a6592
LL
130052011-10-09 Leo Liu <sdl.web@gmail.com>
13006
13007 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13008 (Bug#9701)
13009
0812589b
GM
130102011-10-08 Glenn Morris <rgm@gnu.org>
13011
13012 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13013 before the first code statement zero indent. (Bug#9690)
13014
b2b0776e
CY
130152011-10-08 Chong Yidong <cyd@stupidchicken.com>
13016
13017 * simple.el (count-words-region): Always count in the region.
13018 Report the number of lines and characters too.
13019 (count-words): New command, which counts in the buffer if the
13020 region is inactive, as count-words-region used to.
13021 (count-words--message): New function. Handle plurals.
13022 (count-lines-region): Make it an alias for count-words-region.
13023
13024 * bindings.el (esc-map): Replace count-lines-region with
13025 count-words-region.
13026
c557cd6b
MR
130272011-10-08 Martin Rudalics <rudalics@gmx.at>
13028
13029 * window.el (window--delete): Delete dedicated frame
13030 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13031 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13032
61a57ef4 130332011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13034
3a7d293b 13035 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13036
c3833279
CY
130372011-10-07 Chong Yidong <cyd@stupidchicken.com>
13038
13039 * bindings.el ([M-left],[M-right]): Bind to left-word and
13040 right-word respectively.
13041
21ce8245
GM
130422011-10-07 Glenn Morris <rgm@gnu.org>
13043
13044 * cus-start.el (debug-on-quit): Fix custom type.
13045
6d823bb2
LMI
130462011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13047
0181e193
LMI
13048 * subr.el (define-key-after): Clarify that the function is not
13049 useful for non-menu keymaps.
13050
6d823bb2
LMI
13051 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13052
8e3459ce 130532011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13054
21ce8245 13055 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13056 in current minibuffer (Fix bug with recursive minibuffers).
13057
a1c2d21e
CY
130582011-10-06 Chong Yidong <cyd@stupidchicken.com>
13059
13060 * progmodes/gdb-mi.el (gdb): Doc fix.
13061
5a4cf282
MR
130622011-10-05 Martin Rudalics <rudalics@gmx.at>
13063
13064 * window.el (frame-auto-hide-function): New option replacing
13065 frame-auto-delete. Suggested by Stefan Monnier.
13066 (window--delete): Call frame-auto-hide-function instead of
13067 investigating frame-auto-delete.
c96111ea
MR
13068 (window-point-1, set-window-point-1): New functions.
13069 (window-in-direction, record-window-buffer, window-state-get-1)
13070 (display-buffer-record-window): Use window-point-1 instead of
13071 window-point.
13072 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13073
9854542e
SM
130742011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13077
8943cfb0
GM
130782011-10-05 Glenn Morris <rgm@gnu.org>
13079
13080 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13081 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13082
647ab967
LL
130832011-10-05 Leo Liu <sdl.web@gmail.com>
13084
13085 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13086 works with buffer object.
13087
3ddfbced
SM
130882011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * mpc.el (mpc-tool-bar-map): Add labels.
13091
bdfa5dd2
GM
130922011-10-04 Glenn Morris <rgm@gnu.org>
13093
13094 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13095
0e2070b5
MR
130962011-10-04 Martin Rudalics <rudalics@gmx.at>
13097
13098 * window.el (window--delete): New function.
13099 (frame-auto-delete): Resuscitate option.
13100 (bury-buffer, replace-buffer-in-windows)
13101 (quit-window): Rewrite using window--delete.
13102 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13103 Pass display-buffer-mark-dedicated to window--display-buffer-2
13104 (Bug#9639).
13105
3dc61a09
SM
131062011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13107
915a9b64
SM
13108 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13109 returns a list (bug#9554). Add remote file name completion.
13110 * comint.el (comint--table-subvert): Curry and get quote&unquote
13111 functions as arguments.
13112 (comint--complete-file-name-data): Adjust call accordingly.
13113 * pcomplete.el (pcomplete--table-subvert): Remove.
13114 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13115
3dc61a09
SM
13116 * minibuffer.el (completion-table-case-fold): Use currying.
13117 (completion--styles-type, completion--cycling-threshold-type):
13118 New constants.
13119 (completion-styles, completion-category-overrides)
13120 (completion-cycle-threshold): Use them.
13121 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13122 completion-table-case-fold.
13123
8ea0a993
SB
131242011-10-03 Stephen Berman <stephen.berman@gmx.net>
13125
13126 * minibuffer.el (completion-category-overrides): Fix type of styles
13127 and add more user friendly tags (bug#9660).
13128
8c24b7f6
SM
131292011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13132 (mule-input-method-string): New widget.
13133 (default-input-method, language-info-custom-alist): Use it.
13134
428fe61a
SM
131352011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13136
32c1fffd
SM
13137 * pcomplete.el: Require comint.
13138 (pcomplete--common-suffix): Remove.
13139 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13140 (pcomplete--table-subvert): Sync with comint--table-subvert.
13141 (pcomplete--entries): Use comint-completion-file-name-table.
13142 * comint.el (comint-unquote-filename): Simplify.
13143 (comint-completion-file-name-table): New function (bug#9616).
13144 (comint--complete-file-name-data): Use it.
13145
428fe61a
SM
13146 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13147 (pcmpl-gnu-tar-buffer): Remove.
13148 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13149 around. Make sure pcomplete-suffix-list is only changed temporarily.
13150 Don't look inside the tar's file if it's too large.
428fe61a 13151
04c52e2f
CY
131522011-10-01 Chong Yidong <cyd@stupidchicken.com>
13153
ce3cefcc
CY
13154 * cus-edit.el (custom-mode-map):
13155 * epa.el (epa-key-list-mode-map):
13156 * man.el (Man-mode-map):
13157 * startup.el (splash-screen-keymap):
13158 * simple.el (special-mode-map): Use scroll-up-command and
13159 scroll-down-command.
13160
13161 * progmodes/idlw-help.el (idlwave-help-mode-map):
13162 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13163 * net/newst-plainview.el (newsticker-mode-map):
13164 * emulation/ws-mode.el (wordstar-mode-map):
13165 * emulation/vi.el (vi-com-map):
13166 * calc/calc-graph.el (calc-graph-show-dumb):
13167 * term/sun.el (terminal-init-sun):
13168 * term/ns-win.el (global-map):
13169 * progmodes/grep.el (grep-mode-map):
13170 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13171 * mail/rmail.el (rmail-mode-map):
13172 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13173
04c52e2f
CY
13174 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13175 custom-safe-themes as special.
13176
79adf8c8
JD
131772011-10-01 Julien Danjou <julien@danjou.info>
13178
13179 * notifications.el (notifications-notify): Fix docstring.
13180
63bd50d3
PS
131812011-10-01 Per Starbäck <per@starback.se>
13182
13183 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13184
199e4c7e
MR
131852011-09-30 Martin Rudalics <rudalics@gmx.at>
13186
13187 * startup.el (command-line-1): Fix last fix by inserting
13188 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13189 (Bug#9605) and (Bug#9636)
199e4c7e 13190
fe5f08dd
EZ
131912011-09-29 Eli Zaretskii <eliz@gnu.org>
13192
13193 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13194 window is hscrolled, move by logical lines. (Bug#9607)
13195 (line-move-visual): Update the doc string to the above effect.
13196
b5516bbd
MR
131972011-09-29 Martin Rudalics <rudalics@gmx.at>
13198
ccee00c0
MR
13199 * window.el (display-buffer-record-window): When WINDOW is the
13200 selected window use `point' instead of `window-point'. (Bug#9626)
13201
b5516bbd
MR
13202 * startup.el (command-line-1): Use insert-before-markers when
13203 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13204
b5516bbd
MR
13205 * help.el (help-window): Remove variable.
13206
52aa0014
GM
132072011-09-29 Glenn Morris <rgm@gnu.org>
13208
13209 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13210
df9a7357
JB
132112011-09-29 Juanma Barranquero <lekktu@gmail.com>
13212
13213 * descr-text.el (describe-char-categories): Accept category
13214 descriptions more than one line long.
13215
a8406c20
SM
132162011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13217
88d9610c
SM
13218 * simple.el (delete-trailing-whitespace): Fix last change.
13219
a5daf810
SM
13220 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13221 Don't confuse "y => 3" as the beginning of a `y' operation.
13222
a8406c20
SM
13223 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13224 object has more than 4 slots (bug#9613).
13225
a239d4e9
JB
132262011-09-28 Juanma Barranquero <lekktu@gmail.com>
13227
13228 * subr.el (with-output-to-temp-buffer):
13229 * net/quickurl.el (quickurl, quickurl-browse-url):
13230 Fix typos in docstrings.
13231
693fbdb6
EZ
132322011-09-27 Eli Zaretskii <eliz@gnu.org>
13233
13234 * minibuffer.el (completion-styles)
13235 (completion-category-overrides): Cross reference each other in doc
13236 strings.
13237
8b457e28
GM
132382011-09-27 Glenn Morris <rgm@gnu.org>
13239
13240 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13241 to split-string. (Bug#9606)
13242
85a16208
LMI
132432011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13244
13245 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13246 (bug#9615).
13247
502f9ebd
CY
132482011-09-27 Chong Yidong <cyd@stupidchicken.com>
13249
13250 * emacs-lisp/package.el (list-packages): Fix echo area message.
13251
7690bdea
LL
132522011-09-27 Leo Liu <sdl.web@gmail.com>
13253
13254 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13255
e2ee6f30
MA
132562011-09-25 Michael Albinus <michael.albinus@gmx.de>
13257
13258 * net/dbus.el (dbus-unregister-object): Don't release services for
13259 registered signals. (Bug#9581)
13260
f3f98342
TZ
132612011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13262
13263 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13264 function that picks between cfengine 2 and 3 support
13265 automatically. Update docs accordingly.
13266
dd7aa8dd
KH
132672011-09-22 Kenichi Handa <handa@m17n.org>
13268
13269 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13270 ZERO.
13271 (indian-itrans-v5-table-for-tamil): New variable.
13272 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13273
3f2b07f8
KM
132742011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13275
13276 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13277 that's true if the current command involved collapsing of text.
13278 It's reset to false at the beginning of the next command.
13279 (allout-post-command-business): Move the cursor to the beginning
13280 of entry if the cursor is hidden and collapsing activity just
13281 happened.
13282
371d6a61
CY
132832011-09-24 Chong Yidong <cyd@stupidchicken.com>
13284
13285 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13286 tracking (Bug#9541).
13287
2ac2721a
UJ
132882011-09-24 Ulf Jasper <ulf.jasper@web.de>
13289
13290 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13291 (newsticker-show-news): Automatically load html rendering package
13292 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13293 because w3m-fill-column is let-bound" and the error "Symbol's value
13294 as variable is void: w3m-fill-column".
2ac2721a 13295
fac7ae53
MA
132962011-09-24 Michael Albinus <michael.albinus@gmx.de>
13297
13298 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13299 Release services only if they are defined. (Bug#9581)
13300
e08b633b
RS
133012011-09-23 Richard Stallman <rms@gnu.org>
13302
e488d29c
RS
13303 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13304 distinguish start of paragraph from start of its text.
13305
19c38752
RS
13306 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13307
e08b633b
RS
13308 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13309 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13310 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13311
0a39f27e
AS
133122011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13313
13314 * international/mule-diag.el (mule-diag): Insert a newline after
13315 each fontset description.
13316
db4e950d
SM
133172011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13318
13319 * simple.el (delete-trailing-whitespace):
13320 Document last change; simplify.
13321
eca3f3ea
PW
133222011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13323
d68e189a
PW
13324 * simple.el (delete-trailing-whitespace): Also delete
13325 extra newlines at the end of the buffer.
13326
eca3f3ea
PW
13327 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13328 (picture-newline): Use forward-line so as to ignore fields.
13329
01c157cc
SM
133302011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13331
13332 * subr.el (with-wrapper-hook): Fix edebug spec.
13333
022de23e
LMI
133342011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13335
13336 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13337 (bug#4538).
13338
91683089
MA
133392011-09-23 Michael Albinus <michael.albinus@gmx.de>
13340
eca3f3ea
PW
13341 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13342 Fix nasty bug using wrong cached values.
91683089 13343
5bdd6fa4
AM
133442011-09-23 Alan Mackenzie <acm@muc.de>
13345
13346 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13347
97adfb97
CY
133482011-09-23 Chong Yidong <cyd@stupidchicken.com>
13349
13350 * window.el (pop-to-buffer): Ensure right window is selected if we
13351 chose another frame.
13352
d4ef2b50
EZ
133532011-09-22 Eli Zaretskii <eliz@gnu.org>
13354
13355 * simple.el (what-cursor-position): Use get-char-property-change
13356 and next-single-char-property-change, to be able to show display
13357 properties that come from overlays as well as text properties.
13358
72258fe5
CY
133592011-09-22 Chong Yidong <cyd@stupidchicken.com>
13360
13361 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13362
13363 * cmuscheme.el (run-scheme, switch-to-scheme):
13364 * cus-edit.el (customize-group, custom-buffer-create)
13365 (customize-browse):
13366 * info.el (info):
13367 * shell.el (shell):
13368 * mail/sendmail.el (mail):
13369 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13370
8f098516
RS
133712011-09-22 Richard Stallman <rms@gnu.org>
13372
13373 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13374 move back only to line beg, don't move back over blank lines.
13375
e74f1bb6
MA
133762011-09-22 Michael Albinus <michael.albinus@gmx.de>
13377
13378 * files.el (copy-directory): Set directory attributes only in case
13379 they could be retrieved from the source directory. (Bug#9565)
13380
bfeef8b6
DK
133812011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13382
13383 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13384 (hs-find-block-beginning, hs-hide-level-recursive):
13385 Ignore strings as well as comments. (Bug#9502)
13386
7e423bb8
AS
133872011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13388
13389 * progmodes/sql.el (sql-comint-postgres):
13390 Convert port number to a string. (Bug#9566)
13391
b4d72fcf
MR
133922011-09-22 Martin Rudalics <rudalics@gmx.at>
13393
13394 * window.el (quit-window): Undedicate window when switching to
13395 previous buffer. Reported by Thierry Volpiatto
13396 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13397 (special-display-popup-frame): When popping up a new frame reset
13398 its previous buffers to nil. Simplify code.
b4d72fcf 13399
a7b88dc6
MA
134002011-09-21 Michael Albinus <michael.albinus@gmx.de>
13401
13402 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13403 and process filter, as done also in `shell-command'.
13404
cf4eacfd
MR
134052011-09-21 Martin Rudalics <rudalics@gmx.at>
13406
eca3f3ea 13407 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13408 Call set-window-start with NOFORCE argument t.
13409 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13410 (quit-window): Reword doc-string. Handle new format of
13411 quit-restore parameter. Don't delete window if it has a
13412 previous buffer we can show instead of the present one.
13413 (display-buffer-record-window): Rewrite using a new format for
13414 the quit-restore window parameter
13415 (special-display-popup-frame, display-buffer-same-window)
13416 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13417 (display-buffer-pop-up-window, display-buffer-use-some-window):
13418 Adapt symbol passed to display-buffer-record-window.
13419 * help.el (help-window-setup): Handle new format of quit-restore
13420 parameter.
13421
8d28cb95
SM
134222011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13423
94ab793f
SM
13424 * faces.el (face-list): Fix docstring (bug#9564).
13425
8d28cb95
SM
13426 * window.el (display-buffer--action-function-custom-type):
13427 Don't include internal functions in the Custom interface.
13428
3820edeb
JL
134292011-09-20 Juri Linkov <juri@jurta.org>
13430
13431 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13432 (Info-forward-node, Info-backward-node, Info-next-preorder)
13433 (Info-last-preorder): Use it. (Bug#9528)
13434
5147931d
JL
134352011-09-20 Juri Linkov <juri@jurta.org>
13436
13437 * info.el (Info-last-preorder): Visit last menu item only when
13438 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13439
cf499a1a
JD
134402011-09-20 Julien Danjou <julien@danjou.info>
13441
13442 * password-cache.el (password-cache-remove): Remove entries even if the
13443 value is nil, so that password with a nil value (negative caching) is
13444 possible to invalidate.
13445
f84e2fe2
LM
134462011-09-20 Lawrence Mitchell <wence@gmx.li>
13447
13448 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13449 all whitespace around breakpoint. (Bug#9553)
13450 (f90-find-breakpoint): Only break at whitespace inside a comment.
13451
78054a46
SM
134522011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 * minibuffer.el (completion-file-name-table): Keep track of errors.
13455 (completion-table-with-predicate): Handle the case where pred1 is nil.
13456 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13457
345083b2
SM
134582011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13459
e24e27be
SM
13460 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13461 (debugger-return-value): Signal an error if the debugging context does
13462 not await any return value.
13463
345083b2
SM
13464 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13465 * image-mode.el (image-toggle-display-text)
13466 (image-toggle-display-image): Stay away from evil `intangible'.
13467
08d355e3
LL
134682011-09-19 Leo Liu <sdl.web@gmail.com>
13469
13470 * replace.el (occur-revert-arguments): Make it permanent-local.
13471 (occur-mode): Don't call font-lock-defontify.
13472
f01da43f
CY
134732011-09-19 Chong Yidong <cyd@stupidchicken.com>
13474
13475 * net/ldap.el (ldap-search-internal): Don't push empty search
13476 result (Bug#9508).
13477
b6072fa6
SM
134782011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13481
443d6696
MA
134822011-09-19 Michael Albinus <michael.albinus@gmx.de>
13483
13484 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13485 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13486
7cc6e154
JL
134872011-09-18 Juri Linkov <juri@jurta.org>
13488
13489 * buff-menu.el (Buffer-menu-mode-map):
13490 * dired.el (dired-mode-map):
13491 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13492 (lisp-interaction-mode-map):
13493 * emacs-lisp/package.el (package-menu-mode-map):
13494 * epa.el (epa-key-list-mode-map):
13495 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13496 (menu-bar-options-menu):
13497 * outline.el (outline-mode-menu-bar-map):
13498 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13499 * vc/vc-dir.el (vc-dir-menu-map):
13500 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13501 Capitalize non-function content words in menu item strings.
13502
13503 * dired.el (dired-mode-map): Add menu item for
13504 `image-dired-dired-toggle-marked-thumbs'.
13505
80302a81
JL
135062011-09-18 Juri Linkov <juri@jurta.org>
13507
13508 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13509 to `isearch-case-fold-search' and restore its original value
13510 after the `isearch-mode' call.
13511
46c5cf66
JL
135122011-09-18 Juri Linkov <juri@jurta.org>
13513
13514 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13515 because `zgrep' returns 1 for successful matches (bug#9226).
13516
d18b513b
JL
135172011-09-18 Juri Linkov <juri@jurta.org>
13518
13519 * info.el (Info-extract-menu-node-name): Check the second match
13520 for empty string (second test-case of bug#9528).
13521 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13522 intermediate nodes to the history (first test-case of bug#9528).
13523
72753f87
JL
135242011-09-18 Juri Linkov <juri@jurta.org>
13525
13526 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13527 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13528
c9384295
JL
135292011-09-18 Juri Linkov <juri@jurta.org>
13530
1154d12e
JB
13531 * info.el (Info-file-supports-index-cookies):
13532 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13533 outputs one more line for long file names (bug#4142).
c9384295 13534
d473dce8
CY
135352011-09-18 Chong Yidong <cyd@stupidchicken.com>
13536
13537 * newcomment.el (comment-normalize-vars): If prompting for
13538 comment-start, set comment-start-skip too (Bug#8424).
13539
2176854d
JB
135402011-09-18 Johan Bockgård <bojohan@gnu.org>
13541
13542 * icomplete.el: Fix previous fix of Bug#5849.
13543 (icomplete-mode): Don't set completion-show-inline-help.
13544 (icomplete-minibuffer-setup): Set completion-show-inline-help
13545 locally during icompletion.
13546
3aace4e4
CY
135472011-09-18 Chong Yidong <cyd@stupidchicken.com>
13548
c940224f
CY
13549 * woman.el (woman2-process-escapes): Don't delete unrecognized
13550 escapes (Bug#7843).
13551
3aace4e4
CY
13552 * files.el (inhibit-first-line-modes-regexps): Add image files.
13553 (hack-local-variables-prop-line): Return nil for malformed
13554 prop-lines (Bug#9044).
13555
710dec63
MA
135562011-09-18 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * net/tramp.el (top): Don't require 'shell.
13559 (tramp-methods): Fix docstring.
13560 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13561 Return complete remote file name. Handle "smb" case.
13562 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13563 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13564
13565 * net/tramp-compat.el (top): Require 'shell.
13566
13567 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13568 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13569 `tramp-current-host'.
13570 (tramp-get-remote-tmpdir): Remove.
13571
13572 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13573 `tramp-tmpdir' entries.
13574 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13575 (tramp-smb-handle-file-attributes): Ignore errors.
13576 (tramp-smb-wait-for-output): Check also for process end.
13577
5d5ac8ec
LMI
135782011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13579
13580 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13581 when sending QUIT (bug#9312).
13582
8c0f49f0
CY
135832011-09-17 Chong Yidong <cyd@stupidchicken.com>
13584
13585 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13586 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13587 occur-mode-display-occurrence.
13588 (occur-edit-mode): Add usage message.
13589 (occur-cease-edit): New command.
13590 (occur-after-change-function): Use text properties to find the
13591 position of the prefix text.
13592 (occur-engine): Set stickiness of prefix text properties.
13593
8f1383f7
GM
135942011-09-17 Glenn Morris <rgm@gnu.org>
13595
13596 * progmodes/etags.el (complete-tag):
13597 Fix call to completion-in-region. (Bug#9526)
13598
744ba0e3
JL
135992011-09-17 Juri Linkov <juri@jurta.org>
13600
13601 * textmodes/ispell.el (ispell-word): Add to the error message
13602 the word, ispell program name and current dictionary (bug#9121).
13603 (ispell-tex-arg-end): Capitalize "error" in the error message.
13604
d9bbf400
AS
136052011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13606
13607 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13608 check. (Bug#4251)
13609
8da11505
JL
136102011-09-17 Juri Linkov <juri@jurta.org>
13611
13612 * window.el (window-safe-min-height, window-safe-min-width):
13613 Fix typos (followup to bug#9522).
13614
a91adc7e
SJ
136152011-09-17 Sven Joachim <svenjoac@gmx.de>
13616
13617 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13618
064f328a
EZ
136192011-09-16 Eli Zaretskii <eliz@gnu.org>
13620
13621 * simple.el (line-move): If goal-column is set, move by logical
13622 lines, not by display lines. (Bug#971)
13623 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13624 to reflect the above change.
13625
e69df516
SM
136262011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13627
13628 * image.el (imagemagick-register-types): Use regexp-opt.
13629
cbb0f9ab
CY
136302011-09-15 Chong Yidong <cyd@stupidchicken.com>
13631
13632 * window.el (display-buffer-base-action): Rename from
13633 display-buffer-default-action. Make default value empty.
13634 (display-buffer-overriding-action): Convert to defvar.
13635 (display-buffer-fallback-action): New var.
13636
25322144
CY
136372011-09-15 Chong Yidong <cyd@stupidchicken.com>
13638
13639 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13640 declaration.
13641 (package--add-to-archive-contents): If there is a duplicate entry
13642 with an older version, remove it.
13643 (package-menu-mark-delete, package-menu-mark-install)
13644 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13645 (package-menu-mark-obsolete-for-deletion):
13646 Use package-menu-get-status instead of a regexp search.
25322144
CY
13647 (package-menu-get-status): Use tabulated-list-entry.
13648 (package-menu-mark-upgrades): New command.
d770725a 13649 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13650 (package-menu-execute): Do installation before deletion.
13651 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13652 instead of checking major-mode.
13653 (package-menu--find-upgrades): New function.
13654
7520339c
LMI
136552011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13656
13657 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13658 passwords in the log buffer.
65a046c4
LMI
13659 (smtpmail-process-filter): Update the process marker so that the
13660 "broken by peer" status message is inserted in the right place.
7520339c 13661
d3c30954
SM
136622011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13663
3fe48822
SM
13664 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13665 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13666 bibtex-completion-at-point-function.
13667 (bibtex-completion-at-point-function): Use them.
13668
1b8b3954
SM
13669 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13670
d3c30954
SM
13671 * mpc.el (mpc-constraints-tag-lookup): New function.
13672 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13673 also to browser "album|playlist".
13674
72779976
JL
136752011-09-14 Juri Linkov <juri@jurta.org>
13676
13677 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13678 (isearch-edit-string): Use length of `isearch-string' when
13679 `isearch-fail-pos' returns nil.
13680 (isearch-message): Remove duplicate code and call
13681 `isearch-fail-pos' with arg `t'.
13682
a0bf2bcd
CY
136832011-09-14 Chong Yidong <cyd@stupidchicken.com>
13684
17bb0a2d
CY
13685 * replace.el (occur-mode-goto-occurrence): Don't force using other
13686 window (Bug#9499).
13687
a0bf2bcd
CY
13688 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13689
f678e0b6
MR
136902011-09-14 Martin Rudalics <rudalics@gmx.at>
13691
13692 * window.el (display-buffer-window): Remove.
13693 (display-buffer-record-window): Use help-setup window parameter
13694 instead of variable display-buffer-window.
13695 (display-buffer-function, special-display-buffer-names)
13696 (special-display-function): Mention help-setup parameter instead
13697 of display-buffer-window in doc-string.
d3c30954
SM
13698 * help.el (help-window-setup): New argument help-window.
13699 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13700 Reword some messages.
13701 (with-help-window): Pass window used for displaying the buffer
13702 to help-window-setup. Don't set display-buffer-window.
13703
8e39b2e8
GM
137042011-09-13 Glenn Morris <rgm@gnu.org>
13705
13706 * emacs-lisp/debug.el (debugger-make-xrefs):
13707 Preserve point. (Bug#9462)
13708
85e9c04b
CY
137092011-09-13 Chong Yidong <cyd@stupidchicken.com>
13710
13711 * window.el (window-deletable-p): Use next-frame.
13712
1b36ed6a
MR
137132011-09-13 Martin Rudalics <rudalics@gmx.at>
13714
13715 * window.el (window-auto-delete): Remove.
13716 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13717 dedication and previous buffers.
1b36ed6a
MR
13718 (switch-to-prev-buffer): Don't delete window.
13719 (delete-windows-on): Delete a window's frame if and only if the
13720 window is dedicated.
13721 (replace-buffer-in-windows): Delete buffer's window or frame if
13722 and only if window is dedicated.
13723 (quit-window): Handle quit-restore as before last change.
4d61f28d 13724 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13725
ef8ef9fb
CY
137262011-09-13 Chong Yidong <cyd@stupidchicken.com>
13727
13728 * window.el (window-deletable-p): Never delete the last frame on a
13729 given terminal.
13730
b2cba41e
GM
137312011-09-13 Glenn Morris <rgm@gnu.org>
13732
13733 * help.el (describe-key-briefly): Copy previous standard-output change.
13734
51553db6 137352011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13736
13737 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13738
b7556719
GM
137392011-09-13 Glenn Morris <rgm@gnu.org>
13740
13741 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13742 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13743
64b51947
CY
137442011-09-12 Chong Yidong <cyd@stupidchicken.com>
13745
13746 * dired-aux.el (dired-mark-read-string): Don't return default
13747 value on empty input (Bug#9361).
13748 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13749 Omit initial minibuffer contents.
13750 (dired-do-chmod): Signal an error on empty input.
13751 (dired-mark-read-string): Don't return default on empty input.
13752
13753 * files.el (file-modes-symbolic-to-number): Doc fix.
13754
393a301e
SM
137552011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * international/mule-cmds.el (ucs-completions): Remove.
13758 (read-char-by-name): Use complete-with-action instead; add metadata.
13759
fa5660f9
CY
137602011-09-11 Chong Yidong <cyd@stupidchicken.com>
13761
13762 * window.el (display-buffer--action-function-custom-type)
13763 (display-buffer--action-custom-type): New vars.
13764 (display-buffer-alist, display-buffer-default-action)
13765 (display-buffer-overriding-action): Add defcustom types.
13766
4a592f66
CY
13767 * frame.el (delete-other-frames): Doc fix (Bug#276).
13768
73d56dbd
LMI
137692011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13770
13771 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13772
37ac18a3
CY
137732011-09-11 Chong Yidong <cyd@stupidchicken.com>
13774
13775 Change modes that used same-window-* vars to use switch-to-buffer.
13776
13777 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13778 Use switch-to-buffer.
13779
13780 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13781 (customize-browse, custom-buffer-create-other-window):
13782 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13783
13784 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13785 (Info-prev, Info-up, Info-speedbar-goto-node)
13786 (info-display-manual): Use switch-to-buffer.
13787 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13788
13789 * mail/sendmail.el (mail): Use switch-to-buffer.
13790 (mail-recover): Use switch-to-buffer-other-window.
13791
13792 * cmuscheme.el (run-scheme, switch-to-scheme):
13793 * ielm.el (ielm):
13794 * shell.el (shell):
13795 * net/rlogin.el (rlogin):
13796 * net/telnet.el (telnet, rsh):
13797 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13798
10195bd6
AS
137992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13800
13801 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13802
b322f63a
LMI
138032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13804
39d7fed6
LMI
13805 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13806 so don't mention it (bug#9301).
ba5a81f1 13807 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13808
ee0e9f11
LMI
13809 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13810 match `x', `w32' and `ns', like the manual says (bug#9029).
13811
0b1c89c1 13812 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13813 (process-kill-buffer-query-function): Mention the buffer name in
13814 the query.
0b1c89c1 13815
77549ea8
LMI
13816 * image-mode.el (image-next-line): The line parameter is mandatory
13817 (bug#9258).
13818
803ef892
LMI
13819 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13820 which can be useful (bug#9301).
13821
12980837
LMI
13822 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13823
91054f8f
LMI
13824 * subr.el (match-string): Mention that the current buffer should
13825 be the same as the search was done in (bug#9282).
13826
b322f63a
LMI
13827 * facemenu.el: Disable the remove-* commands if the mark isn't
13828 active (bug#9162).
13829
3199b96f
CY
138302011-09-10 Chong Yidong <cyd@stupidchicken.com>
13831
13832 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13833 of display-buffer.
13834 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13835
13836 * replace.el (occur-mode-goto-occurrence)
13837 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13838 and display-buffer.
13839
13840 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13841 display-buffer.
13842
13843 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13844 special-display and same-window variables.
13845 (mail-other-window): Use switch-to-buffer-other-window.
13846 (mail-other-frame): USe switch-to-buffer-other-frame.
13847
393a301e
SM
13848 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13849 Use display-buffer-other-frame.
3199b96f
CY
13850 (gdb-display-gdb-buffer): Use pop-to-buffer.
13851
13852 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13853
13854 * progmodes/python.el: Don't set same-window-buffer-names.
13855
13856 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13857
13858 * window.el (display-buffer-alist): Add *Python*.
13859
8319e0bf
CY
138602011-09-10 Chong Yidong <cyd@stupidchicken.com>
13861
13862 * window.el (display-buffer-alist): Add entry for buffers
13863 previously handled same-window-*.
13864 (display-buffer-alist, display-buffer-default-action)
13865 (display-buffer-overriding-action): Mark as risky.
13866 (display-buffer-alist): Document action function changes.
13867 (display-buffer--same-window-action)
13868 (display-buffer--other-frame-action): New variables.
13869 (switch-to-buffer, display-buffer-other-frame): Use them.
13870 (display-buffer): Rename reuse-frame entry to reusable-frames.
13871 (display-buffer-reuse-selected-window): Function deleted.
13872 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13873 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13874 (display-buffer-special): New function.
13875 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13876 display-buffer-reuse-or-pop-window. Split off special-display
13877 part into display-buffer-special.
13878 (display-buffer-use-some-window): Don't perform any special
13879 pop-up-frames handling.
13880 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13881 (display-buffer--maybe-same-window): Rename from
0d3ff375 13882 display-buffer-maybe-same-window.
8319e0bf 13883
919a69aa
CY
13884 * info.el: Don't set same-window-regexps.
13885 (info-setup): New function.
13886 (info-other-window, info): Call it.
13887
13888 * cus-edit.el: Don't set same-window-regexps.
13889 (customize-group): New argument.
13890 (customize-group-other-window): Use it.
13891 (customize-face, customize-face-other-window): Likewise.
13892 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13893
8319e0bf
CY
13894 * net/rlogin.el:
13895 * net/telnet.el:
13896 * progmodes/gud.el: Don't set same-window-regexps.
13897
13898 * cmuscheme.el:
13899 * ielm.el:
13900 * shell.el:
13901 * mail/sendmail.el:
13902 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13903
25173000
JL
139042011-09-10 Juri Linkov <juri@jurta.org>
13905
13906 * isearch.el (isearch-edit-string): Remove obsolete mention of
13907 `C-w' (`isearch-yank-word-or-char') from docstring.
13908 (isearch-query-replace): Fix typo in docstring (bug#9466).
13909
056e44ef
JL
139102011-09-10 Juri Linkov <juri@jurta.org>
13911
13912 * paren.el (show-paren-function): Don't show escaped parens.
13913 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13914
c3760c17
EZ
139152011-09-10 Eli Zaretskii <eliz@gnu.org>
13916
13917 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13918 (mm-default-file-encoding): Remove autoload forms, they are
13919 replaced with autoload cookies in mml.el and mm-encode.el.
13920 (mail-add-attachment): New command.
13921 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13922 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13923 the doc string.
13924 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13925
fece895e
RT
139262011-09-10 Reuben Thomas <rrt@sc3d.org>
13927
e69df516
SM
13928 * simple.el (count-words-region): Use buffer if there's no region
13929 (bug#9429).
fece895e 13930
5e68ce4a
JL
139312011-09-09 Juri Linkov <juri@jurta.org>
13932
13933 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13934 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13935 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13936
0a6b9622
AM
139372011-09-09 Alan Mackenzie <acm@muc.de>
13938
13939 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13940 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13941
14a29deb
EZ
139422011-09-09 Eli Zaretskii <eliz@gnu.org>
13943
13944 Fix for Savannah bug#9392.
13945 * simple.el (mail-encode-mml): New defvar.
13946
13947 * mail/rmail.el (mail-encode-mml): Add a defvar.
13948 (rmail-enable-mime-composing): Default to t.
13949 (rmail-forward): Use MIME method of forwarding only if both
13950 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13951 Set mail-encode-mml non-nil if the MIME method was used.
13952
13953 * mail/sendmail.el (mml-to-mime): Add autoload form.
13954 (mail-encode-mml): Add a defvar.
13955 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13956 to nil.
13957 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13958 message through mml-to-mime, and reset mail-encode-mml to nil.
13959
28c45130
GM
139602011-09-09 Glenn Morris <rgm@gnu.org>
13961
13962 * woman.el (woman-if-body): When processing an .el block,
13963 do not delete the next .el block as well. (Bug#9447)
69f4b618 13964 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13965
9b1c252e
MR
139662011-09-08 Martin Rudalics <rudalics@gmx.at>
13967
13968 * window.el (window-deletable-p): Make sure window is live before
13969 invoking window-prev-buffers.
13970
567457e3
LL
139712011-09-08 Leo Liu <sdl.web@gmail.com>
13972
13973 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13974
97f05794
JL
139752011-09-08 Juri Linkov <juri@jurta.org>
13976
13977 * progmodes/compile.el (compilation-environment): Make it
13978 a defcustom (bug#8340).
13979
8b0874b5
MR
139802011-09-08 Martin Rudalics <rudalics@gmx.at>
13981
13982 * window.el (frame-auto-delete): Rename to window-auto-delete.
13983 Make it control auto-deletion of windows and/or frames.
13984 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13985 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13986 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13987 Rewrite handling of case when window/frame can be deleted.
13988 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13989 argument t. (Bug#9456)
8b0874b5 13990
4feb6e73
CY
139912011-09-07 Chong Yidong <cyd@stupidchicken.com>
13992
13993 * help-mode.el (help-mode): Restore autoload.
13994
91ab9c13
JL
139952011-09-07 Juri Linkov <juri@jurta.org>
13996
13997 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13998 `compilation-environment'. Set buffer-local
13999 `compilation-environment' to `thisenv' later after (funcall mode).
14000 (Bug#8340)
14001
14002 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14003 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14004 instead of replacing its value. (Bug#8340)
14005
0527e251
JL
140062011-09-07 Juri Linkov <juri@jurta.org>
14007
14008 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14009 based on text properties put by `grep-filter' instead of matching
14010 escape sequences.
14011 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14012 to the value of `grep-error-screen-columns' (bug#9438).
14013
249f792c
JL
140142011-09-07 Juri Linkov <juri@jurta.org>
14015
14016 * simple.el (next-error-highlight, next-error-highlight-no-select):
14017 Doc fix (bug#9432).
14018
ff7271b9
OT
140192011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14020
14021 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14022 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14023
183fc730
LL
140242011-09-07 Leo Liu <sdl.web@gmail.com>
14025
14026 * net/rcirc.el (rcirc-mode): Conditionally initialize
14027 rcirc-input-ring.
14028
77694924
SM
140292011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * emacs-lisp/find-func.el (find-function-C-source): Only set
14032 find-function-C-source-directory after checking that we found a source
14033 file there (bug#9440).
14034
d809b8eb
AM
140352011-09-06 Alan Mackenzie <acm@muc.de>
14036
14037 * isearch.el (isearch-other-meta-char): Wherever a key list is
14038 unread, "unread" the prefix arg, too. This fixes bug #8901.
14039
453de99f
OG
140402011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14041
14042 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14043
90439906
JL
140442011-09-05 Juri Linkov <juri@jurta.org>
14045
14046 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14047
f62bd846
JL
140482011-09-05 Juri Linkov <juri@jurta.org>
14049
14050 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14051 keeping point where processing of grep matches begins, and
14052 continue to delete remaining escape sequences from the same point.
14053 (grep-filter): Make leading zero optional in "0?1;31m" because
14054 git-grep emits "\033[1;31m" escape sequences unlike expected
14055 "\033[01;31m" as GNU Grep does (bug#9408).
14056 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14057
045820ec
JL
140582011-09-05 Juri Linkov <juri@jurta.org>
14059
14060 * subr.el (y-or-n-p): Capitalize "yes".
14061
f5e29b9b
MA
140622011-09-04 Michael Albinus <michael.albinus@gmx.de>
14063
14064 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14065 `tramp-cache-unload-hook' where appropriate.
14066 (tramp-methods): Rename `tramp-remote-sh' to
14067 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14068 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14069
14070 * net/tramp-sh.el (top): Don't require 'shell.
14071 (tramp-methods): Add `tramp-remote-shell' and
14072 `tramp-remote-shell-args' entries.
14073 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14074 (tramp-sh-handle-shell-command): Remove.
14075 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14076 Use `tramp-remote-shell'.
14077
2784c434
CY
140782011-09-03 Chong Yidong <cyd@stupidchicken.com>
14079
393a301e 14080 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14081 (sendmail-query-once): Save directly to send-mail-function.
14082 Update message-send-mail-function too.
14083
14084 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14085
464cdf56
CS
140862011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14087
14088 * progmodes/python.el (python-mode-map): Use correct function to
14089 start python interpreter from menu-bar (as reported by Geert
14090 Kloosterman).
14091 (inferior-python-mode-map): Fix typo.
393a301e 14092 (python-shell-map): Remove.
464cdf56 14093
d37e5c87
DD
140942011-09-03 Deniz Dogan <deniz@dogan.se>
14095
14096 * net/rcirc.el (rcirc-print): Simplify code for
14097 rcirc-scroll-show-maximum-output. There is no need to walk
14098 through all windows to find the right one.
14099
f3ada0ee
CS
141002011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14101
14102 * help.el (help-return-method): Doc fix.
14103
1f3c99ca
MR
141042011-09-03 Martin Rudalics <rudalics@gmx.at>
14105
14106 * window.el (window-deletable-p): Don't return a non-nil value
14107 when there's a buffer that was shown in the window before.
14108 (Bug#9419)
393a301e
SM
14109 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14110 Set window's previous buffers to nil.
1f3c99ca 14111
a3cf097f
EZ
141122011-09-03 Eli Zaretskii <eliz@gnu.org>
14113
14114 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14115 newline before and after the tag line, so it doesn't interfere
14116 with determining the paragraph direction of bidirectional text.
14117
3d03de90
LL
141182011-09-03 Leo Liu <sdl.web@gmail.com>
14119
14120 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14121
c3313451
CY
141222011-09-02 Chong Yidong <cyd@stupidchicken.com>
14123
393a301e 14124 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14125 (pop-to-buffer): Change interactive spec. Pass second argument
14126 directly to display-buffer.
14127 (display-buffer): Fix interactive spec. Use functionp to
14128 distinguish between a function and a list of functions.
14129
14130 * abbrev.el (edit-abbrevs):
14131 * arc-mode.el (archive-extract):
14132 * autoinsert.el (auto-insert):
14133 * bookmark.el (bookmark-bmenu-list):
14134 * files.el (find-file):
14135 * view.el (view-buffer):
14136 * progmodes/compile.el (compilation-goto-locus):
14137 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14138
89894cd8
CY
141392011-09-02 Chong Yidong <cyd@stupidchicken.com>
14140
14141 * window.el (display-buffer-alist): Doc fix.
14142 (display-buffer): Add docstring. Don't treat
14143 display-buffer-default specially.
14144 (display-buffer-reuse-selected-window)
14145 (display-buffer-same-window, display-buffer-maybe-same-window)
14146 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14147 (display-buffer-pop-up-window)
14148 (display-buffer-reuse-or-pop-window)
14149 (display-buffer-use-some-window): New functions.
14150 (display-buffer-default-action): Use them.
393a301e 14151 (display-buffer-default): Delete.
89894cd8
CY
14152 (pop-to-buffer-1): Fix choice of actions.
14153
ae0bc9fb
SM
141542011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14155
14156 * minibuffer.el (completion--insert-strings): Don't get confused by
14157 completion entries that end with an LF char.
14158
e9d90883
EZ
141592011-09-01 Eli Zaretskii <eliz@gnu.org>
14160
14161 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14162
437014c8
CY
141632011-09-01 Chong Yidong <cyd@stupidchicken.com>
14164
14165 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14166 (display-buffer-same-window, display-buffer-other-window):
14167 New functions.
437014c8
CY
14168 (pop-to-buffer-1): New function. Use the above.
14169 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14170 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14171
14172 * view.el (view-buffer-other-window, view-buffer-other-frame):
14173 Just use pop-to-buffer.
14174
a5e063d5
TV
141752011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14176
14177 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14178
793d32bb
WH
141792011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14180
14181 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14182
d65e4c15
RS
141832011-08-31 Richard Stallman <rms@gnu.org>
14184
14185 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14186 of the separation of rmail-view-buffer from rmail-buffer.
14187 If you say no to "replace original", the decrypt is in the
14188 view buffer. If you say yes, the decrypt goes into the
14189 rmail buffer also.
14190
f818cd2a
MR
141912011-08-31 Martin Rudalics <rudalics@gmx.at>
14192
14193 * window.el (display-buffer-window): Rewrite doc-string.
14194 (display-buffer-record-window): New function.
14195 (display-buffer-macro-specifiers)
14196 (display-buffer-even-window-sizes, display-buffer-set-height)
14197 (display-buffer-set-width, display-buffer-in-window)
14198 (display-buffer-reuse-window, display-buffer-split-specifiers)
14199 (display-buffer-side-specifiers, display-buffer-split-window-1)
14200 (display-buffer-split-window, display-buffer-split-atom-window)
14201 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14202 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14203 (display-buffer-other-window-means-other-frame)
14204 (display-buffer-normalize-special)
14205 (display-buffer-normalize-default)
14206 (display-buffer-normalize-argument)
14207 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14208 (display-buffer-normalize-specifiers, display-buffer-frame)
14209 (display-buffer-same-window, display-buffer-same-frame)
14210 (display-buffer-other-window)
14211 (display-buffer-same-frame-other-window)
14212 (display-buffer-other-frame, pop-to-buffer-same-window)
14213 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14214 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14215 (switch-to-buffer-same-frame)
14216 (switch-to-buffer-other-window-same-frame)
14217 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14218 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14219 (display-buffer-alist-set): Remove.
14220 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14221 (special-display-regexps, special-display-function):
14222 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14223 parameter.
14224 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14225 (special-display-frame-alist, special-display-popup-frame)
14226 (same-window-buffer-names, same-window-regexps, same-window-p)
14227 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14228 (split-window-preferred-function, split-height-threshold)
14229 (split-width-threshold, window-splittable-p)
14230 (split-window-sensibly, window--try-to-split-window)
14231 (window--frame-usable-p, even-window-heights)
14232 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14233 (window--display-buffer-2, display-buffer-other-frame):
14234 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14235 (display-buffer-default, display-buffer-assq-regexp): New functions.
14236 (display-buffer-alist): Rewrite doc-string.
14237 (display-buffer-default-action)
14238 (display-buffer-overriding-action): New variables.
14239 (display-buffer, switch-to-buffer): Rewrite.
14240 (pop-to-buffer): Restore Emacs 23 behavior but use
14241 window-normalize-buffer-to-display.
14242 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14243 Restore Emacs 23 behavior but use
14244 window-normalize-buffer-to-switch-to.
14245 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14246 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14247 Rewrite using Emacs 23 options.
f818cd2a 14248
5bc3b51d
MA
142492011-08-31 Michael Albinus <michael.albinus@gmx.de>
14250
14251 * net/tramp.el (tramp-root-regexp): Remove.
14252 (tramp-completion-file-name-regexp-unified)
14253 (tramp-completion-file-name-regexp-separate)
14254 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14255 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14256 (tramp-drop-volume-letter): Simplify definition.
14257 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14258
b1a4f8e1
SM
142592011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14260
14261 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14262 (bug#9356).
14263
5664fa7b
RT
142642011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14265
b1a4f8e1 14266 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14267
9a45d6c3
JL
142682011-08-29 Juri Linkov <juri@jurta.org>
14269
14270 * isearch.el (isearch-done): Don't display message "Mark saved"
14271 when arg `edit' is non-nil to prevent its flicker in the echo area.
14272
fb87e0fb
CY
142732011-08-28 Chong Yidong <cyd@stupidchicken.com>
14274
14275 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14276 obsolete packages for deletion.
14277
09ac1c2a
CS
142782011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14279
14280 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14281 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14282 view-mode from help-mode.
14283 (help-xref-override-view-map): Remove.
14284 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14285 view-mode is not used anymore.
14286
7a1ff57f
CY
142872011-08-28 Chong Yidong <cyd@stupidchicken.com>
14288
14289 * server.el (server-port): Doc fix.
14290
b9696605
CY
14291 * cus-theme.el (custom-theme-choose-mode): Inherit from
14292 special-mode (Bug#9124).
14293 (custom-theme-choose-mode-map): Add special-mode to parent.
14294
ef8cdf8c
AM
142952011-08-28 Alan Mackenzie <acm@muc.de>
14296
14297 * progmodes/cc-fonts.el
14298 (c-make-font-lock-BO-decl-search-function): New function.
14299 (c-basic-matchers-after - "Fontify the clauses after various
14300 keywords"): Extract the three keyword lists for the 3 erroneous
14301 constructs from the list of four, and use the new function above
14302 in place of an old one.
14303
27de4e20
DD
143042011-08-28 Deniz Dogan <deniz@dogan.se>
14305
14306 * net/rcirc.el (rcirc-insert-prev-input)
14307 (rcirc-insert-next-input): Remove unused argument.
14308
356a3681
SM
143092011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14310
14311 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14312
3fc9b218
AM
143132011-08-27 Alan Mackenzie <acm@muc.de>
14314
14315 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14316 handle function pointer parameters properly.
14317
538a061c
MR
143182011-08-27 Martin Rudalics <rudalics@gmx.at>
14319
14320 * window.el (display-buffer-reuse-window): Fix case where
14321 selected window was reused with non-nil OTHER-WINDOW argument.
14322 (Bug#9381)
14323
35b1c40c
DD
143242011-08-27 Deniz Dogan <deniz@dogan.se>
14325
14326 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14327 oftc's NickServ messages.
14328
2f6a3e79
GM
143292011-08-27 Glenn Morris <rgm@gnu.org>
14330
14331 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14332
7254299e
CY
143332011-08-26 Chong Yidong <cyd@stupidchicken.com>
14334
14335 * emacs-lisp/package.el (package-install): Call package-initialize
14336 if called interactively.
14337
f8ccf167
LL
143382011-08-26 Leo Liu <sdl.web@gmail.com>
14339
14340 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14341
3e8cd5ce
JL
143422011-08-25 Juri Linkov <juri@jurta.org>
14343
14344 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14345 `search-whitespace-regexp' (bug#9364).
14346
93eb7113
JL
143472011-08-25 Juri Linkov <juri@jurta.org>
14348
14349 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14350 `regexp-search-ring' to their global values to protect from
14351 updating by `read-from-minibuffer' (bug#9185).
14352
f65d1611
JL
143532011-08-25 Juri Linkov <juri@jurta.org>
14354
14355 * textmodes/ispell.el (ispell-command-loop): Add newline
14356 at the end of the "Use option `i'..." line.
14357
f1cf7a31
JL
143582011-08-25 Juri Linkov <juri@jurta.org>
14359
14360 * battery.el (display-battery-mode): If `battery-status-function'
14361 or `battery-mode-line-format' is nil, display the message and set
14362 `display-battery-mode' to nil (bug#9363).
14363
0c95fcf7
EZ
143642011-08-25 Eli Zaretskii <eliz@gnu.org>
14365
14366 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14367 bidi-string-mark-left-to-right; they are unnecessary now.
14368
a2ebe600
DD
143692011-08-25 Deniz Dogan <deniz@dogan.se>
14370
14371 * net/quickurl.el: Documentation typo fixes.
14372
e4ed06f1
CY
143732011-08-25 Chong Yidong <cyd@stupidchicken.com>
14374
14375 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14376
e5f1c99e
GM
143772011-08-25 Glenn Morris <rgm@gnu.org>
14378
b2948976
GM
14379 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14380
e5f1c99e
GM
14381 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14382 (smtpmail-via-smtp): Handle nil response from smtp.
14383
f22f4808
JL
143842011-08-24 Juri Linkov <juri@jurta.org>
14385
14386 * proced.el (proced-marked): Inherit from `error' instead of
14387 `font-lock-warning-face'.
14388
14389 * ibuffer.el (ibuffer-marked-face): Change default face from
14390 `font-lock-warning-face' to `warning'.
14391 (ibuffer-deletion-face): Change default face from
14392 `font-lock-type-face' to `error'.
14393
14394 * battery.el (battery-update): Use the face `error' instead of
14395 `font-lock-warning-face' (bug#6117).
14396
6a93965e
JL
143972011-08-24 Juri Linkov <juri@jurta.org>
14398
14399 * faces.el (success): Change face color from "Green3" to
14400 "ForestGreen" on light background (bug#9353).
14401
1ed43b09
CY
144022011-08-24 Chong Yidong <cyd@stupidchicken.com>
14403
5664fa7b
RT
14404 * window.el (quit-window): Rename from quit-restore-window.
14405 Use same arglist as old quit-window.
1ed43b09
CY
14406 (frame-auto-delete): Doc fix.
14407
14408 * view.el (view-mode-exit): Use quit-window.
14409
11dcdbb2
JL
144102011-08-24 Juri Linkov <juri@jurta.org>
14411
14412 * isearch.el (isearch-ring-adjust1): Start visiting previous
14413 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14414 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14415 for empty search string (when the last search string is reused
14416 automatically) to adjust the isearch ring to the last element and
14417 prepare the correct index for further M-p commands (bug#9185).
14418
de62b4df
KH
144192011-08-24 Kenichi Handa <handa@m17n.org>
14420
14421 * international/ucs-normalize.el: If decomposition property of
14422 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14423 nil.
14424 (nfd, nfkd): Likewise.
14425
963b492b
SM
144262011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14427
14428 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14429 from process filters aren't reliably transmitted to the surrounding
14430 accept-process-output.
14431 (mpc-proc-check): New function.
14432 (mpc-proc-sync): Use it (bug#8293)
14433
93b6b5e1
SM
144342011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14435
14436 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14437 Add compatibility functions (bug#9313).
14438
bca633fb
EZ
144392011-08-23 Eli Zaretskii <eliz@gnu.org>
14440
b177498a
EZ
14441 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14442
6df6ae42 14443 * international/uni-bidi.el: Regenerate.
bca633fb 14444
0902a04e
KH
144452011-08-23 Kenichi Handa <handa@m17n.org>
14446
14447 * international/charprop.el:
14448 * international/uni-bidi.el:
14449 * international/uni-category.el:
14450 * international/uni-combining.el:
14451 * international/uni-comment.el:
14452 * international/uni-decimal.el:
14453 * international/uni-decomposition.el:
14454 * international/uni-digit.el:
14455 * international/uni-lowercase.el:
14456 * international/uni-mirrored.el:
14457 * international/uni-name.el:
14458 * international/uni-numeric.el:
14459 * international/uni-old-name.el:
14460 * international/uni-titlecase.el:
14461 * international/uni-uppercase.el: Regenerate.
14462
3bbf23bc
MR
144632011-08-23 Martin Rudalics <rudalics@gmx.at>
14464
14465 * help.el (help-window-setup): Fix message displayed when other
14466 window is reused. (Bug#9341)
14467
b3fd59bd
SM
144682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14469
1802e444
SM
14470 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14471 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14472
b3fd59bd
SM
14473 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14474 Mark obsolete.
14475 * shell.el (shell-parse-pcomplete-arguments): New function.
14476 (shell-completion-vars): Use it instead (bug#9160).
14477
4eb61348
SM
144782011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14479
867cab74
SM
14480 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14481 strings and comments (bug#9333).
14482
4eb61348
SM
14483 * emacs-lisp/debug.el (debug-arglist): New function.
14484 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14485 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14486
262a1439
JL
144872011-08-22 Juri Linkov <juri@jurta.org>
14488
56ee679c
JL
14489 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14490 Revert regexp that highlights output switches to its old
14491 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14492
262a1439
JL
14493 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14494 to check for empty output (bug#9226).
14495
f13f86fb
CY
144962011-08-22 Chong Yidong <cyd@stupidchicken.com>
14497
14498 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14499 symbol-constituent as the default, as that stops font-lock from
14500 working properly (Bug#8843).
14501
c65c9622
LMI
145022011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14503
14504 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14505 `coding-system-for-*' around the process open call to avoid
14506 auth-source side effects.
e7f2c178 14507 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14508 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14509 probe hangs.
c65c9622 14510
23a8a5ab
CY
145112011-08-21 Chong Yidong <cyd@stupidchicken.com>
14512
ff98b2dd
CY
14513 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14514
23a8a5ab
CY
14515 * emacs-lisp/find-func.el (find-function-noselect): New arg
14516 lisp-only.
14517
14518 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14519 signal an error for built-in functions (Bug#6664).
14520
f5e3c598
LMI
145212011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14522
14523 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14524 (smtpmail-try-auth-methods): Use it.
14525
a3f2468a
CY
145262011-08-21 Chong Yidong <cyd@stupidchicken.com>
14527
2c34e8da
CY
14528 * font-lock.el (font-lock-fontify-region)
14529 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14530 (font-lock-default-unfontify-buffer)
14531 (font-lock-default-fontify-region)
14532 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14533
b3fd59bd
SM
14534 * progmodes/compile.el (compilation-error-properties):
14535 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14536 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14537 `ant' regexp.
ee31aabc 14538
a3f2468a
CY
14539 * net/browse-url.el (browse-url-firefox): Don't call
14540 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14541
8e999f70
GM
145422011-08-20 Glenn Morris <rgm@gnu.org>
14543
c21a496a
GM
14544 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14545
59ee0542
GM
14546 * tutorial.el (tutorial--default-keys): Update some default bindings.
14547
8e999f70
GM
14548 * files.el (hack-local-variables): Fully ignore case for "mode:".
14549
e3715033
AM
145502011-08-20 Alan Mackenzie <acm@muc.de>
14551
14552 Resolve invalid use of a regexp in regexp-opt.
14553
4d61f28d
JB
14554 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14555 detection for a java annotation.
e3715033 14556
4d61f28d 14557 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14558 detection for a java annotation.
14559
4d61f28d
JB
14560 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14561 handling for java.
e3715033
AM
14562 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14563
04ed2e9c
CY
145642011-08-20 Chong Yidong <cyd@stupidchicken.com>
14565
14566 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14567 (Bug#9274).
14568
826cee64
AM
145692011-08-20 Alan Mackenzie <acm@muc.de>
14570
58179cce 14571 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14572 such a construct. Mainly for when jit-lock etc. starts a chunk
14573 here.
14574
58179cce 14575 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14576 variable.
58179cce 14577 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14578 c-make-font-lock-search-function.
14579 (c-make-font-lock-search-function): Use the above function.
14580 (c-make-font-lock-context-search-function): New function.
14581 (c-cpp-matchers): Enhance the preprocessor expression case with
14582 the above function
14583 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14584 which takes an expression.
14585
14586 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14587
13009bd8
MR
145882011-08-20 Martin Rudalics <rudalics@gmx.at>
14589
14590 * window.el (display-buffer-reuse-window)
14591 (display-buffer-pop-up-window): Don't reuse or split a side
14592 window.
14593
9234ff7f
GM
145942011-08-19 Glenn Morris <rgm@gnu.org>
14595
14596 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14597 Downcase "Mode:". (Bug#9331)
9234ff7f 14598
f635daa1
CY
145992011-08-18 Chong Yidong <cyd@stupidchicken.com>
14600
14601 * international/characters.el: Add L and R categories.
14602
14603 * subr.el (bidi-string-mark-left-to-right): Rename from
14604 string-mark-left-to-right. Use category search.
14605
14606 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14607
bc987f8b
JL
146082011-08-18 Juri Linkov <juri@jurta.org>
14609
14610 * faces.el (error, warning, success): New faces with definitions
14611 copied from old default values of `font-lock-warning-face',
14612 `compilation-warning', `compilation-info' (bug#6117).
14613
14614 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14615
14616 * progmodes/compile.el (compilation-error): Inherit from `error'.
14617 (compilation-warning): Inherit from `warning'.
14618 (compilation-info): Inherit from `success'.
14619
14620 * dired.el (dired-marked): Inherit from `warning'.
14621 (dired-flagged): Inherit from `error'.
14622
57173b96
LMI
146232011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14624
3e79eb87
LMI
14625 * mail/smtpmail.el (auth-source): Require to avoid problems with
14626 binding variables (bug#9298). Also clean up some unused
14627 autoloads.
14628
b3fd59bd
SM
14629 * net/network-stream.el (network-stream-open-starttls):
14630 Support using starttls.el without using gnutls-cli.
57173b96 14631
02b404de
JL
146322011-08-17 Juri Linkov <juri@jurta.org>
14633
14634 * progmodes/grep.el (rgrep): Handle the case when
14635 `grep-find-command' is a cons cell (bug#9278).
14636
8c9177f2
MR
146372011-08-17 Martin Rudalics <rudalics@gmx.at>
14638
14639 * window.el (display-buffer-pop-up-frame): Run frame creation
14640 function with BUFFER current (as special-display-popup-frame
14641 does). Reported by Drew Adams.
14642
3644a0ab
DU
146432011-08-17 Daiki Ueno <ueno@unixuser.org>
14644
14645 * epa-mail.el: Simplify GnuPG group expansion using
14646 epg-expand-group.
14647 (epa-mail-group-alist, epa-mail-group-modtime)
14648 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14649 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14650 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14651 Remove.
14652
5e617bc2 146532011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14654
14655 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14656
9c4aeabf
AM
146572011-08-16 Alan Mackenzie <acm@muc.de>
14658
14659 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14660 Correct, to avoid the inside of macros.
14661
3a99bf64
RS
146622011-08-16 Richard Stallman <rms@gnu.org>
14663
04963aa8
RS
14664 * epa-mail.el: Handle GnuPG group definitions.
14665 (epa-mail-group-alist, epa-mail-group-modtime)
14666 (epa-mail-gnupg-conf-file): New variables.
14667 (epa-mail-parse-groups, epa-mail-sync-groups)
14668 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14669 (epa-mail-expand-recipients): New functions.
14670 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14671
177549d0
RS
14672 * mail/rmail.el (rmail-epa-decrypt): New command.
14673
fe38beef
RS
14674 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14675 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14676 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14677 (epa-decrypt-armor-in-region): Make error message clearer.
14678
934eacb9
SM
146792011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14682 and "a2b" to "ab" for `prefix'.
14683
d024fb4e
CY
146842011-08-14 Chong Yidong <cyd@stupidchicken.com>
14685
14686 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14687 filter groups.
de148fee
CY
14688 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14689 Fourquet (Bug#8804).
d024fb4e 14690
62f1ca49
JB
146912011-08-12 Juanma Barranquero <lekktu@gmail.com>
14692
14693 * startup.el (argi): Declare as global variable (bug#9275).
14694
9ccaaa4b
CY
146952011-08-12 Chong Yidong <cyd@stupidchicken.com>
14696
14697 * subr.el (string-mark-left-to-right): Search the entire string
14698 for RTL script, not just the terminating character. Doc fix.
14699
a3dae87a
SM
147002011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14701
6cd18349
SM
14702 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14703 New function.
14704 (js--regexp-literal, js-syntax-propertize-function): Remove.
14705 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14706 (js-mode-map): Don't rebind electric keys.
14707 (js-insert-and-indent): Remove.
14708 (js-mode): Setup electric-layout and electric-indent instead.
14709
a3dae87a
SM
14710 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14711
9d5cb631
DU
147122011-08-12 Daiki Ueno <ueno@unixuser.org>
14713
14714 * epa.el (epa-progress-callback-function): Fix the logic of
14715 displaying progress.
14716 * epa-file.el (epa-file-insert-file-contents): Make progress
14717 display more user-friendly.
14718 (epa-file-write-region): Ditto.
14719
3e26a4a2
CY
147202011-08-10 Chong Yidong <cyd@stupidchicken.com>
14721
14722 * subr.el (string-mark-left-to-right): New function.
14723
14724 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14725 Use string-mark-left-to-right.
14726 (list-buffers-noselect): Caller changed.
14727
a3dae87a
SM
14728 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14729 Use string-mark-left-to-right.
3e26a4a2
CY
14730 (tabulated-list-print): Recenter after moving point.
14731
ac8cf6e6
JL
147322011-08-10 Juri Linkov <juri@jurta.org>
14733
14734 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14735 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14736 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14737
8d96c9a4
CY
147382011-08-09 Chong Yidong <cyd@stupidchicken.com>
14739
14740 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14741 (Bug#7554).
14742
7be1c708 147432011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14744
14745 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14746 character. (Bug#6594)
14747
37e11a63
CY
147482011-08-08 Chong Yidong <cyd@stupidchicken.com>
14749
839dde57
CY
14750 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14751 (image-dired--with-db-file): New macro.
14752 (image-dired-write-tags, image-dired-remove-tag)
14753 (image-dired-create-gallery-lists, image-dired-write-comments)
14754 (image-dired-get-comment, image-dired-mark-tagged-files)
14755 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14756 (image-dired-gallery-generate): Use insert-file-contents.
14757
37e11a63
CY
14758 * time.el (display-time-world-list, display-time-world-display):
14759 * time-stamp.el (time-stamp-string):
14760 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14761 set-time-zone-rule (Bug#7337).
14762
0b4946c4
DU
147632011-08-08 Daiki Ueno <ueno@unixuser.org>
14764
14765 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14766 (epg-error-to-string, epg-errors-to-string): New function.
14767 (epg-wait-for-completion): Reverse errors list.
14768 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14769 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14770 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14771 (epg-sign-keys, epg-generate-key-from-file)
14772 (epg-generate-key-from-string): Format errors by using
14773 epg-errors-to-string (bug#9255).
14774 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14775
75bfc667
JL
147762011-08-07 Juri Linkov <juri@jurta.org>
14777
14778 * faces.el (list-faces-display): Remove extra angle bracket
14779 from `help-mode-map'.
14780
14781 * info.el (Info-history-toc-nodes): Doc fix.
14782
14783 * longlines.el (longlines-mode): Doc fix.
14784
673e08bb
SM
147852011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14786
4640dd88
SM
14787 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14788 of statements and in a few more cases (bug#9183).
14789
673e08bb
SM
14790 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14791 New functions.
14792 (cl-transform-lambda): Use them (bug#9239).
14793
89b3f019
MR
147942011-08-05 Martin Rudalics <rudalics@gmx.at>
14795
14796 * window.el (display-buffer-same-window)
14797 (display-buffer-same-frame, display-buffer-other-window)
14798 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14799 (pop-to-buffer-other-window)
14800 (pop-to-buffer-same-frame-other-window)
14801 (pop-to-buffer-other-frame): Make them defuns.
14802 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14803
640c8776
SM
148042011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * subr.el (make-composed-keymap): Move from C. Change calling
14807 convention, and improve docstring to bring attention to a subtle point.
14808 * minibuffer.el (completing-read-default): Adjust accordingly.
14809
63648a95
MA
148102011-08-03 Michael Albinus <michael.albinus@gmx.de>
14811
14812 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14813 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14814
14815 * net/trampver.el: Update release number.
14816
b796c9b7
SM
148172011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14818
14819 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14820 "in" (bug#9190).
14821
2239d7d5
LMI
148222011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14823
e07dd7c3
LMI
14824 * mail/sendmail.el (sendmail-query-once): Restore the current
14825 buffer after querying (bug#9074).
14826
0e6a2bd7
LMI
14827 * dired.el (dired-flagged): Use different faces for marked and
14828 flagged files (bug#6117).
14829
ce887515
LMI
14830 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14831 (bug#4433).
14832
92f2affc
LMI
14833 * ido.el (ido-mode): Switch off the message if called
14834 non-interactively.
14835
57d5aff0
LMI
14836 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14837 before 587, since it appears that that's more likely to work for
14838 more people.
14839
98cd6c18 14840 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14841 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14842 exist.
14843
b96dec83
LMI
14844 * info.el: Remove the `Info-beginning-of-buffer' function
14845 (bug#8325).
14846
b796c9b7
SM
14847 * net/network-stream.el (network-stream-open-starttls):
14848 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14849
d90e2ea0
MR
148502011-08-01 Martin Rudalics <rudalics@gmx.at>
14851
14852 * window.el (display-buffer-in-window): Don't set dedicated status
14853 of window here (Bug#9215).
14854 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14855 (display-buffer-pop-up-side-window)
b796c9b7 14856 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14857
cca09170
SM
148582011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14859
14860 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14861 before binding generated-autoload-file.
14862
027b979c
DD
148632011-08-01 Deniz Dogan <deniz@dogan.se>
14864
14865 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14866
3c7ee4f3
MA
148672011-07-30 Michael Albinus <michael.albinus@gmx.de>
14868
14869 Sync with Tramp 2.2.2.
14870
14871 * net/trampver.el: Update release number.
14872
2cc8e51a
JL
148732011-07-30 Juri Linkov <juri@jurta.org>
14874
14875 * dired-aux.el (dired-touch-initial): Remove function.
14876 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14877 current time, and `default' to the last modification time of the
14878 current marked file (bug#6887).
14879
a514d856
JM
148802011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14881
14882 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14883 numeric argument to read-number (bug#9163).
a514d856 14884
8a7eddd7
MA
148852011-07-27 Michael Albinus <michael.albinus@gmx.de>
14886
14887 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14888 connection process, it could be nil.
14889
1ddd96f5
LL
148902011-07-27 Leo Liu <sdl.web@gmail.com>
14891
14892 Simplify url handling in rcirc-mode.
14893
14894 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14895 (rcirc-browse-url-at-mouse): Remove.
14896 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14897
b248a85d
AM
148982011-07-26 Alan Mackenzie <acm@muc.de>
14899
14900 Fontify bitfield declarations properly.
14901
14902 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14903 (c-symbol-chars): Now exported as a lang variable.
14904 (c-not-primitive-type-keywords): New lang variable.
14905
14906 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14907 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14908 parsed as a bitfield declaration.
b248a85d 14909
b796c9b7
SM
14910 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14911 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14912 (c-punctuation-in): New function.
14913 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14914 declarations properly.
14915
68575ab0
UJ
149162011-07-26 Ulf Jasper <ulf.jasper@web.de>
14917
14918 * calendar/icalendar.el (icalendar--all-events): Take care of
14919 multiple vcalendars in a single file.
b796c9b7 14920 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14921
0f0a88b9
DD
149222011-07-25 Deniz Dogan <deniz@dogan.se>
14923
14924 * image.el (insert-image): Clarifying docstring.
14925
0b3f36df
MA
149262011-07-24 Michael Albinus <michael.albinus@gmx.de>
14927
14928 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14929 `tramp-send-command-and-check' if there is no error.
14930 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14931
a9901f61
AM
149322011-07-22 Alan Mackenzie <acm@muc.de>
14933
14934 Prevent cc-langs.elc being loaded at run time.
14935
14936 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14937 cc-langs.
14938
4d61f28d 14939 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14940 "(require 'cc-langs)". Quote a form so it will evaluate at
14941 (cc-mode's) compilation time.
14942
11d074b2
MA
149432011-07-22 Michael Albinus <michael.albinus@gmx.de>
14944
14945 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14946 loading. (Bug#9114)
14947
938b94c8
MR
149482011-07-21 Martin Rudalics <rudalics@gmx.at>
14949
14950 * window.el (display-buffer-pop-up-window)
14951 (display-buffer-pop-up-side-window)
14952 (display-buffer-in-side-window): Call display-buffer-set-height
14953 and display-buffer-set-width after setting the new window's
b796c9b7 14954 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14955
bfa4f190
SS
149562011-07-20 Sam Steingold <sds@gnu.org>
14957
14958 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14959 (etags-tags-included-tables): Call `convert-standard-filename' on
14960 the file names contained in TAGS so that windows Emacs can handle
14961 TAGS files created by cygwin ctags.
14962
8ca42262
LMI
149632011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14964
14965 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14966 which apparently didn't work.
14967
5db2afd2 149682011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14969
5db2afd2
RW
14970 * proced.el (proced-send-signal): For *Marked Processes* buffer
14971 put point at beginning of buffer.
14972
92e15d10
SB
149732011-07-19 Stephen Berman <stephen.berman@gmx.net>
14974
14975 * proced.el (proced-format): Make header lines align with the text
14976 (bug#1779).
14977
1bfd59e5
LMI
149782011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14979
14980 * view.el (view-buffer): Allow running in `special' modes if we're
14981 visiting a file (bug#8615).
14982
f5aae37c
MR
149832011-07-19 Martin Rudalics <rudalics@gmx.at>
14984
14985 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14986 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14987 New functions.
f5aae37c
MR
14988 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14989 more accurately.
14990
bf2c1571
AM
149912011-07-18 Alan Mackenzie <acm@muc.de>
14992
14993 Fontify declarators properly when, e.g., a jit-lock chunk begins
14994 inside a declaration.
14995
14996 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14997
b796c9b7
SM
14998 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14999 New function.
bf2c1571
AM
15000 (c-complex-decl-matchers): Insert reference to
15001 c-font-lock-enclosing-decls.
15002
15003 * progmodes/cc-engine.el (c-backward-single-comment):
15004 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15005 to nil around calls to (forward-comment -1).
15006
4e190b80
LMI
150072011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15008
12dc863d
LMI
15009 * image.el (put-image): Doc typo fix.
15010
a762e966
LMI
15011 * progmodes/etags.el (tags-search): Doc typo fix.
15012
4e190b80
LMI
15013 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15014 password if we get errors 550 to 554.
15015
f019fb21
LMI
150162011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15017
b796c9b7 15018 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15019
81746738
LMI
15020 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15021 indentation character (bug#6380).
15022
3ee3a1b5
LMI
15023 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15024
c82f64de
LMI
15025 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15026 to clarify what the problem is (bug#4291).
15027
f019fb21
LMI
15028 * simple.el (current-kill): Clarify what
15029 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15030 (auto-fill-mode): Document `auto-fill-function' in relation to
15031 `auto-fill-mode' (bug#2470).
f019fb21 15032
0794775d
LM
150332011-07-16 Lawrence Mitchell <wence@gmx.li>
15034
15035 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15036 method if slot is read-only (bug#9035).
15037
be39b8cc
MR
150382011-07-16 Martin Rudalics <rudalics@gmx.at>
15039
b796c9b7 15040 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15041 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15042 selected before, see discussion of (Bug#8615), (Bug#6954).
15043 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15044
6ccf7859
GM
150452011-07-15 Glenn Morris <rgm@gnu.org>
15046
15047 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15048 Respect help-form.
6ccf7859 15049
87e86684
LM
150502011-07-09 Lawrence Mitchell <wence@gmx.li>
15051
15052 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15053 (gnutls-negotiate): Use it.
15054
d6066239
LMI
150552011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15056
b796c9b7
SM
15057 * net/gnutls.el (gnutls-negotiate):
15058 Upcase `gnutls-algorithm-priority'.
d6066239 15059
bd23ebc0
GM
150602011-07-15 Glenn Morris <rgm@gnu.org>
15061
c65bca65
GM
15062 * jka-compr.el (jka-compr-verbose): Move from here...
15063 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15064 Add missing :version tag.
15065 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15066
478615cc
LMI
150672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15068
7b41decb
LMI
15069 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15070 (gnutls-negotiate): Use it.
15071
dbc44fcd
LMI
15072 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15073
06789f97
LMI
15074 * info.el (Info-beginning-of-buffer): New command.
15075 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15076 announcing `b' as the key (bug#8325).
ab896c37 15077 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15078
c39da690
LMI
15079 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15080
3aa5f34b
LMI
15081 * international/mule-cmds.el
15082 (describe-specified-language-support): Make the error message
15083 clearer (bug#8905).
15084
4bf0979f
LMI
15085 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15086
478615cc
LMI
15087 * isearch.el (isearch-barrier): Add a doc string, since it's
15088 mentioned in a function doc string (bug#8678).
15089
75c68aa1
MR
150902011-07-15 Martin Rudalics <rudalics@gmx.at>
15091
15092 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15093 buffer argument (Bug#9083) and self-identifying label argument.
15094
a7c33da2
GM
150952011-07-15 Glenn Morris <rgm@gnu.org>
15096
15097 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15098
2f5c6024
LMI
150992011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15100
15101 * man.el (Man-fontify-manpage): Fix message when formatting the
15102 man page (bug#7929).
15103
0bb23927 151042011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15105
15106 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15107 argument LRM; if non-nil, append an invisible LRM character to the
15108 buffer name.
15109 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15110 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15111 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15112 paragraph direction.
cce4b0a7 15113
621ef9ab
LMI
151142011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15115
d1583c48
LMI
15116 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15117 the man page name (bug#7929).
15118
6a57fb5f
LMI
15119 * image.el (put-image): Mention the `put-image' overlay property
15120 (bug#7834).
15121
d7956b14
LMI
15122 * scroll-bar.el (set-scroll-bar-mode): Mention that
15123 `scroll-bar-mode' lists the values (bug#7772).
15124
5b2d4a66
LMI
15125 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15126 command (bug#7729).
15127
7509a874
LMI
15128 * rect.el (apply-on-rectangle): Return the point after the last
15129 operation.
15130 (string-rectangle): Go to the point after the last operation
15131 (bug#7522).
15132
4fe74b19
LMI
15133 * printing.el (pr-toggle-region): Clarify the documentation
15134 slightly (bug#7493).
15135
b796c9b7
SM
15136 * time.el (display-time-update):
15137 Allow `display-time-mail-function' to return nil (bug#7158).
15138 Fix suggested by Detlev Zundel.
ab283561 15139
fc233c9d
LMI
15140 * vc/diff.el (diff): Clarify the order the file names are read
15141 (bug#7111).
15142
43f5740b
LMI
15143 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15144 the doc string (bug#7015).
15145
f2182a76
LMI
15146 * font-lock.el (font-lock-maximum-decoration): Mention what
15147 numeric levels mean (bug#6935).
15148
621ef9ab
LMI
15149 * startup.el (initial-buffer-choice): Don't mention the `none'
15150 selection, which is against policy.
15151
adc47434
MR
151522011-07-14 Martin Rudalics <rudalics@gmx.at>
15153
b796c9b7
SM
15154 * window.el (display-buffer-normalize-special):
15155 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15156
7e5bfb8f
EZ
151572011-07-14 Eli Zaretskii <eliz@gnu.org>
15158
15159 * subr.el (version<, version<=, version=): Mention "-CVS" and
15160 "-12345" alpha version numbers.
15161
27fa387a
CY
151622011-07-14 Chong Yidong <cyd@stupidchicken.com>
15163
15164 * bindings.el: Add advertised binding for set-mark-command
15165 (Bug#5772).
15166
8bdfa064
CY
151672011-07-14 Chong Yidong <cyd@stupidchicken.com>
15168
15169 * bindings.el (mode-line-other-buffer):
15170 * bookmark.el (bookmark-bmenu-2-window):
15171 * bs.el (bs-cycle-next, bs-cycle-previous):
15172 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15173 switch-to-buffer.
15174
15175 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15176 Delete.
8bdfa064 15177
5eba16a3
JB
151782011-07-14 Juanma Barranquero <lekktu@gmail.com>
15179
15180 * follow.el (follow-debug-message, follow-redisplay):
15181 * jka-cmpr-hook.el (with-auto-compression-mode):
15182 Fix typos in docstrings.
15183
15853710
LMI
151842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15185
a28e4607
LMI
15186 * subr.el (with-silent-modifications): Clarify somewhat what the
15187 macro inhibits (bug#6525).
15188
15853710
LMI
15189 * simple.el (eval-expression): Note what it does if called
15190 interactively (bug#6495).
15191
bee0fcef
CY
151922011-07-13 Chong Yidong <cyd@stupidchicken.com>
15193
b796c9b7
SM
15194 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15195 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15196
15197 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15198 Remove switch-to-buffer.
15199
58274504
LMI
152002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15201
bd2fcc8d
LMI
15202 * files.el (make-directory): Clarify that an error will be raised
15203 if there's an error (bug#6397).
15204
0f04b32c
LMI
15205 * startup.el (initial-buffer-choice): Add `none' as a choice
15206 (bug#6234).
15207
465c5fc8
LMI
15208 * subr.el (add-hook): Clarify section about buffer-local hooks
15209 (bug#6218).
15210
58274504
LMI
15211 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15212
bead9a43
JB
152132011-07-13 Juanma Barranquero <lekktu@gmail.com>
15214
15215 * tabify.el (untabify): Preserve the current column so that point
15216 doesn't move (bug#6032).
15217
3af98a7b
LMI
152182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15219
b796c9b7
SM
15220 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15221 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15222
6240145a
GM
152232011-07-13 Glenn Morris <rgm@gnu.org>
15224
15225 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15226 (dired-insert-directory): Give a message the first time
15227 if ls is found not to support --dired.
15228
1d8c2ccc
LMI
152292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15230
15231 * simple.el (toggle-truncate-lines): Clarify what is toggled
15232 (bug#5580). Text by Drew Adams.
15233
5fc4038e
CY
152342011-07-13 Chong Yidong <cyd@stupidchicken.com>
15235
15236 * simple.el (blink-matching-open): Make the error message from the
15237 last change less verbose.
15238
bf6012e5
DN
152392011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15240
15241 * font-lock.el (font-lock-comment-face): Use the high contrast
15242 "yellow" color for font-lock-comment-face on low color terminals
15243 using a dark background color (bug#4221).
15244
343c3b5a
LMI
152452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15246
7e9505c5
LMI
15247 * dired.el (dired-insert-set-properties): Make the doc string
15248 reflect what it does now (bug#5325).
15249
c26fdcf5
LMI
15250 * simple.el (blink-matching-open): Say that we were unable to find
15251 the match within the limit, if we're limited (bug#5122).
15252
bb388cc5
LMI
15253 * international/mule-cmds.el (prefer-coding-system): Add an
15254 example (bug#4869).
15255
343c3b5a
LMI
15256 * progmodes/etags.el (tags-search): Document `file-list-form'
15257 (bug#4731).
15258
2a517d45
LM
152592011-07-13 Lawrence Mitchell <wence@gmx.li>
15260
15261 * net/browse-url.el (browse-url-default-browser)
15262 (browse-url-browser-function): Make the default browser choice a
15263 bit more logical (bug#4300). Also clean up the doc string.
15264
b6c78ef2
JB
152652011-07-13 Juanma Barranquero <lekktu@gmail.com>
15266
15267 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15268 binary endings (bug#4440).
15269
1c4dd947
LMI
152702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15271
a2014063
LMI
15272 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15273 which can be pretty annoying (bug#8971).
15274
9c9c2d88
LMI
15275 * jka-compr.el (jka-compr-verbose): New variable, and use
15276 throughout (bug#8971).
15277
1c4dd947
LMI
15278 * info.el (Info-find-file): Fall back on the installation
15279 directory if we can't find the info node anywhere else.
15280
a1c9f41b
SO
152812011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15282
15283 * vc/vc.el (vc-revert-file):
15284 Don't set file time-stamp in the past. (Bug#5181)
15285
536f3d36
LMI
152862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15287
7152b011
LMI
15288 * files.el (after-find-file): Give a better error message when
15289 trying to find a symlink that points to a file that doesn't exist
15290 (bug#4398).
15291
536f3d36
LMI
15292 * progmodes/cc-vars.el: Remove (probably) misleading comment
15293 (bug#4396).
15294
460c0fba
JB
152952011-07-12 Johan Bockgård <bojohan@gnu.org>
15296
15297 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15298
7a6bda45
CY
152992011-07-12 Chong Yidong <cyd@stupidchicken.com>
15300
15301 * mouse-sel.el: Hack restoring functionality, while keeping
15302 compatibility with 2010-07-03 changes to mouse selection.
15303 (mouse-sel-primary-overlay): New var.
15304 (mouse-sel-selection-alist): Use it.
15305 (mouse-sel-mode): Doc fix; remove points that are default features
15306 of mouse.el.
15307
c79598ef
JB
153082011-07-12 Johan Bockgård <bojohan@gnu.org>
15309
15310 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15311 Fix previous fix (bug#2490).
15312
ff8be6ef
RW
153132011-07-12 Roland Winkler <winkler@gnu.org>
15314
b796c9b7
SM
15315 * textmodes/bibtex.el (bibtex-initialize):
15316 Use pop-to-buffer-same-window.
ff8be6ef
RW
15317 (bibtex-search-entries): Fix interactive call.
15318
296ba3ee
LMI
153192011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15320
f5242a02 15321 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15322 Fontise bytecomp Error lines more correctly (bug#2490).
15323 Fix suggested by Johan Bockgård.
f5242a02 15324
296ba3ee
LMI
15325 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15326
15327 * dired-x.el (dired-guess-default): Use `delete-dups'.
15328
f69fd0d2
CY
153292011-07-12 Chong Yidong <cyd@stupidchicken.com>
15330
15331 * dired.el (dired-mark-prompt):
15332 * dired-aux.el (dired-read-shell-command): Doc fix.
15333
eab5dc07
LMI
153342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15335
b796c9b7
SM
15336 * mail/sendmail.el (sendmail-query-once):
15337 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15338 emacs -Q.
15339
15340 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15341
eab5dc07
LMI
15342 * cus-edit.el (custom-file): Take an optional no-error variable.
15343 (customize-save-variable): Set the variable, and give a warning if
15344 running under "emacs -q".
15345
a1e65d42
JB
153462011-07-11 Juanma Barranquero <lekktu@gmail.com>
15347
15348 * loadhist.el (unload-feature-special-hooks):
15349 Add `auto-coding-functions', `fill-nobreak-predicate' and
15350 `find-directory-functions' (bug#5327).
15351
1d52da10
LMI
153522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15353
be958f1d
LMI
15354 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15355
5bedb26c
LMI
15356 * cus-edit.el (custom-guess-name-alist): -alist variables should
15357 use the `alist' type (bug#3120). Suggested by Drew Adams.
15358
1d52da10
LMI
15359 * printing.el: Add documentation to all the `pr-toggle-' commands.
15360
cd394be1 153612011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15362
15363 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15364 backends where it makes sense (bug#2623).
15365
dcc88d8a
LMI
153662011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15367
c3de9feb
LMI
15368 * dired-x.el (dired-guess-default): Remove duplicate shell command
15369 entries (bug#2028).
8a93078b 15370 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15371 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15372
dcc88d8a
LMI
15373 * subr.el (remove-duplicates): New conveniency function.
15374
505e3645
LMI
153752011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15376
15377 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15378 (bug#1526).
15379
153802011-07-10 Martin Rudalics <rudalics@gmx.at>
15381
15382 * window.el (display-buffer-normalize-default): Don't invert
15383 meaning of even-window-heights. Reported by Eli Zaretskii
15384 <eliz@gnu.org>.
15385
455e4fa1
BR
153862011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15387
15388 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15389
8e0bc3e9
CY
153902011-07-10 Chong Yidong <cyd@stupidchicken.com>
15391
15392 * window.el (display-buffer): Fix arguments to
15393 display-buffer-reuse-window in last change.
15394
fa7c3228
CY
15395 * faces.el (link): Use a less saturated blue on light backgrounds.
15396
15397 * startup.el (fancy-startup-text, fancy-about-text)
15398 (fancy-startup-tail): Use font-lock faces, for background safety.
15399
c0a7f300
BN
154002011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15401
b796c9b7
SM
15402 * emulation/viper-cmd.el (viper-change-state-to-vi):
15403 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15404
4dc2a129
MR
154052011-07-09 Martin Rudalics <rudalics@gmx.at>
15406
15407 * window.el (display-buffer-default-specifiers): Remove.
15408 (display-buffer-macro-specifiers): Remove default specifiers.
15409 (display-buffer-alist): Default to nil.
b796c9b7 15410 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15411 (display-buffer-pop-up-window): Allow splitting internal
15412 windows. Check whether a live window was created.
15413 (display-buffer-other-window-means-other-frame)
15414 (display-buffer-normalize-arguments): Rename to
15415 display-buffer-normalize-argument and rewrite. Set the
15416 other-window specifier.
15417 (display-buffer-normalize-special): New function.
15418 (display-buffer-normalize-options): Rename to
15419 display-buffer-normalize-default and rewrite.
15420 (display-buffer-normalize-options-inhibit): Remove.
15421 (display-buffer-normalize-specifiers): Rewrite.
15422 (display-buffer): Process other-window specifier and call
15423 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15424 more faithfully.
b796c9b7 15425 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15426 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15427 (display-buffer-in-window, display-buffer-alist-set):
15428 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15429 <tassilo@member.fsf.org>.
15430
2d43b8c9
LL
154312011-07-09 Leo Liu <sdl.web@gmail.com>
15432
15433 * register.el (insert-register): Restore accidental change on
15434 2011-06-26. (Bug#9028)
15435
7f9b7c53
GM
154362011-07-09 Glenn Morris <rgm@gnu.org>
15437
15438 * subr.el (remq): Handle the empty list. (Bug#9024)
15439
f042cfd8
AS
154402011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15441
15442 * mail/sendmail.el (send-mail-function): No longer delay custom
15443 initialization.
15444 * custom.el (custom-initialize-delay): Doc fix.
15445
856b2f11
SM
154462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15447
15448 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15449
afae1d68
MA
154502011-07-08 Michael Albinus <michael.albinus@gmx.de>
15451
15452 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15453 human-friendly prompt.
15454
0757af94
SM
154552011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15456
15457 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15458 provided by a particular plugin.
15459
d760b731
LMI
154602011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15461
15462 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15463 save customizations (with "emacs -Q"), just set the variable
15464 instead of erroring out.
15465
15466 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15467
cd79ce90
JL
154682011-07-08 Juri Linkov <juri@jurta.org>
15469
15470 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15471 (archive-zip-update-case): Use 7z if found by `executable-find'.
15472 The order of searching the available programs is the same as in
15473 `archive-zip-extract' (bug#8968).
15474
14cc04aa
CY
154752011-07-07 Chong Yidong <cyd@stupidchicken.com>
15476
15477 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15478 (menu-bar-options-menu): Tweak descriptions.
15479
0a1848ec
LMI
154802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15481
15482 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15483 menu items into verb phrases (bug#1421). Also refill to fit under
15484 80 columns.
15485
f5bd0689
CY
154862011-07-07 Chong Yidong <cyd@stupidchicken.com>
15487
538e85c6
CY
15488 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15489 (Info-read-node-name): Doc fix (Bug#1084).
15490
f5bd0689
CY
15491 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15492 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15493 (end-of-sexp, beginning-of-sexp)
15494 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15495 (forward-symbol, forward-same-syntax, word-at-point)
15496 (sentence-at-point): Doc fix (Bug#1144).
15497
56ec5115
LMI
154982011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15499
f3f8e37f
LMI
15500 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15501 should cover it (bug#1281).
15502
0757af94 15503 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15504
e9fce1ac 15505 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15506 negotiation fails, then possibly try again with a non-encrypted
15507 connection (bug#9017).
15508
56ec5115
LMI
15509 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15510 be used.
15511
c2f9aec8
RS
155122011-07-07 Richard Stallman <rms@gnu.org>
15513
15514 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15515 property, and handle its changed format.
15516 Look for the correct line number.
15517 Use file's line contents (but not past first =) to find
15518 correct line in message.
15519
ef7b981d 155202011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15521
15522 * international/characters.el (build-unicode-category-table):
15523 Delete it.
0757af94 15524 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15525
0757af94 15526 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15527 to src/chartab.c.
15528 (get-char-code-property): Call unicode-property-table-internal to
15529 load a file. Call get-unicode-property-internal where necessary.
15530 (put-char-code-property): Call unicode-property-table-internal to
15531 load a file. Call put-unicode-property-internal where necessary.
15532 put-unicode-property-internal where necessary.
0757af94
SM
15533 (char-code-property-description):
15534 Call unicode-property-table-internal to load a file.
c805dec0
KH
15535
15536 * international/charprop.el:
15537 * international/uni-bidi.el:
15538 * international/uni-category.el:
15539 * international/uni-combining.el:
15540 * international/uni-comment.el:
15541 * international/uni-decimal.el:
15542 * international/uni-decomposition.el:
15543 * international/uni-digit.el:
15544 * international/uni-lowercase.el:
15545 * international/uni-mirrored.el:
15546 * international/uni-name.el:
15547 * international/uni-numeric.el:
15548 * international/uni-old-name.el:
15549 * international/uni-titlecase.el:
15550 * international/uni-uppercase.el: Regenerate.
15551
15552 * loadup.el: Load international/charprop.el before
15553 international/characters.
15554
e14b388a
CY
155552011-07-07 Chong Yidong <cyd@stupidchicken.com>
15556
15557 * window.el (next-buffer, previous-buffer): Signal an error if
15558 called from a minibuffer window.
15559
15560 * bindings.el: Revert 2011-07-04 change.
15561
354cf0ba
RS
155622011-07-06 Richard Stallman <rms@gnu.org>
15563
15564 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15565 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15566 Treat markers like ints.
15567 (rmail-mime-entity): Doc fix.
15568
a48868a7
LMI
155692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15570
4906cd3d
LMI
15571 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15572 defcustom again for backwards compatibility.
15573
e0457abe
LMI
15574 * simple.el (shell-command-on-region): Fill.
15575
d67f7e1f
LMI
15576 * dired-aux.el (dired-kill-line): Add a doc string.
15577
fe204702
LMI
15578 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15579 to "\\sw\\|\\s_" (bug#358).
15580
a48868a7
LMI
15581 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15582 (dired-unmark-backward): Ditto.
15583 (dired-flag-backup-files): Ditto.
15584
15585 * dired-x.el (dired-mark-sexp): Ditto.
15586
aa8a705c
RS
155872011-07-06 Richard Stallman <rms@gnu.org>
15588
15589 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15590 (rmail-mime-entity): New arg TRUNCATED.
15591 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15592 New functions.
15593 (rmail-mime-save): Warn if entity is truncated.
15594 (rmail-mime-toggle-hidden): Likewise, for showing.
15595 (rmail-mime-process-multipart): Record when an entity is truncated.
15596
a9a936b9
RS
15597 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15598 if ENTITY is a string.
15599
1f2b92cb
LMI
156002011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15601
f4f73198 15602 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15603 of faces when `M-C-x'-ing their definitions (bug#8378).
15604 Also clean up the code slightly.
f4f73198 15605
12b16734 15606 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15607 because that makes the colors go away.
12b16734 15608
f0691d22
LMI
15609 * mail/sendmail.el (send-mail-function): Change the default to
15610 `sendmail-query-once'.
9e87df06 15611 (sendmail-query-once): Add an autoload cookie.
f0691d22 15612
1f2b92cb
LMI
15613 * net/network-stream.el (network-stream-open-starttls): Try using
15614 a plain connection even if the server offered STARTTLS, and we
15615 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15616 capability. This should make smtpmail.el work in slightly more
15617 configurations.
15618
1cdd2a1b
MA
156192011-07-06 Michael Albinus <michael.albinus@gmx.de>
15620
15621 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15622 New defun.
15623 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15624
fbcc67e2
MM
156252011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15626
15627 * progmodes/sql.el: Version 3.0
0757af94 15628 (sql-product-alist): Add product :completion-object,
fbcc67e2 15629 :completion-column, and :statement attributes.
0757af94 15630 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15631 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15632 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15633 ansi keywords.
15634 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15635 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15636 (sql-oracle-show-reserved-words): New function for development.
15637 (sql-product-font-lock): Simplify for source code buffers.
15638 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15639 New functions.
15640 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15641 (sql-mode-map): Add statement movement functions.
15642 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15643 New variable.
fbcc67e2
MM
15644 (sql-statement-regexp, sql-beginning-of-statement)
15645 (sql-end-of-statement, sql-signum): New functions.
0757af94 15646 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15647 (sql-show-sqli-buffer): Bug fix.
15648 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15649 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15650 with sql-interactive-mode.
15651 (sql-save-connection): Save buffer local settings.
0757af94 15652 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15653 (sql-product-interactive): Bug fix.
15654 (sql-preoutput-hold): New variable.
15655 (sql-interactive-remove-continuation-prompt): Bug fixes.
15656 (sql-debug-redirect): New variable.
15657 (sql-str-literal): New function.
15658 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15659 Redesign.
fbcc67e2
MM
15660 (sql-oracle-save-settings, sql-oracle-restore-settings)
15661 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15662 (sql-completion-object, sql-completion-column)
15663 (sql-completion-sqlbuf): New variables.
15664 (sql-build-completions-1, sql-build-completions)
15665 (sql-try-completion): New functions.
15666 (sql-read-table-name): Use them.
15667 (sql-contains-names): New buffer local variable.
15668 (sql-list-all, sql-list-table): Use it.
15669 (sql-oracle-completion-types): New variable.
15670 (sql-oracle-completion-object, sql-sqlite-completion-object)
15671 (sql-postgres-completion-object): New functions.
15672
d4eaeab1
GM
156732011-07-06 Glenn Morris <rgm@gnu.org>
15674
15675 * window.el (pop-to-buffer): Doc fix.
15676
322b7dab 156772011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15678
15679 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15680
322b7dab 156812011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15682
322b7dab 15683 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15684
322b7dab 15685 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15686
605dd5bf
CY
156872011-07-05 Chong Yidong <cyd@stupidchicken.com>
15688
15689 * button.el (button): Inherit from link face. Suggested by Dan
15690 Nicolaescu.
15691
7dbfa719
SM
156922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15693
3db614b0
SM
15694 * progmodes/gdb-mi.el: Fit in 80 columns.
15695 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15696 switch-to-buffer.
15697
7dbfa719
SM
15698 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15699 if imenu is simply not configured (bug#8941).
15700
919d884a
KM
157012011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15702
15703 * allout.el (allout-post-undo-hook): New allout outline-change
15704 event hook to signal undo activity.
15705 (allout-post-command-business): Run allout-post-undo-hook if an
15706 undo just occurred.
7dbfa719
SM
15707 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15708 * allout-widgets.el (allout-widgets-after-undo-function):
15709 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15710 in the vicinity of an undo.
15711 (allout-widgets-mode): Include allout-widgets-after-undo-function
15712 on the new allout-post-undo-hook.
15713
450a0f09
SM
157142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15715
15716 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15717 Let define-derived-mode define it.
15718 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15719 cycles of abbrev-table inheritance (bug#8998).
15720
2de69e00
RW
157212011-07-05 Roland Winkler <winkler@gnu.org>
15722
15723 * textmodes/bibtex.el: Add support for biblatex.
15724 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15725 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15726 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15727 (bibtex-entry-alist, bibtex-field-alist): New variables.
15728 (bibtex-entry-field-alist): Obsolete alias for
15729 bibtex-BibTeX-entry-alist.
15730 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15731 (bibtex-set-dialect): New command.
15732 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15733 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15734 Bind via bibtex-set-dialect.
2de69e00
RW
15735 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15736 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15737 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15738 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15739 Define via bibtex-set-dialect.
450a0f09
SM
15740 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15741 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15742 (bibtex-vec-push, bibtex-vec-incr): New functions.
15743 (bibtex-format-entry, bibtex-field-list)
15744 (bibtex-print-help-message, bibtex-validate)
15745 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15746
2dcdbdd9
SM
157472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15748
15749 * progmodes/compile.el (compilation-goto-locus):
15750 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15751 * bs.el (bs-cycle-next, bs-cycle-previous):
15752 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15753 * bindings.el (mode-line-other-buffer):
15754 * autoinsert.el (auto-insert):
15755 * arc-mode.el (archive-extract):
15756 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15757
b27640fe
JB
157582011-07-05 Juanma Barranquero <lekktu@gmail.com>
15759
15760 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15761 Fix check of `emacs-lock-unlockable-modes'.
15762 Coerce true values of `emacs-lock--try-unlocking' to t.
15763
53bbe3ad
JB
157642011-07-05 Juanma Barranquero <lekktu@gmail.com>
15765
15766 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15767 * emacs-lock.el: New file.
15768
1d3cdbc7
JD
157692011-07-05 Julien Danjou <julien@danjou.info>
15770
15771 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15772 than `boundp' to check if face is set.
15773
9173deec
JB
157742011-07-05 Juanma Barranquero <lekktu@gmail.com>
15775
15776 * register.el (registerv-make):
15777 * window.el (window-min-height): Fix typos in docstrings.
15778
869795d6
JD
157792011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15780
9173deec 15781 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15782 Update doc string.
15783
b768cdcd
JB
157842011-07-04 Juanma Barranquero <lekktu@gmail.com>
15785
15786 * server.el (server-execute): Catch quit and call
15787 `server-return-error' to pass the error back to emacsclient and
15788 close the connection (bug#8942).
15789
13aa217b
KM
157902011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15791
15792 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15793 insecure exception for current topic. Also note that auto-saves
15794 are handled differently.
15795
5d3385a0 15796 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15797 State variables for tracking auto-save inhibition situation.
15798
15799 (allout-write-contents-hook-handler): Rename from
15800 'allout-write-file-hook-handler', and describe how it depends on
15801 write-contents-functions sensitivity to non-nil value to prevent
15802 file write.
15803
15804 (allout-auto-save-hook-handler): Remove. auto-save does not check
15805 this in individual buffers, only in the starting buffer, so this
15806 is not the right way for us to inhibit auto-save in a buffer
15807 according to its condition.
15808
15809 (allout-mode): Use new allout-write-contents-hook-handler, and
15810 only with write-contents-functions. Remove auto-save provisions -
15811 they're implemented elsewhere.
15812
15813 (allout-before-change-handler): If undo is in progress, note that
15814 for attention of allout-post-command-business.
15815
15816 (allout-post-command-business): If the command we're following was
15817 an undo, check for change in the status of encrypted items and
15818 adjust auto-save inhibitions accordingly.
15819
15820 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15821 according to whether there are or aren't any plain-text topics
15822 pending encryption.
15823
2dcdbdd9 15824 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15825 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15826 if there are plain-text topics pending encryption.
13aa217b
KM
15827
15828 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15829 buffer-saved-size and some allout state to not inhibit auto-saves
15830 if there are no longer any plain-text topics pending encryption.
15831
0757af94
SM
15832 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15833 No longer provide for exemption of the current topic.
13aa217b 15834
ac89b32c
JL
158352011-07-04 Juri Linkov <juri@jurta.org>
15836
15837 Add 7z operations to delete and save changed members (bug#8968).
15838 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15839 New defcustoms.
15840 (archive-7z-write-file-member): New function.
15841 (archive-7z-summarize): Fix the number of dashes in the
15842 listing output.
15843
8fa39615
SM
158442011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15845
15846 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15847 (bug#8958).
15848
2f11b3f1
CY
158492011-07-04 Chong Yidong <cyd@stupidchicken.com>
15850
d66fef2b
CY
15851 * bindings.el: Ignore next-buffer and previous-buffer in
15852 minibuffer-local-map.
15853
2f11b3f1
CY
15854 * font-lock.el (font-lock-builtin-face): Change light background
15855 color to dark slate blue (Bug#6693).
15856
f932a347
WD
158572011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15858
15859 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15860
c8af70e1
SM
158612011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15862
15863 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15864 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15865 Add switch-to-buffer.
15866
f158badc
LMI
158672011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15868
15869 * isearch.el (isearch-search-fun-function): Clarify further the
15870 meaning of the function returned.
15871
6d95bd46
MA
158722011-07-04 Michael Albinus <michael.albinus@gmx.de>
15873
15874 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15875
15876 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15877 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15878 Use it.
15879 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15880 `tramp-default-remote-path' does not exist.
15881 (tramp-send-command-and-read): New optional argument NOERROR.
15882 (tramp-open-connection-setup-interactive-shell)
15883 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15884 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15885 (tramp-process-sentinel): Flush also process' connection property.
15886 (tramp-sh-handle-start-file-process): Do not set process
15887 sentinel. It is done now ...
15888 (tramp-maybe-open-connection): ... here. (Bug#8929)
15889
909e6b67
MK
158902011-07-04 MON KEY <monkey@sandpframing.com>
15891
15892 * play/animate.el (animate-string): Doc fixes and allow changing
15893 the buffer name (bug#5417).
15894
158952011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15896
c8af70e1 15897 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15898
f34755dc
PE
158992011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15900
396cec72
PE
15901 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15902 This is simpler and helps future-proof the code.
15903 (timer-until): Use time-subtract and float-time.
08235028 15904 (timer--time-less-p): Use time-less-p.
f34755dc 15905
56e6cc31
JB
159062011-07-04 Juanma Barranquero <lekktu@gmail.com>
15907
3abb79e5
JB
15908 * type-break.el (timep): Use the value of `float-time' to avoid a
15909 byte-compiler warning.
15910
56e6cc31
JB
15911 * server.el (server-eval-and-print): Return any result, even nil.
15912
7b9430b4
PE
159132011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15914
15915 * type-break.el: Accept time formats that the builtins accept.
15916 (timep, type-break-time-difference): Accept any format that
15917 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15918 This is simpler and helps future-proof the code.
15919 (type-break-time-difference): Round rather than ignoring
15920 subseconds components.
15921
3034e9e7
LMI
159222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923
15924 * info.el (Info-apropos-matches): Make non-interactive, since it
15925 doesn't seem to do anything useful as a command (bug#8829).
15926
1485f4c0
CY
159272011-07-03 Chong Yidong <cyd@stupidchicken.com>
15928
15929 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15930 Move from faces.el.
1485f4c0
CY
15931 (frame-default-terminal-background): New function.
15932
15933 * custom.el (custom-push-theme): Don't record faces in `changed'
15934 theme; this doesn't work correctly for per-frame face settings.
15935 (disable-theme): Use face-set-after-frame-default to reset faces.
15936 (custom--frame-color-default): New function.
15937
9fa3dd45
LMI
159382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15939
c8af70e1 15940 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15941 (bug#8769).
15942
6cbbc20c
KR
159432011-03-29 Kevin Ryde <user42@zip.com.au>
15944
15945 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15946 `perl-Test2' extend to match possible "fail #N" rep count
15947 (bug#8377).
15948
c7f98048
LMI
159492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15950
65676592
LMI
15951 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15952 `smtpmail-via-smtp' now returns the error instead of nil.
15953
c7f98048
LMI
15954 * isearch.el (isearch-search-fun-function): Clarify the doc string
15955 (bug#8101).
15956
56e6cc31 159572011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15958
15959 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15960 unnecessary spaces (bug#8987).
15961
2b216704
LMI
159622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15963
15964 * net/network-stream.el (open-network-stream): Use the
15965 :end-of-capability command thoughout.
15966
159672011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15968
15969 * net/network-stream.el (open-network-stream): Add the
15970 :end-of-capability command parameter, used by pop3.el.
15971
36adf6ce
LMI
159722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15973
1ca0da0e
LMI
15974 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15975
fc00f69c
LMI
15976 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15977 for list)" (bug#6475).
15978
28fd8759 15979 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15980 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15981 an error (bug#6297).
15982
0dd8b6da
LMI
15983 * man.el (Man-reference-regexp): Allow matching possible
15984 word-wrapped references (bug#6289).
15985
ce1438d6
LMI
15986 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15987 for consistency with the other vc buffers (bug#6197).
15988 (vc-checkin): Ditto.
15989
15990 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15991
36adf6ce
LMI
15992 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15993
e83cc1f7
LMI
159942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15995
8a20ca4c
LMI
15996 * custom.el (defcustom): Clarify that :set is only used in the
15997 Customize user interface (bug#6089).
15998
83319045
LMI
15999 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16000 associated with a file, refuse to run instead of erroring out
16001 (bug#6084).
16002
a8392169
LMI
16003 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16004 the doc string, since it appears that using `fill-column' always
16005 controls the width (bug#7845).
16006
e83cc1f7
LMI
16007 * simple.el (shell-command-on-region): Say where the error output
16008 went if `shell-command-default-error-buffer' is set (bug#6857).
16009
e47ca23b
KM
160102011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16011
16012 * allout.el (allout-yank-processing): Adjust cursor position for
16013 backwards-deleted space.
16014
16015 (allout-rebullet-heading): Register changes with
16016 allout-exposure-changed-hook, so the modified topic is properly
16017 decorated.
16018
5cf56143
LMI
160192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16020
08549772
LMI
16021 * minibuffer.el (completion-in-region): Document PREDICATE
16022 (bug#7136).
16023
48e96771
LMI
16024 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16025 of keyword/argument pairs (bug#6904).
16026
c8af70e1
SM
16027 * replace.el (multi-occur):
16028 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16029
e17d05e2
LMI
160302011-07-02 Drew Adams <drew.adams@oracle.com>
16031
16032 * dired.el (dired-mark-if): Make the message about whether it's
16033 marking or unmarking clearer (bug#8523).
16034
063b0e45
LMI
160352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16036
16037 * disp-table.el (display-table-print-array): New function.
16038 (describe-display-table): Use it to print the vectors more pretty
16039 (Bug#8859).
16040
28545e04
MR
160412011-07-02 Martin Rudalics <rudalics@gmx.at>
16042
16043 * window.el (window-state-get-1): Don't assign clone numbers.
16044 Add clone-of item to list of window parameters.
16045 (window-state-put-2): Don't process clone numbers.
16046 (display-buffer-alist): Fix doc-string.
16047
3349e122
SM
160482011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16049
16050 * subr.el (remq): Don't allocate if it's not needed.
16051 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16052 (keymap--merge-bindings): New functions.
16053 (keymap-canonicalize): Use them to refine the canonicalization.
16054 * minibuffer.el (minibuffer-local-completion-map)
16055 (minibuffer-local-must-match-map): Move initialization from C.
16056 (minibuffer-local-filename-completion-map): Move initialization from C;
16057 don't inherit from anything here.
16058 (minibuffer-local-filename-must-match-map): Make obsolete.
16059 (completing-read-default): Use make-composed-keymap to combine
16060 minibuffer-local-filename-completion-map with either
16061 minibuffer-local-must-match-map or
16062 minibuffer-local-filename-completion-map.
16063
d224ac83
GM
160642011-07-01 Glenn Morris <rgm@gnu.org>
16065
3de63bf8
GM
16066 * type-break.el (type-break-time-sum): Use dolist.
16067
d224ac83
GM
16068 * textmodes/flyspell.el (flyspell-word-search-backward):
16069 Replace CL function.
16070
1a1e3f32
SM
160712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16072
fe3f64d5
SM
16073 * mouse.el (mouse--strip-first-event): New function.
16074 (function-key-map): Use it to map fringe clicks to normal clicks
16075 by default.
16076
eb604e34
SM
16077 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16078 (vc-bzr-revision-completion-table): Add support for annotate and date.
16079
1a1e3f32
SM
16080 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16081 inherit from parent.
16082
5bd35902
LMI
160832011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16084
ace6c69c 16085 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16086 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16087
191e2bed
LMI
16088 * dired.el (dired-mode): Fix up the doc string as suggested by
16089 Drew Adams (bug#8817).
16090
5bd35902
LMI
16091 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16092 cookie, since the manual says that it should be possible to add
16093 this function to `find-file-hook' (bug#8709).
16094
eee8207a
TZ
160952011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16096
16097 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16098 here. Noted Ted Zlatanov as the maintainer.
16099 (cfengine-common-settings, cfengine-common-syntax): New functions
16100 to set up common things between `cfengine-mode' and
16101 `cfengine3-mode'.
16102 (cfengine3-mode): New mode.
16103 (cfengine3-defuns cfengine3-defuns-regex
16104 (cfengine3-class-selector-regex cfengine3-category-regex)
16105 (cfengine3-vartypes cfengine3-font-lock-keywords)
16106 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16107 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16108
36b148cf
MA
161092011-07-01 Michael Albinus <michael.albinus@gmx.de>
16110
16111 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16112
16113 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16114
0bf4ba9a
MR
161152011-07-01 Martin Rudalics <rudalics@gmx.at>
16116
16117 * window.el (same-window-buffer-names, same-window-regexps)
16118 (same-window-p, special-display-frame-alist)
16119 (special-display-popup-frame, special-display-function)
16120 (special-display-buffer-names, special-display-regexps)
16121 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16122 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16123 (split-window-preferred-function, split-height-threshold)
16124 (split-width-threshold, even-window-heights)
16125 (display-buffer-mark-dedicated, window-splittable-p)
16126 (split-window-sensibly, window-safely-shrinkable-p):
16127 Un-obsolete.
16128 (display-buffer): Don't spread args with function specifier
16129 because special-display-popup-frame won't like it.
16130
35837f51
PE
161312011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16132
d0672f86
PE
16133 Time-stamp simplifications and fixes.
16134 These improve accuracy slightly, and future-proof the code
16135 against some potential changes to current-time format.
16136
b9444d97
PE
16137 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16138 by using time-since and float-time.
16139
0ef923dc
PE
16140 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16141 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16142 + NNN microseconds".
16143
2f81380d
PE
16144 * type-break.el (type-break-time-sum): Rewrite using time-add.
16145
845b5c3e
PE
16146 * play/hanoi.el (hanoi-current-time-float): Remove.
16147 All uses replaced by float-time.
16148
ee6f1be0
PE
16149 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16150 This yields a more-accurate answer.
16151 (rng-time-to-float): Remove; no longer needed.
16152
fe955043
PE
16153 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16154
5777162a
PE
16155 * calendar/timeclock.el (timeclock-seconds-to-time):
16156 Defalias to seconds-to-time, since they're the same thing.
16157
3103f8b6 16158 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16159 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16160 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16161
0e61a35f
SM
161622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16163
16164 * window.el (bury-buffer): Don't iconify the only frame.
16165 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16166 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16167
ddd63a1e
CY
161682011-07-01 Chong Yidong <cyd@stupidchicken.com>
16169
0e61a35f
SM
16170 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16171 Add mouse-yank-primary.
ddd63a1e 16172
055f4923
TZ
161732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16174
16175 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16176
6a2fb145
SM
161772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16178
16179 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16180 (find-library-name): Use it to find relative load names when provided
16181 absolute file name (bug#8803).
16182
fd4983f2
LMI
161832011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16184
887d14ad
LMI
16185 * textmodes/flyspell.el (flyspell-word): Consider words that
16186 differ only in case as potential doublons (bug#5687).
16187
c53dc7fc
LMI
16188 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16189 Remove two rather uninteresting debugging-like messages to make
16190 debbugs.el more silent.
16191
fd4983f2
LMI
16192 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16193 a password-like phrase.
16194
7a71b18d 161952011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16196
16197 * progmodes/cc-guess.el: New file.
16198
6a2fb145 16199 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16200
16201 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16202 derived from `c-basic-common-init'.
16203
16204 * progmodes/cc-mode.el (top-level): Require cc-guess.
16205 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16206
1fa280a3
LM
162072011-06-30 Lawrence Mitchell <wence@gmx.li>
16208
16209 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16210
e6597158
AM
162112011-06-30 Alan Mackenzie <acm@muc.de>
16212
1fa280a3
LM
16213 * progmodes/cc-engine.el (c-guess-continued-construct):
16214 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16215 lock is disabled. Name this case as "CASE G".
16216
68ba37fb
KM
162172011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16218
16219 * allout.el (allout-yank-processing): Fix injection of extra space
16220 between bullet and non-whitespace character in first topic when
16221 pasting, ensuring that the actual spacing in the pasted topic
16222 following the bullet char is preserved. This extra space was
16223 causing pasted encrypted topics to get a decrypted status even
16224 when the content was actually still encrypted. Now the decryption
16225 status from before the paste is preserved.
16226
16227 (allout-flag-region): Set all allout overlays so they evaporate
16228 when reduced to zero length (evanescent), to prevent overlay
16229 leakage.
16230
887a0b34
GM
162312011-06-30 Glenn Morris <rgm@gnu.org>
16232
94b9acce
GM
16233 * w32-fns.el (w32-charset-info-alist): Declare.
16234
1d9b46d4
GM
16235 * find-dired.el (find-grep-options): Simplify.
16236
cc232200
GM
16237 * term/ns-win.el (ns-set-resource): Declare.
16238
28e77c46
GM
16239 * ses.el (row, col): Declare dynamic variables honestly.
16240
887a0b34
GM
16241 * textmodes/reftex-parse.el (index-tags): Declare.
16242
658d8eb8
CY
162432011-06-30 Chong Yidong <cyd@stupidchicken.com>
16244
16245 * cus-edit.el (customize-push-and-save): New function.
16246
16247 * files.el (hack-local-variables-confirm): Use it.
16248
1fa280a3
LM
16249 * custom.el (load-theme): New arg NO-CONFIRM.
16250 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16251 (custom-enabled-themes): Doc fix.
16252
16253 * cus-theme.el (customize-create-theme)
16254 (custom-theme-merge-theme): Callers to load-theme changed.
16255
bb617717
LMI
162562011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16257
d61bdd5d
LMI
16258 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16259 short URLs have at least one dot in them (bug #7614).
16260
bb617717
LMI
16261 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16262 nil, because using a pty is apparently too slow (bug #895).
16263
2f31f37a
LMI
162642011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16265
16266 * mail/sendmail.el (sendmail-query-once): New function.
16267 (sendmail-query-once-function): New variable.
16268
3076b24e
GM
162692011-06-29 Glenn Morris <rgm@gnu.org>
16270
faf2a174
GM
16271 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16272
3076b24e
GM
16273 * ses.el (top-level): Require cl when compiling.
16274 (ses-set-localvars): Fix error statement.
16275 Call it at compile time to silence a storm of warnings.
16276
5386012d
MR
162772011-06-29 Martin Rudalics <rudalics@gmx.at>
16278
16279 * window.el (normalize-live-buffer): Rename to
16280 window-normalize-buffer.
16281 (normalize-live-frame): Rename to window-normalize-frame.
16282 (normalize-any-window): Rename to window-normalize-any-window.
16283 (normalize-live-window): Rename to window-normalize-live-window.
16284 (make-window-atom): Rename to window-make-atom.
16285 (window-resize-reset): Rename to window--resize-reset.
16286 (window-resize-reset-1): Rename to window--resize-reset-1.
16287 (resize-mini-window): Rename to window--resize-mini-window.
16288 (resize-subwindows-skip-p): Rename to
16289 window--resize-subwindows-skip-p.
16290 (resize-subwindows-normal): Rename to
16291 window--resize-subwindows-normal.
16292 (resize-subwindows): Rename to window--resize-subwindows.
16293 (resize-other-windows): Rename to window--resize-siblings.
16294 (resize-this-window): Rename to window--resize-this-window.
16295 (resize-root-window): Rename to window--resize-root-window.
16296 (resize-root-window-vertically): Rename to
16297 window--resize-root-window-vertically.
16298 (normalize-buffer-to-display): Rename to
16299 window-normalize-buffer-to-display.
16300 (normalize-buffer-to-switch-to): Rename to
16301 window-normalize-buffer-to-switch-to.
16302 Correspondingly update all callers of the functions listed
16303 above.
16304 (display-buffer-alist, display-buffer-normalize-arguments)
16305 (display-buffer-normalize-options, display-buffer)
16306 (display-buffer-alist-set): Use "function" instead of
16307 "fun-with-args".
16308
1176868d
CY
163092011-06-28 Chong Yidong <cyd@stupidchicken.com>
16310
16311 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16312 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16313 debbugs.gnu.org. Mention acknowledgment email.
16314
20a7a65f
LMI
163152011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16316
16317 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16318 buffer multibyteness, since it shouldn't matter.
16319
5f45cca5
MR
163202011-06-28 Martin Rudalics <rudalics@gmx.at>
16321
16322 * window.el (display-buffer-in-side-window): Handle dedicated
16323 windows as in display-buffer-reuse-window.
16324 (display-buffer-normalize-alist): Use value of override
16325 specifier.
16326 (display-buffer-normalize-specifiers): Use value of
16327 other-window-means-other-frame specifier.
16328 (display-buffer-alist): Rewrite some texts in widgets.
16329 (display-buffer): Spread arguments when calling function
16330 specified by fun-with-args.
16331
ad85fe1f
DD
163322011-06-28 Deniz Dogan <deniz@dogan.se>
16333
1fa280a3
LM
16334 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16335 Unnest `let'.
da68c4c8 16336
ad85fe1f
DD
16337 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16338 selectors (Bug#5732).
ec49bd31 16339 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16340
a08cc025
JA
163412011-06-27 Jari Aalto <jari.aalto@cante.net>
16342
16343 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16344 (eshell-ls-date-format): New defcustom.
16345 (eshell-ls-file): Use it.
16346
e2b551c5
SM
163472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16348
16349 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16350
8982b231
KY
163512011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16352
16353 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16354 (ange-ftp-make-tmp-name): New arg.
16355 (ange-ftp-file-local-copy): Use it.
16356
36c9fa27
J
163572011-06-27 Jambunathan K <kjambunathan@gmail.com>
16358
16359 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16360 no-conversion (Bug#8870).
16361
d68443dc
MR
163622011-06-27 Martin Rudalics <rudalics@gmx.at>
16363
16364 * window.el (window-right, window-left, window-child)
16365 (window-child-count, window-last-child)
16366 (window-iso-combination-p, walk-window-tree-1)
16367 (window-atom-check-1, window-tree-1, delete-window)
16368 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16369 new naming conventions - window-vchild, window-hchild,
16370 window-next and window-prev are now called window-top-child,
16371 window-left-child, window-next-sibling and window-prev-sibling
16372 respectively.
d615d6d2
MR
16373 (resize-window-reset): Rename to window-resize-reset.
16374 (resize-window-reset-1): Rename to window-resize-reset-1.
16375 (resize-window): Rename to window-resize.
16376 (window-min-height, window-min-width)
16377 (resize-mini-window, resize-this-window, resize-root-window)
16378 (resize-root-window-vertically, adjust-window-trailing-edge)
16379 (enlarge-window, shrink-window, maximize-window)
16380 (minimize-window, delete-window, quit-restore-window)
16381 (split-window, balance-windows, balance-windows-area-adjust)
16382 (balance-windows-area, window-state-put-2)
16383 (display-buffer-even-window-sizes, display-buffer-set-height)
16384 (display-buffer-set-width, set-window-text-height)
16385 (fit-window-to-buffer): Rename all "resize-window" prefixed
16386 calls to use the "window-resize" prefix convention.
16387 (display-buffer-alist): Fix symbol for label specifier.
16388 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16389 corresponding specifier.
16390 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16391
b6458526
VB
163922011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16393
16394 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16395 convention.
16396 (ses-call-printer): Does not pass an empty string to formatter when the
16397 cell is empty to keep from barking printer Calc math-format-value.
16398
d31fd9ac
RS
163992011-06-27 Richard Stallman <rms@gnu.org>
16400
43d5bf84
RS
16401 * battery.el (battery-mode-line-limit): New variable.
16402 (battery-update): Handle it.
16403
d31fd9ac
RS
16404 * mail/rmailmm.el (rmail-mime-process-multipart):
16405 Handle truncated messages.
16406
819a6054
GM
164072011-06-27 Glenn Morris <rgm@gnu.org>
16408
16409 * progmodes/flymake.el (flymake-err-line-patterns):
16410 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16411
cedc73f2
VB
164122011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16413
819a6054 16414 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16415 (ses--clean-!, ses--clean-_): New functions.
16416 (ses-range): Add configurability of readout order, and conversion
16417 to Calc vector.
16418
5e5d49b6
VB
16419 * ses.el (ses-repair-cell-reference-all): New function.
16420 (ses-cell-symbol): Set macro as safe, so that it can be used in
16421 formulas.
16422
56e6cc31 16423 * ses.el: Update cycle detection algorithm.
90ca8b49 16424 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16425 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16426 (ses-set-localvars): New function.
16427 (ses-make-cell): Add property-list as a cell element.
16428 (ses-cell-property-get-fun, ses-cell-property-get)
16429 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16430 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16431 New functions.
90ca8b49
VB
16432 (ses-cell-property-set, ses-cell-property-pop)
16433 (ses-cell-property-get-handle): New macro.
16434 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16435 New aliases, used for code readability.
16436 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16437 cycle detection.
16438 (ses-self-reference-early-detection): New defcustom.
fac916bf 16439 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16440 (ses-mode): Use ses-set-localvars.
16441 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16442 before lauching the update processing.
16443 (ses-initialize-Dijkstra-attempt): New function.
16444 (ses-recalculate-cell): Update for cycle detection based on
16445 Dijkstra algorithm.
16446
2bb63e81
VB
16447 * ses.el: Fix commenting and indenting convention.
16448
c9d29fb8
SM
164492011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16450
16451 * bs.el (bs-cycle-next): Complete last change.
16452
d8e4b68b
JB
164532011-06-27 Drew Adams <drew.adams@oracle.com>
16454
16455 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16456
40098786
LMI
164572011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16458
c9d29fb8
SM
16459 * net/network-stream.el (network-stream-open-starttls):
16460 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16461 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16462
40098786
LMI
16463 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16464 to binary to possibly avoid line encoding issues on Windows (among
16465 other things).
16466
468d09d4
LMI
164672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16468
16469 * net/network-stream.el (open-network-stream): Return an :error
16470 saying what the problem was, if possible.
16471
16472 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16473 server.
16474
16475 * net/network-stream.el (network-stream-open-starttls): If we
16476 wanted to use STARTTLS, and the server offered it, but we weren't
16477 able to because we had no STARTTLS support, then close the connection.
16478 (open-network-stream): Return an :error element, if present.
16479
16f07dd7
CY
164802011-06-26 Chong Yidong <cyd@stupidchicken.com>
16481
88821ca0
CY
16482 * hl-line.el (hl-line-sticky-flag): Doc fix.
16483 (global-hl-line-sticky-flag): New option (Bug#8323).
16484 (global-hl-line-highlight): Obey it.
16485
16f07dd7
CY
16486 * vc/vc.el (vc-revert-show-diff): Default to t.
16487
6b5ccddf
KM
164882011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16489
c9d29fb8
SM
16490 * allout-widgets.el (allout-widgets-post-command-business):
16491 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16492 undecorated when an isearch is continued past, and isearch
16493 automatically collapses them. This leads to "widget leaks", where
16494 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16495 hidden widgets can slow down cursor travel, substantially.
16496 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16497 so we're doing without this nicety.
16498
16499 (allout-widgets-tally-string): Don't try to do a hash-table-count
16500 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16501 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16502 *Messages* when allout-widgets-maintain-tally is t.
16503
355f2e07
MR
165042011-06-26 Martin Rudalics <rudalics@gmx.at>
16505
16506 * window.el (display-buffer-normalize-argument): Rename to
16507 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16508 LABEL argument. Respect special-display-function when popping up
16509 a new frame. Fix code searching for a window showing the buffer
16510 on another frame.
c9d29fb8
SM
16511 (display-buffer-normalize-specifiers):
16512 Call display-buffer-normalize-arguments.
355f2e07
MR
16513 (display-buffer-in-window): Don't undedicate the window if its
16514 buffer remains the same.
16515 Reported by Drew Adams <drew.adams@oracle.com>.
16516 (display-buffer-alist): Add choice for same-window macro
16517 specfier.
16518 (display-buffer): Mention special meaning of LABEL argument in
16519 doc-string. Fix quoting. Don't pop up a new frame even as
16520 fallback.
16521
7ca8fc42
JB
165222011-06-26 Juanma Barranquero <lekktu@gmail.com>
16523
16524 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16525 avoid deleting the current window in some cases (bug#8911).
16526
bc312254
AS
165272011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16528
16529 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16530 (Bug#8934)
16531
2db18f3f
LMI
165322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16533
c9d29fb8
SM
16534 * net/network-stream.el (network-stream-open-starttls):
16535 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16536 (network-stream-open-tls): Ditto.
16537
6302e0d3
LL
165382011-06-26 Leo Liu <sdl.web@gmail.com>
16539
16540 * register.el (registerv): New struct.
16541 (registerv-make): New function.
c9d29fb8
SM
16542 (jump-to-register, describe-register-1, insert-register):
16543 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16544 struct. (Bug#8415)
16545
5fdd4046
CY
165462011-06-26 Chong Yidong <cyd@stupidchicken.com>
16547
2afef60a
CY
16548 * vc/vc.el (vc-revert-show-diff): New defcustom.
16549 (vc-diff-internal): New arg specifying diff buffer.
16550 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16551 reuse an existing *vc-diff* buffer (Bug#8927).
16552
5fdd4046
CY
16553 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16554
e93db24a
GM
165552011-06-26 Glenn Morris <rgm@gnu.org>
16556
16557 * progmodes/f90.el (f90-critical-indent): New option.
16558 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16559 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16560 (f90-mode): Doc fix.
16561 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16562 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16563 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16564 (f90-match-end): Handle block, critical.
16565
eefff499
GM
165662011-06-25 Glenn Morris <rgm@gnu.org>
16567
f6ba4cc9
GM
16568 * calendar/diary-lib.el (diary-included-files): Doc fix.
16569 (diary-include-files): New function, extracted from
16570 diary-include-other-diary-files and diary-mark-included-diary-files.
16571 (diary-include-other-diary-files, diary-mark-included-diary-files):
16572 Just call diary-include-files.
16573 (diary-mark-entries): Reset diary-included-files on first call.
16574
16712304
GM
16575 * calendar/diary-lib.el (diary-mark-entries)
16576 (diary-mark-included-diary-files):
16577 Visit included diary-files in temp buffers.
16578
5d8e0d43
GM
16579 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16580 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16581 (f90-start-block-re, f90-imenu-generic-expression)
16582 (f90-looking-at-program-block-start, f90-no-block-limit):
16583 Add support for submodules.
16584
ccf7a5d5
GM
16585 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16586 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16587
11fdef7d 165882011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16589
16590 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16591 buffer-file-type before setting its value, to avoid disastrous
eefff499 16592 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16593
74f53697
JB
165942011-06-25 Juanma Barranquero <lekktu@gmail.com>
16595
16596 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16597
16598 * ses.el (ses-unload-function):
16599 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16600
16601 * proced.el (proced-unload-function):
16602 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16603
18a4ce5e
AR
166042011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16605
16606 * server.el (server-create-window-system-frame): Add parameters arg.
16607 (server-process-filter): Doc fix. Handle frame-parameters.
16608
519d22cc
JB
166092011-06-25 Juanma Barranquero <lekktu@gmail.com>
16610
16611 Fix bug#8730, bug#8781.
16612
16613 * loadhist.el (unload--set-major-mode): New function.
16614 (unload-feature): Use it.
16615
16616 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16617 (python-unload-function): New function.
16618
c206f5b0
SM
166192011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16620
16621 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16622
f9ad64f3
GS
166232011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16624
16625 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16626 the candidates list.
16627
7d0da90e
JB
166282011-06-24 Juanma Barranquero <lekktu@gmail.com>
16629
16630 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16631
14b4e83d
RS
166322011-06-23 Richard Stallman <rms@gnu.org>
16633
16634 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16635 (rmail-variables): Set next-error-move-function.
16636 (rmail-what-message): Take argument POS.
16637 (rmail-next-error-move): New function.
16638
273d2baf
SM
166392011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16640
16641 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16642 messages for adjacent non-terminals.
16643
56c2cc9a
RS
166442011-06-23 Richard Stallman <rms@gnu.org>
16645
16646 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16647 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16648 (rmail-start-mail): Don't specify use of rmail-mail-return;
16649 that's done by mail-bury now.
16650 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16651
d59eb518
MA
166522011-06-23 Michael Albinus <michael.albinus@gmx.de>
16653
16654 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16655 SIZE is a number.
16656
02cfc6d6
MR
166572011-06-23 Martin Rudalics <rudalics@gmx.at>
16658
16659 * window.el (get-lru-window, get-mru-window)
16660 (get-largest-window): Never return a minibuffer window.
16661 (display-buffer-pop-up-window): Fix a bug that could lead to
16662 reusing the minibuffer window.
16663 (display-buffer): Pass original specifier argument to
16664 display-buffer-function instead of the normalized one.
16665 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16666
4e323265
LL
166672011-06-22 Leo Liu <sdl.web@gmail.com>
16668
16669 * minibuffer.el (completing-read-function)
1f9f395d 16670 (completing-read-default): Move from minibuf.c.
4e323265 16671
7a70468f
RS
166722011-06-22 Richard Stallman <rms@gnu.org>
16673
50718fc2
RS
16674 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16675 to Rmail even if not started by a special Rmail command.
16676
7a70468f
RS
16677 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16678 Copy the buffer currently showing just one message.
16679
297dde5a
RW
166802011-06-22 Roland Winkler <winkler@gnu.org>
16681
16682 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16683 (bibtex-clean-entry): First delete the old key so that a
16684 customized algorithm for generating the new key does not get
16685 confused by the old key.
16686 (bibtex-url): Obey regexp of first step.
16687 (bibtex-search-entries): Do not use add-to-list with local
16688 list-var.
16689
97bb1093
LMI
166902011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16691
16692 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16693 stored a user name, then query for the password first, instead of
16694 waiting for SMTP to give an error message and the trying again.
16695
1c0f1a19
JD
166962011-06-22 Lawrence Mitchell <wence@gmx.li>
16697
16698 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16699 BUFFER in call-process.
16700
396f7c9d
LMI
167012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16702
16703 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16704 QUIT twice.
ddb7ffee
LMI
16705 (smtpmail-try-auth-methods): Require user name and password from
16706 auth-source.
396f7c9d 16707
8998d1b3
MR
167082011-06-22 Martin Rudalics <rudalics@gmx.at>
16709
16710 * window.el (display-buffer-default-specifiers)
16711 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16712 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16713 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16714
16715 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16716 (special-display-frame-alist, special-display-popup-frame):
16717 Remove duplicate declarations. These are now in window.el.
16718
4ea31e07
LMI
167192011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16720
c9d29fb8
SM
16721 * mail/smtpmail.el (smtpmail-via-smtp):
16722 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16723 server supports it. SMTP servers that support STARTTLS commonly
16724 require it.
16725
16726 * net/network-stream.el (network-stream-open-starttls): Support
16727 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16728 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16729
95f41d9a
LMI
16730 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16731 upgrades with `open-network-stream', and rely solely on
16732 auth-source for all credentials. Big changes throughout the file,
16733 but in particular:
c9d29fb8
SM
16734 (smtpmail-auth-credentials): Remove.
16735 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16736 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16737 MAIL FROM, too.
95f41d9a 16738
c9d29fb8
SM
16739 * net/network-stream.el (network-stream-open-starttls):
16740 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16741 STARTTLS.
16742 (auth-source): Require.
16743 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16744 (network-stream-certificate): Change cert-cert to cert and
16745 cert-key to key.
4ea31e07 16746
065ec2c7
MA
167472011-06-21 Michael Albinus <michael.albinus@gmx.de>
16748
16749 * net/tramp-cache.el (top): Don't load the persistency file when
16750 "emacs -Q" has been called.
16751
cd93b359
DR
167522011-06-21 Tim Harper <timcharper@gmail.com>
16753
d8e4b68b
JB
16754 * term/ns-win.el (ns-initialize-window-system):
16755 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16756 resource to NO as it is not yet supported by the NS port.
16757
ae9c0411
JB
167582011-06-21 Juanma Barranquero <lekktu@gmail.com>
16759
16760 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16761 (list-dynamic-libraries): ...not here.
16762
7f3f739f
LL
167632011-06-21 Leo Liu <sdl.web@gmail.com>
16764
16765 * subr.el (sha1): Implement sha1 using secure-hash.
16766
327c8fb1
MR
167672011-06-21 Martin Rudalics <rudalics@gmx.at>
16768
16769 * window.el (display-buffer-alist): In default value do not
16770 enforce searching a window on any but the selected frame.
16771 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16772 (display-buffer-select-window): Remove function.
16773 (display-buffer-in-window): When a window on another frame gets
16774 reused, do not select it any more but just raise its frame if
16775 necessary (Bug#8851) and (Bug#8856).
16776 (display-buffer-normalize-options): Handle pop-up-frames related
16777 options more faithfully.
16778 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16779 window if it is on another frame.
c9d29fb8
SM
16780 (display-buffer-alist, display-buffer-default-specifiers):
16781 Don't make new frame unsplittable by default.
9e9de014
MR
16782 (display-buffer-normalize-argument): Fix doc-string typo and use
16783 'same-frame-other-window instead of 'other-window when associating
16784 with display-buffer-macro-specifiers.
327c8fb1 16785
7cf3f556
VB
167862011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16787
16788 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16789 New functions.
16790 (5x5-mode-map, 5x5-mode-menu): Bind them.
16791 (5x5-draw-grid): Tweak the solver's rendering.
16792
60a406cf
SM
167932011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16794
16795 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16796 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16797
d8e4b68b 167982011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16799
16800 * menu-bar.el: Use function variable instead of switch-to-buffer.
16801 (menu-bar-select-buffer-function): New variable.
60a406cf 16802 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16803
478d6f95
SM
168042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16805
16806 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16807 variable's status.
16808
ca530739
JD
168092011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16810
16811 * x-dnd.el (x-dnd-version-from-flags)
16812 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16813 and long as number (Bug#8899).
16814 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16815
bcd70d97
SM
168162011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16817
60a406cf 16818 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16819 (completion-try-completion, completion-all-completions): Compute the
16820 metadata argument if it's missing; make it optional (bug#8795).
16821
60a406cf 16822 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16823 (widget-complete): Use new :completion-function property.
16824 (widget-completions-at-point): New function.
16825 (default): Use :completion-function instead of :complete.
60a406cf
SM
16826 (widget-default-completions): Rename from widget-default-complete;
16827 Rewrite.
bcd70d97
SM
16828 (widget-string-complete, widget-file-complete, widget-color-complete):
16829 Remove functions.
16830 (file, symbol, function, variable, coding-system, color):
16831 * international/mule-cmds.el (default-input-method, charset)
16832 (language-info-custom-alist):
16833 * cus-edit.el (face): Use new property :completions.
16834
16835 * progmodes/pascal.el (pascal-completions-at-point): New function.
16836 (pascal-mode): Use it.
16837 (pascal-mode-map): Use completion-at-point.
16838 (pascal-toggle-completions): Make obsolete.
16839 (pascal-complete-word, pascal-show-completions):
16840 * progmodes/octave-mod.el (octave-complete-symbol):
16841 Redefine as obsolete alias.
16842 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16843 Signal absence of completion info for old Octave,
16844 (inferior-octave-complete): Redefine as obsolete alias.
16845 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16846 (meta-completions-at-point): Rename from meta-complete-symbol and
16847 adapt it for use on completion-at-point-functions.
16848 (meta-common-mode): Use it.
16849 (meta-looking-at-backward, meta-match-buffer): Remove.
16850 (meta-complete-symbol): Redefine as obsolete alias.
16851 (meta-common-mode-map): Use completion-at-point.
16852 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16853 (makefile-mode-map): Use completion-at-point.
16854 (makefile-completions-at-point): Rename from makefile-complete and
16855 adapt it for use on completion-at-point-functions.
16856 (makefile-mode): Use it.
16857 (makefile-complete): Redefine as obsolete alias.
16858
aebf69c8
DD
168592011-06-20 Deniz Dogan <deniz@dogan.se>
16860
16861 * net/rcirc.el: Delete trailing whitespaces once and for all.
16862
bfbbb27d
DC
168632011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16864
16865 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16866
d264a46b
CY
168672011-06-19 Chong Yidong <cyd@stupidchicken.com>
16868
4ca009e5
CY
16869 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16870
d264a46b
CY
16871 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16872
fbf5b3ce
MR
168732011-06-19 Martin Rudalics <rudalics@gmx.at>
16874
16875 * window.el (display-buffer-other-window-means-other-frame):
16876 Call display-buffer-normalize-alist.
16877 (display-buffer-normalize-specifiers-1): Rename to
16878 display-buffer-normalize-argument. New argument other-frame.
16879 Rewrite.
16880 (display-buffer-normalize-specifiers-2): Rename to
16881 display-buffer-normalize-options.
16882 (display-buffer-normalize-alist-1): New function.
16883 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16884 display-buffer-normalize-alist.
16885 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16886 (display-buffer-normalize-options-inhibit): New variable.
16887 (display-buffer-normalize-specifiers): Rewrite calling
16888 display-buffer-normalize-alist,
16889 display-buffer-normalize-argument, and
16890 display-buffer-normalize-options. Don't call the latter if
16891 display-buffer-normalize-options-inhibit is non-nil.
16892 (frame-auto-delete): New option.
16893 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16894 (window-list-no-nils, window-state-ignored-parameters)
16895 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16896 (window-state-put-1, window-state-put-2, window-state-put):
16897 New functions.
9a028c23
MR
16898 (display-buffer-normalize-options): Move special-display-p group
16899 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16900
6d10d800
CY
169012011-06-18 Chong Yidong <cyd@stupidchicken.com>
16902
6420d28b
CY
16903 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16904 groups (Bug#8776).
16905 (rx-submatch-n): New function.
16906 (rx): Document it.
16907
ddb8b596
CY
16908 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16909 (Bug#8768).
16910
16911 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16912
77080289
CY
16913 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16914
61dfb316
CY
16915 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16916 anytime existing face settings are present (Bug#8889).
16917
6d10d800
CY
16918 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16919 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16920 Remove unused argument.
16921
be3fb2b8
MR
169222011-06-18 Martin Rudalics <rudalics@gmx.at>
16923
bcd70d97
SM
16924 * window.el (display-buffer-default-specifiers):
16925 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16926 pop-up-window-min-width, and another reuse-window specifier
16927 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16928 (display-buffer-normalize-specifiers-2):
16929 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16930 pop-up-windows is unset. Add a reuse-window specifier for the
16931 case popping up a new window fails.
16932 (special-display-popup-frame): Remove double quoting.
28dec25a 16933 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16934
1c6d8c76
SM
169352011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16936
16937 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16938 according to comint-completion-addsuffix.
16939
16940 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16941 (pcomplete-suffix-list): Mark as obsolete.
16942 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16943 pcomplete-seen in the closure.
16944 (pcomplete-comint-setup): Setup completion-at-point as well.
16945 (pcomplete--entries): New function.
16946 (pcomplete--env-regexp): New var.
16947 (pcomplete-entries): Rewrite to work with partial-completion and
16948 without relying on pcomplete-suffix-list.
16949 (pcomplete-pare-list): Remove, unused.
16950
25aef8b8
MR
169512011-06-17 Martin Rudalics <rudalics@gmx.at>
16952
16953 * window.el (display-buffer-alist): Set pop-up-window-min-height
16954 and pop-up-window-min-width in default value. Reported by
16955 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16956 other-window-means-other-frame.
16957 (display-buffer-macro-specifiers): Comment out entry for
16958 other-window specifier.
16959 (display-buffer-other-window-means-other-frame): New function.
16960 (display-buffer-normalize-specifiers-1): New arguments
16961 buffer-name and label. Treat other-window case specially.
16962 (display-buffer-normalize-specifiers-2): Treat other-window case
16963 specially.
16964 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16965 (display-buffer-normalize-specifiers):
16966 Call display-buffer-normalize-specifiers-3.
25aef8b8 16967
dbad4f69
MR
169682011-06-17 Martin Rudalics <rudalics@gmx.at>
16969
16970 * window.el (same-window-p): Fix two typos introduced when
16971 adding with-no-warnings.
d1067961
MR
16972 (display-buffer-normalize-specifiers-1): Don't check
16973 pop-up-frames for 'unset initialization.
16974 (display-buffer-normalize-specifiers-2): Major rewrite using
16975 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16976 (pop-up-frames, display-buffer-reuse-frames)
16977 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16978 Suggested by David Engster <deng@randomsample.de>.
16979 (even-window-heights): Initialize to 'unset.
16980 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16981 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16982 other window case.
dbad4f69 16983
9b9c9e3a
MR
169842011-06-16 Martin Rudalics <rudalics@gmx.at>
16985
bcd70d97
SM
16986 * window.el (display-buffer-normalize-specifiers-1):
16987 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16988 second argument of display-buffer (Bug#8865).
981d5c09
MR
16989 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16990 (switch-to-buffer-other-window-same-frame)
16991 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16992 Adams (Bug#8875).
9c2755e9
MR
16993 (display-buffer): Don't check noninteractive when calling
16994 display-buffer-pop-up-frame.
16995 (display-buffer-pop-up-frame): Never pop up a frame in
16996 noninteractive mode (Bug#8857).
67222e1d
MR
16997 (enlarge-window, shrink-window): Don't report an error when the
16998 window can't be resized as requested (Bug#8862).
9b9c9e3a 16999
2b75be67
SM
170002011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17001
9ffdd3ba
SM
17002 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17003
cb581a67
SM
17004 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17005
2b75be67
SM
17006 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17007
8c0e3589
AM
170082011-06-15 Alan Mackenzie <acm@muc.de>
17009
cb581a67
SM
17010 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17011 for declarators, disable knr checking to speed up for normal files.
17012 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17013
b96e6cde
LMI
170142011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17015
4bba86e6
LMI
17016 * net/network-stream.el (open-network-stream): Add the keyword
17017 :always-query-capabilities for the case where you want to force a
17018 `plain' network connection, but the protocol still requires the
17019 capabilitiy command (i.e., SMTP and EHLO).
17020
2b75be67 17021 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17022 consistency with other `-live-p' functions.
17023
efdcdbf8
SM
170242011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17025
17026 * window.el (same-window-buffer-names, same-window-regexps)
17027 (special-display-frame-alist, special-display-popup-frame)
17028 (special-display-function, special-display-buffer-names)
17029 (special-display-regexps, pop-up-frame-alist)
17030 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17031 (pop-up-windows, split-window-preferred-function)
17032 (split-height-threshold, split-width-threshold, even-window-heights)
17033 (display-buffer-mark-dedicated): Don't encourage the use of
17034 display-buffer-alist from Elisp code.
17035
c5cde042
DN
170362011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17037
17038 * progmodes/python.el (python-mode): Derive from prog-mode.
17039 * progmodes/ps-mode.el (ps-mode):
17040 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17041 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17042 * progmodes/ld-script.el (ld-script-mode): Likewise.
17043
baa1c9ab
MR
170442011-06-15 Martin Rudalics <rudalics@gmx.at>
17045
17046 * window.el (display-buffer-alist): Trim default value to avoid
17047 popping up a new frame (Bug#8857) or reusing an arbitrary window
17048 on another frame.
17049 (display-buffer): Do not fall back on popping up a new frame in
17050 batch mode (Bug#8857).
17051
c5dd5a51
CY
170522011-06-14 Chong Yidong <cyd@stupidchicken.com>
17053
17054 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17055 (custom-theme-summary): New function.
17056 (customize-themes): Use it.
17057
d647b7c4
GM
170582011-06-13 Glenn Morris <rgm@gnu.org>
17059
17060 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17061
9481c002
MR
170622011-06-13 Martin Rudalics <rudalics@gmx.at>
17063
357f93d2
MR
17064 * help.el (help-window): Remove variable.
17065 (help-window-point-marker, temp-buffer-max-height)
17066 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17067 (help-print-return-message): Don't set help-window.
17068 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17069 (help-window-setup-finish): Remove.
17070 (help-window-display-message, help-window-setup)
17071 (with-help-window): Major rewrite based on new
17072 display-buffer-window variable.
17073
17074 * help-mode.el (help-mode-finish): Remove help-window related
17075 code.
17076
17077 * view.el (view-exits-all-viewing-windows): Remove reference to
17078 view-return-to-alist in doc-string.
17079 (view-return-to-alist): Make obsolete.
17080 (view-buffer): Call pop-to-buffer-same-window and remove
17081 undo-window code.
17082 (view-buffer-other-window): Call pop-to-buffer-other-window and
17083 simplify code. Ignore second argument.
17084 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17085 simplify code. Ignore second argument.
17086 (view-return-to-alist-update): Make obsolete.
17087 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17088 Rewrite using quit-restore window parameters.
2b75be67
SM
17089 (view-mode-exit): Rename second argument to EXIT-ONLY.
17090 Rewrite using quit-restore-window.
357f93d2
MR
17091 (View-exit, View-exit-and-edit, View-leave, View-quit)
17092 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17093 appropriate arguments.
17094 (view-end-message): Use quit-restore window parameter.
17095
9481c002
MR
17096 * window.el (display-buffer-function): Rewrite doc-string.
17097 (display-buffer-window, display-buffer-alist): New variables.
17098 (display-buffer-split-specifiers)
17099 (display-buffer-side-specifiers)
17100 (display-buffer-macro-specifiers): New constants.
17101 (display-buffer-even-window-sizes, display-buffer-set-height)
17102 (display-buffer-set-width, display-buffer-select-window)
17103 (display-buffer-in-window, display-buffer-reuse-window)
17104 (display-buffer-split-window-1, display-buffer-split-window)
17105 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17106 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17107 (display-buffer-in-side-window, normalize-buffer-to-display)
17108 (display-buffer-normalize-specifiers-1)
17109 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17110 (display-buffer-normalize-specifiers, display-buffer-frame):
17111 New functions.
9481c002
MR
17112 (display-buffer): Major rewrite.
17113 (display-buffer-other-window, display-buffer-other-frame)
17114 (pop-to-buffer, switch-to-buffer-other-window)
17115 (switch-to-buffer-other-frame): Rewrite.
17116 (display-buffer-same-window, display-buffer-same-frame)
17117 (display-buffer-same-frame-other-window)
17118 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17119 (pop-to-buffer-other-window)
17120 (pop-to-buffer-same-frame-other-window)
17121 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17122 (switch-to-buffer-other-window-same-frame): New functions.
17123 (same-window-p, special-display-p): Rewrite disabling warnings.
17124 Make obsolete.
17125 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17126 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17127 Make obsolete
17128 (same-window-buffer-names, same-window-regexps)
17129 (special-display-frame-alist, special-display-popup-frame)
17130 (special-display-function, special-display-buffer-names)
17131 (special-display-regexps, pop-up-frame-alist)
17132 (pop-up-frame-function, split-window-preferred-function)
17133 (split-height-threshold, split-width-threshold)
17134 (even-window-heights): Make obsolete.
17135
9db51aca
GM
171362011-06-12 Glenn Morris <rgm@gnu.org>
17137
17138 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17139 Misc simplifications.
9db51aca 17140
39cffb44
MR
171412011-06-12 Martin Rudalics <rudalics@gmx.at>
17142
17143 * window.el (window-safely-shrinkable-p): Restore function which
17144 was inadvertently removed in change from 2011-06-11. Declare as
17145 obsolete.
17146
2b75be67
SM
17147 * calendar/calendar.el (calendar-generate-window):
17148 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17149 window-safely-shrinkable-p.
17150
a8955be7
GM
171512011-06-12 Glenn Morris <rgm@gnu.org>
17152
17153 * progmodes/fortran.el (fortran-mode-syntax-table):
17154 * progmodes/f90.el (f90-mode-syntax-table):
17155 Set % to punctuation. (Bug#8820)
17156 (f90-find-tag-default): Remove, no longer needed.
17157
f0d4059d
DC
171582011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17159
17160 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17161
1100a63c
CY
171622011-06-11 Chong Yidong <cyd@stupidchicken.com>
17163
17164 * image.el (image-animated-p): Return animation delay in seconds.
17165 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17166 (image-animate-timeout): Remove DELAY argument. Don't assume
17167 every subimage has the same delay; get it from image-animated-p.
17168 (image-animate): Caller changed.
17169
def722bf
MA
171702011-06-11 Michael Albinus <michael.albinus@gmx.de>
17171
17172 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17173 to ignored backtrace functions.
17174
0a2bb1a9
GM
171752011-06-11 Glenn Morris <rgm@gnu.org>
17176
17177 * calendar/appt.el (appt-disp-window-function): Doc fix.
17178 (appt-check): Handle overlapping appointments. (Bug#8337)
17179
6198ccd0
MR
171802011-06-11 Martin Rudalics <rudalics@gmx.at>
17181
17182 * window.el (window-tree-1, window-tree): New functions, moving
17183 the latter to window.el.
17184 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17185 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17186 (bw-refresh-edges): Remove.
17187 (balance-windows-1, balance-windows-2): New functions.
17188 (balance-windows): Rewrite in terms of window tree functions,
17189 balance-windows-1 and balance-windows-2.
17190 (bw-adjust-window): Remove.
17191 (balance-windows-area-adjust): New function with functionality of
17192 bw-adjust-window but using resize-window.
2b75be67
SM
17193 (set-window-text-height): Rewrite doc-string.
17194 Use normalize-live-window and resize-window.
17195 (enlarge-window-horizontally, shrink-window-horizontally):
17196 Rename argument to DELTA.
6198ccd0
MR
17197 (window-buffer-height): New function.
17198 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17199 Rewrite using new window resize routines.
2b75be67
SM
17200 (kill-buffer-and-window, mouse-autoselect-window-select):
17201 Use ignore-errors instead of condition-case.
6198ccd0
MR
17202 (quit-window): Call delete-frame instead of delete-windows-on
17203 for the only buffer on frame.
17204
9397e56f
MR
172052011-06-10 Martin Rudalics <rudalics@gmx.at>
17206
17207 * loadup.el (top-level): Load window before files for the sake
17208 of replace-buffer-in-windows.
17209
17210 * files.el (read-buffer-to-switch)
17211 (switch-to-buffer-other-window)
2b75be67
SM
17212 (switch-to-buffer-other-frame, display-buffer-other-frame):
17213 Move to window.el.
9397e56f
MR
17214
17215 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17216 (previous-buffer): Move to window.el.
17217
17218 * bindings.el (unbury-buffer): Move to window.el.
17219
17220 * window.el (delete-other-windows-vertically): Move after
17221 definition of delete-other-windows.
17222 (other-window, delete-windows-on, replace-buffer-in-windows):
17223 Move here from window.c.
17224 (record-window-buffer, unrecord-window-buffer)
17225 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17226 (switch-to-next-buffer): New functions.
17227 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17228 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17229 (previous-buffer): Move here from simple.el.
17230 Call switch-to-prev-buffer.
9397e56f
MR
17231 (bury-buffer): Move here from buffer.c. Switch to previous
17232 buffer when window cannot be deleted.
17233 (unbury-buffer): Move here from bindings.el.
17234 (ctl-x-map): Move binding for other-window from window.c to
17235 here.
17236 (read-buffer-to-switch, switch-to-buffer-other-window)
17237 (switch-to-buffer-other-frame): Move here from files.el.
17238 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17239 (switch-to-buffer): Move here from buffer.c.
17240 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17241
562dd5e9
MR
172422011-06-10 Martin Rudalics <rudalics@gmx.at>
17243
17244 * window.el (window-min-height, window-min-width): Move here
17245 from window.c. Add defcustoms and rewrite doc-strings.
17246 (resize-mini-window, resize-window): New functions.
17247 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17248 Move here from window.c.
17249 (maximize-window, minimize-window): New functions.
17250 (delete-window, delete-other-windows, split-window): Move here
17251 from window.c.
17252 (window-split-min-size): New function.
17253 (split-window-keep-point): Mention split-window-above-each-other
17254 instead of split-window-vertically.
2b75be67 17255 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17256 Rename split-window-vertically to split-window-above-each-other
17257 and provide defalias for old definition.
17258 (split-window-side-by-side, split-window-horizontally):
17259 Rename split-window-horizontally to split-window-side-by-side
17260 and provide defalias for the old definition.
562dd5e9
MR
17261 (ctl-x-map): Move bindings for delete-window,
17262 delete-other-windows and enlarge-window here from window.c.
17263 Replace bindings for split-window-vertically and
17264 split-window-horizontally by bindings for
17265 split-window-above-each-other and split-window-side-by-side.
17266
17267 * cus-start.el (all): Remove entries for window-min-height and
17268 window-min-width. Add entries for window-splits and
17269 window-nest.
17270
f0da764a
GM
172712011-06-09 Glenn Morris <rgm@gnu.org>
17272
80675c21
GM
17273 * calendar/appt.el (appt-mode-line): New function.
17274 (appt-check, appt-disp-window): Use it.
17275
f0da764a
GM
17276 * files.el (hack-one-local-variable-eval-safep):
17277 Allow minor-modes with explicit +/-1 arguments.
17278
59f623b7
TZ
172792011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17280
17281 * term/xterm.el (xterm): Add defgroup.
17282 (xterm-extra-capabilities): Add defcustom to supply known xterm
17283 capabilities, skip querying them, or query them (default).
17284 (terminal-init-xterm): Use it.
17285 (terminal-init-xterm-modify-other-keys): New function to set up
17286 modifyOtherKeys support to simplify `terminal-init-xterm'.
17287
9aab8e0d
MR
172882011-06-09 Martin Rudalics <rudalics@gmx.at>
17289
17290 * window.el (resize-window-reset, resize-window-reset-1)
17291 (resize-subwindows-skip-p, resize-subwindows-normal)
17292 (resize-subwindows, resize-other-windows, resize-this-window)
17293 (resize-root-window, resize-root-window-vertically)
17294 (window-deletable-p, window-or-subwindow-p)
17295 (frame-root-window-p): New functions.
17296
e8b08aee
GM
172972011-06-09 Glenn Morris <rgm@gnu.org>
17298
17299 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17300 (ange-ftp-get-files): Use it.
17301
254c37a5
AK
173022011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17303
17304 * mail/sendmail.el (mail-recover-1, mail-recover):
17305 * files.el (recover-file, recover-session):
17306 Handle dired-listing-switches not being just a single short option.
17307
35d7dbd3
GM
173082011-06-09 Glenn Morris <rgm@gnu.org>
17309
17310 * calendar/appt.el (appt-display-message, appt-disp-window):
17311 Handle lists of appointments.
17312
387522b2
MR
173132011-06-08 Martin Rudalics <rudalics@gmx.at>
17314
2b75be67
SM
17315 * window.el (one-window-p): Move down in code.
17316 Rewrite doc-string.
17317 (window-current-scroll-bars): Rewrite doc-string.
17318 Normalize live window argument.
387522b2
MR
17319 (walk-windows, get-window-with-predicate, count-windows):
17320 Rewrite doc-string. Use window-list-1.
17321 (window-in-direction-2, window-in-direction, get-mru-window):
17322 New functions.
17323
d8e4b68b 173242011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17325
17326 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17327 Doc fix (Bug#8713).
17328
173292011-06-08 Chong Yidong <cyd@stupidchicken.com>
17330
17331 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17332
173332011-06-08 Juanma Barranquero <lekktu@gmail.com>
17334
17335 * loadhist.el (unload-feature-special-hooks):
17336 Add `comint-output-filter-functions'.
17337
0de12c52
IK
173382011-06-08 Ivan Kanis <gnu@kanis.fr>
17339
17340 * calendar/appt.el (appt-check): Move some initializations into the let.
17341
f3d1777e
MR
173422011-06-08 Martin Rudalics <rudalics@gmx.at>
17343
17344 * window.el (window-height): Defalias to window-total-height.
17345 (window-width): Defalias to window-body-width.
17346
18af70d0
CY
173472011-06-07 Chong Yidong <cyd@stupidchicken.com>
17348
17349 * image-mode.el (image-toggle-animation): New command.
17350 (image-mode-map): Bind it to RET.
17351 (image-mode): Update message.
17352 (image-toggle-display-image): Avoid a spurious cache flush.
17353 (image-transform-rotation): Doc fix.
17354 (image-transform-properties): Return quickly in the normal case.
17355 (image-animate-loop): Rename from image-animate-max-time.
17356
2b75be67 17357 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17358 (create-animated-image): Remove unnecessary function.
17359 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17360 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17361 (image-animate-timer): Use car-safe.
17362 (image-animate-timeout): Rename argument.
17363
190b47e6
MR
173642011-06-07 Martin Rudalics <rudalics@gmx.at>
17365
17366 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17367 window.c. Rename first argument to ALL-FRAMES.
17368 Rephrase doc-strings.
17369 (get-buffer-window-list): Rewrite using window-list-1.
17370 Rephrase doc-string.
a1511caf
MR
17371 (window-safe-min-height, window-safe-min-width): New constants.
17372 (window-size-ignore, window-min-size, window-min-size-1)
17373 (window-sizable, window-sizable-p, window-size-fixed-1)
17374 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17375 (window-max-delta-1, window-max-delta, window-resizable)
17376 (window-resizable-p, window-total-height, window-total-width)
17377 (window-body-width): New functions.
17378 (window-full-height-p, window-full-width-p): Rewrite using
17379 window-total-size.
17380 (window-body-height): Rewrite using window-body-size.
190b47e6 17381
85cc1f11
MR
173822011-06-06 Martin Rudalics <rudalics@gmx.at>
17383
17384 * window.el (window-right, window-left, window-child)
17385 (window-child-count, window-last-child, window-any-p)
17386 (normalize-live-buffer, normalize-live-frame)
17387 (normalize-any-window, normalize-live-window)
17388 (window-iso-combination-p, window-iso-combined-p)
17389 (window-iso-combinations)
17390 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17391 (windows-with-parameter, window-with-parameter)
17392 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17393 (window-atom-check, window-side-check, window-check):
17394 New functions.
85cc1f11
MR
17395 (ignore-window-parameters, window-sides, window-sides-vertical)
17396 (window-sides-slots): New variables.
17397 (window-size-fixed): Move down in code. Minor doc-string fix.
17398
e7156492
AS
173992011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17400
17401 * comint.el (comint-dynamic-complete-as-filename)
17402 (comint-dynamic-complete-filename): Correctly call
17403 completion-in-region.
17404
7e821d0d
DD
174052011-06-05 Deniz Dogan <deniz@dogan.se>
17406
17407 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17408 in last change.
17409
ac09b8a1
DD
174102011-06-05 Deniz Dogan <deniz@dogan.se>
17411
17412 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17413 (rcirc): Use it to prompt for encryption.
17414
34699b85
RW
174152011-06-05 Roland Winkler <winkler@gnu.org>
17416
17417 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17418 (bibtex-search-entries): New command bound to C-c C-a.
17419 (bibtex-display-entries): New function.
17420
004dedd3
RW
174212011-06-05 Roland Winkler <winkler@gnu.org>
17422
17423 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17424 (bibtex-insert-kill): After yanking insert newline if necessary.
17425 (bibtex-initialize): Call bibtex-string-files-init only once.
17426 (bibtex-mode): Do not call easy-menu-add.
17427 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17428 (bibtex-yank): Set arg properly if nil.
17429
022fe7ce
RW
174302011-06-05 Roland Winkler <winkler@gnu.org>
17431
2b75be67
SM
17432 * textmodes/bibtex.el (bibtex-search-entry-globally):
17433 New variable.
022fe7ce
RW
17434 (bibtex-search-entry): Use it.
17435
b7c3692a
RW
174362011-06-05 Roland Winkler <winkler@gnu.org>
17437
17438 * textmodes/bibtex.el (bibtex-entry-format): New option
17439 sort-fields.
17440 (bibtex-format-entry, bibtex-reformat): Honor this option.
17441 (bibtex-parse-entry): Return fields in proper order.
17442
8eda563d
JB
174432011-06-05 Juanma Barranquero <lekktu@gmail.com>
17444
17445 * doc-view.el (doc-view-remove-if): Move computation of result out
17446 of `dolist' to silence misleading lexical-binding warning.
17447
7dbe3dbc
CY
174482011-06-04 Chong Yidong <cyd@stupidchicken.com>
17449
17450 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17451 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17452
0c33dd17
MA
174532011-06-04 Michael Albinus <michael.albinus@gmx.de>
17454
17455 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17456 "SunOS 5.10".
17457
f8f91c2b
MA
174582011-06-04 Michael Albinus <michael.albinus@gmx.de>
17459
17460 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17461 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17462 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17463 (tramp-parse-putty):
17464 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17465 (tramp-completion-function-alist-ssh)
17466 (tramp-completion-function-alist-telnet)
17467 (tramp-completion-function-alist-su)
17468 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17469 cookie.
17470
17471 * net/tramp-ftp.el:
17472 * net/tramp-sh.el:
17473 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17474 load "tramp.el" `tramp-set-completion-function'.
17475
e17d9003
SM
174762011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17477
17478 * shell.el: Require and use pcomplete.
17479 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17480 (shell-completion-vars): Set pcomplete-default-completion-function.
17481
6c4cab03
DD
174822011-06-04 Deniz Dogan <deniz@dogan.se>
17483
17484 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17485 `memq' (Bug#8799).
17486
ea9fafe0
SM
174872011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17490
b3e945d3
JB
174912011-06-02 Juanma Barranquero <lekktu@gmail.com>
17492
17493 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17494 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17495 * vc/log-view.el (log-view-beginning-of-defun):
17496 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17497 (smerge-refine-forward, smerge-refine-chopup-region):
17498 Silence warning for unused `dotimes' counter variables.
17499
7d520089
SM
175002011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17501
17502 * net/tramp.el (tramp-with-progress-reporter): Rename from
17503 with-progress-reporter. Use `declare'.
17504 * net/tramp-smb.el:
17505 * net/tramp-sh.el:
17506 * net/tramp-gvfs.el: Update all uses.
17507
a1c2400f
JB
175082011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17509
17510 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17511 buffer isn't killed before making it current.
17512
2403c841
SM
175132011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17514
17515 Silence various byte-compiler warnings.
17516 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17517 `access-type' and new obsolescence format.
17518 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17519 new format.
17520 (byte-compile-check-variable): New `access-type' argument.
17521 Only warn if the access-type is obsolete.
17522 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17523 (byte-compile-variable-set): Adjust callers.
17524 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17525 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17526 setting it as obsolete.
17527 * simple.el (minibuffer-completing-symbol):
17528 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17529 access as obsolete.
17530 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17531 obsolete yet.
17532 * international/quail.el (quail-mouse-choose-completion): Remove unused
17533 code referring to obsolete var.
17534 (quail-choose-completion-string): Remove.
17535 * server.el (server-clients-with, server-kill-buffer-query-function)
17536 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17537 * proced.el (proced-send-signal):
17538 * emacs-lisp/lisp.el (lisp-complete-symbol):
17539 Replace completion-annotate-function with completion-extra-properties.
17540
2462470b
SM
175412011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17542
fb5b2591
SM
17543 * simple.el (goto-line): Use read-number.
17544 (overriding-map-is-bound): Remove.
17545 (saved-overriding-map): Change default.
17546 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17547 Take the map as argument.
17548 (universal-argument, negative-argument, digit-argument): Use it.
17549 (restore-overriding-map): Adjust.
17550 (do-auto-fill): Use fill-forward-paragraph.
17551 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17552
fd6fa53f
SM
17553 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17554 (minibuffer-inactive-mode): New major mode.
17555 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17556 the *Messages* buffer" hack.
17557 (mouse-popup-menubar): Don't burp if the event is a normal key.
17558
2462470b
SM
17559 Miscellaneous tweaks.
17560 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17561 lexical scoping as in subr.el's dolist and dotimes.
17562 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17563 Silence compiler warning.
17564 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17565 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17566 * international/ccl.el (ccl-compile): Trivial simplification.
17567 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17568 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17569 `printflag' argument.
17570 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17571 Purecopy the whole obsolescence data.
17572
108bf785
LL
175732011-06-01 Leo Liu <sdl.web@gmail.com>
17574
17575 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17576 improve doc-string as suggested by Marco Pessotto
17577 <melmothx@gmail.com>.
17578 (rcirc-print): Fix last change.
17579
30a23501
SM
175802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17581
17582 * minibuffer.el (complete-with-action): Return nil for the metadata and
17583 boundaries of non-functional tables.
17584 (completion-table-dynamic): Return nil for the metadata.
17585 (completion-table-with-terminator): Add default case, using
17586 complete-with-action.
17587 (completion--metadata): New function.
17588 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17589 to try and avoid pathological performance problems.
17590 (completion--embedded-envvar-table): Return `category' metadata.
17591
bcd54f83
LMI
175922011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17593
17594 * subr.el (process-alive-p): New tiny convenience function.
17595
e227544d
SM
175962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17597
17598 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17599 content but also its previous major mode.
17600
e8296fdc
HE
176012011-05-31 Helmut Eller <eller.helmut@gmail.com>
17602
4d61f28d 17603 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17604 *Backtrace* buffer when we exit with C-M-c.
17605
620c53a6
SM
176062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17607
17608 * minibuffer.el: Add metadata method to completion tables.
17609 (completion-category-overrides): New defcustom.
17610 (completion-metadata, completion--field-metadata)
17611 (completion-metadata-get, completion--styles)
17612 (completion--cycle-threshold): New functions.
17613 (completion-try-completion, completion-all-completions):
17614 Add `metadata' argument to choose completion-styles.
17615 (completion--do-completion): Use metadata to choose cycling.
17616 (completion-all-sorted-completions): Use metadata for sorting.
17617 Remove :completion-cycle-penalty which is not needed any more.
17618 (completion--try-word-completion): Add `metadata' argument.
17619 (minibuffer-completion-help): Check metadata for annotation function
17620 and sorting.
17621 (completion-file-name-table): Return `category' metadata.
17622 (minibuffer-completing-file-name): Make obsolete.
17623 * simple.el (minibuffer-completing-symbol): Make obsolete.
17624 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17625 completion-try-completion.
17626
1257e755
SM
176272011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17628
17629 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17630
3767e706
LL
176312011-05-30 Leo Liu <sdl.web@gmail.com>
17632
17633 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17634 (rcirc-print): Decode all incoming messages (bug#8744).
17635 (rcirc-decode-coding-system): Allow value nil for automatic coding
17636 system detection.
3767e706 17637
d1a5d56a
GM
176382011-06-01 Glenn Morris <rgm@gnu.org>
17639
17640 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17641
e8cbec34
CY
176422011-05-29 Chong Yidong <cyd@stupidchicken.com>
17643
17644 * image.el (image-animate-max-time): Allow nil and t values.
17645 Default to nil.
17646 (create-animated-image): Doc fix.
17647 (image-animate-start): Remove second arg; just use
17648 image-animate-max-time.
17649 (image-animate-timeout): Doc fix. Args changed.
17650
17651 * image-mode.el (image-toggle-display-image): Ensure that the
17652 image spec passed to the animate timer is the same object as in
58179cce 17653 the buffer's display property (Bug#6981).
e8cbec34
CY
17654 (image-transform-properties): Doc fix.
17655
17656 * image.el (image-animate-max-time): Default to nil.
17657
159daf87
MR
176582011-05-29 Martin Rudalics <rudalics@gmx.at>
17659
17660 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17661 entire buffer list (Bug#8184).
17662
d66c4c7c
CY
176632011-05-29 Chong Yidong <cyd@stupidchicken.com>
17664
17665 * image.el (imagemagick-types-inhibit)
17666 (imagemagick-register-types): Doc fix.
17667
80aec780
DD
176682011-05-29 Deniz Dogan <deniz@dogan.se>
17669
17670 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17671 default.
17672
1dd3c2d9
CY
176732011-05-29 Chong Yidong <cyd@stupidchicken.com>
17674
17675 * select.el: Don't perform clipboard-manager saving in hooks;
17676 leave the hooks empty.
17677
60e56523
LL
176782011-05-28 Leo Liu <sdl.web@gmail.com>
17679
17680 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17681 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17682 (occur-edit-mode): New major mode (Bug#8463).
17683 (occur-after-change-function): New function.
17684 (occur-engine): Give Occur tags a read-only property.
17685
2b1e1a22
KR
176862011-05-28 Kevin Ryde <user42@zip.com.au>
17687
17688 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17689
5d344e88
CY
176902011-05-28 Chong Yidong <cyd@stupidchicken.com>
17691
8e6ca83d
CY
17692 * bindings.el (help-echo): Make the initial non-indicator dash
17693 empty on graphical terminals (Bug#7295).
17694
5d344e88
CY
17695 * files.el (auto-mode-alist): Move config rule after the
17696 in-stripping one (Bug#8547).
17697
bfbbace7
CY
17698 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17699
fbeba6e2
CY
17700 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17701 setting (Bug#8740).
17702
60ed8c72
AA
177032011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17704
4ac619f0
AA
17705 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17706 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17707 (Bug#8539).
60ed8c72 17708
23db196e
CY
177092011-05-28 Chong Yidong <cyd@stupidchicken.com>
17710
17711 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17712
5012f24c
DK
177132011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17714
17715 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17716 (hs-hide-block-at-point, hs-find-block-beginning)
17717 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17718 (Bug#8279).
17719
6a639b16
GM
177202011-05-28 Glenn Morris <rgm@gnu.org>
17721
17722 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17723
d43eaf2c
CY
177242011-05-28 Chong Yidong <cyd@stupidchicken.com>
17725
5199bde1
CY
17726 * help-fns.el (describe-function-1): If the function is a derived
17727 major mode, print the parent mode.
17728
d43eaf2c
CY
17729 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17730 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17731
423428a8
SM
177322011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17733
0ff8e1ba 17734 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17735 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17736 * progmodes/etags.el (tags-completion-at-point-function):
17737 * info-look.el (info-lookup-completions-at-point): Mark as
17738 non-exclusive.
17739 (info-complete): Adjust accordingly.
17740
423428a8
SM
17741 * info-look.el: Convert to lexical-binding and completion-at-point.
17742 (info-lookup-completions-at-point): New function.
17743 (info-complete): Use it and completion-in-region.
17744
b74aa22b
DA
177452011-05-28 Drew Adams <drew.adams@oracle.com>
17746
17747 * isearch.el: Let M-e start with point at the first mismatched char.
17748 (isearch-fail-pos): New function.
17749 (isearch-edit-string): Use it.
17750
66e2e71d
DK
177512011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17752
17753 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17754
b1890b0f 177552011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17756
17757 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17758 traversal functions for avl-trees.
17759 (avl-tree--stack): New struct.
17760 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17761 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17762 (avl-tree--do-enter): Add optional `updatefun' arg.
17763 Change return value.
eb95d01d 17764 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17765 (avl-tree--do-delete): Add `test' and `nilflag' args.
17766 Change return value.
eb95d01d
TC
17767 (avl-tree-member): Add optional `nilflag'
17768 (avl-tree-member-p): New function.
17769 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17770 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17771 (avl-tree-stack-empty-p): New functions.
17772
3769ddcf
TC
17773 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17774 avl-tree--del-balance1 and make it work both ways.
17775 (avl-tree--del-balance2): Remove.
17776 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17777 make it work both ways.
17778 (avl-tree--enter-balance2): Remove.
17779 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17780 New macros.
17781 (avl-tree--mapc, avl-tree-map): Add direction argument.
17782
eb95d01d 177832011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17784
17785 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17786
a9f737ee
CY
177872011-05-27 Chong Yidong <cyd@stupidchicken.com>
17788
17789 * select.el: Support clipboard managers with built-in function
17790 x-clipboard-manager-save, via delete-frame-functions and
17791 kill-emacs-hook.
17792 (xselect-convert-to-targets): Add MULTIPLE target to list.
17793 (xselect-convert-to-save-targets): New function.
17794
c92a1e54
KH
177952011-05-27 Kenichi Handa <handa@m17n.org>
17796
17797 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17798 let-binding rfc2047-encode-encoded-words to nil.
17799
e145f188
GM
178002011-05-27 Glenn Morris <rgm@gnu.org>
17801
5ec8a862
GM
17802 * mail/emacsbug.el: Don't require url-util.
17803
4b29d9fb
GM
17804 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17805
e145f188
GM
17806 * files.el (set-auto-mode):
17807 Also respect mode: entries at the end of the file. (Bug#8586)
17808
7d15102b
GM
178092011-05-26 Glenn Morris <rgm@gnu.org>
17810
98f593b8
GM
17811 * files.el (hack-local-variables-prop-line, hack-local-variables):
17812 Downcase mode names, as seems to be traditional.
27b48e63 17813 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17814
7d15102b
GM
17815 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17816 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17817
51d5b4ec
JD
178182011-05-25 Julien Danjou <julien@danjou.info>
17819
17820 * textmodes/rst.el (rst-define-level-faces): Do not define face
17821 symbol if it is already defined.
17822
91513f63
VB
178232011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17824
17825 * play/5x5.el (5x5-new-game, 5x5-randomize):
17826 Reset 5x5-solver-output to nil when a new grid is cast.
17827 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17828 these debugging traces, as defmacro breaks the compiled code.
17829
4d90d6d0
DK
178302011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17831
17832 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17833
e1b90ef6
LL
178342011-05-24 Leo Liu <sdl.web@gmail.com>
17835
17836 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17837 (vc-bzr-sha1): Adapt.
17838
d8e4b68b 17839 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17840
17841 * bindings.el: Provide sha1 feature.
17842
db0406bb 178432011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17844
17845 * mail/sendmail.el: Require `rfc2047'.
17846 (mail-insert-from-field): Do not perform RFC2047 encoding.
17847 (mail-encode-header): New function.
17848 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17849 buffer to the return value of select-message-coding-system.
17850 Call mail-encode-header.
b8d747b9
KH
17851
17852 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17853
db0406bb 178542011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17855
4d90d6d0
DK
17856 * mail/supercite.el (sc-default-cite-frame):
17857 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17858
eb8a5e9b
GM
178592011-05-24 Glenn Morris <rgm@gnu.org>
17860
f8630703
GM
17861 * progmodes/python.el (brm-menu): Declare.
17862
8831bbed
GM
17863 * emulation/viper.el (viper-set-hooks): Declare.
17864
eb8a5e9b
GM
17865 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17866 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17867 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17868 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17869 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17870 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17871
a2a25d24
SM
178722011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17873
17874 Add an :exit-function for completion-at-point.
17875
17876 * minibuffer.el (completion--done): New fun.
17877 (completion--do-completion): Use it. New arg `expect-exact'.
17878 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17879 since completion--do-completion does it for us now.
17880 (minibuffer-force-complete): Use completion--done and
17881 completion--replace. Handle sole-completion case with more care.
17882 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17883 (completion-extra-properties): New var.
17884 (completion-annotate-function): Make obsolete.
17885 (minibuffer-completion-help): Adjust accordingly.
17886 Use completion-list-insert-choice-function.
17887 (completion-at-point, completion-help-at-point):
17888 Bind completion-extra-properties.
17889 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17890 * simple.el (completion-list-insert-choice-function): New var.
17891 (completion-setup-function): Preserve it.
17892 (choose-completion): Pay attention to it, shuffle the code a bit.
17893 (choose-completion-string): New arg `insert-function'.
17894
17895 * textmodes/bibtex.el: Convert to lexical binding.
17896 (bibtex-mode-map): Use completion-at-point.
17897 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17898 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17899 (bibtex-complete): Define as obsolete alias.
17900 (bibtex-complete-internal): Remove.
17901 (bibtex-format-entry): Remove unused sub-group in regexp.
17902 * shell.el (shell--command-completion-data)
17903 (shell-environment-variable-completion):
17904 * pcomplete.el (pcomplete-completions-at-point):
17905 * comint.el (comint--complete-file-name-data): Use :exit-function
17906 instead of completion-table-with-terminator so it also works for
17907 choose-completion.
17908
e44e373d
SM
179092011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17910
4f91a816
SM
17911 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17912
782fc819
SM
17913 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17914 (bug#8710).
17915
e44e373d
SM
17916 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17917
381987c3
KM
179182011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17919
17920 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17921 customization variable and implement: If non-nil, auto-fill will
17922 be inhibited while on topic's header line.
17923
b776bc70
VB
179242011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17925
17926 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17927 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17928 always have a solution in grid size = 5 cases.
17929 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17930 (5x5-solver-output, 5x5-log-buffer): New vars.
17931 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17932 Make these variables buffer local to achieve 5x5 multi-session-ness.
17933 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17934 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17935 (5x5-solve-suggest): New funs.
17936 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17937 randomize a grid so that we ensure that there is always a solution.
17938 (5x5-make-random-grid): Allow other movement than flipping.
17939
7de88b6e
KR
179402011-05-23 Kevin Ryde <user42@zip.com.au>
17941
17942 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17943 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17944 advice and passes PREDICATE.
17945
b1ef1257
SM
179462011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17947
bbca48fe
SM
17948 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17949 byte-compile-lambda if it's actually a lambda.
17950
b1ef1257
SM
17951 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17952 Fix function quoting. Use backquote better.
17953
92a9cc65
YS
179542011-05-22 Yuanle Song <sylecn@gmail.com>
17955
17956 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17957 matching (Bug#8516).
17958
f0fb8059
JA
179592011-01-22 Jari Aalto <jari.aalto@cante.net>
17960
17961 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17962 different face (Bug#8178).
17963
d5b44c93
CY
179642011-05-22 Chong Yidong <cyd@stupidchicken.com>
17965
17966 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17967 defface (Bug#8144).
17968
79106a44
SM
179692011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17970
9c848d8a
SM
17971 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17972 funcall as well (bug#8712). Warn when performing those conversions.
17973 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17974
79106a44
SM
17975 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17976
88dfa756
GM
179772011-05-22 Glenn Morris <rgm@gnu.org>
17978
17979 * files.el (hack-local-variables-prop-line): Small simplifications.
17980 (hack-local-variables, hack-local-variables-prop-line):
17981 If MODE-ONLY, return the mode, rather than just `t'.
17982
b7cf2c79
SM
179832011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17984
17985 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17986
3f1a8558
GM
179872011-05-21 Glenn Morris <rgm@gnu.org>
17988
7e4ccca3
GM
17989 * files.el (hack-local-variables-prop-line, hack-local-variables):
17990 If only interested in the mode, don't bother doing the other stuff.
17991
637d46ca
GM
17992 * image-mode.el (image-after-revert-hook):
17993 Redraw all frames on which the image is visible. (Bug#8567)
17994
973d955b
GM
17995 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17996
3f1a8558
GM
17997 * wid-edit.el (widget-checklist-match-inline):
17998 Fix 2011-04-19 change. (Bug#8649)
17999
96479927
SM
180002011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18001
1dcf791f
SM
18002 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18003 Also allow singlespace after single-letter capitals followed by a dot.
18004
96479927
SM
18005 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18006 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18007
35fd0881
N
180082011-05-20 Nix <nix@esperi.org.uk>
18009
18010 * files.el (basic-save-buffer-2):
18011 Fix handling of break-hardlink-on-save with non-existent files.
18012
82745640
DD
180132011-05-19 Deniz Dogan <deniz@dogan.se>
18014
18015 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18016 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18017
4a720484
GM
180182011-05-19 Glenn Morris <rgm@gnu.org>
18019
d1f21341
GM
18020 * progmodes/f90.el (f90-type-def-re):
18021 Handle "type, bind(c)". (Bug#8691)
18022
4a720484
GM
18023 * emacs-lisp/autoload.el (batch-update-autoloads):
18024 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18025
2fb0a219
MA
180262011-05-18 Michael Albinus <michael.albinus@gmx.de>
18027
18028 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18029 property for the correct connection in case of multihops.
18030
e565dd37
GM
180312011-05-18 Glenn Morris <rgm@gnu.org>
18032
c2571358 18033 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18034 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18035
e565dd37
GM
18036 Rationalize calendar handling of day and month abbrev-arrays.
18037 * calendar/calendar.el (calendar-customized-p): New function.
18038 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18039 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18040 Add :set function.
18041 (calendar-abbrev-length, calendar-day-abbrev-array)
18042 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18043 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18044 Elements may no longer be nil.
18045 (calendar-day-name, calendar-month-name):
18046 Update for changed nature of abbrev arrays.
18047 * calendar/diary-lib.el (diary-name-pattern):
18048 Update for changed nature of abbrev arrays.
18049 (diary-mark-entries-1): Update calendar-make-alist calls.
18050 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18051 * calendar/cal-html.el (cal-html-day-abbrev-array):
18052 Simply inherit from calendar-day-abbrev-array.
18053
1d99a745
SM
180542011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18055
18056 * progmodes/grep.el (grep-mode): Disable default
18057 compilation-directory-matcher setting (bug#8684).
18058
7c1d9aa0
MA
180592011-05-17 Michael Albinus <michael.albinus@gmx.de>
18060
18061 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18062 instead of "head" and "tail". There were problems with SunOS 5.9,
18063 and it performs better.
18064
3952e9d8
GM
180652011-05-17 Glenn Morris <rgm@gnu.org>
18066
2dd12e7f
GM
18067 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18068
e4157b9c
GM
18069 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18070 Replace obsolete function.
18071
8e249bbd
GM
18072 * shell.el (pcomplete-parse-arguments-function): Declare.
18073
3952e9d8
GM
18074 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18075 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18076 (appt-check): Doc fixes.
18077 (appt-disp-window-function, appt-delete-window-function):
18078 Remove needless special case in custom :type.
18079 (appt-display-count): Default to 0, not nil.
18080 (appt-check): Reset appt-display-count to 0, not nil.
18081
c71a0d48 180822011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18083
c71a0d48
GM
18084 * progmodes/python.el (python-font-lock-keywords):
18085 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18086
31d55be9
SM
180872011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18088
18089 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18090
3bfacb2f
KR
180912011-05-16 Kevin Ryde <user42@zip.com.au>
18092
18093 * info-look.el (makefile-automake-mode): New setups, looking in
18094 automake manual, then makefile-mode.
18095 (makefile-mode): Remove automake manual, have it just in
18096 makefile-automake-mode since there's various things different or
18097 not relevant to plain make.
18098 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18099 believe a hypothetical automake-mode would go to makefile-mode,
18100 not the other way around.
18101
c8e83751
CY
181022011-05-15 Chong Yidong <cyd@stupidchicken.com>
18103
5e9e35cd
CY
18104 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18105 hunk-end tags (Bug#8672).
18106
c8e83751
CY
18107 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18108 vc-annotate-show-diff-revision-at-line (Bug#8671).
18109
50b23e5a
GM
181102011-05-14 Glenn Morris <rgm@gnu.org>
18111
7210a739
GM
18112 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18113 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18114 (change-log-font-lock-keywords): Also handle multiple author lines
18115 with leading tabs. (Bug#8644)
7210a739 18116
4691905a
GM
18117 * calendar/appt.el (appt-check): Rename some local variables.
18118 Some simplification/reordering.
18119
50b23e5a
GM
18120 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18121 (feedmail-sendmail-f-doesnt-sell-me-out)
18122 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18123 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18124 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18125 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18126 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18127 (feedmail-binmail-gnulinuxish-template):
18128 Rename from feedmail-binmail-linuxish-template.
18129 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18130 Use insert-buffer-substring.
18131
215cda7c
BC
181322011-05-14 Bill Carpenter <bill@carpenter.org>
18133
18134 * mail/feedmail.el (feedmail-patch-level): Increase.
18135 (feedmail-debug): New custom group.
18136 (feedmail-confirm-outgoing-timeout)
18137 (feedmail-sendmail-f-doesnt-sell-me-out)
18138 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18139 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18140 (feedmail-sender-line, feedmail-from-line)
18141 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18142 (feedmail-spray-this-address)
215cda7c
BC
18143 (feedmail-spray-address-fiddle-plex-list)
18144 (feedmail-queue-use-send-time-for-date)
18145 (feedmail-queue-use-send-time-for-message-id)
18146 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18147 (feedmail-buffer-eating-function):
18148 Doc fixes.
18149 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18150 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18151 (feedmail-message-action-scroll-down): New functions.
18152 (feedmail-queue-directory, feedmail-queue-draft-directory):
18153 Use expand-file-name.
18154 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18155 Remove C-v help entry.
18156 (feedmail-queue-buffer-file-name): New variable.
18157 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18158 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18159 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18160 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18161 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18162 (feedmail-message-action-toggle-spray)
18163 (feedmail-run-the-queue-no-prompts)
18164 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18165 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18166 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18167 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18168 (feedmail-envelope-deducer, feedmail-fiddle-from)
18169 (feedmail-fiddle-sender, feedmail-default-date-generator)
18170 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18171 (feedmail-fiddle-spray-address)
18172 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18173 (feedmail-fiddle-list-of-fiddle-plexes)
18174 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18175 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18176 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18177 Change default. Doc fix.
18178 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18179 (feedmail-binmail-linuxish-template): New constant.
18180 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18181 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18182 (feedmail-send-it): Add debug call.
18183 Use feedmail-queue-buffer-file-name, and
18184 feedmail-send-it-immediately-wrapper.
18185 (feedmail-message-action-send): Add debug call.
18186 Use feedmail-send-it-immediately-wrapper.
18187 (feedmail-queue-express-to-queue): Add debug call.
18188 Run feedmail-queue-express-hook.
18189 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18190 (feedmail-message-action-help-blat):
18191 Rename from feedmail-queue-send-edit-prompt-help-first.
18192 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18193 Check line-endings. Handle errors better.
18194 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18195 Doc fix. Add debug call.
18196 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18197 Use feedmail-queue-send-edit-prompt-inner.
18198 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18199 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18200 from feedmail-queue-send-edit-prompt.
18201 (feedmail-queue-send-edit-prompt-help)
18202 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18203 (feedmail-tidy-up-slug): Add debug call.
18204 Respect feedmail-queue-slug-suspect-regexp.
18205 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18206 (feedmail-dump-message-to-queue): Add debug call.
18207 Expand queue-directory.
18208 (feedmail-dump-message-to-queue): Change message slightly.
18209 Use feedmail-say-chatter.
18210 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18211 (feedmail-send-it-immediately-wrapper): New function.
18212 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18213 Insert empty string rather than newline. Handle full-frame case.
18214 Use catch/throw. Use feedmail-say-chatter.
18215 (feedmail-fiddle-from): Try mail-host-address.
18216 (feedmail-default-message-id-generator): Doc fix.
18217 Bind system-time-locale. Handle missing end.
18218 (feedmail-fiddle-x-mailer): Add debug call.
18219 Handle feedmail-x-mailer-line being nil.
18220 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18221 Add debug call. Use buffer-substring-no-properties.
18222 (feedmail-say-debug, feedmail-say-chatter): New functions.
18223 (feedmail-find-eoh): Give an explicit error.
18224
42c7e61e
UJ
182252011-05-13 Ulf Jasper <ulf.jasper@web.de>
18226
c2571358 18227 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18228 family from helvetica to sans.
c2571358 18229 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18230 etc/images/newsticker.
18231
c2571358 18232 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18233 family from helvetica to sans.
18234
18235 * net/newst-plainview.el (newsticker-new-item-face)
18236 (newsticker-old-item-face, newsticker-immortal-item-face)
18237 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18238 (newsticker-statistics-face): Change default family from
42c7e61e 18239 helvetica to sans.
c2571358 18240 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18241 etc/images/newsticker.
18242
5d3385a0
JB
18243 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18244 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18245 auto-marking.
18246
8497a297
DV
182472011-05-13 Didier Verna <didier@xemacs.org>
18248
18249 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18250 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18251 TODO entries.
8497a297
DV
18252 (lisp-lambda-list-keyword-parameter-indentation)
18253 (lisp-lambda-list-keyword-parameter-alignment)
18254 (lisp-lambda-list-keyword-alignment): New customizable user options.
18255 (lisp-indent-defun-method): Improve docstring.
18256 (extended-loop-p): Fix comment.
18257 (lisp-indent-lambda-list-keywords-regexp): New variable.
18258 (lisp-indent-lambda-list): New function.
18259 (lisp-indent-259): Use it.
18260 (lisp-indent-defmethod): Support for more than one
18261 method qualifier and properly indent methods lambda-lists.
18262 (defgeneric): Provide a missing common-lisp-indent-function property.
18263
f278f87f
SM
182642011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18265
18266 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18267 bounds for the empty string (bug#8667).
18268
5233edd7
GM
182692011-05-13 Glenn Morris <rgm@gnu.org>
18270
5237a44f
GM
18271 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18272
8340026c 18273 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18274 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18275
5233edd7 18276 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18277 (appt-time-msg-list): Doc fix.
a5464014 18278 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18279
92d10796
AS
182802011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18281
18282 * progmodes/ld-script.el (ld-script-keywords)
18283 (ld-script-builtins): Update keywords list.
18284
914a0ae1
SM
182852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18286
c89be45f
SM
18287 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18288
914a0ae1
SM
18289 * shell.el (shell-completion-vars): New function.
18290 (shell-mode):
18291 * simple.el (read-shell-command): Use it.
18292 (blink-matching-open): No need for " [...]" in minibuffer-message.
18293
98dc3df3
GM
182942011-05-12 Glenn Morris <rgm@gnu.org>
18295
18296 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18297 (appt-check): Simplify.
18298
d2fc7e3d 182992011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18300
4d61f28d 18301 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18302 literal "/dev/null".
18303
d2fc7e3d 183042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18305
18306 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18307 Fix typo.
18308
d2fc7e3d 183092011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18310
3f254caa
SM
18311 * progmodes/which-func.el (which-function):
18312 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18313 which might not be defined (Bug#8260).
18314
d45885f7
GM
183152011-05-12 Glenn Morris <rgm@gnu.org>
18316
18317 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18318 Let byte-compile-initial-macro-environment always take precedence.
18319
488086f4
SM
183202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18321
18322 * net/rcirc.el: Add support for SSL/TLS connections.
18323 (rcirc-server-alist): New field `encryption'.
18324 (rcirc): Check `encryption' settings.
18325 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18326 Merge make-local-variable into `set'.
18327 (rcirc--connection-open-p): New function.
18328 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18329 the process is not a network process (e.g. running gnutls-cli).
18330 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18331 Make rcirc-(en|de)code-coding-system local here.
18332 (rcirc-mode): Merge make-local-variable into `set'.
18333 (rcirc-parent-buffer): Make permanent buffer-local.
18334 (rcirc-multiline-minor-mode): Don't do it here.
18335 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18336 there's no server buffer.
18337
7d3b9d44
GM
183382011-05-11 Glenn Morris <rgm@gnu.org>
18339
f64049c6
GM
18340 * newcomment.el (comment-kill): Prefix "unused" local.
18341
93c9df73
GM
18342 * term/w32console.el (get-screen-color): Declare.
18343
7d3b9d44
GM
18344 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18345 Handle symbol elements of byte-compile-initial-macro-environment.
18346
9e2dd53f
LL
183472011-05-10 Leo Liu <sdl.web@gmail.com>
18348
488086f4
SM
18349 * bookmark.el (bookmark-bmenu-mode-map):
18350 Bind bookmark-bmenu-search to `/'.
8b340240 18351
9e2dd53f 18352 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18353 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18354 (Footnote-unicode): New function.
18355 (footnote-style-alist): Add unicode style to the list.
18356 (footnote-style): Doc fix.
9e2dd53f 18357
79b70037
GM
183582011-05-10 Jim Meyering <meyering@redhat.com>
18359
18360 Fix doubled-word typos.
18361 * international/quail.el (quail-insert-kbd-layout): and and -> and
18362 * kermit.el: and and -> and
18363 * net/ldap.el (ldap-search-internal): to to -> to
18364 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18365 * progmodes/js.el (js-mode): and and -> and
18366 * textmodes/artist.el (artist-move-to-xy): at at -> at
18367 (artist-draw-region-trim-line-endings): if if -> if
18368 And Safetyc -> Safety.
18369 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18370
b8f82dc1 183712011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18372 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18373
18374 * files.el (hack-one-local-variable-eval-safep):
18375 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18376
4f99f44b
GM
183772011-05-10 Glenn Morris <rgm@gnu.org>
18378
18379 * calendar/diary-lib.el (diary-list-entries-hook)
18380 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18381 (diary-nongregorian-marking-hook, diary-list-entries)
18382 (diary-include-other-diary-files, diary-mark-entries)
18383 (diary-mark-included-diary-files): Doc fixes.
18384
84f29e6b
JB
183852011-05-09 Juanma Barranquero <lekktu@gmail.com>
18386
18387 * misc.el: Require tabulated-list.el during compilation.
18388
9bedd73a
CY
183892011-05-09 Chong Yidong <cyd@stupidchicken.com>
18390
488086f4
SM
18391 * progmodes/compile.el (compilation-start):
18392 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18393 (compilation-filter-hook): Doc fix.
18394
797c735c
DD
183952011-05-09 Deniz Dogan <deniz@dogan.se>
18396
18397 * wdired.el: Remove outdated installation comment. Fix usage
18398 comment.
18399
5f4b1dfe
JB
184002011-05-09 Juanma Barranquero <lekktu@gmail.com>
18401
18402 * misc.el: Implement new command `list-dynamic-libraries'.
18403 (list-dynamic-libraries--loaded-only-p): New variable.
18404 (list-dynamic-libraries--refresh): New function.
18405 (list-dynamic-libraries): New command.
18406
4c44026c
CY
184072011-05-09 Chong Yidong <cyd@stupidchicken.com>
18408
488086f4
SM
18409 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18410 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18411 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18412 higher priority to avoid clobbering by gnu.
18413
027f966d
CY
184142011-05-08 Chong Yidong <cyd@stupidchicken.com>
18415
18416 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18417 if the face has existing theme settings (Bug#8454).
18418
085f5d7d
CY
184192011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18420
488086f4
SM
18421 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18422 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18423
2a86a00c
RS
18424 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18425 special file names `.' and `..' (Bug#8259).
18426
d9c54a06
CY
184272011-05-08 Chong Yidong <cyd@stupidchicken.com>
18428
488086f4
SM
18429 * progmodes/grep.el (grep-mode-font-lock-keywords):
18430 Remove buffer-changing entries.
d9c54a06
CY
18431 (grep-filter): New function.
18432 (grep-mode): Add it to compilation-filter-hook.
18433
18434 * progmodes/compile.el (compilation-filter-hook)
18435 (compilation-filter-start): New defvars.
18436 (compilation-filter): Call compilation-filter-hook prior to
18437 updating the process mark.
18438
c4662635
SM
184392011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18440
18441 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18442
b0512a1d
EZ
184432011-05-07 Eli Zaretskii <eliz@gnu.org>
18444
605c9376
EZ
18445 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18446 mailclient-send-it even if window-system is nil. (Bug#8595)
18447
c4662635
SM
18448 * term/w32console.el (terminal-init-w32console):
18449 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18450 background-mode. (Bug#8597)
18451
d1dc2cc2
SM
184522011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18453
18454 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18455 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18456 New functions.
18457 (defgeneric, eieio--defmethod): Use them.
18458 (eieio-defgeneric): Remove.
18459 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18460
915d1300
GM
184612011-05-07 Glenn Morris <rgm@gnu.org>
18462
a3961c3e
GM
18463 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18464 Use let rather than let*.
18465 (timeclock-find-discrep): Remove unused local.
18466
314347b9
GM
18467 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18468
915d1300
GM
18469 * calendar/appt.el (appt-time-msg-list): Doc fix.
18470
275b59b0
NF
184712011-05-06 Noah Friedman <friedman@splode.com>
18472
18473 * apropos.el (apropos-print-doc): Only use
18474 emacs-lisp-docstring-fill-column when it is bound to an integer,
18475 per that variable's documentation.
18476
6c19f744
SM
184772011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18478
18479 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18480 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18481
60f884b2
GM
184822011-05-06 Glenn Morris <rgm@gnu.org>
18483
5006e634
GM
18484 * calendar/appt.el (appt-message-warning-time): Doc fix.
18485 (appt-warning-time-regexp): New option.
18486 (appt-make-list): Respect appt-message-warning-time.
18487
548d0a63
GM
18488 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18489 New options.
18490 (diary-add-to-list): Strip comments from the displayed string.
18491 (diary-mode): Set comment-start and comment-end.
18492
60f884b2
GM
18493 * vc/diff-mode.el (smerge-refine-subst): Declare.
18494 (diff-refine-hunk): Don't require smerge-mode when compiling.
18495
989681bb
JB
184962011-05-06 Juanma Barranquero <lekktu@gmail.com>
18497
18498 * simple.el (list-processes): Return nil as the docstring says.
18499
a6bc05e1
MA
185002011-05-05 Michael Albinus <michael.albinus@gmx.de>
18501
18502 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18503 to "".
18504 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18505 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18506 determining of binary transfer. (Bug#7383)
18507
23c22e9a
MA
185082011-05-05 Michael Albinus <michael.albinus@gmx.de>
18509
c4662635
SM
18510 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18511 Fix port computation bug. (Bug#8618)
23c22e9a 18512
0bff894f
GM
185132011-05-05 Glenn Morris <rgm@gnu.org>
18514
b8296902
GM
18515 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18516
1f522ce8
GM
18517 * simple.el (shell-dynamic-complete-functions)
18518 (comint-dynamic-complete-functions): Declare.
18519
cf5bee67
GM
18520 * net/network-stream.el (gnutls-negotiate):
18521 * simple.el (tabulated-list-print): Fix declarations.
18522
18523 * progmodes/gud.el (syntax-symbol, syntax-point):
18524 Remove unnecessary and incorrect declarations.
18525
0bff894f 18526 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18527 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18528
9869b3ae
SM
185292011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18530
18531 Fix earlier half-done eieio-defmethod change (bug#8338).
18532 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18533 Streamline and change calling convention.
18534 (defmethod): Adjust accordingly and simplify.
18535 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18536 new eieio--defmethod.
18537 (slot-boundp): Minor CSE simplification.
18538
9c1d5ac5
MZ
185392011-05-05 Milan Zamazal <pdm@zamazal.org>
18540
18541 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18542 (glasses-make-readable): Use glasses-separate-capital-groups.
18543
455c834e
JB
185442011-05-05 Juanma Barranquero <lekktu@gmail.com>
18545
18546 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18547 (warning-series): Doc fix.
18548 (display-warning): Don't try to create the buffer if we just found it.
18549
9ed7c8cb
CY
185502011-05-04 Chong Yidong <cyd@stupidchicken.com>
18551
18552 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18553 (autoload-find-generated-file): New function.
18554 (generate-file-autoloads): Bind generated-autoload-file to
18555 buffer-file-name.
9869b3ae
SM
18556 (update-file-autoloads, update-directory-autoloads):
18557 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18558 output file (Bug#7989).
18559 (batch-update-autoloads): Doc fix.
18560
0898ca10
JB
185612011-05-04 Juanma Barranquero <lekktu@gmail.com>
18562
18563 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18564
31dfb76c
GM
185652011-05-04 Glenn Morris <rgm@gnu.org>
18566
f330b642
GM
18567 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18568 function, so it follows changes in calendar-date-style.
18569 (diary-fancy-date-matcher): New function.
18570 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18571 (diary-fancy-font-lock-fontify-region-function):
18572 Use diary-fancy-date-pattern as a function.
18573
31dfb76c
GM
18574 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18575 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18576
48e79d6a
TZ
185772011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18578
18579 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18580 instead of positional arguments. Allow :keylist and :crlfiles
18581 arguments.
18582 (open-gnutls-stream): Call it.
18583
18584 * net/network-stream.el (network-stream-open-starttls): Adjust to
18585 call `gnutls-negotiate' with :process and :hostname arguments.
18586
dd5a5ee0
SM
185872011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18588
ef80fc09
SM
18589 * minibuffer.el (completion--message): New function.
18590 (completion--do-completion, minibuffer-complete)
18591 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18592 (completion--do-completion): Don't ignore completion-auto-help when in
18593 icomplete-mode.
18594
dd5a5ee0
SM
18595 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18596 internal encoding (e.g. tibetan zero is not whitespace).
18597 (global-whitespace-mode): Prefer save-current-buffer.
18598 (whitespace-trailing-regexp): Remove useless save-match-data.
18599 (whitespace-empty-at-bob-regexp): Minor simplification.
18600
b7d22a83
CY
186012011-05-03 Chong Yidong <cyd@stupidchicken.com>
18602
18603 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18604
5192af46
AM
186052011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18606
18607 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18608 Use `concat' to create string for insertion.
5192af46 18609
5767d190
SM
186102011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18611
18612 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18613 Avoid open-line which runs post-self-insert-hook.
18614 (bibtex-fill-entry): Remove unused `end' var.
18615
bf242939
AM
186162011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18617
5767d190
SM
18618 * textmodes/ispell.el (ispell-add-per-file-word-list):
18619 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18620
25666126
LL
186212011-05-03 Leo Liu <sdl.web@gmail.com>
18622
18623 * isearch.el (isearch-yank-pop): New command.
5767d190 18624 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18625 (isearch-forward): Mention it.
18626
52d3c2d0
SM
186272011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18628
1bcace58
SM
18629 * simple.el (minibuffer-complete-shell-command): Remove.
18630 (minibuffer-local-shell-command-map): Use completion-at-point.
18631 (read-shell-command): Setup completion vars here instead.
18632 (read-expression-map): Bind TAB to symbol completion.
18633
52d3c2d0
SM
18634 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18635 error directly rather via storing it into `results'.
18636
35813471
LL
186372011-05-02 Leo Liu <sdl.web@gmail.com>
18638
18639 * vc/diff.el: Fix description.
18640
e793a940
LMI
186412011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18642
18643 * server.el (server-eval-at): New function.
18644
8de66e05
LMI
186452011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18646
18647 * net/network-stream.el (open-network-stream): Take a :nowait
18648 parameter and pass it on to `make-network-process'.
18649 (network-stream-open-plain): Ditto.
18650
dcb79f20
AS
186512011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18652
18653 * faces.el (face-spec-set-match-display): Don't match toolkit
18654 options on terminal frames.
18655
14a7fbd8
SM
186562011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18657
7eabc1be
SM
18658 * progmodes/pascal.el: Use lexical binding.
18659 (pascal-mode-map): Remove author preferences.
18660
14a7fbd8
SM
18661 * pcomplete.el (pcomplete-std-complete): Don't abuse
18662 completion-at-point.
18663
50f84510
JB
186642011-04-28 Juanma Barranquero <lekktu@gmail.com>
18665
6e087a44
JB
18666 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18667 removing code that has been dead since 1991 or so.
18668
50f84510
JB
18669 * startup.el (command-line): When warning about "_emacs", use a
18670 delayed warning to allow the user to filter it out.
18671
0ba690bd
DD
186722011-04-28 Deniz Dogan <deniz@dogan.se>
18673
18674 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18675 user has not joined.
18676
08abfaad
SM
186772011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18678
18679 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18680 aren't any completions at point.
18681
638f053a
JB
186822011-04-28 Juanma Barranquero <lekktu@gmail.com>
18683
18684 * subr.el (display-delayed-warnings): New function.
18685 (delayed-warnings-hook): New variable.
18686
8fff8daa
SM
186872011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18688
08abfaad
SM
18689 * minibuffer.el (completion-at-point, completion-help-at-point):
18690 Don't presume that a given completion-at-point-function will always
18691 use the same calling convention.
18692
8fff8daa
SM
18693 * pcomplete.el (pcomplete-completions-at-point):
18694 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18695 pcomplete-seen is non-nil.
18696 (pcomplete-comint-setup): Also recognize the new comint/shell
18697 completion functions.
18698 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18699 pcomplete-seen is non-nil.
18700
841a1577 187012011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18702
841a1577 18703 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18704 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18705 the first character in the entry. This allows for code to add its
211ec907
UJ
18706 own uid to the entry.
18707 (icalendar--convert-float-to-ical): Add export of
18708 `diary-float'-entries save for those with the optional DAY
18709 argument.
18710
2a782793
DC
187112011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18712
18713 * subr.el (shell-quote-argument): Use alternate escaping strategy
18714 when we spot a variable reference in a string.
18715
0438ce91
DC
187162011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18717
18718 * cus-start.el (all): Define customization for debug-on-event.
18719
841a1577 187202011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18721
18722 * subr.el (shell-quote-argument): Escape correctly under Windows.
18723
d090ed6c
SM
187242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18725
18726 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18727
bfd31217
MA
187282011-04-25 Michael Albinus <michael.albinus@gmx.de>
18729
d090ed6c
SM
18730 * net/tramp.el (tramp-process-actions): Add POS argument.
18731 Delete region between POS and (pos).
bfd31217 18732
d090ed6c
SM
18733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18734 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18735 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18736
18737 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18738 position in `tramp-process-actions' call.
18739
18740 * net/trampver.el: Update release number.
18741
e92f3bd3
SM
187422011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18743
850256b5
SM
18744 * custom.el (defcustom): Obey lexical-binding.
18745
e92f3bd3
SM
18746 Fix octave-inf completion problems reported by Alexander Klimov.
18747 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18748 Inherit from octave-mode-syntax-table.
18749 (inferior-octave-mode): Set info-lookup-mode.
18750 (inferior-octave-completion-at-point): New function.
18751 (inferior-octave-complete): Use it and completion-in-region.
18752 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18753 comint-filename-completion.
18754 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18755 symbol elements which shouldn't be word elements.
18756 (octave-font-lock-keywords, octave-beginning-of-defun)
18757 (octave-function-header-regexp): Adjust regexps accordingly.
18758 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18759
cd22b309
JB
187602011-04-25 Juanma Barranquero <lekktu@gmail.com>
18761
18762 * net/gnutls.el (gnutls-errorp): Declare before first use.
18763
8b492194
TZ
187642011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18765
18766 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18767 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18768 default trustfile exists before going to use it. Add missing
5a5fa834 18769 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18770 Reported by Claudio Bley <claudio.bley@gmail.com>.
18771 (open-gnutls-stream): Add usage example.
18772
18773 * net/network-stream.el (network-stream-open-starttls): Give host
18774 parameter to `gnutls-negotiate'.
18775 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18776 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18777
841a1577 187782011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18779
cd22b309
JB
18780 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18781 Use correct match group (bug#8438).
05842630 18782
3ba7869c
CY
187832011-04-24 Chong Yidong <cyd@stupidchicken.com>
18784
512e3ae1
CY
18785 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18786 (package-menu--generate): New arg specifying packages to show.
18787 (package-menu-refresh, package-menu-execute, list-packages):
18788 Callers changed.
18789 (package-show-package-list): New function, replacing deleted
18790 package--list-packages (renamed because it is non-internal).
18791
18792 * finder.el (finder-list-matches): Use package-show-package-list
18793 instead of deleted package--list-packages.
18794
e92f3bd3
SM
18795 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18796 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18797 (vc-annotate-mode-map): Bind it to RET.
18798
7031be6d
UR
187992011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18800
18801 * progmodes/etags.el (next-file): Don't use set-buffer to change
18802 buffers (Bug#8478).
18803
4ef177aa
CY
188042011-04-24 Chong Yidong <cyd@stupidchicken.com>
18805
c8d173eb
CY
18806 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18807
4ef177aa
CY
18808 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18809 (apropos-accumulator): Doc fix.
18810 (apropos-function, apropos-macro, apropos-command)
18811 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18812 (apropos-plist): Add face property.
18813 (apropos-symbols-internal): Fix indentation.
18814 (apropos-print): Simplify help, and recognize apropos-multi-type.
18815 (apropos-print-doc): Use button-type-get to extract the button's
18816 face property. Fill docstring (Bug#8352).
18817
4ffd0d6b 188182011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18819
18820 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18821
c6c32125 18822 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18823 (mpuz-mode-map): Use mapc.
c6c32125
JB
18824 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18825 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18826 Fix typos in docstrings.
18827
58d468b4
JB
18828 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18829 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18830
6470c3c6
JB
18831 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18832
4ffd0d6b 188332011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18834
18835 * minibuffer.el (completion--do-completion): Avoid the "Next char
18836 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18837
3ad8bad0
CY
18838 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18839 mouse-2 into unread-command-events, it is interpreted correctly.
18840
71d73c9c 18841 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18842 (image-toggle-display): Doc fix.
71d73c9c 18843
841a1577 188442011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18845
4ffd0d6b
GM
18846 * textmodes/page.el (what-page): Use line-number-at-pos to
18847 calculate line number (Bug#6825).
6e1dbaa9 18848
c2fb1b60
JB
188492011-04-22 Juanma Barranquero <lekktu@gmail.com>
18850
18851 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18852 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18853 Pass argument NO-DEFAULT to `find-tag-interactive'.
18854
e02f48d7
JB
188552011-04-22 Juanma Barranquero <lekktu@gmail.com>
18856
18857 Lexical-binding cleanup.
18858
18859 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18860 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18861 * progmodes/ada-prj.el (ada-prj-initialize-values)
18862 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18863 (ada-prj-show-value):
18864 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18865 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18866 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18867 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18868 * progmodes/bug-reference.el (bug-reference-push-button):
18869 * progmodes/fortran.el (fortran-line-length):
18870 * progmodes/glasses.el (glasses-change):
18871 * progmodes/octave-mod.el (octave-fill-paragraph):
18872 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18873 (python-pdbtrack-grub-for-buffer, python-sentinel):
18874 * progmodes/sql.el (sql-save-connection):
18875 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18876 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18877 Mark unused parameters.
18878
18879 * progmodes/compile.el (compilation--flush-directory-cache)
18880 (compilation--flush-parse, compile-internal): Mark unused parameters.
18881 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18882 (compilation-next-error-function): Remove unused variable `timestamp'.
18883
18884 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18885 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18886
18887 * progmodes/dcl-mode.el (dcl-end-of-command):
18888 Remove unused variable `start'.
18889 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18890 (dcl-option-value-basic, dcl-option-value-offset)
18891 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18892 Mark unused parameters.
18893 (dcl-save-local-variable): Remove unused variable `val'.
18894 (mode): Declare.
18895
18896 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18897 Mark unused parameters.
18898 (delphi-ignore-changes): Move before first use.
18899 (delphi-charset-token-at): Remove unused variable `start'.
18900 (delphi-else-start): Remove unused variable `if-count'.
18901 (delphi-comment-block-start, delphi-comment-block-end):
18902 Remove unused variable `kind'.
18903 (delphi-indent-line): Remove unused variable `new-point'.
18904
18905 * progmodes/ebrowse.el (ebrowse-files-list)
18906 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18907 Mark unused parameters. Don't quote `lambda'.
18908 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18909 Don't quote `lambda'.
18910 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18911 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18912 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18913 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18914 Use `ignore-errors'.
18915 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18916 (ebrowse-view/find-file-and-search-pattern)
18917 (ebrowse-view/find-member-declaration/definition):
18918 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18919 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18920 Rename parameter PREFIX-ARG to PREFIX.
18921 (ebrowse-tags-read-name): Remove unused variables `start' and
18922 `member-info'.
18923 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18924 to `tags-file'.
18925
18926 * progmodes/etags.el (local-find-tag-hook): Declare.
18927 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18928 Mark unused parameters.
18929
18930 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18931 (executable-interpret): Mark unused parameter.
18932
18933 * progmodes/flymake.el (flymake-process-sentinel)
18934 (flymake-after-change-function)
18935 (flymake-create-temp-with-folder-structure)
18936 (flymake-get-include-dirs-dot): Mark unused parameters.
18937 (flymake-safe-delete-directory): Remove unused variable `err'.
18938
18939 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18940 (speedbar-timer-fn, speedbar-line-text)
18941 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18942 (speedbar-center-buffer-smartly): Declare functions.
18943 (gdb-find-watch-expression): Remove unused variable `array'.
18944 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18945 (gdb-starting): Mark unused parameters.
18946 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18947 (gdb-table-string): Remove unused variable `res'.
18948 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18949 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18950 (gdb-display-buffer): Remove unused variable `cur-size'.
18951
18952 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18953 allow lexical-binding compilation.
18954 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18955 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18956 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18957 Mark unused parameters.
18958 (gud-gdb-marker-filter): Remove unused variable `match'.
18959 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18960 lambda expressions and funcall them, instead of using `fset'.
18961
18962 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18963 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18964
18965 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18966 variable `header-beg'; use `let'.
18967
18968 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18969 `restart', `last-sexp' and `at-do'.
18970
18971 * progmodes/js.el (js--debug): Mark unused parameter.
18972 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18973 (js--splice-into-items): Remove unused variable `item'.
18974 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18975
18976 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18977 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18978 (makefile-complete): Remove unused variable `try'.
18979 (makefile-fill-paragraph, makefile-match-function-end):
18980 Mark unused parameters.
18981
18982 * progmodes/octave-inf.el (inferior-octave-complete):
18983 Remove unused variable `proc'.
18984 (inferior-octave-output-digest): Mark unused parameter.
18985
18986 * progmodes/perl-mode.el (perl-calculate-indent):
18987 Remove unused variable `err'.
18988
18989 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18990 (prolog-indent-line): Mark unused parameters.
18991 (prolog-indent-line): Remove unused variable `beg'.
18992
18993 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18994 (reporter-dont-compact-list): Declare.
18995
18996 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18997 Remove unused variable `char'.
18998 (sh-debug): Mark unused parameter.
18999 (sh-get-indent-info): Remove unused variable `start'.
19000 (sh-calculate-indent): Remove unused variable `var'.
19001
19002 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19003 (simula-electric-keyword): Remove unused variable `null'.
19004 (simula-search-backward, simula-search-forward): Remove unused
19005 variables `begin' and `end'.
19006
19007 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19008 Remove unused variable `pos'.
19009 (vera-electric-tab, vera-comment-uncomment-region):
19010 Mark unused parameters.
19011 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19012
7ede3b65
CY
190132011-04-22 Chong Yidong <cyd@stupidchicken.com>
19014
19015 * emacs-lisp/package.el (package--builtins, package-alist)
19016 (package-load-descriptor, package-built-in-p, package-activate)
19017 (define-package, package-installed-p)
19018 (package-compute-transaction, package-buffer-info)
19019 (package--push): Doc fix. Distinguish more clearly between
19020 version strings and version lists.
19021
121656e9
JB
190222011-04-21 Juanma Barranquero <lekktu@gmail.com>
19023
19024 Lexical-binding cleanup.
19025
19026 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19027 (5x5-make-mutate-best):
19028 * play/fortune.el (fortune-in-buffer):
19029 * play/gomoku.el (gomoku-init-display):
19030 * play/solitaire.el (solitaire, solitaire-do-check):
19031 * play/tetris.el (tetris-default-update-speed-function):
19032 Mark unused parameters.
19033
19034 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19035 (bubbles--shift): Remove unused variable `char-org'.
19036 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19037 (bubbles--show-images): Remove unused variable `char'.
19038
19039 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19040 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19041 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19042 (decipher-analyze-buffer): Use ?\s.
19043 (decipher-make-checkpoint): Remove unused variable `mapping'.
19044
19045 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19046
19047 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19048 Remove unused variable `result'; use `let'.
19049
19050 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19051 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19052 (gametree-children-shown-p, gametree-compute-reduced-score):
19053 Use `ignore-errors'.
19054
19055 * play/handwrite.el (ps-lpr-switches): Declare.
19056 (handwrite): Remove unused variables `pmin' and `lastp'.
19057
19058 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19059
19060 * play/landmark.el (landmark-init-display)
19061 (landmark-update-naught-weights): Mark unused parameters.
19062 (landmark-y): Remove unused variable `noise'. Simplify.
19063 (landmark-human-plays): Remove unused variable `score'.
19064
19065 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19066 (mpuz-try-proposal): Remove unused variable `game'.
19067
19068 * play/zone.el (life-patterns): Declare.
19069
80f499c7
JB
190702011-04-20 Juanma Barranquero <lekktu@gmail.com>
19071
19072 * vc/vc.el (ediff-vc-internal): Declare function.
19073
024ff170
SM
190742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19075
c0a193ea
SM
19076 * shell.el: Use lexical-binding and std completion UI.
19077 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19078 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19079 comint-preoutput-filter-functions rather than on
19080 comint-output-filter-functions.
19081 (shell-command-completion, shell--command-completion-data)
19082 (shell-filename-completion, shell-environment-variable-completion)
19083 (shell-c-a-p-replace-by-expanded-directory): New functions.
19084 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19085 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19086 (shell-dynamic-complete-environment-variable): Use them.
19087 (shell-dynamic-complete-as-environment-variable)
19088 (shell-dynamic-complete-as-command): Remove.
19089 (shell-match-partial-variable): Match past point.
19090 * comint.el: Clean up use of completion-at-point-functions.
19091 (comint-completion-at-point): New function.
19092 (comint-mode): Use it completion-at-point-functions.
19093 (comint-dynamic-complete): Make it obsolete.
19094 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19095 (comint-c-a-p-replace-by-expanded-history): New function.
19096 (comint-dynamic-complete-functions)
19097 (comint-replace-by-expanded-history): Use it.
19098 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19099 termination strings. Try harder to avoid second try-completion.
19100 (completion-in-region-mode-map): Disable bindings that don't work yet.
19101
2dbaa080
SM
19102 * comint.el: Use lexical-binding. Require CL.
19103 (comint-dynamic-complete-functions): Use comint-filename-completion.
19104 (comint-completion-addsuffix): Tweak custom type.
19105 (comint-filename-completion, comint--common-suffix)
19106 (comint--common-quoted-suffix, comint--table-subvert)
19107 (comint--complete-file-name-data): New functions.
19108 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19109 (comint-dynamic-list-filename-completions): Use them.
19110 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19111
2dbaa080
SM
19112 * minibuffer.el (completion-in-region-mode):
19113 Keep completion-in-region-mode--predicate global.
19114 (completion-in-region--postch):
19115 Assume completion-in-region-mode--predicate is not null.
19116
c79a6f38
SM
19117 * progmodes/flymake.el (flymake-start-syntax-check-process):
19118 Obey `dir'. Simplify.
19119
024ff170
SM
19120 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19121 we're in VC after all.
19122
1c6c854e
CS
191232011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19124
19125 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19126 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19127 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19128
bed7f140
SM
191292011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19130
332e62ab
SM
19131 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19132 add sanity check.
19133
bed7f140
SM
19134 * obsolete/erc-hecomplete.el: Make obsolete.
19135 * obsolete/: Standardize obsolescence info in the header.
19136
f195c582
GM
191372011-04-20 Glenn Morris <rgm@gnu.org>
19138
19139 * calendar/solar.el (solar-horizontal-coordinates):
19140 Use the longitude argument rather than `calendar-longitude'.
19141 (solar-date-next-longitude): Remove unused locals.
19142
cb79b8c0
VJL
191432011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19144
19145 * whitespace.el: New version 13.2.1.
19146
191472011-04-20 felix <EmacsWiki> (tiny change)
19148
d8e4b68b 19149 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19150 switching between major modes on a file.
19151
602ea69d
SM
191522011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19153
19154 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19155 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19156 multi-line comments as well.
19157
06b60517
JB
191582011-04-19 Juanma Barranquero <lekktu@gmail.com>
19159
19160 Lexical-binding cleanup.
19161
19162 * arc-mode.el (archive-mode-revert):
19163 * cmuscheme.el (scheme-interactively-start-process):
19164 * custom.el (custom-initialize-delay):
19165 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19166 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19167 * emacs-lock.el (emacs-lock-clear-sentinel):
19168 * ezimage.el (defezimage):
19169 * follow.el (follow-avoid-tail-recenter):
19170 * fringe.el (set-fringe-mode-1):
19171 * generic-x.el (bat-generic-mode-compile):
19172 * help-mode.el (help-info-variable, help-do-xref)
19173 (help-mode-revert-buffer):
19174 * help.el (view-emacs-todo):
19175 * iswitchb.el (iswitchb-completion-help):
19176 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19177 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19178 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19179 * locate.el (locate-update):
19180 * longlines.el (longlines-encode-region)
19181 (longlines-after-change-function):
19182 * outline.el (outline-isearch-open-invisible):
19183 * ps-def.el (declare-function, charset-dimension, char-width)
19184 (encode-char):
19185 * ps-mule.el (ps-mule-plot-string):
19186 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19187 (recentf-edit-list-select, recentf-edit-list-validate)
19188 (recentf-open-files-action):
19189 * rect.el (delete-whitespace-rectangle-line)
19190 (rectangle-number-line-callback):
19191 * register.el (window-configuration-to-register)
19192 (frame-configuration-to-register):
19193 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19194 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19195 (xselect-convert-to-targets, xselect-convert-to-delete)
19196 (xselect-convert-to-filename, xselect-convert-to-charpos)
19197 (xselect-convert-to-lineno, xselect-convert-to-colno)
19198 (xselect-convert-to-os, xselect-convert-to-host)
19199 (xselect-convert-to-user, xselect-convert-to-class)
19200 (xselect-convert-to-name, xselect-convert-to-integer)
19201 (xselect-convert-to-atom, xselect-convert-to-identity):
19202 * subr.el (declare, ignore, process-kill-without-query)
19203 (text-clone-maintain):
19204 * terminal.el (te-get-char, te-tic-sentinel):
19205 * tool-bar.el (tool-bar-make-keymap):
19206 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19207 * type-break.el (type-break-mode, type-break-noninteractive-query):
19208 * view.el (View-back-to-mark):
19209 * wid-browse.el (widget-browse-action, widget-browse-widget)
19210 (widget-browse-widgets, widget-browse-sexp):
19211 * widget.el (define-widget-keywords):
19212 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19213 Mark unused parameters.
19214
19215 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19216 (align-areas): Remove unused variable `look'.
19217 (align-region): Remove unused variables `real-end' and `pos-list'.
19218
19219 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19220
19221 * bindings.el (mode-line-modified, mode-line-remote):
19222 Mark unused parameters.
19223 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19224
19225 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19226 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19227
19228 * comint.el (comint-history-isearch-pop-state)
19229 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19230 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19231 (comint-substitute-in-file-name): Doc fix.
19232
19233 * completion.el (cmpl-statistics-block): Mark unused parameter.
19234 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19235 (save-completions-to-file, load-completions-from-file):
19236 Remove unused local variable `e'.
19237
19238 * composite.el (compose-chars): Remove unused variable `len'.
19239 (lgstring-insert-glyph): Remove unused variable `g'.
19240 (compose-glyph-string): Remove unused variables `ascent',
19241 `descent', `lbearing' and `rbearing'.
19242 (compose-glyph-string-relative): Remove unused variables
19243 `lbearing', `rbearing' and `wadjust'.
19244 (compose-gstring-for-graphic): Remove unused variables `header',
19245 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19246 (compose-gstring-for-terminal): Remove unused variables `header'
19247 and `nchars'. Use `let', not `let*'.
19248
19249 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19250 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19251 (Custom-buffer-done, custom-buffer-create-internal)
19252 (custom-browse-visibility-action, custom-browse-group-tag-action)
19253 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19254 (widget-magic-mouse-down-action, custom-toggle-parent)
19255 (custom-add-parent-links, custom-toggle-hide-variable)
19256 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19257 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19258 (custom-face-menu-create, custom-variable-menu-create, get)
19259 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19260 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19261 (customize-apropos): Remove unused variable `tests'.
19262 (custom-group-value-create): Remove unused variable `hidden-p'.
19263 (sort-fold-case): Declare.
19264
19265 * cus-theme.el (custom-reset-standard-faces-list)
19266 (custom-reset-standard-variables-list): Declare.
19267 (customize-create-theme, custom-theme-revert, custom-theme-write)
19268 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19269 Mark unused parameters.
19270
19271 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19272
19273 * delim-col.el (delimit-columns-max): Move defvar before first use.
19274
19275 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19276 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19277
19278 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19279 (auto-insert): Declare.
19280 (desktop-restore-file-buffer): Rename desktop-* parameters;
19281 mark unused ones.
19282 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19283 (desktop-buffer): Rename desktop-* parameters.
19284
19285 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19286 (dframe-reposition-frame-xemacs, dframe-help-echo)
19287 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19288 Mark unused parameters.
19289
19290 * dired-aux.el (backup-extract-version-start, overwrite-query)
19291 (overwrite-backup-query, rename-regexp-query)
19292 (rename-non-directory-query): Declare.
19293 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19294 (dired-add-entry): Remove unused variable `orig-file-name'.
19295 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19296 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19297 `dired-copy-preserve-time' directly.
19298 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19299 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19300
19301 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19302 (dired-virtual-revert, dired-make-relative-symlink):
19303 Mark unused parameters.
19304 (manual-program): Declare.
19305 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19306 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19307 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19308
19309 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19310
19311 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19312
19313 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19314 Declare.
19315
19316 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19317
19318 * electric.el (Electric-command-loop): Rename parameter
19319 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19320
19321 * expand.el (expand-in-literal): Remove unused variable `here'.
19322
19323 * facemenu.el (facemenu-add-new-color):
19324 Remove unused variable `docstring'.
19325
19326 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19327 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19328 (face-attr-construct): Mark unused parameter. Doc fix.
19329 (read-color): Remove unused variable `hex-string'.
19330
19331 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19332 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19333 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19334 (display-buffer-other-frame): Remove unused variable `old-window'.
19335 (kill-buffer-hook): Declare.
19336 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19337 Mark unused parameters.
19338 (after-find-file): Pass 1 to `auto-save-mode', not t.
19339
19340 * files-x.el (auto-insert): Declare.
19341 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19342
19343 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19344 variable `buf'. Mark unused parameter.
06b60517
JB
19345 (find-lisp-insert-directory): Mark unused parameter.
19346
19347 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19348 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19349 (format-common-tail): Remove, unused.
19350 (format-deannotate-region): Remove unused variable `loc'.
19351 (format-annotate-region): Remove unused variable `p'.
19352 (format-annotate-single-property-change): Remove unused variables
19353 `default' and `tail'.
19354
19355 * forms.el (read-file-filter): Declare.
19356 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19357
19358 * frame.el (frame-creation-function-alist): Mark unused parameter.
19359 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19360
19361 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19362 Remove unused parameters.
19363 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19364 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19365
19366 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19367 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19368 (hfy-prepare-tag-map): Mark unused parameters.
19369 (htmlfontify-buffer): Use `called-interactively-p'.
19370
19371 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19372 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19373 (ibuffer-do-occur): Mark unused parameters.
19374 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19375 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19376
19377 * ibuffer.el: Don't quote `lambda'.
19378 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19379 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19380 Mark unused parameters.
19381
19382 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19383 (ido-completing-read): Mark unused parameters.
19384 (ido-copy-current-word): Mark unused parameters;
19385 remove unused variable `name'.
19386 (ido-sort-merged-list): Remove unused parameter `dirs'.
19387
19388 * ielm.el (ielm-input-sender): Mark unused parameter.
19389 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19390 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19391 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19392 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19393 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19394
19395 * image-dired.el (image-dired-display-thumbs): Remove unused
19396 variables `curr-file' and `count'.
19397 (image-dired-remove-tag): Remove unused variable `start'.
19398 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19399 variable `curr-file'
19400 (image-dired-rotate-original): Remove unused variable `temp-file'.
19401 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19402 Remove unused variable `file'.
19403 (image-dired-gallery-generate): Remove unused variable `curr'.
19404 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19405
19406 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19407
19408 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19409
19410 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19411
19412 * isearch.el (minibuffer-history-symbol): Declare.
19413 (isearch-edit-string): Remove unused variable `err'.
19414 (isearch-message-prefix, isearch-message-suffix):
19415 Mark unused parameters.
19416
19417 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19418
19419 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19420
19421 * makesum.el (double-column): Remove unused variable `cnt'.
19422
19423 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19424 (ido-ignore-item-temp-list): Declare.
19425
19426 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19427 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19428 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19429 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19430 `mouse-col-delta'.
19431
19432 * mouse-sel.el (mouse-extend-internal):
19433 Remove unused variable `orig-window-frame'.
19434
19435 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19436 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19437 Move declarations before first use.
19438 (pcomplete-opt): Mark unused parameters; doc fix.
19439
19440 * proced.el (proced-revert): Mark unused parameter.
19441 (proced-send-signal): Remove unused variable `err'.
19442
19443 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19444 Rename parameter PREFIX-ARG to ARG.
19445 (ps-basic-plot-string, ps-basic-plot-whitespace):
19446 Mark unused parameters.
19447
19448 * replace.el (replace-count): Define.
19449 (occur-revert-function): Mark unused parameters.
19450 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19451 (isearch-case-fold-search, isearch-string): Declare.
19452 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19453 bind `case-fold-search'. Remove unused variables `beg' and `end',
19454 and simplify.
19455 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19456 COUNT and bind `replace-count'.
19457 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19458 to COUNT.
19459
19460 * savehist.el (print-readably, print-string-length): Declare.
19461
19462 * shadowfile.el (shadow-expand-cluster-in-file-name):
19463 Remove unused variable `cluster'.
19464 (shadow-copy-file): Remove unused variable `i'.
19465 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19466 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19467 (shadow-define-literal-group, shadow-define-regexp-group)
19468 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19469
19470 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19471 (shell): Use `called-interactively-p'.
19472 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19473
19474 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19475 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19476 (delete-backward-char): Remove unused variable `ocol'.
19477 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19478 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19479 (event-apply-hyper-modifier, event-apply-shift-modifier)
19480 (event-apply-control-modifier, event-apply-meta-modifier):
19481 Mark unused parameters.
19482 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19483 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19484
19485 * speedbar.el (speedbar-ignored-directory-expressions)
19486 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19487 (speedbar-find-file, speedbar-dir-follow)
19488 (speedbar-directory-buttons-follow, speedbar-tag-find)
19489 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19490 (speedbar-buffers-line-directory, speedbar-buffer-click):
19491 Mark unused parameters.
19492 (speedbar-tag-file): Remove unused variable `mode'.
19493 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19494
19495 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19496
19497 * talk.el (talk): Remove unused variable `display'.
19498
19499 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19500 (tar-write-region-annotate): Mark unused parameter.
19501
19502 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19503 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19504 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19505 warning by another.
19506
19507 * time-stamp.el (time-stamp-string-preprocess):
19508 Remove unused variable `require-padding'.
19509
19510 * tree-widget.el (widget-glyph-enable): Declare.
19511 (tree-widget-action): Mark unused parameter.
19512
19513 * w32-fns.el (x-get-selection): Mark unused parameter.
19514 (autoload-make-program, generated-autoload-file): Declare.
19515
19516 * wdired.el (wdired-revert): Mark unused parameters.
19517 (wdired-xcase-word): Remove unused variable `err'.
19518
19519 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19520 (whitespace-help-scroll): Remove unused variable `data-help'.
19521
19522 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19523 (widget-image-insert, widget-after-change, default)
19524 (widget-default-format-handler, widget-default-notify)
19525 (widget-default-prompt-value, widget-info-link-action)
19526 (widget-url-link-action, widget-function-link-action)
19527 (widget-variable-link-action, widget-file-link-action)
19528 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19529 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19530 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19531 (widget-insert-button-action, widget-delete-button-action, visibility)
19532 (widget-documentation-link-action, widget-documentation-string-action)
19533 (widget-const-prompt-value, widget-regexp-match, symbol)
19534 (widget-coding-system-prompt-value)
19535 (widget-key-sequence-value-to-external, sexp)
19536 (widget-sexp-value-to-internal, character, vector, cons)
19537 (widget-choice-prompt-value, widget-boolean-prompt-value)
19538 (widget-color--choose-action): Mark unused parameters.
19539 (widget-item-match-inline, widget-choice-match-inline)
19540 (widget-checklist-match, widget-checklist-match-inline)
19541 (widget-group-match): Rename parameter VALUES to VALS.
19542 (widget-field-value-set): Remove unused variable `size'.
19543 (widget-color-action): Remove unused variables `value' and `start'.
19544
19545 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19546 variable `dir'. Doc fix.
06b60517
JB
19547 (windmove-find-other-window): Don't pass it.
19548
19549 * window.el (count-windows): Mark unused parameter.
19550 (bw-adjust-window): Remove unused variable `err'.
19551
19552 * woman.el (woman-file-name): Remove unused variable `default'.
19553 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19554 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19555 (global-font-lock-mode): Declare.
19556 (woman-decode-region): Mark unused parameter.
19557 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19558
19559 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19560 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19561 (x-dnd-handle-moz-url): Remove unused variable `title'.
19562 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19563
19564 * xml.el (xml-parse-tag, xml-parse-attlist):
19565 Remove unused variable `pos'.
19566
bc4f7f3d
GM
195672011-04-19 Glenn Morris <rgm@gnu.org>
19568
19569 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19570 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19571 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19572 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19573 * calendar/cal-html.el (cal-html-insert-minical):
19574 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19575 (calendar-mark-date-pattern):
19576 Prefix "unused" locals.
19577
19578 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19579 optional argument `style'.
19580
19581 * calendar/appt.el (appt-make-list):
19582 * calendar/cal-china.el (calendar-chinese-date-string):
19583 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19584 (diary-hebrew-yahrzeit):
19585 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19586 * calendar/calendar.el (calendar-generate-window):
19587 * calendar/time-date.el (time-to-days):
19588 Remove unused local variables.
19589
16a43933
CY
195902011-04-18 Chong Yidong <cyd@stupidchicken.com>
19591
19592 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19593 glyphless-char-display table.
19594 (tabulated-list-glyphless-char-display): New var.
19595
7eed1860
SS
195962011-04-18 Sam Steingold <sds@gnu.org>
19597
19598 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19599 to acknowledgments.
19600
4d2d1ccd
GM
196012011-04-17 Glenn Morris <rgm@gnu.org>
19602
19603 * calendar/diary-lib.el (diary-sexp-entry):
19604 * calendar/holidays.el (holiday-sexp):
19605 Set debug-on-error rather than the removed stack-trace-on-error.
19606
239da61d
GM
196072011-04-16 Glenn Morris <rgm@gnu.org>
19608
19609 * progmodes/f90.el: Use lexical-binding.
19610 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19611
8b05752a
SM
196122011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19613
daca8ba5
SM
19614 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19615 (mail-mode): Setup mailalias completion here instead.
19616 * mail/mailalias.el: Use lexical-binding.
19617 (pattern, mailalias-done): Declare dynamic.
19618 (mail-completion-at-point-function): New function, from mail-complete.
19619 (mail-complete): Use it.
19620 (mail-completion-expand): New function.
19621 (mail-get-names): Use it.
19622 (mail-directory, mail-directory-process, mail-directory-stream):
19623 Don't use `pattern' for lexically bound arg.
19624
6f542485
SM
19625 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19626
037e7c3f
SM
19627 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19628 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19629 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19630
8b05752a
SM
19631 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19632 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19633 (byte-interactive-p): Define them again, for use when inlining
19634 old code.
19635
49093f60
JB
196362011-04-15 Juanma Barranquero <lekktu@gmail.com>
19637
19638 * loadup.el: Use `string-to-number', not `string-to-int'.
19639
b5b8e7de
SM
196402011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19641
19642 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19643 gud-gdb-complete-command.
19644 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19645 (gud-gdb-completion-at-point): New function.
19646 (gud-gdb-completions): Remove.
19647
f42efeb5
MA
196482011-04-14 Michael Albinus <michael.albinus@gmx.de>
19649
49093f60
JB
19650 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19651 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19652 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19653 whether `executable-find' is bound.
f42efeb5
MA
19654
19655 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19656
e240cc21
SM
196572011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19658
19659 * minibuffer.el (completion-in-region-mode-predicate)
19660 (completion-in-region-mode--predicate): New vars.
19661 (completion-in-region, completion-in-region--postch)
19662 (completion-in-region-mode): Use them.
19663 (completion--capf-wrapper): Also return the hook function.
19664 (completion-at-point, completion-help-at-point):
19665 Adjust and provide a predicate.
c2bd2ab0
SM
19666
19667 Preserve arg names for advice of subr and lexical functions (bug#8457).
19668 * help-fns.el (help-function-arglist): Consolidate the subr and
19669 new-byte-code cases. Add argument `preserve-names' to extract names
19670 from the docstring when needed.
19671 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19672 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19673 (ad-arglist): Use help-function-arglist's new arg.
19674 (ad-definition-type): Use cond.
19675
c183f693
JB
196762011-04-13 Juanma Barranquero <lekktu@gmail.com>
19677
06641a47
JB
19678 * autorevert.el (auto-revert-handler):
19679 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19680 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19681 Don't quote lambda.
19682
c183f693
JB
19683 * image-mode.el (image-transform-set-scale):
19684 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19685
1e3b6001
G
196862011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19687
19688 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19689 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19690 Upgrades via gnutls-cli are too slow to be done opportunistically.
19691
2d6af8dd
JB
196922011-04-12 Juanma Barranquero <lekktu@gmail.com>
19693
19694 * dframe.el (dframe-current-frame): Remove spurious quote.
19695
c0749a51
GM
196962011-04-12 Glenn Morris <rgm@gnu.org>
19697
088d0d61
GM
19698 * calendar/cal-tex.el (cal-tex-end-document):
19699 Try to automatically use latin1 input if needed.
19700
c0749a51
GM
19701 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19702 Don't try to cons a mark onto an empty element.
19703
5c90fde0
LL
197042011-04-11 Leo Liu <sdl.web@gmail.com>
19705
19706 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19707 buffers.
19708 (ido-kill-buffer-at-head): Support killing virtual buffers.
19709
369e974d
CY
197102011-04-10 Chong Yidong <cyd@stupidchicken.com>
19711
19712 * minibuffer.el (completion-show-inline-help): New var.
19713 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19714 (minibuffer-force-complete, minibuffer-complete-word):
19715 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19716
19717 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19718 to avoid interference from inline help (Bug#5849).
19719
37f1c930
LL
197202011-04-10 Leo Liu <sdl.web@gmail.com>
19721
099c39a4
JB
19722 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19723 Fix typo.
37f1c930 19724
a32d4040
CY
197252011-04-09 Chong Yidong <cyd@stupidchicken.com>
19726
19727 * image-mode.el (image-toggle-display-image): Signal an error if
19728 not in Image mode.
19729 (image-transform-mode, image-transform-resize)
19730 (image-transform-set-rotation): Doc fix.
daca8ba5 19731 (image-transform-set-resize): Delete.
a32d4040
CY
19732 (image-transform-set-scale, image-transform-fit-to-height)
19733 (image-transform-fit-to-width): Handle image-toggle-display-image
19734 and image-transform-resize directly.
19735
099c39a4 197362011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19737
19738 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19739 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19740 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19741 (doc-view-mode-map): Add bindings for the new functions.
19742
099c39a4 197432011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19744
4d61f28d 19745 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19746 Fix typo in docstring.
19747
3726838a
EZ
197482011-04-08 Eli Zaretskii <eliz@gnu.org>
19749
04f33f1e
EZ
19750 * files.el (file-size-human-readable): Produce one digit after
19751 decimal, like "ls -lh" does.
19752
19753 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19754 the file size representation.
19755
3726838a
EZ
19756 * simple.el (list-processes): If async subprocesses are not
19757 available, error out with a clear error message.
19758
cbb59342
CY
197592011-04-08 Chong Yidong <cyd@stupidchicken.com>
19760
19761 * help.el (help-form-show): New function, to be called from C.
19762 Put help-form output in a buffer named differently than *Help*.
19763
e3971c44
EZ
197642011-04-08 Eli Zaretskii <eliz@gnu.org>
19765
19766 * files.el (file-size-human-readable): New function.
19767
19768 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19769 computing the representation inline. Don't require `cl'.
19770
12544bbe
GM
197712011-04-08 Glenn Morris <rgm@gnu.org>
19772
a1de6c6a
GM
19773 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19774
3c4671f4
GM
19775 * net/browse-url.el (browse-url-firefox):
19776 Test system-type, not system-configuration.
19777
b605679c
GM
19778 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19779 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19780 Use log-edit-empty-buffer-p. (Bug#7598)
19781
56442f0c
GM
19782 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19783 (rlogin-mode-map): Initialize in the defvar.
19784 (rlogin): Use ignore-errors.
19785
12544bbe
GM
19786 * replace.el (occur-mode-map): Some fixes for menu items.
19787
eb237b0f
AH
197882011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19789
19790 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19791
7d668f2c
CY
197922011-04-06 Chong Yidong <cyd@stupidchicken.com>
19793
e67a13ab
CY
19794 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19795 issuing unused warnings.
19796
19797 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19798 macro directly.
19799
7d668f2c
CY
19800 * simple.el: Lisp reimplement of list-processes. Based on an
19801 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19802 (process-menu-mode): New major mode.
19803 (list-processes--refresh, list-processes):
19804 (process-menu-visit-buffer): New functions.
19805
19806 * files.el (save-buffers-kill-emacs): Don't assume any return
19807 value of list-processes, which is undocumented anyway.
19808
a83ec3c9
CY
198092011-04-06 Chong Yidong <cyd@stupidchicken.com>
19810
19811 * emacs-lisp/tabulated-list.el: New file.
19812
e91a96fe
CY
19813 * emacs-lisp/package.el: Use Tabulated List mode.
19814 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19815 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19816 table format using Tabulated List mode variables.
19817 (package--push): New macro, replacing package-list-maybe-add.
19818 (package-menu--generate): Use package--push. Renamed from
19819 package--generate-package-list.
19820 (package-menu-refresh, list-packages): Use it.
daca8ba5 19821 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19822 Return insertion data instead of inserting it directly.
099c39a4
JB
19823 (package-menu-describe-package, package-menu-execute):
19824 Use tabulated-list-get-id.
e91a96fe
CY
19825 (package-menu-mark-delete, package-menu-mark-install)
19826 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19827 (package-menu-mark-obsolete-for-deletion):
19828 Use tabulated-list-put-tag.
e91a96fe
CY
19829 (package--list-packages, package-menu-revert)
19830 (package-menu-get-package, package-menu-get-version)
19831 (package-menu-sort-by-column): Functions deleted.
19832 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19833 (package-menu--status-predicate, package-menu--version-predicate)
19834 (package-menu--name-predicate)
19835 (package-menu--description-predicate): Handle arguments in the
19836 Tabulated List format.
19837 (package-list-packages-no-fetch): Call list-packages.
19838
3e214b50
JB
198392011-04-06 Juanma Barranquero <lekktu@gmail.com>
19840
19841 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19842 (after-find-file): Don't bind it.
3e214b50
JB
19843 (revert-buffer-in-progress-p): New variable.
19844 (revert-buffer): Bind it.
19845 Pass nil for `after-find-file-from-revert-buffer'.
19846
19847 * saveplace.el (save-place-find-file-hook): Use new variable
19848 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19849
3f0f1700
GM
198502011-04-06 Glenn Morris <rgm@gnu.org>
19851
c0274801
GM
19852 * Makefile.in (AUTOGEN_VCS): New variable.
19853 (autoloads): Use $AUTOGEN_VCS.
19854
3f0f1700
GM
19855 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19856 * calendar/calendar.el (calendar-mode-map):
19857 Check for toolkit scroll bars. (Bug#8305)
19858
41ea9e48
CY
198592011-04-05 Chong Yidong <cyd@stupidchicken.com>
19860
19861 * minibuffer.el (completion-in-region--postch)
19862 (completion-in-region-mode): Remove unnecessary messages.
19863
6194c800
JB
198642011-04-05 Juanma Barranquero <lekktu@gmail.com>
19865
33256f14
JB
19866 * font-lock.el (font-lock-refresh-defaults):
19867 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19868 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19869
6194c800
JB
19870 * info.el (Info-directory-list, Info-read-node-name-2)
19871 (Info-split-parameter-string): Doc fixes.
19872 (Info-virtual-nodes): Reflow docstring.
19873 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19874 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19875 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19876 Fix typos in docstrings.
19877 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19878 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19879 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19880 (Info-restore-desktop-buffer): Mark unused parameters.
19881 (Info-directory-find-file, Info-directory-find-node)
19882 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19883 (Info-virtual-index-find-node, Info-apropos-find-file)
19884 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19885 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19886 (Info-virtual-index): Remove unused local variable `nodename'.
19887
b87a8200 198882011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19889
b87a8200
DD
19890 * net/rcirc.el: Update my e-mail address.
19891 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19892
3b2ff876
CY
198932011-04-05 Chong Yidong <cyd@stupidchicken.com>
19894
19895 * startup.el (command-line): Save the cursor's theme-face
19896 directly, instead of using face-override-spec.
19897
19898 * custom.el (load-theme): Minor optimization in assigning faces.
19899
8d17e7ca
JB
199002011-04-04 Juanma Barranquero <lekktu@gmail.com>
19901
19902 * help-fns.el (describe-variable): Complete all variables having
19903 documentation, including keywords.
19904 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19905
2fbc1934
JB
199062011-04-04 Juanma Barranquero <lekktu@gmail.com>
19907
19908 Convert to lexical-binding.
19909
19910 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19911 (bs--get-marked-string, bs--get-modified-string)
19912 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19913 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19914 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19915
19916 * ehelp.el (electric-help-execute-extended)
19917 (electric-help-ctrl-x-prefix):
19918 * hexl.el (hexl-revert-buffer-function):
19919 * linum.el (linum-after-change, linum-after-scroll):
19920 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19921
19922 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19923
74f50695
DU
199242011-04-04 Daiki Ueno <ueno@unixuser.org>
19925
19926 * epa-dired.el:
19927 * epa-mail.el:
19928 * epa-hook.el:
19929 * epa-file.el:
19930 * epa.el:
19931 * epg.el: Use lexical binding.
19932
c11325f7
CY
199332011-04-03 Chong Yidong <cyd@stupidchicken.com>
19934
0d9e9a12
CY
19935 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19936
c11325f7 19937 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19938 dictionary case for flyspell-mark-duplications-exceptions.
19939 Use regexp matching for languages.
c11325f7
CY
19940 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19941 default dictionary (Bug#7926).
19942
da91b5f2
CY
199432011-04-02 Chong Yidong <cyd@stupidchicken.com>
19944
099c39a4
JB
19945 * emacs-lisp/package.el (package--with-work-buffer):
19946 Recognize https URLs.
da91b5f2 19947
099c39a4
JB
19948 * net/network-stream.el: Move from gnus/proto-stream.el.
19949 Change prefix to network-stream throughout.
da91b5f2
CY
19950 (open-protocol-stream): Merge into open-network-stream, leaving
19951 open-protocol-stream as an alias. Handle nil BUFFER args.
19952
19953 * subr.el (open-network-stream): Move to net/network-stream.el.
19954
afa8e9f6
GM
199552011-04-02 Glenn Morris <rgm@gnu.org>
19956
1d2e369d
GM
19957 * find-dired.el (find-exec-terminator): New option.
19958 (find-ls-option): Test for -ls support.
19959 (find-ls-subdir-switches): Test for -b in find-ls-option.
19960 (find-dired, find-grep-dired): Doc fixes.
19961 (find-dired): Use find-exec-terminator.
19962
8abb7da8 19963 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19964 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19965 (find-name-arg): Remove purecopy.
8abb7da8 19966
f3ca7378
GM
19967 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19968 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19969 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19970 accordingly. Don't add the null-device if not needed.
19971
afa8e9f6
GM
19972 * files.el (save-some-buffers): Doc fix.
19973
35eae264
EZ
199742011-04-02 Eli Zaretskii <eliz@gnu.org>
19975
19976 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19977
26b51db5
JB
199782011-04-01 Juanma Barranquero <lekktu@gmail.com>
19979
19980 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19981 Use `dolist' rather than `mapcar'.
19982
7200d79c
SM
199832011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19984
03408648 19985 Add lexical binding.
7200d79c 19986
03408648
SM
19987 * subr.el (apply-partially): Use new closures rather than CL.
19988 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19989 (dolist, dotimes): Use slightly different expansion for lexical code.
19990 (functionp): Move to C.
19991 (letrec): New macro.
19992 (with-wrapper-hook): Use it and apply-partially instead of CL.
19993 (eval-after-load): Preserve lexical-binding.
19994 (save-window-excursion, with-output-to-temp-buffer): Turn them
19995 into macros.
7200d79c 19996
03408648
SM
19997 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19998
19999 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20000 than the arglist.
20001 (help-add-fundoc-usage): Don't add `Not documented'.
20002 (help-function-arglist): Handle closures, subroutines, and new
20003 byte-code-functions.
20004 (help-make-usage): Remove leading underscores.
20005 (describe-function-1): Handle closures.
20006 (describe-variable): Use special-variable-p for completion.
20007
20008 * files.el (lexical-binding): Declare safe.
f488fb65 20009
03408648
SM
20010 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20011 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20012 (pcase): Add `let' pattern.
20013 Change memoization so it actually works.
20014 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20015 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20016 <let>: New case.
f488fb65 20017
03408648
SM
20018 * emacs-lisp/macroexp.el: Use lexical binding.
20019 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20020 Don't convert ' to #' without checking that it's indeed quoting
20021 a lambda.
20022
20023 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20024 Use eval-sexp-add-defvars.
03408648
SM
20025 (eval-sexp-add-defvars): New fun.
20026
20027 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20028
20029 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20030 Don't autoload.
20031 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20032 than the internal `byte-compile-lambda'.
20033 (defmethod): Don't hide code under quotes.
20034 (eieio-defmethod): New `code' argument.
20035
20036 * emacs-lisp/eieio-comp.el: Remove.
20037
20038 * emacs-lisp/edebug.el (edebug-eval-defun)
20039 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20040 (edebug-toggle): Avoid `eval'.
20041
20042 * emacs-lisp/disass.el (disassemble-internal): Handle new
20043 `closure' objects.
20044 (disassemble-1): Handle new byte codes.
20045
20046 * emacs-lisp/cl.el (pushnew): Silence warning.
20047
20048 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20049 (cl-byte-compile-throw): Remove.
20050 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20051
20052 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20053 closures.
20054
20055 * emacs-lisp/cconv.el: New file.
20056
20057 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20058 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20059 (byte-compile-initial-macro-environment):
20060 Handle declare-function here.
20061 (byte-compile--lexical-environment): New var.
20062 (byte-stack-ref, byte-stack-set, byte-discardN)
20063 (byte-discardN-preserve-tos): New lap codes.
20064 (byte-interactive-p): Don't use any more.
20065 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20066 New macros.
20067 (byte-compile-lapcode): Use them and handle new lap codes.
20068 (byte-compile-obsolete): Remove.
20069 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20070 (byte-compile-arglist-warn): Check late def of inlinable funs.
20071 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20072 since they should have been expanded by now.
20073 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20074 (byte-compile-from-buffer): Remove unused second arg.
20075 (byte-compile-preprocess): New function.
20076 (byte-compile-toplevel-file-form): New function to distinguish
20077 file-form calls from outside from file-form calls from hunk-handlers.
20078 (byte-compile-file-form): Simplify.
20079 (byte-compile-file-form-defsubst): Remove.
20080 (byte-compile-file-form-defmumble): Simplify now that
20081 byte-compile-lambda always returns a byte-code-function.
20082 (byte-compile): Preprocess.
20083 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20084 Remove, not used any more.
20085 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20086 (byte-compile-make-args-desc): New funs.
20087 (byte-compile-lambda): Handle lexical functions. Always return
20088 a byte-code-function.
20089 (byte-compile-reserved-constants): New var, to make up room for
20090 closed-over variables.
20091 (byte-compile-constants-vector): Obey it.
20092 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20093 (byte-compile-macroexpand-declare-function): New function.
20094 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20095 byte-code-functions.
20096 (byte-compile-form): Check obsolescence here.
20097 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20098 (byte-compile-variable-ref): Remove.
20099 (byte-compile-dynamic-variable-op): New fun.
20100 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20101 (byte-compile-variable-set): New funs.
20102 (byte-compile-discard): Add 2 args.
20103 (byte-compile-stack-ref, byte-compile-stack-set)
20104 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20105 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20106 macroexpand-all instead.
20107 (byte-compile-quote-form): Remove.
20108 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20109 (byte-compile-bind, byte-compile-unbind): New funs.
20110 (byte-compile-let): Handle let* and lexical binding.
20111 (byte-compile-let*): Remove.
20112 (byte-compile-catch, byte-compile-unwind-protect)
20113 (byte-compile-track-mouse, byte-compile-condition-case):
20114 Handle a new :fun-body form, used for lexical scoping.
20115 (byte-compile-save-window-excursion)
20116 (byte-compile-with-output-to-temp-buffer): Remove.
20117 (byte-compile-defun): Simplify.
20118 (byte-compile-stack-adjustment): New fun.
20119 (byte-compile-out): Use it.
20120 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20121
20122 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20123 handler any more.
20124
20125 * emacs-lisp/byte-opt.el: Use lexical binding.
20126 (byte-inline-lapcode): Remove (to bytecomp).
20127 (byte-compile-inline-expand): Pay attention to inlining to/from
20128 lexically bound code.
20129 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20130 any more.
20131 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20132 any more and don't call compiler-macros.
20133 (byte-compile-splice-in-already-compiled-code): Remove.
20134 (byte-code): Don't inline any more.
20135 (disassemble-offset): Receive `bytes' as argument rather than via
20136 dynamic scoping.
20137 (byte-compile-tag-number): Declare before first use.
20138 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20139 `return' even if make-spliceable.
20140 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20141 obsolete interactive-p.
20142 (byte-optimize-lapcode): Optimize new lap-codes.
20143 Don't trip up on new form of `byte-constant' lap code.
20144
20145 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20146
20147 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20148
20149 * custom.el (custom-initialize-default, custom-declare-variable):
20150 Use `defvar'.
20151
20152 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20153 New variables.
20154 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20155 (COMPILE_FIRST): Add macroexp and cconv.
20156 * makefile.w32-in: Mirror changes in Makefile.in.
20157
20158 * vc/cvs-status.el:
20159 * vc/diff-mode.el:
20160 * vc/log-edit.el:
20161 * vc/log-view.el:
20162 * vc/smerge-mode.el:
20163 * textmodes/bibtex-style.el:
090bd7cb 20164 * textmodes/css-mode.el:
03408648
SM
20165 * startup.el:
20166 * uniquify.el:
da91b5f2
CY
20167 * minibuffer.el:
20168 * newcomment.el:
20169 * reveal.el:
20170 * server.el:
20171 * mpc.el:
20172 * emacs-lisp/smie.el:
20173 * doc-view.el:
20174 * dired.el:
03408648
SM
20175 * abbrev.el: Use lexical binding.
20176
0f0c1f27
EZ
201772011-04-01 Eli Zaretskii <eliz@gnu.org>
20178
20179 * info.el (info-display-manual): New function.
20180
c82b2579
SM
201812011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20182
20183 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20184
221ddf68
TH
201852011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20186
20187 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20188 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20189
cba6e77e
GM
201902011-03-31 Glenn Morris <rgm@gnu.org>
20191
e040639f
GM
20192 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20193
cba6e77e
GM
20194 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20195
6d0f1c9e
CS
201962011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20197
20198 * progmodes/python.el (python-default-interpreter)
20199 (python-python-command-args, python-jython-command-args)
20200 (python-which-shell, python-which-args, python-which-bufname)
20201 (python-file-queue, python-comint-output-filter-function)
20202 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20203 variables and functions.
20204
3e2d70fd
SM
202052011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20206
20207 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20208 (completion-in-region-mode): New minor mode.
20209 (completion-in-region): Use it.
20210 (completion-in-region--data, completion-in-region-mode-map): New vars.
20211 (completion-in-region--postch): New function.
20212 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20213 New vars.
20214 (completion--capf-wrapper): New function.
20215 (completion-at-point): Use it to track well-behavedness of
20216 hook functions.
20217 (completion-help-at-point): New command.
20218
f3e4086c
JM
202192011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20220
20221 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20222 syntax class to search for whitespace on a single line
20223 (Message-ID: <4D938140.4030905@redhat.com>).
20224
eb7ffc14
LL
202252011-03-30 Leo Liu <sdl.web@gmail.com>
20226
20227 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20228 New commands.
20229 (edit-abbrevs-map): Bind them here.
20230 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20231
d806ab68
KM
202322011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20233
20234 * allout.el (allout-hide-by-annotation, allout-flag-region):
20235 Reduce possibility of overlay leakage by making them volatile.
20236
20237 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20238 hash is not shared between buffers. Mode initialization is
20239 responsible for giving it a useful starting value.
20240 (allout-item-span): Reduce possibility of overlay leakage by
20241 making them volatile.
20242 (allout-widgets-count-buttons-in-region): Add diagnostic function
20243 for tracking down button overlay leaks.
20244
ea622834
LL
202452011-03-29 Leo Liu <sdl.web@gmail.com>
20246
20247 * ido.el (ido-read-internal): Use the default history var
20248 minibuffer-history if no HISTORY is specified.
20249
b62f8267
G
202502011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20251
03408648
SM
20252 * net/imap.el (imap-shell-open, imap-process-connection-type):
20253 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20254 Kerberos, SSL, other subprocesses.
20255
947b6566
LL
202562011-03-28 Leo Liu <sdl.web@gmail.com>
20257
20258 * abbrev.el (abbrev-table-empty-p): New function.
20259 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20260 nonempty ones. (Bug#5937)
20261
5ffb62aa
JD
202622011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20263
20264 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20265
7a097943
LL
202662011-03-27 Leo Liu <sdl.web@gmail.com>
20267
20268 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20269 for foreground and background colors.
20270 (ansi-color-make-color-map): Adapt.
20271
c5b40130
LL
202722011-03-25 Leo Liu <sdl.web@gmail.com>
20273
1f48f7d2
LL
20274 * midnight.el (midnight-time-float): Remove. Note it calculates
20275 the microsecond component incorrectly and seconds-to-time does the
20276 same job.
625897ec 20277 Remove redundant (require 'timer).
1f48f7d2 20278
c5b40130
LL
20279 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20280 (ido-completions): Remove unused arguments. (Bug#8329)
20281
d86d2721
SM
202822011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20283
20284 * minibuffer.el (completion--flush-all-sorted-completions):
20285 Remove itself from hook.
20286 (completion-at-point): Let the functions perform the completion
20287 immediately and return nil or t.
20288 * comint.el (comint-dynamic-complete-functions): Now identical to
20289 completion-at-point-functions.
20290 (comint-dynamic-list-input-ring): Remove unused var `index'.
20291 (comint--match-partial-filename, comint--unquote&expand-filename):
20292 New funs, split from comint-match-partial-filename.
20293 (comint-dynamic-complete): Use completion-at-point.
20294 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20295
e8974c48
DA
202962011-03-24 Drew Adams <drew.adams@oracle.com>
20297
20298 * thingatpt.el: Support `defun'.
20299
def71b5e
LL
203002011-03-23 Leo Liu <sdl.web@gmail.com>
20301
cb5af48e
LL
20302 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20303
def71b5e
LL
20304 * help-mode.el (help-mode-finish): Tweak regexp.
20305
927c53e7
GM
203062011-03-23 Glenn Morris <rgm@gnu.org>
20307
18d05bed
GM
20308 * eshell/esh-opt.el (eshell-eval-using-options):
20309 Do not bind unused local variable `eshell-option-stub'.
20310
927c53e7
GM
20311 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20312
9d0da923
JB
203132011-03-22 Juanma Barranquero <lekktu@gmail.com>
20314
20315 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20316 keymap variable in `with-no-warnings' to avoid a warning when the
20317 keymap has been already `defconst'ed.
20318
4b978a67
LL
203192011-03-22 Leo Liu <sdl.web@gmail.com>
20320
20321 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20322 encode all chars in abbrevs; otherwise use emacs-mule or
20323 utf-8-emacs. (Bug#8308)
20324
5fd62452
JB
203252011-03-22 Juanma Barranquero <lekktu@gmail.com>
20326
0b1596c6
JB
20327 * simple.el (backward-delete-char-untabify):
20328 Avoid warning about using `delete-backward-char'.
20329
5fd62452
JB
20330 * image.el (image-type-file-name-regexps): Make it variable.
20331 `imagemagick-register-types' modifies it, and the user may want
20332 to add new extensions for known image types.
20333 (imagemagick-register-types): Throw error if not using ImageMagick.
20334
0b4e93f1
LL
203352011-03-22 Leo Liu <sdl.web@gmail.com>
20336
20337 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20338 located before rcirc-prompt-end-marker.
20339 (rcirc-complete): Error if point is not after rcirc prompt.
20340 Handle the case when table is nil.
9882e214 20341 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20342
fccee4ab
CY
203432011-03-22 Chong Yidong <cyd@stupidchicken.com>
20344
20345 * custom.el (custom--inhibit-theme-enable): Make it affect only
20346 custom-theme-set-variables and custom-theme-set-faces.
20347 (provide-theme): Ignore custom--inhibit-theme-enable.
20348 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20349 (custom-enabling-themes): Delete variable.
d86d2721
SM
20350 (enable-theme): Accept only loaded themes as arguments.
20351 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20352 (custom-enabled-themes): Forbid themes from setting this.
20353 Eliminate use of custom-enabling-themes.
20354 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20355
af896da6
LL
203562011-03-21 Leo Liu <sdl.web@gmail.com>
20357
20358 * ido.el (ido-read-internal): Add ido-selected to history instead
20359 of user input.
20360
78f64af0
SM
203612011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20362
20363 * subr.el (deferred-action-list, deferred-action-function):
20364 Mark obsolete.
20365
b16ac1ec
LL
203662011-03-21 Leo Liu <sdl.web@gmail.com>
20367
810f7698
LL
20368 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20369 change on 2011-02-13 (bug#8309).
20370
b16ac1ec
LL
20371 * minibuffer.el (read-file-name-function): Change default value.
20372 (read-file-name--defaults): Rename from read-file-name-defaults.
20373 (read-file-name-default): Rename from read-file-name.
20374 (read-file-name): Call read-file-name-function.
20375
4e05e67e
GM
203762011-03-21 Glenn Morris <rgm@gnu.org>
20377
20378 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20379 Doc fixes.
20380
4359915b
CY
203812011-03-21 Chong Yidong <cyd@stupidchicken.com>
20382
20383 * cus-theme.el: Add missing provide statement.
20384 (customize-create-theme): Extract theme value correctly.
20385 (custom-theme-visit-theme): Autoload.
20386 (customize-create-theme): Prompt before inserting default faces.
20387
1fe275ee
JB
203882011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20389
20390 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20391 units and musical notes.
20392
cd394be1 203932011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20394
20395 * ido.el (ido-read-internal): Use completing-read-default.
20396 (ido-completing-read): Fix compatibility with completing-read.
20397
7d476bde
CO
203982011-03-20 Christian Ohler <ohler@gnu.org>
20399
20400 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20401 (ert-delete-all-tests): Use `called-interactively-p' rather than
20402 `interactive-p'.
20403 (ert--make-xrefs-region): Respect END.
20404
fe0fb33e
CY
204052011-03-19 Chong Yidong <cyd@stupidchicken.com>
20406
ff854b0b
CY
20407 * dired-aux.el (dired-create-directory): Signal an error if the
20408 directory already exists (Bug#8246).
20409
fe0fb33e
CY
20410 * facemenu.el (list-colors-display): Call list-faces-display
20411 inside with-help-window.
20412 (list-colors-print): Use display property to align the final
20413 column, instead of checking window-width.
20414
576bce32
EZ
204152011-03-19 Eli Zaretskii <eliz@gnu.org>
20416
4d61f28d 20417 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20418 windows-nt systems.
20419 (emerge-protect-metachars): Quote correctly for ms-dos and
20420 windows-nt systems.
20421
89c41d68 204222011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20423
20424 * info.el (info-initialize): Replace all uses of `:' with
20425 path-separator for compatibility with non-Unix systems.
20426 Cache quoting of path-separator. (Bug#8258)
20427
b14e3e21 204282011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20429
20430 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20431 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20432 (mouse-avoidance-mode): Fix typos in docstrings.
20433
4525ce3e
CY
204342011-03-19 Chong Yidong <cyd@stupidchicken.com>
20435
20436 * startup.el (package-subdirectory-regexp): Move from package.el.
20437 Omit \\` and \\', and let callers add them.
20438
20439 * emacs-lisp/package.el (package-strip-version)
20440 (package-load-all-descriptors): Add \\` and \\' to
20441 package-subdirectory-regexp before using it.
20442 (package-untar-buffer): New arg DIR; ensure that file untars only
20443 into this expected directory. Remove superfluous delete-region.
20444 (package-unpack): Caller changed.
20445 (package-tar-file-info): Use package-subdirectory-regexp.
20446
a904a09a 204472011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20448
a904a09a
SM
20449 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20450 diff-mode-shared-map (bug#8284).
20451 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20452
204532011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20454
20455 * calendar/time-date.el (format-seconds): Use assoc instead of
20456 assoc-string, since assoc-string doesn't exist in XEmacs.
20457
171fc304
JB
204582011-03-17 Juanma Barranquero <lekktu@gmail.com>
20459
20460 * custom.el (custom-known-themes): Reflow docstring.
20461 (custom-theme-load-path): Fix typo in docstring.
20462 (load-theme): Fix typo in error message.
20463 (custom-available-themes, custom-variable-theme-value):
20464 Use `let', not `let*'.
20465
d71990a1
JB
204662011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20467
20468 * calc/README: Mention inclusion of musical notes.
20469
20470 * calc/calc-units.el (calc-lu-quant): Rename from
20471 `calc-logunits-quantity'.
20472 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20473 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20474 (calc-db): Rename from `calc-dblevel'.
20475 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20476 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20477 (calc-np): Rename from `calc-nplevel'.
20478 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20479 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20480 (calc-lu-plus): Rename from `calc-logunits-add'.
20481 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20482 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20483 (calc-lu-minus): Rename from `calc-logunits-sub'.
20484 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20485 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20486 (calc-lu-times): Rename from `calc-logunits-mul'.
20487 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20488 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20489 (calc-lu-divide): Rename from `calc-logunits-div'.
20490 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20491 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20492
20493 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20494 functions being autoloaded.
20495
20496 * calc/calc.el (calc-lu-power-reference): Rename from
20497 `calc-logunits-power-reference'.
20498 (calc-lu-field-reference): Rename from
20499 `calc-logunits-field-reference'.
20500
7a71b18d
GM
20501 * calc/calc-help.el (calc-l-prefix-help):
20502 Mention musical note functions.
d71990a1 20503
40c2934b
SM
205042011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20505
20506 * minibuffer.el (completion-all-sorted-completions):
20507 Use :completion-cycle-penalty text property if present.
20508
b0911414
KM
205092011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20510
20511 * allout.el (allout-yank-processing): Adjust for new rebulleting
20512 regime so bullet being yanked is used without prompting the user
20513 for a choice.
20514
8a05b668
JB
205152011-03-16 Juanma Barranquero <lekktu@gmail.com>
20516
20517 * startup.el (command-line): Warn the user that _emacs is deprecated.
20518
5ba5fb81
JB
205192011-03-16 Juanma Barranquero <lekktu@gmail.com>
20520
20521 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20522 (delphi-verbose, delphi-comment-face, delphi-string-face)
20523 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20524 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20525 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20526 (delphi-new-comment-line, delphi-font-lock-defaults)
20527 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20528 Fix typos in docstrings.
20529
2dab465b
KM
205302011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20531
5ba5fb81 20532 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20533 Invert the roles of character and string values for INSTEAD, so a
20534 string is used for the more common case of a defaulting prompt.
20535
0adf5618
SM
205362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20537
20538 * progmodes/ruby-mode.el (ruby-backward-sexp):
20539 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20540 * play/gamegrid.el (gamegrid-make-face):
20541 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20542 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20543 * notifications.el (notifications-notify):
20544 * net/xesam.el (xesam-search-engines):
20545 * net/quickurl.el (quickurl-list-insert):
20546 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20547
d72700e5
CY
205482011-03-15 Chong Yidong <cyd@stupidchicken.com>
20549
20550 * startup.el (command-line): Update package subdirectory regexp.
20551
49c5410a
SM
205522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20553
c6eee9aa
SM
20554 * allout.el (allout-abbreviate-flattened-numbering)
20555 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20556
49c5410a
SM
20557 * subr.el (read-char-choice): Only show the cursor after the prompt,
20558 not after the answer.
20559
047b2bb9
KR
205602011-03-15 Kevin Ryde <user42@zip.com.au>
20561
20562 * help-fns.el (variable-at-point): Skip leading quotes, if any
20563 (bug#8253).
20564
0a57d256
SM
205652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20566
20567 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20568 warning message.
20569
77c992bc
MA
205702011-03-14 Michael Albinus <michael.albinus@gmx.de>
20571
20572 * shell.el (shell): When called interactively, offer to change the
20573 shell file name on remote hosts.
20574
eebc475d
TZ
205752011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20576
20577 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20578 integration for LDAP parameters. The host, base, user or binddn,
20579 and secret tokens can be specified in a netrc file, for instance.
20580 This is optional because an `auth-source' parameter must be
20581 specified in the search attributes.
20582
9d05d1ba
JB
205832011-03-13 Juanma Barranquero <lekktu@gmail.com>
20584
20585 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20586
09d9db2c
GM
205872011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20588
20589 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20590 into declaration. Remove redundant and harmful binding.
20591
205922011-03-12 Eli Zaretskii <eliz@gnu.org>
20593
20594 * files.el (file-ownership-preserved-p): Pass `integer' as an
20595 explicit 2nd argument to `file-attributes'. If the file's owner
20596 is the Administrators group on Windows, and the current user is
20597 Administrator, consider that a match.
20598
20599 * server.el (server-ensure-safe-dir): Consider server directory
20600 safe on MS-Windows if its owner is the Administrators group while
20601 the current Emacs user is Administrator. Use `=' to compare
20602 numerical UIDs, since they could be integers or floats.
20603
219bd536
JB
206042011-03-12 Juanma Barranquero <lekktu@gmail.com>
20605
20606 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20607
f3afd36b
MA
206082011-03-12 Michael Albinus <michael.albinus@gmx.de>
20609
20610 Sync with Tramp 2.2.1.
20611
20612 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20613
20614 * net/trampver.el: Update release number.
20615
3aaaa6f1
SM
206162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20617
94642599
SM
20618 * progmodes/compile.el (compilation--previous-directory): Fix up
20619 various nil/dead-marker mismatches (bug#8014).
20620 (compilation-directory-properties, compilation-error-properties):
20621 Don't call it at a position past the one we're about to change.
20622
3aaaa6f1
SM
20623 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20624 Disable obsolescence warnings in the file that declares it.
20625
14239447
KM
206262011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20627
099c39a4
JB
20628 * allout-widgets.el (allout-widgets-tally):
20629 Initialize allout-widgets-tally as a hash table rather than nil to
20630 prevent mode-line redisplay warnings. Also, clarify the module
20631 description and fix a comment typo.
14239447 20632
135e287c
JB
206332011-03-11 Juanma Barranquero <lekktu@gmail.com>
20634
20635 * help-fns.el (describe-variable): Don't complete keywords.
20636 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20637
ffbf300e
CY
206382011-03-10 Chong Yidong <cyd@stupidchicken.com>
20639
ba08b241
CY
20640 * emacs-lisp/package.el (package-version-join): Impose a standard
20641 string representation for pre/alpha/beta version lists.
20642 (package-unpack-single): Standardize the directory name by passing
20643 it through package-version-join.
20644 (package-strip-rcs-id): Accept any version string that does not
20645 signal an error in version-to-list.
ffbf300e 20646
f346fd6b
MA
206472011-03-10 Michael Albinus <michael.albinus@gmx.de>
20648
20649 * simple.el (delete-trailing-whitespace): Return nil for the
20650 benefit of `write-file-functions'.
20651
ccb55d27
GM
206522011-03-10 Glenn Morris <rgm@gnu.org>
20653
5ceaac0c
GM
20654 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20655
02da65ff
GM
20656 * vc/vc-git.el (vc-git-program): New option.
20657 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20658 (vc-git--call): Use it.
20659
b2f603cc
GM
20660 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20661
5772caab
GM
20662 * cus-edit.el (Custom-newline): If no button at point, look
20663 for a subgroup button at start-of-line. (Bug#2298)
20664
ccb55d27
GM
20665 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20666
ec6ecaed
JD
206672011-03-10 Julien Danjou <julien@danjou.info>
20668
20669 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20670 `cursor-type' is nil.
20671
9d5aa01d
JB
206722011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20673
20674 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20675
b6a5875b
KM
206762011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20677
7a71b18d 20678 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20679 preserves the existing header prefix, rebulleting it if necessary,
20680 rather than replacing it. This is necessary for proper operation
20681 of cooperative addons like allout-widgets.
1154d12e
JB
20682 (allout-make-topic-prefix, allout-rebullet-heading):
20683 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20684 value as alternate bullet to be used, instead of prompting the user
20685 for a bullet character.
b6a5875b 20686
ee545c35
MA
206872011-03-09 Michael Albinus <michael.albinus@gmx.de>
20688
d86d2721
SM
20689 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20690 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20691 `tramp-default-port'.
20692
c47971d7
DD
206932011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20694
20695 * net/rcirc.el (rcirc-handler-001): Remove useless
20696 with-rcirc-process-buffer.
20697 (rcirc-check-auth-status): Swap arguments to string-match.
20698
13522cb4
GM
206992011-03-09 Glenn Morris <rgm@gnu.org>
20700
0be6f4f1
GM
20701 * shell.el (shell-mode):
20702 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20703
13522cb4
GM
20704 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20705 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20706
515de2e3
CY
207072011-03-08 Chong Yidong <cyd@stupidchicken.com>
20708
20709 * emacs-lisp/package.el (package-refresh-contents)
20710 (package-menu-execute): Use condition-case-no-debug.
20711
b511b994
MA
207122011-03-08 Michael Albinus <michael.albinus@gmx.de>
20713
20714 * simple.el (shell-command-to-string): Use `process-file'.
20715
20716 * emacs-lisp/package.el (package-tar-file-info): Handle also
20717 remote files.
20718
d86d2721
SM
20719 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20720 Use `equal' for upload base check.
b511b994 20721
25bbfb31
AM
207222011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20723
20724 * textmodes/texinfo.el (texinfo-environments):
20725 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20726
be996521
GM
207272011-03-08 Glenn Morris <rgm@gnu.org>
20728
e9c8529f
GM
20729 * cus-start.el (cursor-in-non-selected-windows):
20730 Fix :set quoting oddness. (Bug#8192)
20731
be996521
GM
20732 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20733 in some setf expressions. (Bug#2159)
20734
2bb5649e
CY
207352011-03-08 Chong Yidong <cyd@stupidchicken.com>
20736
20737 * custom.el (custom-available-themes): Return themes in
20738 alphabetical order.
20739
33383987 20740See ChangeLog.15 for earlier changes.
e3d51b27
MR
20741
20742;; Local Variables:
20743;; coding: utf-8
e3d51b27
MR
20744;; End:
20745
acaf905b 20746 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20747
20748 This file is part of GNU Emacs.
20749
20750 GNU Emacs is free software: you can redistribute it and/or modify
20751 it under the terms of the GNU General Public License as published by
20752 the Free Software Foundation, either version 3 of the License, or
20753 (at your option) any later version.
20754
20755 GNU Emacs is distributed in the hope that it will be useful,
20756 but WITHOUT ANY WARRANTY; without even the implied warranty of
20757 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20758 GNU General Public License for more details.
20759
20760 You should have received a copy of the GNU General Public License
20761 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.