Fix typo in earlier cl.texi change
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4ddedf94
GM
12012-10-30 Glenn Morris <rgm@gnu.org>
2
f43a5263
GM
3 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4
4ddedf94
GM
5 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6
748b0d84
CY
72012-10-29 Chong Yidong <cyd@gnu.org>
8
b5dd9a77
CY
9 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
10 function key is stored in a keyboard macro (Bug#4894).
11
748b0d84
CY
12 * thingatpt.el (number-at-point): Apply a thing-at-point property.
13
e07fcbdc
SM
142012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
15
d7f9cc85
SM
16 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
17 header comments".
18 (diff-unified->context, diff-context->unified)
19 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
20
c606253c
SM
21 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
22
e07fcbdc
SM
23 * files.el (find-alternate-file): Only ask one question (bug#12487).
24
894b9dd9
CY
252012-10-29 Chong Yidong <cyd@gnu.org>
26
1dc2755a
CY
27 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
28 Suggested by Dan Nicolaescu (Bug#6326).
29
329c48d8
CY
30 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
31
2230fa5b 32 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 33
e84cad57
CY
34 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
35
1913c5f5
CY
36 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
37
894b9dd9
CY
38 * face-remap.el (face-remap-add-relative): Handle the case where a
39 face-remapping-alist entry is a cons cell (Bug#12762).
40
329c48d8
CY
412012-10-29 Kevin Ryde <user42@zip.com.au>
42
43 * woman.el (woman-parse-numeric-value): Handle picas correctly
44 (Bug#12639).
45
a0ccbcbd
GM
462012-10-29 Glenn Morris <rgm@gnu.org>
47
48 * emacs-lisp/cl.el (defsetf): Doc fix.
49
b3871e59
SM
502012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
53 syntax to the matching opener, if any (bug#12547).
54 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
55 matching open as a "case-(".
56 (sh-smie-rc-grammar): Add a corresponding rule for it.
57
cd44022c
DH
582012-10-28 Daniel Hackney <dan@haxney.org>
59
60 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
61 "PKGNAME-autoloads.el" in case we created it.
62
70edffb1
SM
632012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
64
86957a0c
SM
65 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
66 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 67 (completion--twq-all): Disable too-strict assertions.
86957a0c 68
70edffb1
SM
69 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
70
d069271c
EZ
712012-10-27 Eli Zaretskii <eliz@gnu.org>
72
73 * profiler.el (profiler-report-make-entry-part): Fix help-echo
74 text to match the real keybindings.
75
e2f022a3
JL
762012-10-27 Juri Linkov <juri@jurta.org>
77
78 * wdired.el (wdired-keep-marker-rename): New defcustom.
79 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
80 (Bug#11795)
81
82 * dired.el (dired-keep-marker-rename): Add reference to
83 `wdired-keep-marker-rename' in the docstring.
84 Add default character value ?R to display initially in
85 Customization UI instead of ?@.
86
df171c23
MR
872012-10-27 Martin Rudalics <rudalics@gmx.at>
88
89 * window.el (display-buffer): In doc-string describe
90 window-height and window-width alist entries.
91
92 * time.el (display-time-world): Restore fit-window-to-buffer
93 behavior.
94
05b621a6
CY
952012-10-27 Chong Yidong <cyd@gnu.org>
96
97 * subr.el (insert-buffer-substring-as-yank): Doc fix.
98
55f197b2
J
992012-10-26 Jambunathan K <kjambunathan@gmail.com>
100
101 * minibuffer.el (completion-category-overrides): New completion
102 category `bookmark' (bug#11131).
103
372212df
SM
1042012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
105
150f809c
SM
106 * emacs-lisp/advice.el (ad-assemble-advised-definition):
107 Silence bogus compiler warnings for ad-do-it.
108
372212df
SM
109 * bookmark.el (bookmark-completing-read): Set the completion category
110 to `bookmark' (bug#11131).
111
c5772569
B
1122012-10-26 Bastien <bzg@altern.org>
113 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * face-remap.el: Use lexical-binding.
116 (text-scale-adjust): Improve docstring. Use itself for the temporary
117 overlay-map bindings, so as to repeat the "Use..." message each time.
118
a2be0357
SM
1192012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
120
63314e57
SM
121 * emacs-lisp/macroexp.el (macroexp--expand-all):
122 Obey byte-compile-warning-enabled-p (bug#12486).
123
a2be0357
SM
124 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
125 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
126
8c7727c3
MR
1272012-10-26 Martin Rudalics <rudalics@gmx.at>
128
129 * mouse.el (mouse-drag-line): Move last form into preceding when
130 clause (Bug#12731).
131
132 * help.el (resize-temp-buffer-window): Fix doc-string.
133
3f2a848d
DE
1342012-10-25 David Engster <deng@randomsample.de>
135
136 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 137 Remove. This feature is already integrated in imenu.
3f2a848d
DE
138
139 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
140 always loaded. Require `speedbar' unconditionally.
141
a7723be6
SM
1422012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
143
aaabfc8b
SM
144 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
145
414a8595
SM
146 * minibuffer.el (minibuffer-force-complete): Fix thinko.
147
fb5b9475
SM
148 * net/ldap.el (ldap-search-internal): The official ldif format starts
149 with a "version: 1" header (bug#12724).
150
a7723be6
SM
151 * emacs-lisp/package.el (package-installed-p): Warn if not ready
152 (bug#12721).
153
a05cb6e3
GM
1542012-10-25 Glenn Morris <rgm@gnu.org>
155
156 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
157
3c92de70
SM
1582012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * minibuffer.el (minibuffer-force-complete): Use one more marker
161 for the temporary-overlay-map command (bug#12619).
162
a4b6d7c6
CY
1632012-10-24 Chong Yidong <cyd@gnu.org>
164
165 * time.el (display-time-world-mode): Derive from special-mode.
166 (display-time-world): Use display-buffer (Bug#12708).
167 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
168 (display-time-world-display): Wrap the final delete-char inside
169 inhibit-read-only.
a4b6d7c6 170
75e8f9d2
CY
1712012-10-24 Chong Yidong <cyd@gnu.org>
172
cd996018
CY
173 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
174 Doc fix.
175
75e8f9d2
CY
176 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
177
d92df117
SM
1782012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * minibuffer.el (completion--all-sorted-completions-location): New var.
181 (completion--cache-all-sorted-completions)
182 (completion--flush-all-sorted-completions): Use it.
183 (completion-in-region, completion-in-region--postch)
184 (completion-at-point, completion-help-at-point): Use markers in
185 completion-in-region--data (bug#12619).
186
9c3e39f3
SM
1872012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
188
c79825bd
SM
189 * progmodes/compile.el (compilation-start): Try to handle common
190 quoting of `cd' argument (bug#12640).
191
9c3e39f3
SM
192 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
193 (bug#12671).
194
a6709bc7
GM
1952012-10-23 Glenn Morris <rgm@gnu.org>
196
197 * progmodes/gud.el (gud-menu-map):
198 Check gdb-active-process is bound. (Bug#12358)
199
d1069532
SM
2002012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
201
d20d69c0
SM
202 * repeat.el (repeat): Set real-this-command (bug#12232).
203
d1069532
SM
204 * htmlfontify.el (hfy-post-html-hook):
205 * filesets.el (filesets-cache-fill-content-hook):
206 * arc-mode.el (archive-extract-hook):
207 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
208 * net/rcirc.el (rcirc-sentinel-functions)
209 (rcirc-receive-message-functions, rcirc-activity-functions)
210 (rcirc-print-functions):
211 * net/dbus.el (dbus-event-error-functions):
212 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
213 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
214 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
215 * term/sun.el (sun-raw-prefix-hooks):
216 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
217
f7eac6d8
MA
2182012-10-23 Michael Albinus <michael.albinus@gmx.de>
219
d1069532
SM
220 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
221 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
222 (tramp-smb-wait-for-output): Add timeout to
223 `tramp-accept-process-output' calls.
224
608d9d7c
CY
2252012-10-23 Chong Yidong <cyd@gnu.org>
226
49238e7f
CY
227 * faces.el (font-list-limit): Define as an obsolete variable.
228
229 * startup.el (command-line):
230 * cus-start.el: Don't refer to font-list-limit.
231
608d9d7c
CY
232 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
233
4ff5b1b2
SM
2342012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * subr.el (internal-temp-output-buffer-show): Rename from
237 temp-output-buffer-show, since previously compiled files expect this name.
238
ea1d4aac
GM
2392012-10-23 Glenn Morris <rgm@gnu.org>
240
241 * image.el (image-type-from-file-name): If multiple types match,
242 return the first one that is supported. (Bug#9045)
243
eda82a31
GM
2442012-10-22 Glenn Morris <rgm@gnu.org>
245
246 * image.el (imagemagick-enabled-types): Doc fix.
247
4f020bec
TA
2482012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
249
250 * progmodes/which-func.el (which-func-current): The hash-table may have
251 an explicit nil (bug#12338).
252
c77d37e2
SM
2532012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * electric.el (electric-pair-delete-selection-self-insert-function):
256 Rename to electric-pair-will-use-region, return a boolean.
257 (electric-pair-mode): Adjust accordingly. Don't require delsel.
258
259 * delsel.el (delete-selection-helper): Use a function instead of a hook.
260 (delete-selection-pre-hook): Use use-region-p.
261 (delete-selection-self-insert-function): Remove.
262 (self-insert-command): Obey self-insert-uses-region-functions.
263 (self-insert-iso): Revert to previous setting, since we don't actually
264 know what that command does.
265 (delete-selection-self-insert-hooks): Remove.
266
b1d39ccc
SL
2672012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
268
269 * delsel.el (delete-selection-helper): New function, extracted from
270 delete-selection-pre-hook.
271 (delete-selection-pre-hook): Use it.
272 (delete-selection-self-insert-function): New function.
273 (delete-selection-self-insert-hooks): New hook.
274 (self-insert-command, self-insert-iso): Use it.
275 * electric.el (electric-pair-syntax): New function, extracted from
276 electric-pair-post-self-insert-function.
277 (electric-pair-post-self-insert-function): Use it.
278 (electric-pair-delete-selection-self-insert-function): New function.
279 (electric-pair-mode): Require delsel and setup
280 delete-selection-self-insert-hooks (bug#11520).
281
045ef729
CY
2822012-10-20 Chong Yidong <cyd@gnu.org>
283
4c5d08a8
CY
284 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
285 no changes to show (Bug#12586).
286
045ef729
CY
287 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
288 list explicitly (Bug#12571).
289
3503c798 2902012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 291
b1d39ccc
SL
292 * progmodes/flymake.el (flymake-create-temp-inplace):
293 Use file-truename.
79e1997a 294
2068905b
EZ
2952012-10-20 Eli Zaretskii <eliz@gnu.org>
296
297 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
298
4c9e9550
JB
2992012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
300
301 * calc/calc-units.el (math-extract-units): Properly extract powers
302 of units.
303
1a6e7e38
DC
3042012-10-20 Daniel Colascione <dancol@dancol.org>
305
306 * frame.el (make-frame): Set x-display-name as we used to in order
307 to unbreak creating an X11 frame from an Emacs daemon started
308 without a display.
309
8e808318
SM
3102012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * minibuffer.el (minibuffer-force-complete): Make the next completion use
313 the same completion-field (bug@12221).
314
fb0104da
MR
3152012-10-19 Martin Rudalics <rudalics@gmx.at>
316
317 * emacs-lisp/debug.el (debug): Record height of debugger window
318 also when debugger will be back (Bug#8789).
319
8c27235e
CY
3202012-10-18 Chong Yidong <cyd@gnu.org>
321
322 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
323 Convert to defcustom.
324 (gdb-get-source-file): Don't bind pop-up-windows.
325
326 * progmodes/gud.el (gud-display-line): Don't specially re-use
327 other frames for the gdb-mi case (Bug#12648).
328
90eacf99
SM
3292012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
330
aaf0c300
SM
331 * emacs-lisp/advice.el: Clean up commentary a bit.
332 (ad-do-advised-functions, ad-with-originals): Use `declare'.
333 (byte-code-function-p): Never redefine.
334
90eacf99
SM
335 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
336
281c9d2b
GM
3372012-10-18 Glenn Morris <rgm@gnu.org>
338
40714e3d
GM
339 * dired.el (dired-sort-toggle): Some ls implementations only allow
340 a single option string. (Bug#12666)
341
281c9d2b
GM
342 * minibuffer.el (completion-cycle-threshold): Doc fix.
343
b278604e
KH
3442012-10-17 Kenichi Handa <handa@gnu.org>
345
90eacf99
SM
346 * international/mule.el (set-keyboard-coding-system):
347 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
348 Supply TERMINAL arg to set-input-meta-mode.
349
df171c23 3502012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
351
352 * wdired.el (wdired-old-marks): New variable.
353 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
354 (wdired-do-renames): Move point with renamed file and don't lose
355 mark status (Bug#11795).
356
e5a94ec4
JL
3572012-10-16 Juri Linkov <juri@jurta.org>
358
359 * replace.el (query-replace-help): Mention multi-buffer replacement
360 keys in the Help message. (Bug#12655)
361
d18a0d24
CY
3622012-10-15 Chong Yidong <cyd@gnu.org>
363
364 * emacs-lisp/byte-run.el (defsubst): Doc fix.
365
8111f5e6
EZ
3662012-10-14 Eli Zaretskii <eliz@gnu.org>
367
7b9abf24
EZ
368 * window.el (display-buffer): Doc fix.
369
8111f5e6
EZ
370 * progmodes/compile.el (compilation-error-regexp-alist-alist):
371 Adjust the msft regexp to the output of Studio 2010, and move msft
372 before edg-1. See the discussion on emacs-devel,
373 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
374 for the details.
375
5046ef67
SM
3762012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
377
9760c73c
SM
378 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
379 (oset): Move uses of object-class-fast macro after its definition.
380
5046ef67
SM
381 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
382
0d11ff1c
CY
3832012-10-13 Chong Yidong <cyd@gnu.org>
384
385 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
386 enabled, re-enable it (Bug#11963).
387
88ded8ac
MR
3882012-10-13 Martin Rudalics <rudalics@gmx.at>
389
390 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
391 non-nil, restore window configuration (Bug#12623).
392
bd0ffffd
SM
3932012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
394
06485aa8
SM
395 * help-fns.el (describe-variable, describe-function-1):
396 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
397
bd0ffffd
SM
398 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
399
3a989246
GM
4002012-10-12 Glenn Morris <rgm@gnu.org>
401
402 * mail/rmailsum.el (rmail-header-summary):
403 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
404
55cd00c8
FEG
4052012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
406
bd0ffffd
SM
407 * progmodes/python.el (python-mode-map):
408 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
409 (python-nav--up-list): Fix behavior for blocks on the same level.
410
ac9fc2c7
SM
4112012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
412
d8cc4c00 413 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 414
5253a5fd
SM
415 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
416 changes to the format of load-history.
417
ac9fc2c7
SM
418 * international/mule-cmds.el (read-char-by-name): Move let-binding of
419 completion-ignore-case in case that var is buffer-local (bug#12615).
420
cde44a77
KH
4212012-10-11 Kenichi Handa <handa@gnu.org>
422
423 * international/eucjp-ms.el: Re-generated.
424
4ef4a10d
KH
4252012-10-10 Kenichi Handa <handa@gnu.org>
426
427 * select.el (xselect--encode-string): If a coding is specified for
428 selection, and that is compatible with COMPOUND_TEXT, use it.
429
9d7f027b
MR
4302012-10-10 Martin Rudalics <rudalics@gmx.at>
431
432 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
433 (switch-to-buffer):
434 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 435
238f3a58
SM
4362012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
439 Don't document nil as a useful value (bug#12583).
440
1d51f99c
MA
4412012-10-09 Michael Albinus <michael.albinus@gmx.de>
442
238f3a58
SM
443 * net/tramp.el (tramp-debug-message):
444 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
445 (with-tramp-progress-reporter): Rename from
446 `tramp-with-progress-reporter'.
238f3a58
SM
447 (with-tramp-file-property, with-tramp-connection-property):
448 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
449 `with-connection-property', respectively.
450
451 * net/tramp-cache.el: Remove `with-file-property' and
452 `with-connection-property'.
453
454 * net/tramp.el:
455 * net/tramp-gvfs.el:
456 * net/tramp-sh.el:
457 * net/tramp-smb.el: Adapt callees.
458
459 * net/trampver.el: Update release number.
460
26b77251
GM
4612012-10-09 Glenn Morris <rgm@gnu.org>
462
9a5f296f
GM
463 * w32-fns.el (set-message-beep):
464 * term/w32-win.el (set-message-beep): Update declarations.
465
94c66ce5
SM
4662012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
467
10766e9e
SM
468 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
469 (mode-line-widen, mode-line-input-method-map)
470 (mode-line-coding-system-map, mode-line-remote)
471 (mode-line-unbury-buffer, mode-line-bury-buffer)
472 (mode-line-next-buffer, mode-line-previous-buffer):
473 Replace save-selected-window+select-window => with-selected-window.
474
f754db08
SM
475 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
476 * progmodes/cc-vars.el (bq-process): Remove, unused.
477
94c66ce5
SM
478 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
479
a4ff7fe1
FEG
4802012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
481
482 Implemented `backward-up-list'-like navigation.
483 * progmodes/python.el (python-nav-up-list)
484 (python-nav-backward-up-list): New functions.
485 (python-mode-map): Define substitute key for backward-up-list to
486 python-nav-backward-up-list.
487
24517d82
FEG
4882012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
489
490 * progmodes/python.el (python-fill-paragraph): Rename from
491 python-fill-paragraph-function. Fixed fill-paragraph for
492 decorators (Bug#12605).
493
51867ae2
FEG
4942012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
495
496 * progmodes/python.el (python-shell-output-filter): Handle extra
497 carriage return in OSX (Bug#12409).
498
a5b773c4
FEG
4992012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
500
501 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 502 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
503 (python-syntax-propertize-function): Use it.
504 (python-shell-output-syntax-table): New var.
505 (inferior-python-mode): Prevent unbalanced parens/quotes from
506 previous output mess with current input context.
507
13373538
JB
5082012-10-08 Juanma Barranquero <lekktu@gmail.com>
509
510 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
511 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
512
775a132d
MA
5132012-10-08 Michael Albinus <michael.albinus@gmx.de>
514
515 * ffap.el (ffap-replace-file-component): Support Tramp file name
516 syntax, not only ange-ftp's one.
517
3ab44929
GM
5182012-10-08 Glenn Morris <rgm@gnu.org>
519
57f1dee4
GM
520 * cus-start.el (message-log-max): Set :version.
521
3ab44929
GM
522 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
523
6a088630
MR
5242012-10-08 Martin Rudalics <rudalics@gmx.at>
525
526 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
527 the minibuffer window (Bug#10851).
528
8dbce54c
FEG
5292012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
530
531 Enhancements on forward-sexp movement.
532 * progmodes/python.el (python-nav-beginning-of-statement)
533 (python-nav-end-of-statement): Return point-marker.
534 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
535 (python-info-current-symbol)
536 (python-info-statement-starts-block-p): Rename from
537 python-info-beginning-of-block-p.
538 (python-info-statement-ends-block-p): Rename from
539 python-info-end-of-block-p.
540 (python-info-beginning-of-statement-p)
541 (python-info-end-of-statement-p)
542 (python-info-beginning-of-block-p, python-info-end-of-block-p):
543 New functions.
544
5acd2b3e
SM
5452012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
548 frame-selected-windows.
549
e08348a0
DC
5502012-10-08 Daniel Colascione <dancol@dancol.org>
551
552 * battery.el (battery-status-function): Check for
553 w32-battery-status itself, not system-time windows-nt.
554
555 * frame.el: Require cl-lib.
556 (display-format-alist): New variable mapping frame types to
557 functions that initialize them.
558 (window-system-for-display): New function: interprets
559 display-format-alist.
560 (make-frame-on-display): Remove existing display-selection logic
561 and just forward to make-frame, which will now DTRT.
562 (make-frame): Restructure to use window-system-for-display to
563 figure out how to create a frame on a given display.
564 (display-mouse-p): Look for frame-type w32, not a particular
565 system-type.
566
567 * loadup.el: Load w32 lisp code when we have the w32 feature.
568
569 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
570 system-type windows-nt.
571
572 * server.el (server-create-window-system-frame): Look for window
573 type.
574 (server-proces-filter): Only force a window system when windows-nt
575 _and_ w32. Explain why.
576
577 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
578 of window systems we configure for the mode.
579
580 * startup.el (command-line): Mark window system is initialized
581 after we've done it.
582
583 * common-win.el (x-select-text): Look for w32, not windows-nt.
584
585 * ns-win.el: Require cl-lib. Add ourselves to
586 display-format-alist.
587 (ns-initialize-window-system): Assert we're not initialized twice.
588
589 * w32-win.el: Enable lexical binding; require cl-lib; add
590 ourselves to display-format-alist.
591 (w32-handle-dropped-file): Convert incoming dropped files from
592 Windows paths to Cygwin ones before passing them on to the rest of
593 Emacs.
594 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
595 (w32-initialize-window-system): Assert we're not initialized twice.
596
597 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
598 (x-initialize-window-system): Assert we're not initialized twice.
599
600 * w32-common-fns.el: New File.
601 (w32-version, w32-using-nt, w32-get-clipboard-data)
602 (w32-set-clipboard-data, x-set-selection, x-get-selection)
603 (w32-charset-info-alist, x-last-selected, text)
604 (x-get-selection-value, x-selection-value): Move here.
605
606 * w32-fns.el: Require w32-common-fns.
607 (w32-version, w32-using-nt, w32-get-clipboard-data)
608 (w32-set-clipboard-data, x-set-selection, x-get-selection)
609 (w32-charset-info-alist, x-last-selected, text)
610 (x-get-selection-value, x-selection-value): Move to
611 w32-common-fns.
612
613 * w32-vars.el:
614 (w32-allow-system-shell, w32-system-shells): Define only in
615 non-cygwin case.
616
795b1482
SM
6172012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
620 (read-passwd): Remove a few more potential sources of leaks.
621
f27c99dc
FEG
6222012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
623
624 * progmodes/python.el (inferior-python-mode)
795b1482 625 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
626 variables copied from parent buffer.
627
fcacb558
JD
6282012-10-07 Jan Djärv <jan.h.d@swipnet.se>
629
630 * term/ns-win.el (ns-read-file-name): Update declaration to match
631 nsfns.m.
632 (ns-respond-to-change-font): Change fontsize separatly so we are sure
633 it is set when font is acted upon.
634
be0d5bae
FEG
6352012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
636
637 Enhancements to indentation.
638 * progmodes/python.el (python-indent-context): Give priority to
639 inside-string context. Make comments indentation markers.
640 (python-indent-region): Do not mess with strings, unless it's the
641 enclosing set of quotes.
642
13af0d10
SM
6432012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
644
662a9d0e
SM
645 * window.el (internal--before-save-selected-window)
646 (internal--after-save-selected-window): New functions extracted from
647 save-selected-window. Make sure we return the `alist' we construct.
648 (save-selected-window): Use them.
649
650 * textmodes/tex-mode.el (tex-recenter-output-buffer):
651 Use with-selected-window.
652
13af0d10
SM
653 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
654 forms that define macros (bug#12593).
655
6aa75fb6
KH
6562012-10-07 Kenichi Handa <handa@gnu.org>
657
13af0d10
SM
658 * international/mule-conf.el (compound-text-with-extensions):
659 Add :mime-charset property as x-ctext.
6aa75fb6 660
78d876b9
SM
6612012-10-07 Stefan Merten <smerten@oekonux.de>
662
663 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
664 (rst-indent-literal-normal, rst-indent-literal-minimized)
665 (rst-indent-comment): Correct :version tag.
557337e9 666 (rst-official-cvs-rev): Correct version string.
78d876b9 667
99a1e701
GM
6682012-10-07 Glenn Morris <rgm@gnu.org>
669
670 * mail/rmailmm.el (rmail-mime-process-multipart):
671 Do not confuse a multipart message with an epilogue
672 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
673
08f18c3d
FEG
6742012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
675
676 Fix shell output retrieval and comint-prompt-regexp init.
677 * progmodes/python.el (inferior-python-mode):
678 (python-shell-make-comint): Fix initialization of
679 comint-prompt-regexp from copied file local variables.
680 (python-shell-fetched-lines): Remove var.
681 (python-shell-output-filter-in-progress): Rename from
682 python-shell-fetch-lines-in-progress.
683 (python-shell-output-filter-buffer): Rename from
684 python-shell-fetch-lines-string.
685 (python-shell-fetch-lines-filter): Delete function.
686 (python-shell-output-filter): New function.
687 (python-shell-send-string-no-output): Use them.
688
82ed3ab4
GM
6892012-10-07 Glenn Morris <rgm@gnu.org>
690
1595ecfa
GM
691 * hi-lock.el (hi-lock-process-phrase):
692 Try to make it less fragile. (Bug#7161)
693
82ed3ab4
GM
694 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
695
f1f4dba0
GM
6962012-10-06 Glenn Morris <rgm@gnu.org>
697
addc11ed 698 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
699 non-existent mode `help'.
700 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 701
460042b8
GM
702 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
703 (reftex-create-bibtex-footer): Fix custom types.
704
67667c70
GM
705 * progmodes/sh-script.el (sh-indent-after-continuation):
706 Add explicit :group.
707
18dec750
GM
708 * textmodes/rst.el (rst-preferred-decorations)
709 (rst-shift-basic-offset): Clarify obsolescence versions.
710
d1a1c7e6
GM
711 * profiler.el (profiler): Add missing group :version tag.
712 * avoid.el (mouse-avoidance-banish-position):
713 * proced.el (proced-renice-command):
714 * calc/calc.el (calc-ensure-consistent-units):
715 * calendar/icalendar.el (icalendar-import-format-uid):
716 * net/tramp.el (tramp-save-ad-hoc-proxies):
717 * progmodes/bug-reference.el (bug-reference-bug-regexp):
718 * progmodes/flymake.el (flymake-error-bitmap)
719 (flymake-warning-bitmap, flymake-fringe-indicator-position):
720 * progmodes/sh-script.el (sh-indent-after-continuation):
721 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
722 (verilog-before-save-font-hook, verilog-after-save-font-hook):
723 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
724 (vhdl-array-index-record-field-in-sensitivity-list)
725 (vhdl-indent-comment-like-next-code-line):
726 * textmodes/reftex-vars.el (reftex-ref-style-alist)
727 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
728 (reftex-cite-key-separator, reftex-create-bibtex-header)
729 (reftex-create-bibtex-footer):
730 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
731 (rst-indent-literal-normal, rst-indent-literal-minimized)
732 (rst-indent-comment): Add missing custom :version tags.
733
ef35abb4
GM
734 * calendar/timeclock.el (timeclock-modeline-display):
735 Add missing obsolete alias for renamed user option.
736
d1aae614
GM
737 * strokes.el (strokes-modeline-string):
738 * emulation/crisp.el (crisp-mode-modeline-string):
739 * eshell/esh-mode.el (eshell-status-in-modeline):
740 Aliases to defcustoms must come before the defcustom.
741
f1f4dba0
GM
742 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
743 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
744 (cal-tex-cursor-week-monday): Doc fixes.
745 (cal-tex-cursor-week2-summary): Doc fix.
746 Rename from cal-tex-cursor-week-at-a-glance.
747
748 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
749 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
750
751 * calendar/calendar.el (calendar-mode-map):
752 Add cal-tex-cursor-week2-summary.
753
d39109c3
SM
7542012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
755
685f87b0
SM
756 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
757
d39109c3
SM
758 * subr.el (read-passwd-map): New var.
759 (read-passwd): Use `read-string' again.
760 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
761
5694896d
J
7622012-10-06 Jambunathan K <kjambunathan@gmail.com>
763
764 * register.el (append-to-register, prepend-to-register):
765 Deactivate mark, as does `copy-to-register' (bug#12389).
766
9414dd8d
CY
7672012-10-06 Chong Yidong <cyd@gnu.org>
768
769 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
770
2b89bca4
KH
7712012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
772
773 * international/characters.el: Fix simple mistake ((car chars) ->
774 elt), delete duplicated code.
775
d5acb99a
GM
7762012-10-06 Glenn Morris <rgm@gnu.org>
777
778 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
779
123ec157
JS
7802012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
781
782 * color.el (color-hsl-to-rgb): Fix incorrect results for
783 small and large hue values. (Bug#12559)
784
7fa36ccb
FEG
7852012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
786
787 Enhancements to docstring formatting when filling paragraphs.
788 * progmodes/python.el (python-fill-docstring-style): Rename from
789 python-fill-string-style. Added new style.
790 (python-fill-string): Use new style. Better checks for
791 docstrings.
792
d8788e1e
GM
7932012-10-05 Glenn Morris <rgm@gnu.org>
794
204f3953
GM
795 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
796
d8788e1e
GM
797 * color.el (color-name-to-rgb, color-rgb-to-hex)
798 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
799 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
800 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
801 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
802
8d956cef
GM
803 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
804
e8757f09 8052012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
806
807 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
808 to get the correct size across symlinks.
809
e8757f09
GM
810 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
811
0e2ae83d
JL
8122012-10-04 Juri Linkov <juri@jurta.org>
813
814 * replace.el (query-replace-interactive): Declare obsolete.
815 (query-replace-read-from): Add the last incremental search string
816 to the list of default values accessible via M-n.
817 (map-query-replace-regexp): Use `read-regexp'.
818 (query-replace, query-replace-regexp, query-replace-regexp-eval)
819 (map-query-replace-regexp, replace-string, replace-regexp):
820 Fix docstrings to replace mentions of `query-replace-interactive'
821 with alternatives. (Bug#12526)
822
93cacb6d
JL
8232012-10-04 Juri Linkov <juri@jurta.org>
824
825 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
826 (dired-pop-to-buffer): Declare obsolete.
827 (dired-mark-pop-up): Doc fix.
828
fc345011
FEG
8292012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
830
831 Allow user to set docstring style for fill-paragraph.
832 * progmodes/python.el
833 (python-fill-comment-function, python-fill-string-function)
834 (python-fill-decorator-function, python-fill-paren-function):
835 Remove :safe for defcustoms.
836 (python-fill-string-style): New defcustom
5694896d 837 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
838 (python-fill-string): Honor python-fill-string-style settings.
839
6bab5d8b
MR
8402012-10-04 Martin Rudalics <rudalics@gmx.at>
841
842 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
843 after setting its buffer (Bug#10805).
844
a1a9f411
FEG
8452012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
846
847 Fix cornercase for string syntax.
848 * progmodes/python.el (python-syntax-propertize-function):
849 Simplify and enhance the regexp for unescaped quotes. Now it also
850 matches quotes in weird situations like the single quote in
851 "something\"'".
852 (python-syntax-stringify): Simplify num-quotes detecting code.
853
05e153a6
GM
8542012-10-03 Glenn Morris <rgm@gnu.org>
855
856 * help-macro.el (three-step-help):
857 Revert 2012-09-29 change. (Bug#12567)
858
2e566ecb
MR
8592012-10-03 Martin Rudalics <rudalics@gmx.at>
860
96ef9ccd
MR
861 * menu-bar.el (kill-this-buffer): Don't do anything when
862 `menu-frame' is not alive or visible (Bug#8184).
863
2e566ecb
MR
864 * emacs-lisp/debug.el (debug): When quitting the debugger window
865 restore current buffer (Bug#12502).
866
a96e1cb7
CY
8672012-10-02 Chong Yidong <cyd@gnu.org>
868
5694896d
J
869 * progmodes/hideif.el (hif-lookup, hif-defined):
870 Handle semantic-c-takeover-hideif.
a96e1cb7 871
b3ecad33
PE
8722012-10-02 Paul Eggert <eggert@cs.ucla.edu>
873
874 Change sampling interval units from ms to ns.
875 * profiler.el (profiler-sampling-interval): Change units
876 from ms to ns, multiplying the default by 1000000 so that
877 it remains 1 ms.
878 (profiler-report-cpu-line-format): Give enough room for
879 the maximum counters on 64-bit hosts.
880 (profiler-report-render-calltree-1): Call them "CPU samples",
881 not "Time (ms)", since they are not milliseconds now (and
882 never really were).
883
8cb51b66 8842012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 885
5694896d
J
886 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
887 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 888
fd795bf4
CY
8892012-10-02 Chong Yidong <cyd@gnu.org>
890
891 * emacs-lisp/eieio.el: Restore Version header.
892
fe0a74f9
SM
8932012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
894
6be9197e
SM
895 * vc/diff-mode.el (diff--auto-refine-data): New var.
896 (diff-hunk): Use it to delay refinement.
897 (diff-mode): Remove overlays when we turn off font-lock.
898
18486139
SM
899 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
900 (table-initialize-table-fixed-width-mode)
901 (table-set-table-fixed-width-mode): Remove functions.
902 (table-command-list): Move initialization into declaration.
903 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
904 (table-with-cache-buffer): Use `declare'.
905 (table-span-cell): Simplify via CSE.
906 (table-fixed-width-mode): Use define-minor-mode.
907 (table-call-interactively, table-funcall, table-apply): Remove.
908 (table-function): New function, to replace them.
909
d83ef976
SM
910 * bookmark.el (bookmark-search-pattern): Remove var.
911 (bookmark-read-search-input): Remove function.
912 (bookmark-bmenu-search): Reimplement using a minibuffer.
913
cd386662
SM
914 * faces.el (modeline): Remove obsolete face name.
915
fe0a74f9
SM
916 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
917 and give a non-nil default value.
918 (add-change-log-entry): Simplify accordingly.
919
9f7b98f8
DG
9202012-10-01 Dmitry Gutov <dgutov@yandex.ru>
921
922 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
923 (vc-git-log-edit-toggle-amend): New function.
924 (vc-git-log-edit-toggle-signoff): New function.
925 (vc-git-log-edit-mode): New major mode.
926 (vc-git-log-edit-mode-map): Keymap for it.
927 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
928
929 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
930 header names.
931 (log-edit-toggle-header): New function.
932 (log-edit-extract-headers): Accept function values in HEADERS alist.
933
62a81506
CY
9342012-10-01 David Engster <deng@randomsample.de>
935
936 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
937 from symbol property and change message to be more consistent with
938 Emacs proper.
939 (eieio-describe-generic): Add filename for each implementation.
940 Fix indices for generic and normal methods.
941 (eieio-method-def, eieio-class-def): New buttons.
942 (eieio-help-find-method-definition)
943 (eieio-help-find-class-definition): New functions.
944 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
945 class, constructor and method definitions.
946
947 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
948 information in symbol property.
949 (scoped-class): Remove.
950 (eieio-slot-name-index, call-next-method): Check if it is bound.
951
9522012-10-01 Leo P. White <lpw25@cam.ac.uk>
953
954 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
955 (eieio-custom-mode): New major mode.
956 (eieio-customize-object): Use it.
957
9582012-10-01 Eric Ludlam <zappo@gnu.org>
959
960 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
961 specifying the expected class, and whether subclassing is allowed.
962 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
963 (eieio-persistent-validate/fix-slot-value)
964 (eieio-persistent-slot-type-is-class-p): New functions.
965 (eieio-named::slot-missing): Doc fix.
62a81506
CY
966
967 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
968 Stop using unused publd variable.
969
970 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
971 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
972 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
973 (eieio-speedbar-handle-click): Do not specify a class for the
974 method. Fixes method invocation order problems with EDE.
975
375e49d4
SM
9762012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
979 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
980
16ce6ccd
KF
9812012-10-01 Karl Fogel <kfogel@red-bean.com>
982
983 * bookmark.el (bookmark-version-control): Give tags in the
984 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
985 (bookmark-write-file): Bind `print-circle' to `t' to allow
986 circular custom bookmark types. (Bug#12503)
16ce6ccd 987
19e54a4d
PE
9882012-10-01 Paul Eggert <eggert@cs.ucla.edu>
989
86ec63ba
PE
990 Revert the FOLLOW-SYMLINKS change for file-attributes.
991 * files.el (remote-file-name-inhibit-cache, after-find-file):
992 * time.el (display-time-file-nonempty-p): Undo last change.
993
19e54a4d
PE
994 * profiler.el (profiler-sampling-interval): Change default back to 1.
995 See Stefan Monnier in
996 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
997
0478776b
FEG
9982012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
999
1000 Shell output catching a la gud-gdb.
1001 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1002 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1003 New Vars.
0478776b
FEG
1004 (python-shell-fetch-lines-filter): New function.
1005 (python-shell-send-string-no-output): Use them.
1006
c22bac2c
TM
10072012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1008
1009 * profiler.el (profiler-sampling-interval): Rename from
1010 profiler-sample-interval.
1011 (profiler-sampling-interval): Default to 10.
1012 (profiler-find-profile): New command (was profiler-find-log).
1013 (profiler-find-profile-other-window): New command.
1014 (profiler-find-profile-other-frame): New command.
1015 (profiler-profile): Introduce API-level data structure.
1016
e7a2937b
PE
10172012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1018
1019 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1020 * files.el (remote-file-name-inhibit-cache):
1021 * time.el (display-time-file-nonempty-p): Use it.
1022 * files.el (after-find-file): Don't chase links before calling
1023 file-exists-p, as file-exists-p already does the right thing.
1024
4f595e15
RA
10252012-09-30 Ralf Angeli <angeli@caeruleus.net>
1026
1027 Merge from standalone RefTeX repository.
1028
1029 The following ChangeLog entries are shortened versions of the
1030 original ones with file paths adapted. A not so strongly edited
1031 version of the original ChangeLog can be found in the commit log.
1032
1033 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1034 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1035 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1036
1037 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1038 that entries with whitespace at various places are found.
1039 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1040 Include @String definitions in the resulting bib file. Add header
1041 and footer defined in `reftex-create-bibtex-header' and
1042 `reftex-create-bibtex-footer'.
1043 (reftex-do-citation): Make it possible again to insert
1044 non-existent entries. Save match data when asking for optional
1045 arguments. Return all keys, not just the first one.
1046 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1047 all citations in the same line.
1048 (reftex-parse-bibtex-entry): Accept additional optional argument
1049 `raw' and keep quotes or braces if it is non-nil. Match fields
1050 containing hyphens besides word constituents.
1051 (reftex-get-string-refs): New function.
1052 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1053 and ask if it should be reread in case it did.
1054 (reftex-pop-to-bibtex-entry)
1055 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1056 entries with spaces or tabs in front of arguments.
1057 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1058 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1059 Match entries containing numbers and symbol constituents.
1060 (reftex-do-citation, reftex-figure-out-cite-format):
1061 Use `reftex-cite-key-separator'.
4f595e15
RA
1062
1063 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1064 (reftex-mouse-view-crossref): Explain why point is set.
1065
1066 * textmodes/reftex-global.el: Whitespace changes.
1067
1068 * textmodes/reftex-index.el: Move provide statement to end of
1069 file.
1070 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1071 (reftex-index-visit-phrases-buffer): Set marker when visiting
1072 buffer. This allows for returning from the phrases file to the
1073 file one was just editing instead of the file where the last
1074 phrases was added from.
1075 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1076 punctuation syntax as it usually is not used as string quote in
1077 TeX-related modes and may occur unmatched. The change also
1078 prevents fontification of quoted content.
1079 (reftex-index-phrases-mode): Use it.
1080
375e49d4
SM
1081 * textmodes/reftex-parse.el (reftex-parse-from-file):
1082 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1083 (reftex-parse-from-file): Use beginning of match instead of end as
1084 bound.
1085
1086 * textmodes/reftex-ref.el: Adapt creation of
1087 `reftex-<package>-<macro>' functions to new structure of
1088 `reftex-ref-style-alist'.
375e49d4
SM
1089 (reftex-reference): Use `reftex-ref-style-list' function.
1090 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1091 reference macro if `reftex-ref-macro-prompt' is non-nil.
1092 (reftex-reference): Pass refstyle to `reftex-format-special'.
1093 Determine reference macro by looking at
375e49d4
SM
1094 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1095 Use only one special format function.
4f595e15
RA
1096 (reftex-varioref-vref, reftex-fancyref-fref)
1097 (reftex-fancyref-Fref): Remove definitions. The functions are now
1098 generated from `reftex-ref-style-alist'.
1099 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1100 Remove.
1101 (reftex-format-special): New function.
1102
1103 * textmodes/reftex-sel.el
1104 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1105 of `reftex-ref-style-alist'. Remove code for testing macro type.
1106 (reftex-select-toggle-varioref)
1107 (reftex-select-toggle-fancyref): Remove.
1108 (reftex-select-cycle-ref-style-internal)
1109 (reftex-select-cycle-ref-style-forward)
1110 (reftex-select-cycle-ref-style-backward): New functions.
1111 (reftex-select-label-map): Use `v' and `V' for general cycling
1112 through reference styles. Add `p' for switching between number
1113 and page reference types.
1114
375e49d4
SM
1115 * textmodes/reftex-toc.el (reftex-re-enlarge):
1116 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1117 the horizontal version throws an error even if the parameter is 0.
1118
1119 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1120 (reftex-plug-into-AUCTeX): Doc fix.
1121 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1122 string. Adapt to new name.
1123 (reftex-ref-style-alist): Change structure so that it is not
1124 possible to use multiple different package names within a style.
375e49d4
SM
1125 Remove the symbols for symbols for macro type distinction.
1126 Add characters for macro selection.
4f595e15
RA
1127 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1128 (reftex-create-bibtex-footer): New variables.
1129 (reftex-format-ref-function): Mention third argument of special
1130 format function.
375e49d4
SM
1131 (reftex-ref-style-alist, reftex-ref-style-default-list):
1132 New variables.
4f595e15
RA
1133 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1134 to new implementation. Mark as obsolete. Add compatibility code
1135 for honoring the variable values in case they are set.
375e49d4
SM
1136 (reftex-cite-format-builtin, reftex-bibliography-commands):
1137 Add support for ConTeXt.
1138 (reftex-format-ref-function, reftex-format-cite-function):
1139 Fix custom type.
4f595e15
RA
1140 (reftex-cite-key-separator): New variable.
1141
1142 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1143 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1144 `reftex-syntax-table' because parens have to retain their paren
1145 syntax in order for parsing of BibTeX entries like @book(...) to
1146 work.
1147 (reftex-in-comment): Do not error out if `comment-start-skip' is
1148 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1149 (reftex-tie-multifile-symbols): Add doc string.
1150 Initialize `reftex-ref-style-list'.
4f595e15
RA
1151 (reftex-untie-multifile-symbols): Add doc string.
1152 (reftex-add-index-macros): Doc fix.
1153 (reftex-ref-style-activate, reftex-ref-style-toggle)
1154 (reftex-ref-style-list): New functions.
1155 (reftex-mode-menu): Use them. Adapt to new structure of
1156 `reftex-ref-style-alist'.
1157 (reftex-select-with-char): Kill the RefTeX Select buffer when
1158 done.
1159 (reftex-remove-if): New function.
1160 (reftex-erase-all-selection-and-index-buffers)
1161 (reftex-mode-menu): Reference styles are now computed from
1162 `reftex-ref-style-alist'. Fix typo.
1163 (reftex-report-bug): New function.
1164 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1165 algorithms with O(n log n). Introduce optional argument SORT (not
1166 yet used).
1167
440ba395
FEG
11682012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1169
1170 Enhancements for triple-quote string syntax.
375e49d4
SM
1171 * progmodes/python.el (python-syntax-propertize-function):
1172 Match both quote cases in one regexp.
440ba395
FEG
1173 (python-syntax-stringify): Handle matches properly.
1174
4c478e6b
JL
11752012-09-30 Juri Linkov <juri@jurta.org>
1176
1177 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1178 to nil around the call to `insert' to prevent
4c478e6b
JL
1179 directory time modification by lock_file. (Bug#2295)
1180 * tar-mode.el (tar-summarize-buffer): Idem.
1181
d80d54b2
JL
11822012-09-30 Juri Linkov <juri@jurta.org>
1183
1184 * facemenu.el (list-colors-sort): Add option "Luminance".
1185 (list-colors-sort-key): Implement it.
1186
1187 * vc/diff-mode.el (diff-refine-removed):
1188 * vc/ediff-init.el (ediff-fine-diff-A):
1189 * vc/smerge-mode.el (smerge-refined-removed):
1190 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1191
d7e642cc
JD
11922012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1193
1194 * term/ns-win.el (x-file-dialog): New function.
1195
ee41332b
JB
11962012-09-30 Juanma Barranquero <lekktu@gmail.com>
1197
1198 * ido.el (ido-max-directory-size): Default to nil; the current
1199 default is small for POSIX systems, and impractical on Windows 7
1200 now that lstat returns directory sizes for NTFS.
1201
5938d519
MR
12022012-09-30 Martin Rudalics <rudalics@gmx.at>
1203
1204 In buffer display functions handle window-height/window-width
1205 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1206 * window.el (window--display-buffer): New argument ALIST.
1207 Obey window-height and window-width alist entries.
1208 (window--try-to-split-window): New argument ALIST.
1209 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1210 changed and window-combination-limit equals `window-size'.
1211 (display-buffer-in-atom-window)
1212 (display-buffer-in-major-side-window)
1213 (display-buffer-in-side-window, display-buffer-same-window)
1214 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1215 (display-buffer-pop-up-window, display-buffer-below-selected)
1216 (display-buffer-at-bottom, display-buffer-in-previous-window)
1217 (display-buffer-use-some-window): Adjust all callers of
1218 window--display-buffer and window--try-to-split-window.
1219 (fit-frame-to-buffer): New option.
1220 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1221 is non-nil.
1222 (display-buffer-in-major-side-window): Evaluate window-height /
1223 window-width alist entries.
1224
1225 * help.el (temp-buffer-resize-frames)
1226 (temp-buffer-resize-regexps): Remove options.
1227 (temp-buffer-resize-mode): Adjust doc-string.
1228 (resize-temp-buffer-window): Don't consult
1229 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1230 temp-buffer-resize-frames.
1231
375e49d4
SM
1232 * dired.el (dired-mark-pop-up):
1233 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1234 entry.
1235
c4c0c2df
CY
12362012-09-30 Chong Yidong <cyd@gnu.org>
1237
48de8b12
CY
1238 * server.el (server-host): Document the security implications.
1239 (server-auth-key): Doc fix.
1240
1241 * startup.el (initial-buffer-choice): Doc fix.
1242
1243 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1244
a97dc380
CY
1245 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1246 restriction change.
1247
d39d3c8e
CY
1248 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1249
c4c0c2df
CY
1250 * help-fns.el (help-fns--obsolete): Fix last change.
1251
98a5e33b
SM
12522012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1253
34cf6f39
SM
1254 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1255 (minor-mode-map-alist): Remove redundant code.
1256
e01c13fe
SM
1257 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1258 visited in a buffer.
1259 (cvs-insert-visited-file): New function.
1260 (find-file-hook): Use it.
1261
1262 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1263
02661b3a
SM
1264 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1265 chose face.
1266 (log-edit-empty-buffer-p): Don't require a space after a header.
1267
43711d4b
SM
1268 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1269
38a30d64
SM
1270 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1271
4ffb41a9
SM
1272 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1273 a proper minor-mode.
1274
98a5e33b
SM
1275 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1276
de82e29b
GM
12772012-09-29 Glenn Morris <rgm@gnu.org>
1278
5cc2e639
GM
1279 * winner.el (winner-mode): Remove variable (let define-minor-mode
1280 handle it).
1281 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1282 Doc fixes.
1283 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1284 (winner-mode): Use define-minor-mode.
1285
7bd302eb
GM
1286 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1287 the full definition in loaddefs, rather than duplicating it.
1288
2923922f 1289 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1290
0e3e4156
GM
1291 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1292 (inferior-lisp-program, inferior-lisp-load-command)
1293 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1294 No need to autoload defcustoms.
0e3e4156 1295
de82e29b
GM
1296 * hippie-exp.el (hippie-expand-try-functions-list)
1297 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1298 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1299 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1300 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1301 * progmodes/vhdl-mode.el (vhdl-line-expand):
1302 Explicitly load hippie-exp, so it does not get autoloaded
1303 while hippie-expand-try-functions-list is let-bound.
1304
e60b51ab
GM
13052012-09-28 Glenn Morris <rgm@gnu.org>
1306
277f0cfa
GM
1307 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1308
e60b51ab
GM
1309 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1310 Only "cl.el" counts as cl these days.
1311
53baf48a
JL
13122012-09-28 Juri Linkov <juri@jurta.org>
1313
1314 Display archive errors in the echo area instead of inserting
1315 to the file buffer.
1316
1317 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1318 to STDERR-TEST that can be a regexp matching a successful output.
1319 Create a temporary file and redirect stderr to it. Search for
1320 STDERR-TEST in the stderr output and display it in the echo area
1321 if no match is found.
1322 (archive-extract-by-file): New function like
1323 `archive-extract-by-stdout' but extracting archives to files
1324 and looking for successful matches in stdout. Function body is
1325 mostly copied from `archive-rar-extract'.
1326 (archive-rar-extract): Use `archive-extract-by-file'.
1327 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1328
9c1228c3
LL
13292012-09-28 Leo Liu <sdl.web@gmail.com>
1330
375e49d4
SM
1331 * pcomplete.el (pcomplete-show-completions):
1332 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1333
9c1228c3
LL
1334 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1335
7f457c06
SM
13362012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1337
3df749b0
SM
1338 * type-break.el: Use lexical-binding.
1339 (type-break-mode): Use define-minor-mode.
1340
7f457c06
SM
1341 * emacs-lisp/pcase.el (pcase--mark-used): New.
1342 (pcase--u1): Use it (bug#12512).
1343
1344 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1345 in load-history with the right file name.
1346
c00ebc98
TH
13472012-09-28 Tassilo Horn <tsdh@gnu.org>
1348
1349 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1350 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1351 (doc-view-get-bounding-box): Make bounding box slicing work for
1352 ODF and DVI documents.
1353
96fb7170
GM
13542012-09-28 Glenn Morris <rgm@gnu.org>
1355
1356 * type-break.el (type-break-mode, type-break-interval)
1357 (type-break-good-rest-interval, type-break-keystroke-threshold):
1358 No need to autoload.
1359 (type-break-good-rest-interval, type-break-keystroke-threshold):
1360 Add :set-after.
1361
5bc93c67
CY
13622012-09-28 Chong Yidong <cyd@gnu.org>
1363
1364 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1365 Add :version tag.
1366
9cad61d6
SM
13672012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1368
e28e67b3 1369 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1370
daee954c
GM
13712012-09-27 Glenn Morris <rgm@gnu.org>
1372
a88324d4
GM
1373 * faces.el (x-display-name): Declare (for without-x builds).
1374
8e5064e5
GM
1375 * linum.el (linum-format): Don't autoload it. Improve :type.
1376
cc1783c2
GM
1377 * progmodes/tcl.el: Don't require outline when compiling.
1378 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1379 * textmodes/sgml-mode.el: Don't require outline when compiling.
1380 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1381
48c339f2
GM
1382 * term.el (term-ansi-reset):
1383 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1384
daee954c
GM
1385 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1386 files for RCS and SCCS. (Bug#9781)
1387
b7f42161
CY
13882012-09-27 Chong Yidong <cyd@gnu.org>
1389
1390 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1391 change; value should be t.
1392
a2e770db
SM
13932012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1394
83600dc8
SM
1395 * image-mode.el: Use lexical-binding.
1396 (image-mode-winprops): Use t to stand for the window of
1397 a buffer that's not displayed.
1398 * doc-view.el (doc-view-new-window-function): Handle the new
1399 t in winprops.
1400 (doc-view-enlarge): Make it a real nop if the size is not changed.
1401 (doc-view-display): Handle the case where the buffer is not (yet?)
1402 displayed in any window.
1403 (doc-view-saved-settings): New var.
1404 (doc-view-mode): Use it.
1405 (doc-view-fallback-mode): Set it.
1406
a2e770db
SM
1407 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1408 Set lexical-binding.
1409 (minibuffer-eldef-shorten-default): New var.
1410 (minibuffer-default-in-prompt-regexps): Use it for new default.
1411 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1412
e3b60857
JB
14132012-09-26 Juanma Barranquero <lekktu@gmail.com>
1414
1415 * international/uni-bidi.el:
1416 * international/uni-category.el:
1417 * international/uni-name.el:
1418 * international/uni-numeric.el: Regenerate.
1419
3a880af4
SM
14202012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1421 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * profiler.el: New file.
1424
07b1a5fb
SM
14252012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1428 (testcover-reinstrument): Simplify with CSE.
1429
42019c2e
JB
14302012-09-26 Juanma Barranquero <lekktu@gmail.com>
1431
1432 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1433
179f044b
WS
14342012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1435
1436 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1437 (verilog-auto-input, verilog-auto-insert-lisp)
1438 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1439 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1440 (verilog-auto-unused, verilog-auto-wire)
1441 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1442 newline. Reported by Andrew Jones.
1443 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1444 Reported by Brad Dobbie.
07b1a5fb
SM
1445 (verilog-batch-delete-trailing-whitespace):
1446 Create verilog-batch-delete-trailing-whitespace.
1447 Reported by Brad Dobbie.
179f044b
WS
1448 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1449 parameters from another module. Reported by Dan Katz.
1450 (verilog-auto, verilog-auto-assign-modport)
1451 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1452 AUTOINOUTMODPORT for UVM interface module shell generation.
1453 Reported by Brad Dobbie.
1454 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1455 standard behavior.
1456 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1457 Reported by Matt Martin.
1458
9c52dd5a
MR
14592012-09-25 Martin Rudalics <rudalics@gmx.at>
1460
1461 * window.el (window--resize-child-windows): When resizing child
1462 windows proportionally, process them in reverse order to
1463 preserve the "when splitting a window the new one gets the odd
1464 line" behavior.
1465 (window--resize-root-window-vertically): When resizing the
1466 minibuffer window try to affect only windows at the bottom of the
1467 frame. (Bug#12419)
1468
863666eb
CY
14692012-09-25 Chong Yidong <cyd@gnu.org>
1470
1471 * subr.el (declare): Doc fix.
1472
1473 * help-fns.el (help-fns--obsolete): Handle macros properly.
1474
59f7af81
CY
14752012-09-25 Chong Yidong <cyd@gnu.org>
1476
1477 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1478 this function obsolete.
1479
1480 * calendar/cal-x.el (calendar-two-frame-setup)
1481 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1482 * calendar/calendar.el (american-calendar, european-calendar)
1483 (calendar-for-loop):
1484 * comint.el (comint-dynamic-simple-complete)
1485 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1486 * desktop.el (desktop-load-default):
1487 * dired-x.el (dired-omit-here-always)
1488 (dired-hack-local-variables, dired-default-directory):
1489 * emacs-lisp/derived.el (derived-mode-class):
1490 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1491 * emacs-lock.el (toggle-emacs-lock):
1492 * epa.el (epa-display-verify-result):
1493 * epg.el (epg-sign-keys, epg-start-sign-keys)
1494 (epg-passphrase-callback-function):
1495 * eshell/esh-util.el (eshell-for):
1496 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1497 (eshell-add-to-window-buffer-names):
1498 * files.el (locate-file-completion):
1499 * imenu.el (imenu-example--create-c-index)
1500 (imenu-example--create-lisp-index)
1501 (imenu-example--lisp-extract-index-name)
1502 (imenu-example--name-and-position):
1503 * international/mule-cmds.el (princ-list):
1504 * international/mule-diag.el (decode-codepage-char):
1505 * international/mule-util.el (detect-coding-with-priority):
1506 * iswitchb.el (iswitchb-read-buffer):
1507 * mail/mailalias.el (mail-complete):
1508 * mail/sendmail.el (mail-sent-via):
1509 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1510 (mouse-major-mode-menu):
1511 * password-cache.el (password-read-and-add):
1512 * pcomplete.el (pcomplete-parse-comint-arguments):
1513 * progmodes/sh-script.el (sh-maybe-here-document):
1514 * replace.el (query-replace-regexp-eval):
1515 * savehist.el (savehist-load):
1516 * simple.el (choose-completion-delete-max-match):
1517 * term.el (term-dynamic-simple-complete):
1518 * vc/ediff-init.el (ediff-check-version):
1519 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1520 * vc/vc.el (vc-diff-switches-list):
1521 * view.el (view-return-to-alist-update): Likewise.
1522
1523 * subr.el (eval-next-after-load, makehash, insert-string)
1524 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1525 mark obsolete.
1526 (mode-line-inverse-video): Variable deleted.
1527
1528 * international/mule-util.el (string-to-sequence): Remove.
1529
1530 * calendar/calendar.el (calendar-version):
1531 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1532 (icalendar-convert-diary-to-ical):
1533 * cus-edit.el (custom-mode):
1534 * ansi-color.el (ansi-color-unfontify-region):
1535 * international/latin1-disp.el (latin1-char-displayable-p):
1536 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1537 * progmodes/which-func.el (which-func-update-1):
1538 Use define-obsolete-function-alias.
59f7af81
CY
1539
1540 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1541 * net/newst-treeview.el (newsticker-groups-filename):
1542 Fix incorrect obsolescence declaration.
59f7af81
CY
1543
1544 * allout.el (allout-passphrase-hint-string): Likewise.
1545 (allout-init): Use a declare form to mark obsolete.
1546
1547 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1548 this applies to functions.
1549
1550 * iswitchb.el (iswitchb-read-buffer): Move code of
1551 iswitchb-define-mode-map here, and delete that obsolete function.
1552
1553 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1554 font-lock-reference-face.
1555
cca96c97
GM
15562012-09-25 Glenn Morris <rgm@gnu.org>
1557
b06eeda8
GM
1558 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1559 Doc fixes.
1560
cca96c97
GM
1561 * eshell/em-term.el (eshell-term-name):
1562 Default to term-term-name. (Bug#12485)
1563
dc4f818b
FEG
15642012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1565
cca96c97
GM
1566 * progmodes/python.el (python-shell-send-buffer): Better handling
1567 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1568
289c24bd
GM
15692012-09-24 Glenn Morris <rgm@gnu.org>
1570
1571 * eshell/esh-cmd.el (eshell-find-alias-function):
1572 Tighten up file-name regexp. (Bug#12499)
1573
8fb8b88f
FEG
15742012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1575
1576 Enhancements for triple-quote string syntax.
1577 * progmodes/python.el (python-quote-syntax): Remove.
1578 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1579 (python-syntax-count-quotes, python-syntax-stringify):
1580 New functions.
8fb8b88f 1581
6c27f0f8
CY
15822012-09-24 Chong Yidong <cyd@gnu.org>
1583
a5f2b6ec
CY
1584 * mail/supercite.el (sc-version): Remove obsolete function.
1585 (sc-describe): Don't mark as obsolete, since it is bound.
1586 (sc-submit-bug-report): Remove.
1587
1588 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1589 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1590 (log-edit-require-final-newline)
1591 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1592
1593 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1594 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1595 * vc/vc.el (vc-checkout-carefully): Likewise.
1596
1597 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1598 (emerge-version): Remove.
1599
1600 * progmodes/compile.el (compile-internal): Remove.
1601 (compilation-parse-errors-function): Fix typo.
1602
1603 * international/mule.el (set-char-table-default): Remove.
1604 (set-coding-priority, make-coding-system, generic-char-p)
1605 (charset-list, charset-bytes, charset-id): Use declare to mark
1606 functions as obsolete.
1607
1608 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1609 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1610 * vc/vc-hooks.el (vc-default-registered): Don't use
1611 vc-master-templates.
1612
07b1a5fb
SM
1613 * font-lock.el (font-lock-reference-face):
1614 Use define-obsolete-variable-alias.
6c27f0f8
CY
1615
1616 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1617 * calendar/calendar.el (calendar-font-lock-keywords):
1618 * calendar/diary-lib.el (diary-font-lock-keywords)
1619 (diary-fancy-font-lock-keywords):
1620 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1621 * textmodes/reftex-index.el (reftex-insert-index):
1622 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1623 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1624 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1625 * progmodes/prolog.el (prolog-font-lock-keywords):
1626 * progmodes/idlwave.el (idlwave-idl-keywords):
1627 * progmodes/ada-mode.el (ada-font-lock-keywords):
1628 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1629
bcc0adbf
GM
16302012-09-24 Glenn Morris <rgm@gnu.org>
1631
1632 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1633
095bb823
FEG
16342012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1635
1636 * progmodes/python.el (python-indent-line): More consistent cursor
1637 movement behavior.
1638
70efc5c9
SM
16392012-09-23 Stefan Merten <smerten@oekonux.de>
1640
1641 * textmodes/rst.el: Fix compiler warning.
1642
2f438239
RW
16432012-09-23 Roland Winkler <winkler@gnu.org>
1644
07b1a5fb
SM
1645 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1646 Transcribe also LaTeX hyphenation.
2f438239
RW
1647 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1648 bibtex-reformat-previous-options.
1649
936ad041
RW
16502012-09-23 Roland Winkler <winkler@gnu.org>
1651
1652 * proced.el (proced-renice-command): New variable.
1653 (proced-marked-processes): New function.
1654 (proced-with-processes-buffer): New macro.
1655 (proced-send-signal): Use them.
1656 (proced-renice): New command bound to r.
1657
6fab0274
RW
16582012-09-23 Roland Winkler <winkler@gnu.org>
1659
1660 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1661 ibuffer-saved-filter-groups has one element, shortcut the call of
1662 completing-read. (Bug#12331)
1663
9a930676
CY
16642012-09-23 Chong Yidong <cyd@gnu.org>
1665
1666 * bindings.el (mode-line-toggle-read-only):
1667 * bs.el (bs-toggle-readonly):
1668 * buff-menu.el (Buffer-menu-toggle-read-only):
1669 * dired.el (dired-toggle-read-only):
1670 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1671
d07ff9db
CY
16722012-09-23 Chong Yidong <cyd@gnu.org>
1673
1674 * image.el (image-type-available-p): Adapt to init-image-library
1675 argument changes.
1676
51c4474e
JL
16772012-09-22 Juri Linkov <juri@jurta.org>
1678
1679 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1680 `dired-toggle-read-only'. (Bug#12462)
1681
43bf5e8e
MR
16822012-09-22 Martin Rudalics <rudalics@gmx.at>
1683
1684 * subr.el (temp-output-buffer-show): New function.
1685 (with-output-to-temp-buffer): Call temp-output-buffer-show
1686 instead of internal-temp-output-buffer-show.
1687
c88b867f
CY
16882012-09-22 Chong Yidong <cyd@gnu.org>
1689
3df47cd5
CY
1690 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1691 (Bug#12462).
1692
c88b867f
CY
1693 * repeat.el (repeat): Doc fix (Bug#12348).
1694
1695 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1696 (Bug#10909).
1697
1698 * simple.el (shell-command-on-region): Doc fix.
3171e303 1699 (read-only-mode): Doc fix.
c88b867f 1700
df9685f3
EZ
17012012-09-22 Eli Zaretskii <eliz@gnu.org>
1702
1703 * emacs-lisp/timer.el (run-with-idle-timer)
1704 (timer-activate-when-idle): Warn against reinvoking an idle timer
1705 from within its own timer action. (Bug#12447)
1706
8e17c9ba
MR
17072012-09-22 Martin Rudalics <rudalics@gmx.at>
1708
1709 * cus-start.el (window-combination-limit): Add new optional
1710 values.
1711 * window.el (temp-buffer-window-show)
1712 (window--try-to-split-window): Handle new values of
1713 window-combination-limit (Bug#1806).
1714 (split-window): Test window-combination-limit for t instead of
1715 non-nil.
1716 (display-buffer-at-bottom): New buffer display action function.
1717 * help.el (temp-buffer-resize-regexps): New option.
1718 (temp-buffer-resize-mode): Rewrite doc-string.
1719 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1720 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1721
48a24920
SM
17222012-09-22 Stefan Merten <smerten@oekonux.de>
1723
70efc5c9 1724 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1725 (rst-official-version)
1726 (rst-package-emacs-version-alist): Sync with official version
1727 V1.4.0.
1728 (rst-faces-defaults, rst-set-level-default)
1729 (rst-level-face-max, rst-level-face-base-color)
1730 (rst-level-face-base-light, rst-level-face-format-light)
1731 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1732 (rst-adornment-faces-alist): Match new setup.
1733 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1734 (rst-level-5, rst-level-6): New faces.
1735
82f8cd94
CY
17362012-09-22 Chong Yidong <cyd@gnu.org>
1737
1738 * simple.el (undo): Handle indirect buffers (Bug#8207).
1739
acfa068f 17402012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1741
1742 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1743 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1744 (ido-set-matches-1): Use it. (Bug#2042)
1745
acfa068f 17462012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1747
1748 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1749 Fix 2011-05-17 change. (Bug#12418)
1750
acfa068f 17512012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1752
1753 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1754
acfa068f 17552012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1756
1757 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1758 Be more robust about locating simple.el.
1759
acfa068f 17602012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1761
1762 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1763
acfa068f
CY
17642012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1765
1766 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1767
41a97e6f
JL
17682012-09-20 Juri Linkov <juri@jurta.org>
1769
eb2deaff
JL
1770 * replace.el (query-replace-read-from): Use `read-regexp' instead
1771 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1772 (occur-read-primary-args): Use `read-regexp' instead of
1773 `read-string'.
1774 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1775 `read-from-minibuffer'.
1776 * isearch.el (isearch-occur): Use `read-regexp' instead of
1777 `read-string'.
1778 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1779 `read-from-minibuffer'.
1780 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1781 of `read-string'. (Bug#7567)
1782
5825610b
JL
1783 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1784 and allow accepting a list of strings prepended to a list of
1785 standard default values. Doc fix. (Bug#12321)
1786
eebbf404
JL
1787 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1788
41a97e6f
JL
1789 * replace.el (read-regexp): Don't add ": " when PROMPT already
1790 ends with a colon and space. (Bug#12321)
1791
c9e452d3
TH
17922012-09-20 Tassilo Horn <tsdh@gnu.org>
1793
1794 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1795 error.
1796
ee97deee
SM
17972012-09-20 Stefan Merten <smerten@oekonux.de>
1798
70efc5c9 1799 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1800 Fixes feature request bug#11711.
1801 (rst-mode): Create `imenu-create-index-function'.
1802 (rst-get-stripped-line): Delete after refactoring.
1803 (rst-section-tree, rst-section-tree-rec)
1804 (rst-section-tree-point): Refactor and document properly.
1805 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1806 (rst-imenu-convert-cell, rst-imenu-create-index):
1807 New function.
ee97deee 1808
f490dab9
SM
18092012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1810
95b9712e
SM
1811 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1812 (macroexp--expand-all): Use it.
1813 (macroexp--funcall-and-return): Remove by folding it into its sole
1814 caller (macroexp--warn-and-return).
1815 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1816 Use macroexp--obsolete-warning.
1817
f490dab9
SM
1818 * calc/calc.el: Fix last change by removing the whole chunk, since it
1819 was only needed back when Calc was not bundled.
1820
96e8d411
MR
18212012-09-20 Martin Rudalics <rudalics@gmx.at>
1822
1823 * emacs-lisp/debug.el (debug): Restore assignment to
1824 debugger-old-buffer removed on 2012-09-08.
1825
0876a82d
JL
18262012-09-20 Juri Linkov <juri@jurta.org>
1827
1828 * dired-aux.el (dired-diff): Remove (require 'diff) since
1829 `diff-latest-backup-file' is now autoloaded.
1830
9f7c28f0
CY
18312012-09-20 Chong Yidong <cyd@gnu.org>
1832
1833 * vc/diff.el (diff-latest-backup-file): Autoload.
1834
7a04bee9
SM
18352012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1836
e6f0a80d
SM
1837 * calc/calc.el: Remove redundant autoload shape check.
1838 (sel-mode): Don't defvar.
1839 (calc-get-stack-element): Add `sel-mode' arg instead.
1840 (calc-top, calc-top-list): Pass it this additional argument.
1841 * calc/calc-store.el (calc-store-map):
1842 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1843 (calc-map-equation, calc-outer-product, calc-inner-product):
1844 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1845
7a04bee9
SM
1846 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1847
12734222
JL
18482012-09-19 Juri Linkov <juri@jurta.org>
1849
1850 * dired-aux.el (dired-diff): Add (require 'diff) because
1851 `diff-latest-backup-file' is not autoloaded.
1852 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1853 of `dired-get-filename' to t to not report error when there is
1854 no default file on the current line.
1855
46624b4f
SM
18562012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1857
ce97595b
SM
1858 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1859 macroexp--eval-if-compile.
1860 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1861 (macroexp--expand-all): Use them (bug#12371).
1862
46624b4f
SM
1863 * doc-view.el (doc-view-guess-paper-size)
1864 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1865
db8a5a18
TH
18662012-09-19 Tassilo Horn <tsdh@gnu.org>
1867
1868 New feature: set optimal slice from BoundingBox information.
1869 * doc-view.el (doc-view-mode-map): Add keybinding.
1870 (doc-view-menu): Add menu entry.
1871 (doc-view-set-slice): Adapt docstring.
1872 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1873 (doc-view-scale-bounding-box)
1874 (doc-view-set-slice-from-bounding-box): New functions.
1875 (doc-view-paper-sizes): New defvar.
1876
69f6644c
GM
18772012-09-19 Glenn Morris <rgm@gnu.org>
1878
35f5b19d
GM
1879 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1880 (byte-compile-log-warning): Autoload. (Bug#12371)
1881
69f6644c
GM
1882 * calendar/calendar.el (calendar-american-month-header)
1883 (calendar-european-month-header, calendar-iso-month-header)
1884 (calendar-month-header): New options.
1885 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1886 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1887
e543ae91
JD
18882012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1889
1890 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1891
2fd5e67d
JL
18922012-09-18 Juri Linkov <juri@jurta.org>
1893
1894 * dired-aux.el (dired-diff): Restore original functionality of
1895 getting the default value, but keep new feature of using the
1896 latest existing backup file (`diff-latest-backup-file').
1897
42917e79
JL
18982012-09-18 Juri Linkov <juri@jurta.org>
1899
1900 * dired.el (dired-mark): If the region is active in Transient Mark
1901 mode, mark all files in the active region. Doc fix.
1902 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1903 Doc fix. (Bug#10624)
1904
20f70ede
JL
19052012-09-18 Juri Linkov <juri@jurta.org>
1906
1907 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1908 attributes for M-n are pulled from the file at point.
1909 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1910 Suggested by Drew Adams. (Bug#10624)
1911
32fb8162
DG
19122012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1913
1914 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1915 whitespace after "end".
1916 (ruby-do-end-to-brace): Collapse block to one line if it fits
1917 within fill-column.
1918
37ab5092
MR
19192012-09-18 Martin Rudalics <rudalics@gmx.at>
1920
1921 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1922 value.
1923 (debug): Don't remove debugger window when debugger is expected
1924 to be back.
1925
ed1f0bd3
CY
19262012-09-18 Chong Yidong <cyd@gnu.org>
1927
1928 * custom.el (defface): Doc fix.
1929
1930 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1931
a11035b8
MB
19322012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1933
1934 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1935 to initialize query-on-exit; then test that instead (bug#12288).
1936
64f6a736
SM
19372012-09-17 Stefan Merten <smerten@oekonux.de>
1938
70efc5c9 1939 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1940 (rst-defcustom-testcover, rst-testcover-add-compose)
1941 (rst-testcover-add-1value): New functions.
1942 (rst-portable-mark-active-p): Replace by `use-region-p'.
1943 (rst-update-section, rst-classify-adornment)
1944 (rst-find-title-line): Mark `1value' forms.
1945 (rst-classify-adornment): Remove superfluous form.
1946 (rst-update-section, rst-get-adornments-around)
1947 (rst-adornment-complete-p, rst-get-next-adornment)
1948 (rst-adjust, rst-promote-region)
1949 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1950 (rst-find-pfx-in-region, rst-section-tree-rec)
1951 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1952 (rst-toc-node, rst-toc, rst-forward-section)
1953 (rst-iterate-leftmost-paragraphs)
1954 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1955 (rst-bullet-list-region)
1956 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1957 (rst-compile-find-conf, rst-compile)
1958 (rst-repeat-last-character): Fix style.
1959
580bd868
CY
19602012-09-17 Chong Yidong <cyd@gnu.org>
1961
1962 * comint.el (comint--complete-file-name-data): Don't add a space
1963 if the status is `sole'; that adds a gratuitous space in the
1964 completion-cycling case (Bug#12092).
1965
1966 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1967
69de3ec6
RS
19682012-09-17 Richard Stallman <rms@gnu.org>
1969
0dee970c
RS
1970 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1971 only in the mime-shown mode, not in raw mode.
1972 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1973 mime processing. (Bug#12305)
0dee970c 1974
6b250df6
GM
1975 * mail/rmail.el (rmail-retry-failure):
1976 Turn off mime processing first. (Bug#12037)
acb1c47b 1977
69de3ec6
RS
1978 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1979
d079ee5f
CY
19802012-09-17 Chong Yidong <cyd@gnu.org>
1981
1982 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1983 (shell-dynamic-complete-functions): Convert to defcustom.
1984 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1985
865fe16f
CY
1986 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1987 * comint.el (comint-prompt-read-only):
1988 * custom.el (defcustom):
1989 * hi-lock.el (hi-lock-mode):
1990 * ibuffer.el (ibuffer-formats):
1991 * ielm.el (ielm-prompt-read-only):
1992 * novice.el (disable-command):
1993 * saveplace.el (toggle-save-place):
1994 * speedbar.el (speedbar-supported-extension-expressions):
1995 * startup.el (auto-save-list-file-prefix, init-file-user)
1996 (after-init-hook, inhibit-startup-echo-area-message):
1997 * strokes.el (strokes-help):
1998 * time-stamp.el (time-stamp):
1999 * calendar/calendar.el (calendar, diary-file):
2000 * calendar/diary-lib.el (diary-mail-entries, diary)
2001 (diary-list-entries-hook):
2002 * calendar/holidays.el (holidays, calendar-holidays):
2003 * calendar/lunar.el (lunar-phases):
2004 * calendar/solar.el (sunrise-sunset):
2005 * emulation/edt.el (edt-load-keys):
2006 * emulation/viper.el (viper-mode):
2007 * eshell/em-alias.el (eshell-command-aliases-list):
2008 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2009 * international/ogonek.el (ogonek-information):
2010 * net/tramp-cmds.el (tramp-bug):
2011 * net/quickurl.el (quickurl-reread-hook-postfix):
2012 * play/decipher.el (decipher-font-lock-keywords):
2013 * progmodes/cc-styles.el (c-set-style):
2014 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2015 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2016 * progmodes/octave-mod.el (octave-mode):
2017 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2018 * progmodes/verilog-mode.el (verilog-read-defines):
2019 * textmodes/two-column.el (2C-mode): Likewise.
2020
48093eb9
KY
20212012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2022
2023 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2024 that holds many addresses.
2025
c584eaf9
CY
20262012-09-16 Chong Yidong <cyd@gnu.org>
2027
40d70ecb
CY
2028 * align.el (align-areas): Call the indication function with
2029 positions instead of markers for arguments (Bug#12343).
2030
1667e065
CY
2031 * files.el (parse-colon-path): Use split-string (Bug#12351).
2032
fdc2806d 2033 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2034 (display-buffer-function): Mark as obsolete.
fdc2806d 2035
f1be615c 2036 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2037 values similar to font-lock-keywords (Bug#12136).
2038 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2039 (compilation-error-regexp-alist): Doc fix.
2040
f40a9709
GM
20412012-09-15 Glenn Morris <rgm@gnu.org>
2042
72aa16e1
GM
2043 * version.el (emacs-bzr-version-bzr): New function.
2044 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2045
82375160
GM
2046 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2047 checkouts, check the parent dirstate matches the branch.
2048 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2049 empty string.
2050
f40a9709
GM
2051 * version.el (emacs-bzr-version): Doc fix.
2052 (emacs-bzr-version-dirstate): New function.
2053 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2054 is local try and check that it matches the branch. If not, just
2055 use dirstate information. (Bug#12441)
2056
cb26b7f5
JL
20572012-09-14 Juri Linkov <juri@jurta.org>
2058
2059 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2060 (Bug#12399)
2061
2de39f08
SM
20622012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2063
0fb3cb7c
SM
2064 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2065
2de39f08
SM
2066 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2067 Remove obsolete byte-compiler hack that tried to silence some warnings.
2068 (edebug-submit-bug-report): Remove.
2069 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2070 Remove aliases, use the un-prefixed name instead.
2071 (edebug-pop-to-buffer): Consider other frames.
2072 (edebug-original-read):: Make it more obvious that it's always defined.
2073 (edebug--make-form-data-entry, edebug--form-data-name)
2074 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2075 single-dashed name, and implement with cl-defstruct.
2076 (edebug-set-form-data-entry): Use the standard accessors.
2077 (edebug-make-top-form-data-entry): Use push.
2078 (edebug-no-match): Drop useless `funcall'.
2079 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2080 to functions.
2081 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2082 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2083 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2084 (easy-menu-define, with-custom-print): Remove redundant specs.
2085 (edebug-outside-overriding-local-map)
2086 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2087 (edebug--display): Bind unread-command-events directly to nil rather
2088 than binding it to unread-command-events and later setting it to nil.
2089 (edebug--display): Kill edebug-eval-buffer here...
2090 (edebug--recursive-edit): ...rather than here.
2091 Bind standard-output and standard-input.
2092 (edebug-eval): Check cl-macroexpand-all is fboundp.
2093 (edebug-temp-display-freq-count): Fix last change.
2094
2095 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2096 * subr.el (noreturn, 1value): Add `debug' spec.
2097 * emacs-lisp/advice.el: Require cl-lib.
2098 (ad-copy-tree): Remove, use copy-tree instead.
2099 (ad-dolist): Remove use dolist or cl-dolist instead.
2100 (ad-do-return): Remove, use cl-return instead.
2101 (defadvice): Add `debug' spec.
2102
5b68b333
JL
21032012-09-13 Juri Linkov <juri@jurta.org>
2104
2105 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2106 (Bug#12399)
2107
b9800ec4
GM
21082012-09-13 Glenn Morris <rgm@gnu.org>
2109
6a2e6868
GM
2110 * calc/calc.el (math-compose-expr):
2111 * calc/calc-ext.el (math-compose-expr):
2112 * progmodes/cc-defs.el (cl-macroexpand-all):
2113 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2114 (cl-macroexpand-all): Update declarations.
2115
b9800ec4
GM
2116 * vc/vc.el: No need to require ediff.
2117 (ediff-load-version-control): Declare.
2118 (ediff-vc-internal): Fix declaration.
2119 (vc-version-ediff): Require ediff.
2120
c18e885b
PE
21212012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2122
2123 Use a more backwards-compatible timer format (Bug#12430).
2124 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2125 being right after USECS, as that better supports old code that
2126 inadvisedly looked directly at the timer vector.
2127
d607d303
KH
21282012-09-13 Kenichi Handa <handa@gnu.org>
2129
2130 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2131 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2132 `coding-priority' property of these language environment.
2133
72eac303
PE
21342012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2135
2136 Fix glitches caused by addition of psec to timers (Bug#12430).
2137 * image.el (image-animate-timer):
2138 * time.el (display-time-world-timer):
2139 Use timer--function and timer--args rather than raw access to
2140 timer vector.
2141
2168fe4f
GM
21422012-09-13 Glenn Morris <rgm@gnu.org>
2143
2144 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2145 If not compiling a file, try using load-file-name.
2146
bd8d6108
SM
21472012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2148
c0c54fbd
SM
2149 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2150 Fix last change.
2151 (edebug-update-eval-list): Use `push'.
2152
bd8d6108
SM
2153 * emacs-lisp/edebug.el: Use lexical-binding.
2154 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2155 Mark unused args with underscore.
2156 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2157 (edebug-form-data): Use defvar-local.
2158 (edebug-make-before-and-after-form, edebug-make-after-form):
2159 Use backquote.
2160 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2161 Not dynamically scoped any more.
2162 (edebug--enter-trace): Add arguments `function' and `args'.
2163 Rename from edebug-enter-trace.
2164 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2165 (edebug--update-coverage): Add `after-index' and `value' args.
2166 Rename from edebug-update-coverage.
2167 (edebug-slow-after): Call it accordingly.
2168 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2169 edebug-recursive-edit.
2170 (edebug--display): Call it accordingly. Add args `value',
2171 `offset-index', and `arg-mode'. Rename from edebug-display.
2172 (edebug-debugger, edebug): Call it accordingly.
2173 (edebug-eval-display-list): Use dolist.
2174
a9f9d9de
JL
21752012-09-12 Juri Linkov <juri@jurta.org>
2176
2177 * info.el (Info-search): Don't check for isearch-mode and
2178 isearch-regexp before let-binding search-spaces-regexp to
2179 Info-search-whitespace-regexp.
2180 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2181 search-whitespace-regexp if isearch-lax-whitespace or
2182 isearch-regexp-lax-whitespace is non-nil.
2183 (Info-mode): Don't set local variable search-whitespace-regexp.
2184 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2185
bfeae2cf
SM
21862012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2189 (debugger-env-macro): Remove support for unread-command-char.
2190
2191 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2192 the temporary map re-appearing on emulation-mode-map-alists.
2193
2194 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2195 since 22.1.
2196
2197 * ehelp.el (with-electric-help): Accept functions in
2198 electric-help-form-to-execute.
2199 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2200 And replace unread-command-char -> unread-command-events.
2201
fbbcaf1b
MA
22022012-09-12 Michael Albinus <michael.albinus@gmx.de>
2203
2204 Sync with Tramp 2.2.6.
2205
2206 * net/tramp.el (tramp-accept-process-output): Don't use
2207 JUST-THIS-ONE in the XEmacs case.
2208
2209 * net/trampver.el: Update release number.
2210
4dece104
MR
22112012-09-12 Martin Rudalics <rudalics@gmx.at>
2212
bfeae2cf
SM
2213 * emacs-lisp/debug.el (debugger-previous-window-height):
2214 New variable.
4dece104
MR
2215 (debug): When debugger-jumping-flag is non-nil try to restore
2216 height of debugger window. (Bug#8789)
2217
45b82ad0
SM
22182012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2219
60c49c0f
SM
2220 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2221 overriding-local-map and pre/post-command-hook here.
2222 (edebug-recursive-edit): Do it here instead (bug#12345).
2223 (edebug-outside-unread-command-char): Remove all uses of
2224 unread-command-char.
2225
45b82ad0
SM
2226 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2227 inhibit-debugger is bound instead.
2228
baa26ea0
BG
22292012-09-11 Bastien Guerry <bzg@gnu.org>
2230
2231 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2232 (Bug#12346)
baa26ea0 2233
04e8abfa
BG
22342012-09-11 Bastien Guerry <bzg@gnu.org>
2235
96d03571 2236 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2237 (Bug#12347)
96d03571
BG
2238
22392012-09-11 Bastien Guerry <bzg@gnu.org>
2240
fc0c31f8 2241 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2242
04e082b0
MM
22432012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2244
2245 * progmodes/sql.el: Version 3.1
2246 (sql-db2-escape-newlines): New variable.
2247 (sql-escape-newlines-filter): Use it.
2248
399a361b
JB
22492012-09-10 Juanma Barranquero <lekktu@gmail.com>
2250
2251 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2252
0780c517
DN
22532012-09-10 Dan Nicolaescu <dann@gnu.org>
2254
45b82ad0
SM
2255 * vc/diff-mode.el (diff-mode-menu):
2256 Bind diff-remove-trailing-whitespace.
0780c517 2257
9b851e25
SM
22582012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2261 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2262 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2263 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2264 (eval-defun-2): Remove bogus interactive spec.
2265 (lisp-indent-line): Remove redundant whole-exp code, now done in
2266 indent-according-to-mode.
2267 (save-match-data): Remove redundant indent data.
2268
2269 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2270 Use `declare'.
2271
3231d532
JL
22722012-09-09 Juri Linkov <juri@jurta.org>
2273
2274 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2275 (replace-lax-whitespace, query-replace-regexp)
2276 (query-replace-regexp-eval, replace-regexp): Doc fix.
2277 (perform-replace, replace-highlight): Let-bind
2278 isearch-lax-whitespace to replace-lax-whitespace and
2279 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2280
2281 * isearch.el (isearch-query-replace): Let-bind
2282 replace-lax-whitespace to isearch-lax-whitespace and
2283 replace-regexp-lax-whitespace to
2284 isearch-regexp-lax-whitespace. (Bug#10885)
2285
70fe8236
SM
22862012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2289
8ed43f15
AM
22902012-09-09 Alan Mackenzie <acm@muc.de>
2291
70fe8236
SM
2292 * progmodes/cc-engine.el (c-state-cache-init):
2293 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2294 (c-record-parse-state-state):
2295 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2296
bfabf70a
AS
22972012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2298
2299 * register.el (register-separator): Rename from
2300 separator-register. All uses changed. Doc fix.
2301 (register): Fix version.
2302
011474aa
CY
23032012-09-09 Chong Yidong <cyd@gnu.org>
2304
2305 * replace.el (query-replace-map): Bind four new symbols for
2306 requesting window scrolling.
2307
2308 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2309 query-replace-map (Bug#8948).
2310
2311 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2312
2313 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2314 since they are now in query-replace-map.
2315
2316 * window.el (scroll-other-window-down): Make the arg optional.
2317
a8b7cd8d
CY
23182012-09-09 Chong Yidong <cyd@gnu.org>
2319
2320 * files.el (hack-local-variables-confirm): Use quit-window to kill
2321 the *Local Variables* buffer.
2322
c3268831
DG
23232012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2324
2325 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2326 not just expect to be at its beginning. Adjust callees.
2327 Succeed when do-end block has no space before the pipe character.
2328 (ruby-brace-to-do-end): When the original block is one-liner,
2329 convert to multiline. Reindent the result.
2330
0979429b
J
23312012-09-08 Jambunathan K <kjambunathan@gmail.com>
2332
2333 * register.el (register): New group.
27359e99 2334 (separator-register): New user option.
0979429b
J
2335 (increment-register): Route it to `append-to-register', if
2336 register contains text. Implication is that `C-x r +' can now be
2337 used for appending to a text register (bug#12217).
2338 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2339 `separator-register'.
0979429b 2340
ace2989a
AM
23412012-09-08 Alan Mackenzie <acm@muc.de>
2342
2343 AWK Mode: make auto-newline work when there's "==" in the pattern.
2344 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2345 correctly.
0979429b
J
2346 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2347 Test more rigorously for "=" token.
ace2989a 2348
616c6c36
DG
23492012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2350
0979429b
J
2351 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2352 Only fail when reached LIMIT.
616c6c36 2353
35d98877
CY
23542012-09-08 Chong Yidong <cyd@gnu.org>
2355
2356 * dired.el (dired-mode-map): Don't bind M-=.
2357
2358 * dired-aux.el (dired-diff): Use backup file as default.
2359
1715f2db
DA
23602012-09-08 Drew Adams <drew.adams@oracle.com>
2361
2362 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2363
6dcef6ec
CY
23642012-09-08 Chong Yidong <cyd@gnu.org>
2365
2366 * subr.el (syntax-after, syntax-class): Doc fix.
2367
fa2bcf43
MR
23682012-09-08 Martin Rudalics <rudalics@gmx.at>
2369
2370 * window.el (display-buffer-in-previous-window): New buffer
2371 display action function.
2372
2373 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2374 (debugger-previous-window): New variable.
2375 (debug): Rewrite using display-buffer-in-previous-window,
2376 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2377
daac280a
SM
23782012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2381
9dd40b00
MM
23822012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2383
daac280a
SM
2384 * progmodes/python.el (python-shell-send-string):
2385 When default-directory is remote, create temp file on remote
9dd40b00
MM
2386 filesystem.
2387 (python-shell-send-file): When file is remote, pass local view of
2388 file paths to remote Python interpreter. (Bug#12340)
2389
145823ec
CY
23902012-09-07 Chong Yidong <cyd@gnu.org>
2391
cee2e90d
CY
2392 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2393
0d7eb2ea
CY
2394 * files.el (after-find-file): Don't fail on a read-only buffer if
2395 require-final-newline is `visit' or `visit-save' (Bug#11156).
2396
145823ec
CY
2397 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2398
daac280a
SM
2399 * userlock.el (ask-user-about-supersession-threat):
2400 Use read-char-choice (Bug#12093).
145823ec 2401
74c582e6
CY
24022012-09-07 Chong Yidong <cyd@gnu.org>
2403
e5c2edf7
CY
2404 * subr.el (buffer-narrowed-p): New function.
2405
2406 * ses.el (ses-widen):
2407 * simple.el (count-words--buffer-message):
1f9f395d 2408 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2409
2410 * simple.el (count-words-region): Don't signal an error if there
2411 is a non-nil prefix arg and the mark is not set.
c640e87d 2412
74c582e6
CY
2413 * help.el (describe-key-briefly): Allow the message to be seen
2414 when invoked from the minibuffer (Bug#7014).
2415
d81ceaaf
DG
24162012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2417
2418 * progmodes/ruby-mode.el (ruby-end-of-defun)
2419 (ruby-beginning-of-defun): Simplify, allow indentation before
2420 block beginning and end keywords.
8f06acce
DG
2421 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2422 (ruby-end-of-defun): Expect that the point is at the beginning of
2423 the defun.
d81ceaaf 2424
d458ef98
SM
24252012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2426
2427 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2428 (bug#12367).
2429 (cl--make-usage-args): Strip _ from argument names.
2430
20367d28
RS
24312012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2432
2433 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2434 obsolete alias speedbar-key-map.
2435 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2436 (vhdl-index-menu-init): Don't use obsolete variable
2437 font-lock-maximum-size.
2438
3424a4f6
CY
24392012-09-06 Chong Yidong <cyd@gnu.org>
2440
2441 * frame.el (window-system-version): Mark as obsolete.
2442
fcbfbdea
CY
2443 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2444 of obsolete variable speedbar-key-map.
2445
826b3235
JL
24462012-09-06 Juri Linkov <juri@jurta.org>
2447
2448 * replace.el (replace-lax-whitespace): New defcustom.
2449 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2450 (replace-string, replace-regexp): Mention it in docstrings.
2451 (perform-replace, replace-highlight): Let-bind
2452 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2453 to the values of replace-lax-whitespace and regexp-flag.
2454 Don't let-bind search-whitespace-regexp. (Bug#10885)
2455
2456 * isearch.el (isearch-query-replace): Let-bind
2457 replace-lax-whitespace instead of let-binding
2458 replace-search-function and replace-re-search-function.
2459 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2460 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2461 (isearch-toggle-symbol): Set isearch-regexp to nil
2462 in isearch-word mode (like in isearch-toggle-word).
2463
1ec5e41d
JL
24642012-09-06 Juri Linkov <juri@jurta.org>
2465
2466 * replace.el (replace-search-function)
2467 (replace-re-search-function): Set default values to nil.
2468 (perform-replace): Let-bind isearch-related variables based on
2469 replace-related values, call `isearch-search-fun' and let-bind
2470 the result to `search-function'. Remove code that sets
2471 `search-function' and `search-string' separately for
2472 `delimited-flag'.
2473 (replace-highlight): Add new argument `delimited-flag' and
2474 rename other arguments to the names used in `perform-replace'.
2475 Let-bind `isearch-word' to the argument `delimited-flag'.
2476 (Bug#10885, bug#10887)
2477
0ba2d4b6
DG
24782012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2479
2480 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2481 ruby-beginning-of-indent, simplify, allow all keywords to have
2482 indentation before them.
2483 (ruby-beginning-of-indent): Adjust for above. Search until the
2484 found point is not inside a string or comment.
2485 (ruby-font-lock-keywords): Allow symbols to start with "@"
2486 character, give them higher priority than variables.
2487 (ruby-syntax-propertize-function)
2488 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2489 matchers. Expression expansions are not comments when inside a
2490 string, and there comment syntax status is irrelevant.
2491 (ruby-match-expression-expansion): New function. Check that
2492 expression expansion is inside a string, and it's not escaped.
2493 (ruby-font-lock-keywords): Use it.
2494
ef654460
MR
24952012-09-05 Martin Rudalics <rudalics@gmx.at>
2496
2497 * help.el (temp-buffer-max-height): New default value.
2498 (temp-buffer-resize-frames): New option.
2499 (resize-temp-buffer-window): Optionally resize frame.
2500
2501 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2502 (fit-frame-to-buffer): New function.
2503
7e570fbf 25042012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2505
2506 * emulation/cua-rect.el (cua--init-rectangles):
2507 * textmodes/picture.el (picture-mode-map):
2508 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2509 like forward-char and backward-char. (Bug#12317)
2510
7e570fbf 25112012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2512
2513 * progmodes/flymake.el (flymake-warning-re): New variable.
2514 (flymake-parse-line): Use it.
2515
7e570fbf 25162012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2517
2518 * calendar/holidays.el (holiday-christian-holidays):
2519 Rename an entry. (Bug#12289)
2520
7e570fbf 25212012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2522
2523 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2524 (bug#12222).
2525
972debf2
SM
25262012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * loadup.el: Load macroexp. Remove hack.
2529 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2530 (macroexp--expand-all): Use it to get better warnings.
2531 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2532 (internal-macroexpand-for-load): New functions.
2533 (macroexp--pending-eager-loads): New var.
2534 (emacs-startup-hook): New hack to replace one in loadup.el.
2535 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2536 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2537 (cl-psetf): Simplify.
2538 (cl-defstruct): Add indent rule.
2539
8ce192e3
LI
25402012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2541
2542 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2543 over `user-mail-address' for the SMTP MAIL FROM envelope.
2544 (smtpmail-via-smtp): Ditto.
2545
6578b4d8
DG
25462012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2547
2548 * progmodes/ruby-mode.el: Clean up keybindings.
2549 (ruby-mode-map): Don't bind ruby-electric-brace,
2550 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2551 backward-kill-word, reindent-then-newline-and-indent.
2552 (ruby-mark-defun): Remove.
2553 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2554 (ruby-mode): Set local beginning-of-defun-function and
2555 end-of-defun-function values.
2556
c5e28e39
MR
25572012-09-03 Martin Rudalics <rudalics@gmx.at>
2558
2559 * window.el (temp-buffer-window-setup-hook)
2560 (temp-buffer-window-show-hook): New hooks.
2561 (temp-buffer-window-setup, temp-buffer-window-show)
2562 (with-temp-buffer-window): New functions.
972debf2
SM
2563 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2564 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2565
2566 * help.el (temp-buffer-resize-mode): Fix doc-string.
2567 (resize-temp-buffer-window): New optional argument WINDOW.
2568
2569 * files.el (recover-file, save-buffers-kill-emacs):
2570 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2571
73406194
MA
25722012-09-02 Michael Albinus <michael.albinus@gmx.de>
2573
2574 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2575 remote definition of `default-directory', ensure we can connect.
2576
63dd1c6f
JL
25772012-09-02 Juri Linkov <juri@jurta.org>
2578
2579 Toggle whitespace matching mode with M-s SPC.
2580 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2581
2582 * isearch.el (search-whitespace-regexp): Doc fix.
2583 Remove cons cell customization.
2584 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2585 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2586 New variables.
2587 (isearch-forward, isearch-forward-regexp): Doc fix.
2588 (isearch-toggle-lax-whitespace): New command.
2589 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2590 (re-search-forward-lax-whitespace)
2591 (re-search-backward-lax-whitespace): New functions.
2592 (isearch-whitespace-regexp): Remove function.
2593 (isearch-query-replace): Let-bind replace-search-function and
2594 replace-re-search-function.
2595 (isearch-occur): Let-bind search-spaces-regexp according to the
2596 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2597 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2598 condition for C-q SPC.
2599 (isearch-search-fun-default): Use new functions mentioned above.
2600 (isearch-search-forward, isearch-search-backward): Remove functions.
2601 (isearch-search): Don't let-bind search-spaces-regexp.
2602 (isearch-lazy-highlight-space-regexp): Remove variable.
2603 (isearch-lazy-highlight-lax-whitespace)
2604 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2605 (isearch-lazy-highlight-new-loop): Use them.
2606 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2607
af7dda05
CY
26082012-09-02 Chong Yidong <cyd@gnu.org>
2609
2610 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2611
d67d3afd
GM
26122012-09-02 Glenn Morris <rgm@gnu.org>
2613
2614 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2615
69678719
GM
26162012-09-01 Glenn Morris <rgm@gnu.org>
2617
2618 * term.el: Tidy up menu definitions.
2619 (term-mode-map): Use easymenu for In/Out, Complete menus.
2620 (term-pager-break-map): Initialize in the defvar.
2621 (term-terminal-menu, term-signals-menu): Define with easymenu.
2622 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2623 (term-pager-menu): New, extracted from term-process-pager.
2624 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2625 (term-update-mode-line): Propertize line/char and page items.
2626 (term-process-pager): Move keymap initialization elsewhere.
2627
78dd6ab1
MR
26282012-09-01 Martin Rudalics <rudalics@gmx.at>
2629
2630 * window.el (switch-to-prev-buffer): Handle additional values of
2631 BURY-OR-KILL argument. Don't switch in minibuffer window.
2632 (switch-to-next-buffer): Don't switch in minibuffer window.
2633 (quit-restore-window): New function based on quit-window.
2634 Handle additional values of former KILL argument.
2635 (quit-window): Call quit-restore-window with appropriate
2636 interpretation of KILL argument.
2637 (display-buffer-below-selected): New buffer display action
2638 function.
2639
3d10e134
SM
26402012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2641
2642 * minibuffer.el (completion-at-point-functions): Complete docstring
2643 (bug#12254).
2644
0e23ef9d
PE
26452012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2646
2647 Better seed support for (random).
2648 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2649 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2650 * play/mpuz.el, play/tetris.el, play/zone.el:
2651 * calc/calc-comb.el (math-init-random-base):
2652 * play/blackbox.el (bb-init-board):
2653 * play/life.el (life):
2654 * server.el (server-use-tcp):
2655 * type-break.el (type-break):
2656 Remove unnecessary call to (random t).
2657 * net/sasl.el (sasl-unique-id-function):
2658 Change (random t) to (random), now that the latter is more random.
2659 * play/life.el (life-initialized): Remove no-longer-needed var.
2660
862382df
MR
26612012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2662
2663 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2664 Consider frame's buffer predicate when choosing the buffer.
2665 (Bug#12081)
2666
262a66e1
RS
26672012-08-30 Richard Stallman <rms@gnu.org>
2668
2669 * simple.el (special-mode-map): Delete binding for `z'.
2670
f17e1d00
AS
26712012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2672
2673 * progmodes/compile.el (compilation-always-kill): Doc fix.
2674
24777832
CY
26752012-08-30 Chong Yidong <cyd@gnu.org>
2676
2677 * window.el (display-buffer-reuse-frames): Make the obsolescence
2678 message more informative.
2679
69ba1f04
GM
26802012-08-30 Glenn Morris <rgm@gnu.org>
2681
2682 * paren.el (show-paren-delay):
2683 Add a :set function. Doc fix. (Bug#12297)
2684
f0019ede
MB
26852012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2686
2687 * progmodes/compile.el (compilation-always-kill): New var.
2688 (compilation-start): Use it.
2689
35e62fc9
SM
26902012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2691
af070a1c
SM
2692 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2693 * files.el (read-only-mode): Move to simple.el.
2694
35e62fc9
SM
2695 * files.el (read-only-mode): New minor mode.
2696 (toggle-read-only): Use it and mark obsolete.
2697 (find-file--read-only):
2698 * vc/vc.el (vc-next-action, vc-checkout):
2699 * vc/vc-cvs.el (vc-cvs-checkout):
2700 * obsolete/vc-mcvs.el (vc-mcvs-update):
2701 * ffap.el (ffap--toggle-read-only): Update callers.
2702
c2c43c23
MA
27032012-08-29 Michael Albinus <michael.albinus@gmx.de>
2704
2705 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2706 remote shell scripts.
2707 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2708
2709 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2710 "/usr/local/sbin".
2711
9fba804b
SM
27122012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2713
2714 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2715
eada0861 27162012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2717
806f0cc7
LL
2718 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2719 completion-at-point. (Bug#12220)
2720
3bb213b9
LL
2721 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2722
22ab32ef
LL
2723 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2724
eada0861 27252012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2726
19c17fc1
CY
2727 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2728 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2729
eada0861 27302012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2731
2732 * progmodes/hideif.el (hif-compress-define-list):
2733 Fix typo. (Bug#11951)
2734
eada0861 27352012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2736
2737 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2738 buffer local setting.
2739
27d6c5a8
LL
2740 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2741 rcirc-encode-coding-system.
2742
eada0861 27432012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2744
2745 * net/rcirc.el (rcirc-split-message): New function.
2746 (rcirc-send-message): Use it. (Bug#12051)
2747
d44688e4
JL
27482012-08-28 Juri Linkov <juri@jurta.org>
2749
2750 * info.el (Info-fontify-node): Hide empty lines at the end of
2751 the node. (Bug#12272)
2752
34f10d41
MR
27532012-08-27 Drew Adams <drew.adams@oracle.com>
2754
2755 * dired.el (dired-pop-to-buffer): Make window start at beginning
2756 of buffer (Bug#12281).
2757
77f1f99c
CY
27582012-08-26 Chong Yidong <cyd@gnu.org>
2759
2760 * window.el (special-display-regexps, special-display-frame-alist)
2761 (special-display-buffer-names, special-display-function)
2762 (display-buffer-reuse-frames): Mark as obsolete.
2763
2764 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2765
2766 * help.el (help-print-return-message): Don't treat
2767 display-buffer-reuse-frames specially.
2768
d97af5a0
CY
27692012-08-26 Chong Yidong <cyd@gnu.org>
2770
9fba804b
SM
2771 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2772 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2773 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2774 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2775 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2776 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2777 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2778 the functions directly with gdb-display-buffer-other-frame-action.
2779 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2780 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2781 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2782 (gdb-display-registers-buffer): Define directly.
2783 (def-gdb-display-buffer): Macro deleted.
2784 (gdb-display-buffer): Remove second and third args, callers don't
2785 use them. Defer to the default display-buffer behavior, apart
2786 from making windows dedicated.
2787 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2788
2789 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2790
2791 * window.el (display-buffer-pop-up-frame): Handle a
2792 pop-up-frame-parameters alist entry.
2793 (display-buffer): Document it.
2794
dd7ffad6
CY
27952012-08-26 Chong Yidong <cyd@gnu.org>
2796
2797 * isearch.el (search-whitespace-regexp): Make string and nil
2798 values apply to both ordinary and regexp search. Allow a cons
2799 cell value to distinguish between the two.
2800 (isearch-whitespace-regexp, isearch-search-forward)
2801 (isearch-search-backward): New functions.
2802 (isearch-occur, isearch-search-fun-default, isearch-search)
2803 (isearch-lazy-highlight-new-loop): Use them.
2804 (isearch-forward, isearch-forward-regexp): Doc fix.
2805
4c47bd1e
CY
28062012-08-26 Chong Yidong <cyd@gnu.org>
2807
2808 * faces.el (help-argument-name): Always inherit from italic
2809 (Bug#12213).
2810
9aba119d
MR
28112012-08-25 Martin Rudalics <rudalics@gmx.at>
2812
2813 * window.el (window--even-window-heights): Even heights when
2814 WINDOW and the selected window form a vertical combination.
2815 (display-buffer-use-some-window): Provide that window used gets
2816 sized back by quit-window. (Bug#11880) and (Bug#12091)
2817
ca5256ad
PE
28182012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2819
2820 Fix file time stamp problem with bzr and CVS (Bug#12001).
2821 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2822 in the file's time stamp, since the version control system loses
2823 that information.
2824
d1c0d176
JL
28252012-08-22 Juri Linkov <juri@jurta.org>
2826
2827 * info.el (Info-fontify-node): Hide the suffix of the
2828 Info file name in the header line. (Bug#12187)
2829
141562ff
GM
28302012-08-22 Glenn Morris <rgm@gnu.org>
2831
2832 * calendar/cal-tex.el (cal-tex-weekly-common):
2833 Restore leading blank page.
2834
61a48e19 28352012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2836
2837 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2838 the region under `shift-select-mode'. (Bug#12231)
2839
28402012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2841
2842 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2843 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2844 gives details on why the space is never needed.
2845
ea95074e
MR
28462012-08-22 Martin Rudalics <rudalics@gmx.at>
2847
9fba804b
SM
2848 * window.el (walk-window-tree, window-with-parameter):
2849 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2850 should run on the minibuffer window.
2851 (window-at-side-list): Don't operate on minibuffer window.
2852 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2853 (window--size-ignore): Rename to window--size-ignore-p.
2854 Update callers.
caceae25
MR
2855 (display-buffer-in-atom-window, window--major-non-side-window)
2856 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2857 (delete-side-window, display-buffer-in-side-window):
2858 New functions.
caceae25
MR
2859 (window--side-check, window-deletable-p, delete-window)
2860 (delete-other-windows, split-window): Handle side windows and
2861 atomic windows appropriately.
2862 (window--display-buffer): Call display-buffer-record-window also
2863 when the window buffer did not change.
ea95074e 2864
80a51fa0
CS
28652012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2866
2867 * help-fns.el (help-fns--key-bindings):
2868 Abbreviate non-symbol remap targets. (Bug#12174)
2869
fbb6300b
MR
28702012-08-22 Martin Rudalics <rudalics@gmx.at>
2871
2872 * dired.el (dired-mark-remembered): Don't clobber point.
2873 (Bug#11795)
2874
2b2c0794
GM
28752012-08-22 Glenn Morris <rgm@gnu.org>
2876
2877 * progmodes/bug-reference.el (bug-reference): New custom group.
2878 (bug-reference-bug-regexp): Make it a defcustom.
2879
37219830
DU
28802012-08-22 Daiki Ueno <ueno@unixuser.org>
2881
2882 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2883 (js-paren-indent-offset, js-square-indent-offset)
2884 (js-curly-indent-offset): Add :safe (Bug#12257).
2885
94e0e559
EC
28862012-08-22 Edward O'Connor <hober0@gmail.com>
2887
2888 * json.el (json-key-format): Add error properties.
2889 (json-encode-key): New function.
2890 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2891 Use json-encode-key.
2892
da485f5e
GM
28932012-08-22 Glenn Morris <rgm@gnu.org>
2894
2895 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2896 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2897 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2898 Update for above change.
2899
c6cc78b8
AS
29002012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2901
2902 * cus-face.el (custom-face-attributes): Fix customize type for the
2903 :underline attribute. (Bug#11805)
2904
5481664a
MR
29052012-08-21 Martin Rudalics <rudalics@gmx.at>
2906
2907 * window.el (window-point-1, set-window-point-1): Remove.
2908 (window-in-direction, record-window-buffer)
2909 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2910 (window--state-get-1, display-buffer-record-window):
2911 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2912 window-point and set-window-point respectively.
2913
6d74698e
GM
29142012-08-21 Glenn Morris <rgm@gnu.org>
2915
b7fa2691
GM
2916 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2917 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2918 Use it.
2919
52f56d5a
GM
2920 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2921 (cal-tex-shortday): New function.
2922 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2923 (cal-tex-cursor-filofax-daily): Use the above.
2924
9f1ee09e
GM
2925 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2926 New functions.
2927 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2928 (cal-tex-cursor-filofax-week): Use them.
2929
79858159
GM
2930 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2931 New constants.
2932 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2933 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2934
d346b2b4
GM
2935 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2936 (cal-tex-end-document): Don't rely on buffer name.
2937
b2403709
GM
2938 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2939 Use cal-tex-vspace.
2940 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2941 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2942 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2943 Use cal-tex-arg.
b2403709 2944
1cebb5c0
GM
2945 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2946 (cal-tex-cursor-week, cal-tex-cursor-week2)
2947 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2948 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2949 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2950 (cal-tex-insert-preamble, cal-tex-b-document)
2951 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2952 Improve cal-tex-cmd usage.
2953
c68cd5d4
GM
2954 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2955 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2956 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2957 (cal-tex-weekly-paper): New function.
2958 (cal-tex-cursor-week, cal-tex-cursor-week2)
2959 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2960 (cal-tex-cursor-day): Use it.
2961
9dca4801
GM
2962 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2963 (cal-tex-cursor-filofax-week): Remove leading blank page.
2964
1941e134
GM
2965 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2966 Add autoload cookie. For now at least, don't use color, since
2967 no other cal-tex function does.
2968
6d74698e
GM
2969 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2970 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2971 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2972
64cde199
JL
29732012-08-21 Juri Linkov <juri@jurta.org>
2974
2975 * info.el (Info-file-attributes): New variable.
2976 (info-insert-file-contents): Add file attributes to
2977 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2978 `Info-toc-nodes' when previous modtime of the Info file is less
2979 than new modtime.
2980 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2981 of info.el. (Bug#12230)
2982
32757648
GM
29832012-08-20 Glenn Morris <rgm@gnu.org>
2984
2985 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2986 * calendar/holidays.el (calendar-holiday-list):
2987 Report errors with display-warning rather than beep'n'sleep.
2988
a32fbbcf
MA
29892012-08-20 Michael Albinus <michael.albinus@gmx.de>
2990
2991 * net/tramp.el (tramp-accept-process-output): Accept only output
2992 from PROC. Otherwise, process filters and sentinels might be
2993 confused. (Bug#12145)
2994
a05731a0
CY
29952012-08-20 Chong Yidong <cyd@gnu.org>
2996
2997 * descr-text.el (describe-text-properties-1): Use overlays-in to
2998 report on empty overlays (Bug#3322).
2999
36e8d1eb
GM
30002012-08-20 Glenn Morris <rgm@gnu.org>
3001
3d300447
GM
3002 * mail/rmailout.el (rmail-output-read-file-name):
3003 Trap and report errors in rmail-output-file-alist elements.
3004
36e8d1eb
GM
3005 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3006 since most non-font-lock faces are not also variables).
3007
b96e5814
ER
30082012-08-20 Edward Reingold <reingold@iit.edu>
3009
3010 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3011 New function. (Bug12160)
3012
7cef3569
GM
30132012-08-19 Glenn Morris <rgm@gnu.org>
3014
3015 * mail/rmailout.el (rmail-output-read-file-name):
3016 Fix previous change (when the alist is nil or does not match).
3017
17975d7f
CY
30182012-08-19 Chong Yidong <cyd@gnu.org>
3019
3020 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3021 (Bug#12228).
3022
2170b1bd
CY
30232012-08-18 Chong Yidong <cyd@gnu.org>
3024
3025 * simple.el (yank-handled-properties): New defcustom.
3026 (yank-excluded-properties): Add font-lock-face and category.
3027 (yank): Doc fix.
3028
9fba804b
SM
3029 * subr.el (remove-yank-excluded-properties):
3030 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3031 and category is now done this way, instead of being hard-coded.
3032 (insert-for-yank-1): Remove font-lock-face handling.
3033 (yank-handle-font-lock-face-property)
3034 (yank-handle-category-property): New function.
3035
ee218151
GM
30362012-08-17 Glenn Morris <rgm@gnu.org>
3037
3038 * mail/rmailout.el (rmail-output-read-file-name):
3039 Check rmail-output-file-alist against the full message body
3040 in the correct rmail buffer. (Bug#12214)
3041
4a6bc3fd
MA
30422012-08-17 Michael Albinus <michael.albinus@gmx.de>
3043
9fba804b
SM
3044 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3045 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3046
383dcbf9
CY
30472012-08-17 Chong Yidong <cyd@gnu.org>
3048
3049 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3050 font spec, set the font directly (Bug#3228).
3051
998c4a6a
MR
30522012-08-17 Martin Rudalics <rudalics@gmx.at>
3053
3054 * window.el (delete-window): Fix last fix.
3055
52162052
MR
30562012-08-16 Martin Rudalics <rudalics@gmx.at>
3057
3058 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3059 (window-child, window-child-count, window-last-child)
3060 (window-normalize-window, window-combined-p)
3061 (window-combinations, window-atom-root, window-min-size)
3062 (window-sizable, window-sizable-p, window-size-fixed-p)
3063 (window-min-delta, window-max-delta, window--resizable)
3064 (window--resizable-p, window-resizable, window-total-size)
3065 (window-full-height-p, window-full-width-p, window-body-size)
3066 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3067 (minimize-window, window-deletable-p, delete-window)
3068 (delete-other-windows, set-window-buffer-start-and-point)
3069 (next-buffer, previous-buffer, split-window, balance-windows-2)
3070 (set-window-text-height, window-buffer-height)
3071 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3072 (truncated-partial-width-window-p): Minor code adjustments.
3073 In doc-strings state whether the argument window has to denote a
85c2386b 3074 live, valid or any window.
52162052 3075
1c308380
PS
30762012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3077
3078 * progmodes/subword.el (subword-forward-function)
3079 (subword-backward-function, subword-forward-regexp)
3080 (subword-backward-regexp): New variables.
3081 (subword-forward, subword-forward-internal, subword-backward-internal):
3082 Use new variables, eg so that different "word" definitions
3083 can be easily used. (Bug#11411)
3084
94c9ece1
SM
30852012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3088 for composite selectors.
3089 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3090 operation just because we can't find a previous revision.
3091
f2045622
CY
30922012-08-15 Chong Yidong <cyd@gnu.org>
3093
3094 * frame.el (set-frame-font): Accept font objects.
3095
582db660
SM
30962012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3099
2f29c200
WJ
31002012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3101
456e62c2
WJ
3102 * man.el (Man-overstrike-face, Man-underline-face)
3103 (Man-reverse-face): Remove variables.
3104 (Man-overstrike, Man-underline, Man-reverse): New faces.
3105 (Man-fontify-manpage): Use them instead of the variables.
3106 (Man-cleanup-manpage): Comment change.
3107 (Man-ansi-color-map): New variable.
3108 (Man-fontify-manpage): Use it.
3109 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3110
2f29c200
WJ
3111 Implement ANSI SGR parameters 22-27 (bug#12146).
3112 * ansi-color.el (ansi-colors): Doc fix.
3113 (ansi-color-context, ansi-color-context-region): Doc fix.
3114 (ansi-color--find-face): New function.
3115 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3116 Rename the local variable `face' to `codes' since it is now a list of
3117 ansi codes. Doc fix.
3118 (ansi-color-get-face): Remove.
3119 (ansi-color-parse-sequence): New function, derived from
3120 ansi-color-get-face.
3121 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3122 codes 22-27.
3123
b4f5e9df
SM
31242012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * subr.el (read-passwd): Allow use from a minibuffer.
3127
ba025fbd
EZ
31282012-08-14 Eli Zaretskii <eliz@gnu.org>
3129
3130 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3131 inside comments and strings as identifiers.
3132
3133 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3134 expression to evaluate. This allows to evaluate expressions with
3135 embedded whitespace.
3136 (gud-tooltip-tips): Add a blank before the newline in the
3137 message-box text, for the benefit of message-box emulation on
3138 MS-Windows.
3139
3140 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3141 messages from GDB, pop them up in a tooltip to give feedback to
3142 user.
b4f5e9df
SM
3143 (gdb-tooltip-print-1): Quote the expression to evaluate.
3144 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3145 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3146 if the TTY name is nil or empty (which happens when communicating
3147 with the inferior via pipes, e.g. on MS-Windows).
3148 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3149 don't send that to the GUD buffer.
3150
c548f821
GM
31512012-08-14 Glenn Morris <rgm@gnu.org>
3152
3153 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3154 Optimize away setq-default with no args, as for setq. (Bug#12195)
3155
55802e4a
CY
31562012-08-14 Chong Yidong <cyd@gnu.org>
3157
4abcdac8
CY
3158 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3159
55802e4a
CY
3160 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3161 (Bug#12085).
3162
3c3cda1a
GM
31632012-08-14 Glenn Morris <rgm@gnu.org>
3164
3165 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3166
e1873bd0
MA
31672012-08-14 Michael Albinus <michael.albinus@gmx.de>
3168
3169 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3170 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3171 Use cached shell name.
3172
925411b4
FEG
31732012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3174
3175 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3176 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3177
e636fafe
DG
31782012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3179
3180 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3181 (ruby-percent-literal-beg-re): New constant.
3182 (ruby-syntax-general-delimiters-goto-beg): Rename to
3183 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3184 (ruby-syntax-propertize-general-delimiters): Rename to
3185 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3186 popular term. Adjust comments everywhere.
3187 (ruby-syntax-propertize-percent-literal): Only propertize when not
3188 inside a simple string or comment. When the literal is unclosed,
3189 leave the text after it unpropertized.
f063063a
DG
3190 (ruby-syntax-methods-before-regexp): New constant.
3191 (ruby-syntax-propertize-function): Use it to recognize regexps.
3192 Don't look at the text after regexp, just use the whitelist.
e636fafe 3193
e5b19827
AS
31942012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3195
3196 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3197 non-nil always load the compiled file if it exists. (Bug#12197)
3198
a9f6f311
CY
31992012-08-14 Chong Yidong <cyd@gnu.org>
3200
3201 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3202 (hi-lock-set-pattern): When deciding whether to use font lock or
3203 overlays, look at font-lock-mode instead of font-lock-fontified
3204 (Bug#12168).
3205 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3206 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3207
7d806b1e
DU
32082012-08-14 Daiki Ueno <ueno@unixuser.org>
3209
3210 * subr.el (internal--after-with-selected-window): Fix typo
3211 (Bug#12193).
3212
5beed586
FEG
32132012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3214
3215 Use `completion-table-dynamic' for completion functions.
3216 * progmodes/python.el
3217 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3218 (python-shell-completion--get-completions):
3219 Remove functions.
5beed586
FEG
3220 (python-shell-completion-complete-at-point): New function.
3221 (python-completion-complete-at-point): Use it.
3222
92cb3b04
J
32232012-08-13 Jambunathan K <kjambunathan@gmail.com>
3224
3225 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3226 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3227
89660017
SM
32282012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3c98c962
SM
3230 * subr.el (function-get): Refine `autoload' arg so it can also
3231 autoload functions for gv.el (bug#12191).
3232 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3233 autoloads macros.
3234
aa7c6dbe
SM
3235 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3236 Prefer pcase-let over destructuring-bind.
3237 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3238 Also, remove whitespace as we go, rather than after accumulating the
3239 various places.
3240
89660017
SM
3241 * subr.el (internal--before-with-selected-window)
3242 (internal--after-with-selected-window): Fix typo seleted->selected.
3243 (with-selected-window): Adjust callers.
3244 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3245
31cd32c9
BG
32462012-08-13 Bastien Guerry <bzg@gnu.org>
3247
0fcd3d9f 3248 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3249 enhancement. (Bug#12172)
3250
1b15d8ad
AS
32512012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3252
31e54db0
AS
3253 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3254 type 1-6.
3255 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3256 extended headers.
3257
1b15d8ad
AS
3258 * files.el (hack-local-variables-filter): Remove useless eval.
3259
35cb9c06
MR
32602012-08-13 Martin Rudalics <rudalics@gmx.at>
3261
3262 * subr.el (with-selected-window): Fix last change.
3263
1439443b
SM
32642012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3265
3266 * subr.el (internal--before-with-seleted-window)
3267 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3268 (with-selected-window): Use them, to replace dependency on
3269 tty-top-frame.
1439443b 3270
0d9e2599
NN
32712012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3272
3273 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3274 binding for `newline'.
3275 (ruby-move-to-block): When moving backward, stop at block opening,
3276 not indentation.
3277 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3278 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3279 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3280 `ruby-toggle-block'.
3281
ba10c48c
SM
32822012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * ibuffer.el (ibuffer-do-toggle-read-only):
3285 * dired.el (dired-toggle-read-only):
3286 * buff-menu.el (Buffer-menu-toggle-read-only):
3287 * bindings.el (mode-line-toggle-read-only):
3288 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3289
9229c658
AS
32902012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3291
3292 * descr-text.el (describe-char): Put the overlays over the
3293 "displayed as" character.
3294
0fd09128
JB
32952012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3296
3297 * calc/calc-units.el (math-default-units-table): Give an
3298 initial value.
3299 (math-put-default-units): Add options to put composite units and
3300 unit systems in the default units table.
3301 (calc-convert-units): Send composite units to
3302 `math-put-default-units' when appropriate.
3303
9ff9402d 33042012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3305
fbb5e336
GM
3306 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3307
7aacaf15
GM
3308 * tutorial.el (help-with-tutorial):
3309 * emacs-lisp/copyright.el (copyright-update-directory):
3310 * emacs-lisp/autoload.el (autoload-find-generated-file)
3311 (autoload-find-file): Disable local eval: (for insurance).
3312
f40b9f10
GM
3313 * files.el (hack-local-variables-filter): If an eval: form is not
3314 known to be safe, and enable-local-variables is :safe, then ignore
3315 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3316 This is CVE-2012-3479.
f40b9f10 3317
daa9f1a6
SM
33182012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3321 (rx-form): Simplify.
3322
9cd80478
DG
33232012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3324
0d9e2599
NN
3325 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3326 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3327 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3328 (ruby-syntax-propertize-function): Adjust for changes in
3329 `ruby-syntax-propertize-heredoc'.
3330
33312012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3332
9cd80478
DG
3333 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3334 binding (use `M-;' instead).
9cd80478 3335 (ruby-singleton-class-p): New function.
0d9e2599 3336 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3337
d301b413
SM
33382012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3341
1530c98e
CY
33422012-08-10 Chong Yidong <cyd@gnu.org>
3343
3344 * progmodes/python.el (python-shell-get-process-name): Don't mess
3345 with same-window-buffer-names.
3346
3347 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3348 (eshell-remove-from-window-buffer-names): Make obsolete.
3349 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3350 (eshell): Just use pop-to-buffer-same-window instead.
3351
e1293765
CY
33522012-08-10 Chong Yidong <cyd@gnu.org>
3353
3354 * bindings.el: Bind M-= back to count-words-region.
3355
3356 * simple.el (count-words-region): Accept a prefix arg for acting
3357 on the entire buffer.
3358 (count-words--buffer-message): New helper function.
3359
e1894109
SM
33602012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3361
3362 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3363 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3364 (event-start, event-end): Use posn-at-point to return a more
3365 informative posn.
3366 (posnp): New function.
3367 * mouse.el (popup-menu-normalize-position): Use it.
3368
c69f56a2
MY
33692012-08-10 Masatake YAMATO <yamato@redhat.com>
3370
3371 * mouse.el (popup-menu-normalize-position): New function.
3372 (popup-menu): Use `popup-menu-normalize-position' to normalize
3373 the form for POSITION argument.
3374
3375 * term/x-win.el (x-menu-bar-open):
3376 Use the value returend from (posn-at-point) as position
3377 passed to `popup-menu'.
3378
31673780
JB
33792012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3380
3381 * calc/calccomp.el (math-compose-expr): Add extra argument
3382 indicating that parentheses should be put around products in
3383 denominators. Give multiplication precedence over division during
3384 composition.
3385
dab7711b
CY
33862012-08-09 Chong Yidong <cyd@gnu.org>
3387
dee4ef93
CY
3388 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3389 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3390 (Man-untabify-command, manual-program): Convert to defcustom
3391 (Bug#10429).
3392
73e2bbc5
CY
3393 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3394
3e861c8a
CY
3395 * descr-text.el (describe-char): Don't insert extra newlines
3396 (Bug#10127).
3397
a9f5a649
CY
3398 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3399 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3400
dab7711b
CY
3401 * align.el (align-region): Delete temporary markers (Bug#10047).
3402 Plus some code cleanups.
3403
e0cc4efa
FEG
34042012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3405
3406 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3407 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3408 (python-shell-internal-last-output): Use make-local-variable
3409 instead of make-variable-buffer-local.
3410
489af14f
FEG
34112012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3412
3413 * progmodes/python.el: Enhancements to forward-sexp.
3414 (python-nav-forward-sexp): Rename from
3415 python-nav-forward-sexp-function.
c69f56a2
MY
3416 (python-nav--forward-sexp, python-nav--backward-sexp):
3417 New functions.
489af14f 3418
0fc50303
JB
34192012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3420
3421 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3422 modes and simplification modes.
3423
5d65606a
SM
34242012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * delsel.el (delete-selection-pre-hook): Don't propagate the
3427 file-supersession signals (bug#12161).
3428
4250fdf5
SM
34292012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3432 (cl-map-extents): Add compatibility aliases (bug#12135).
3433
d9f9b465
MA
34342012-08-08 Michael Albinus <michael.albinus@gmx.de>
3435
3436 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3437 tests by `ignore-error'.
3438 (tramp-find-shell): Open also a new shell, when cache is already
3439 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3440
ce0fcefa
JL
34412012-08-08 Juri Linkov <juri@jurta.org>
3442
3443 * bookmark.el: Add `defaults' property to the bookmark record.
3444 (bookmark-current-buffer): Doc fix.
3445 (bookmark-make-record): Add `defaults' property with default values
3446 to the bookmark record.
3447 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3448 with `bookmark-insert-current-bookmark'.
3449 (bookmark-set): Get `defaults' property from the bookmark record
3450 and use it in `read-from-minibuffer'.
3451 (bookmark-insert-current-bookmark): Remove function.
3452
3453 * info.el (Info-bookmark-make-record): Add `defaults' property
3454 with values of canonical Info node name, the current Info file
3455 name and the current Info node name. (Bug#12107)
3456
53fa8652
JL
34572012-08-08 Juri Linkov <juri@jurta.org>
3458
3459 * files.el (basic-save-buffer): Use `buffer-name' as the default
3460 of `read-file-name' when buffer is not visiting a file (bug#12128).
3461
242c0a95
JL
34622012-08-08 Juri Linkov <juri@jurta.org>
3463
3464 * info.el (Info-isearch-search): Doc fix.
3465 (Info-search): Change search-failed message from "initial node" to
3466 "end of node" (bug#12078).
3467 (Info-isearch-search): Change `isearch-string-state' to
3468 `isearch--state-string'.
3469
32ac3a6b
GM
34702012-08-08 Glenn Morris <rgm@gnu.org>
3471
3472 * language/persian.el: Remove file.
f8c1afd5 3473 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3474 * loadup.el: Remove language/persian.
3475
2c2d9c9c
OF
34762012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3477
3478 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3479
2d79ec42
FEG
34802012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3481
3482 * progmodes/python.el Fixed defsubst warning.
3483 (python-syntax-context) Rename from python-info-ppss-context.
3484 (python-syntax-context-type): Rename from
3485 python-info-ppss-context-type.
3486 (python-syntax-comment-or-string-p): Rename from
3487 python-info-ppss-comment-or-string-p.
3488
2bd255dd
JB
34892012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3490
3491 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3492
c395097f
AS
34932012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3494
6125983e
AS
3495 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3496 a defcustom that is quoted with backquote.
3497
4250fdf5
SM
3498 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3499 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3500 (math-do-arg-check, math-define-function-body): Use backquote forms.
3501 * calc/calc-ext.el (math-defcache): Likewise.
3502 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3503 * allout.el (allout-new-exposure): Likewise.
3504 * calc/calcalg2.el (math-tracing-integral): Likewise.
3505 * info.el (Info-last-menu-item): Likewise.
3506 * emulation/vip.el (vip-loop): Likewise.
3507 * textmodes/artist.el (artist-funcall): Likewise.
3508 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3509 Construct menu-item directly.
3510
4250fdf5
SM
3511 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3512 Don't declare.
c395097f 3513
5fb50dd3
CY
35142012-08-07 Chong Yidong <cyd@gnu.org>
3515
3516 * simple.el (deactivate-mark): Preserve text properties when
3517 saving the primary selection (Bug#8384).
3518
54eea618
KR
35192012-08-07 Kevin Ryde <user42@zip.com.au>
3520
3521 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3522 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3523 and continue processing (Bug#12110).
3524
638eaeb9
SM
35252012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3526
3527 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3528 syntax-propertize-function (bug#10095).
3529
ea376861
SM
35302012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3531
f91b35be
SM
3532 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3533 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3534 describe-function-1.
3535 (describe-function-1): Use them. Move compiler macro after sig.
3536 (help-fns--compiler-macro): Use function-get. Assume we're already in
3537 standard-output. Adjust layout to new call order.
3538
ea376861
SM
3539 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3540 re-binding a symbol that has a symbol-macro (bug#12119).
3541
d5be7bd0
MB
35422012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3543
3544 * language/persian.el: New file. (Bug#11812)
3545 * loadup.el: Add language/persian.el.
3546
90749b53
CY
35472012-08-06 Chong Yidong <cyd@gnu.org>
3548
3549 * window.el (window--maybe-raise-frame): New function.
3550 (window--display-buffer): Split off from here.
3551 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3552 (display-buffer-pop-up-window, display-buffer-use-some-window):
3553 Obey an inhibit-switch-frame action alist entry.
3554 (display-buffer): Update doc.
3555
3556 * replace.el (occur-after-change-function): Avoid losing focus by
3557 using the inhibit-switch-frame display parameter (Bug#12139).
3558
ba7b0154
FEG
35592012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3560
3561 Make internal shell process buffer names start with space.
3562 * progmodes/python.el (python-shell-make-comint): Add optional
3563 argument INTERNAL.
3564 (run-python-internal): Use it.
3565 (python-shell-internal-get-or-create-process): Check for new
3566 internal buffer names.
3567
5eaeacb5
GM
35682012-08-06 Glenn Morris <rgm@gnu.org>
3569
e296d94b 3570 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3571 Do less getting and setting of environment variables.
3572
b7ccbdc2
CY
35732012-08-05 Chong Yidong <cyd@gnu.org>
3574
777fe95e
CY
3575 * proced.el (proced): Add substitution string to docstring to
3576 trigger autoloading of the proced library on C-h f (Bug#1768).
3577
4250fdf5
SM
3578 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3579 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3580
3581 * imenu.el (imenu-generic-expression): Move documentation here
3582 from imenu--generic-function.
3583 (imenu--generic-function): Refer to imenu-generic-expression.
3584
9e3b7800 35852012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
3586
3587 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3588 indentation declaration.
3589 (viper-loop): Add indentation declaration (Bug#7025).
3590
e5d9c0d1
CY
35912012-08-05 Chong Yidong <cyd@gnu.org>
3592
f0422feb
CY
3593 * help-fns.el (describe-variable): Add hyperlink for
3594 directory-local variables files. Improve buffer-local and
3595 permanent-local reporting; suggested by MON KEY (Bug#6644).
3596
3597 * help-mode.el (help-dir-local-var-def): New button type.
3598
e5d9c0d1
CY
3599 * files.el (kill-buffer-hook): Provide a defvar.
3600
a4f2deaa
GM
36012012-08-05 Glenn Morris <rgm@gnu.org>
3602
3603 * eshell/esh-ext.el (eshell/addpath):
3604 Also update eshell-path-env. (Bug#12013)
3605
a9dd5754
CY
36062012-08-05 Chong Yidong <cyd@gnu.org>
3607
a4f2deaa 3608 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3609
d014c740
CY
3610 * fringe.el (fringe-styles): Add docstring.
3611 (fringe--check-mode): New function.
3612 (set-fringe-mode, set-fringe-style): Use it.
3613 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3614
a9dd5754
CY
3615 * files.el (set-auto-mode): Fix invalid setq call.
3616
7c2dc8bd
SM
36172012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * isearch.el: Misc simplification; use defstruct.
3620 (isearch-mode-map): Dense maps now work like sparse ones.
3621 (isearch--state): New defstruct.
3622 (isearch-string-state, isearch-message-state, isearch-point-state)
3623 (isearch-success-state, isearch-forward-state)
3624 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3625 (isearch-wrapped-state, isearch-barrier-state)
3626 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3627 replaced by defstruct's accessors.
3628 (isearch--set-state): Rename from isearch-top-state and change
3629 calling convention.
3630 (isearch-push-state): Use new isearch--get-state.
3631 (isearch-toggle-word): Disable regexp when enabling word.
3632 (isearch-message-prefix): Remove unused arg _c-q-hack.
3633 (isearch-message-suffix): Remove unused arg _ellipsis.
3634
7fcc0070
AS
36352012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3636
3637 * simple.el (list-processes--refresh): For a server use :host or
3638 :local as the address.
97ad0769 3639 (list-processes): Doc fix.
7fcc0070 3640
a11035b8 36412012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3642
3643 * lisp/mpc.el: Support password in host argument.
3644 (mpc--proc-connect): Parse and use new password element.
3645 Set mpc-proc variable instead of returning process.
3646 (mpc-proc): Adjust accordingly.
3647
6dad7178
EZ
36482012-08-03 Eli Zaretskii <eliz@gnu.org>
3649
18949c2f
EZ
3650 * whitespace.el (whitespace-display-mappings): Use Unicode
3651 codepoints, instead of emacs-mule codepoints. See
3652 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3653 for the details.
3654
6dad7178
EZ
3655 * files.el (file-truename): Don't skip symlink-chasing part on
3656 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3657 Windows into the loop that recursively chases symlinks.
3658 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3659 MS-DOS.
3660
385b0198
CY
36612012-08-03 Chong Yidong <cyd@gnu.org>
3662
6200f3c4
CY
3663 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3664
385b0198
CY
3665 * sort.el (sort-regexp-fields): Doc fix.
3666
b9e74744
TH
36672012-08-03 Tassilo Horn <tsdh@gnu.org>
3668
3669 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3670 labels regex position point at the expected place.
3671
41013cb4
MK
36722012-08-03 MON KEY <monkey@sandpframing.com>
3673
3674 * net/imap.el (imap-interactive-login, imap-authenticate)
3675 (imap-mailbox-lsub, imap-mailbox-list)
3676 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3677 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3678 (imap-parse-response): Doc fix.
3679
0ffee616
JT
36802012-08-03 João Távora <joaotavora@gmail.com>
3681
3682 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3683 if sexp scanning does not move point (Bug#5734).
3684
cfcc9cc8
TH
36852012-08-02 Tassilo Horn <tsdh@gnu.org>
3686
3687 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3688 Add listings, minted, and ctable packages.
3689 (reftex-label-alist-builtin): Move listings, minted, and ctable
3690 entries before LaTeX.
a01bbb84 3691 (reftex-label-alist): Docfix.
cfcc9cc8 3692
66ec2442
BG
36932012-08-02 Bastien Guerry <bzg@gnu.org>
3694
3695 * replace.el (occur): Fix docstring (bug#12122).
3696
837b365b
GM
36972012-08-02 Glenn Morris <rgm@gnu.org>
3698
3699 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3700
e098de97
PE
37012012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3702
3703 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3704 * international/mule-cmds.el: Create
3705 inactivate-current-input-method-function as an obsolete alias for
3706 deactivate-current-input-method-function. See Katsumi Yamaoka in
3707 <http://bugs.gnu.org/10150#46>.
3708
a0f95636
JB
37092012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3710
3711 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3712 of nested `if's.
3713
0d26d7c4
GM
37142012-08-01 Glenn Morris <rgm@gnu.org>
3715
3716 * progmodes/autoconf.el (autoconf-definition-regexp):
3717 Add AH_TEMPLATE, adjust submatch numbering.
3718 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3719 (autoconf-current-defun-function): Update for above change.
3720 (autoconf-current-defun-function): First skip to end of current word.
3721
b686ba06
RS
37222012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3723
3724 * calendar/cal-html.el (cal-html-insert-agenda-days):
3725 Fix typo. (Bug#12018)
3726
0d49da68
FEG
37272012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3728
3729 Shell processes: enhancements to startup and CEDET compatibility.
3730 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3731 (python-shell-make-comint): accept-process-output at startup.
3732 (run-python-internal): Set inferior-python-mode-hook to nil.
3733 (python-shell-internal-get-or-create-process): call sit-for.
3734 (python-preoutput-result): Add obsolete alias.
3735 (python-shell-internal-send-string): Use it.
3736 (python-shell-send-setup-code): Remove call to
3737 accept-process-output.
3738
f1a71c6e
AS
37392012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3740
3741 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3742 (Bug#12108)
3743
d2605269
JB
37442012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3745
3746 * calc-mode.el (calc-basic-simplification-mode): Rename from
3747 `calc-limited-simplification-mode'.
3748 (calc-alg-simplification-mode): New function.
fc0c31f8 3749 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3750
d2605269
JB
3751 * calc.el (calc-set-mode-line): Adjust mode line display for
3752 basic simplification mode.
3753
3754 * calc-help.el (calc-m-prefix-help): Update help message.
3755
3756 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3757 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3758
a3827a43
BG
37592012-07-31 Bastien Guerry <bzg@gnu.org>
3760
3761 * man.el (man): Fix comment. (bug#12101)
3762
502e3f89
MR
37632012-07-31 Martin Rudalics <rudalics@gmx.at>
3764
3765 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3766 Don't return a non-nil value when no suitable buffer was found.
3767
d7714961
FEG
37682012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3769
3770 * progmodes/python.el (run-python-internal): Disable font lock for
3771 internal shells.
3772
1f45e27e
SM
37732012-07-30 Stefan Merten <smerten@oekonux.de>
3774
70efc5c9 3775 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3776 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3777 (rst-official-version, rst-official-cvs-rev)
3778 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3779 (rst-mode-map): New key binding.
3780
0aee6912
PE
37812012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3782
3783 Update .PHONY listings in makefiles.
3784 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3785 autoloads, update-subdirs, updates, bzr-update, update-authors,
3786 compile-onefile, compile-calc, backup-compiled-files,
3787 compile-after-backup, compile-one-process, mh-autoloads,
3788 bootstrap-clean, distclean, maintainer-clean.
3789
9052f9f0
JB
37902012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3791
1823ac5a
JB
3792 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3793 (calc-set-mode-line): Don't display "AlgSimp ".
3794
3795 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3796 (calc-lim-simplify-mode): New function.
3797 (calc-set-simplify-mode): Default to 'alg.
3798 (calc-default-simplify-mode): Make algebraic simplifications
3799 the default.
3800
3801 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3802 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3803
8d7c7eed 3804 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3805 indicate new simplification modes.
3806
1823ac5a
JB
3807 * calc/README: Mention new default simplification mode.
3808
9052f9f0
JB
3809 * calc/calc.el (math-normalize-error): New variable.
3810 (math-normalize): Set `math-normalize-error' to t
3811 when there's an error.
3812
3813 * calc/calc-alg.el (math-simplify): Don't simplify when
3814 `math-normalize' returns an error.
3815
20ba0cb4
EZ
38162012-07-29 Eli Zaretskii <eliz@gnu.org>
3817
3818 * international/mule-cmds.el (set-locale-environment): Revert last
3819 change, since display-graphic-p returns nil when this function is
3820 called during startup. Instead...
3821
3822 * term/w32console.el (terminal-init-w32console): ...setup the
3823 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3824
a5dcc929
JL
38252012-07-29 Juri Linkov <juri@jurta.org>
3826
3827 * simple.el (goto-line): Don't display default line number in the
3828 prompt because it should be displayed by `read-number' (bug#9952).
3829 Add the current line number to the defaults of `goto-line' to
3830 allow its easier modification by users with `M-n' (bug#9201).
3831
3832 * subr.el (read-number): Support multiple default values like in
3833 other minibuffer reading functions. Replace `read' with
3834 `string-to-number' for consistency with `number-to-string'.
3835
72b255c7
PE
38362012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3837
3838 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3839 * emulation/viper-init.el (viper-deactivate-input-method-action):
3840 Rename from viper-inactivate-input-method-action.
3841 (viper-deactivate-input-method):
3842 Rename from viper-inactivate-input-method.
3843 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3844 * international/mule-cmds.el (deactivate-input-method):
3845 Rename from inactivate-input-method.
3846 Also run input-method-deactivate-hook.
3847 (deactivate-current-input-method-function):
3848 Rename from inactivate-current-input-method-function.
3849 (input-method-deactivate-hook): New hook.
3850 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3851 (inactivate-input-method): Mark obsolete.
3852
72b255c7
PE
3853 * international/quail.el (quail-activate):
3854 Also run quail-deactivate-hook.
3855 (quail-deactivate): Rename from quail-inactivate.
3856 * international/robin.el (robin-activate):
3857 Also run robin-deactivate-hook.
3858 (robin-deactivate): Rename from robin-inactivate.
3859
2549c068
CY
38602012-07-29 Chong Yidong <cyd@gnu.org>
3861
3862 * simple.el (indicate-copied-region): New function.
3863 (kill-ring-save): Split off from here.
3864
3865 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3866 (kill-rectangle): Set deactivate-mark to t on read-only error.
3867
3868 * register.el (copy-to-register, copy-rectangle-to-register):
3869 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3870 (append-to-register, prepend-to-register): Call indicate-copied-region.
3871
38722012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3873
3874 * simple.el (async-shell-command-buffer): New defcustom.
3875 (shell-command): Use it. (Bug#4719)
3876
01bd1b0d
EZ
38772012-07-28 Eli Zaretskii <eliz@gnu.org>
3878
3879 * international/mule-cmds.el (set-locale-environment): In a
3880 console session on MS-Windows, set up keyboard and terminal
3881 encoding from the OEM codepage, not the ANSI codepage.
3882 (Bug#12055)
3883
a55739d3
CY
38842012-07-28 Chong Yidong <cyd@gnu.org>
3885
3886 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3887 gdb-get-location.
3888
0e1a094f 38892012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3890
3891 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3892 the alist (bug#12029).
3893
20329d73
EZ
38942012-07-28 Eli Zaretskii <eliz@gnu.org>
3895
3896 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3897 (compile-always, compile-first)
3898 ($(lisp)/calendar/cal-loaddefs.el)
3899 ($(lisp)/calendar/diary-loaddefs.el)
3900 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3901 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3902 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3903 instead of on update-subdirs.
3904 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3905
345a2258
CY
39062012-07-28 Chong Yidong <cyd@gnu.org>
3907
1eee6341
CY
3908 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3909 directory if vc-deduce-backend returns nil (Bug#7350).
3910
345a2258
CY
3911 * simple.el (delete-trailing-lines): New option.
3912 (delete-trailing-whitespace): Obey it (Bug#11879).
3913
049a0936
DE
39142012-07-28 David Engster <deng@randomsample.de>
3915
3916 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3917 Explanation of new 'symbol-qnames feature in doc-strings.
3918 (xml-maybe-do-ns): Return expanded names as plain symbols if
3919 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3920 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3921
aa81af71
FEG
39222012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3923
3924 Consistent completion in inferior python with emacs -nw.
3925 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3926 binding in inferior-python-mode-map with "\t".
3927 (python-shell-completion-complete-at-point)
3928 (python-completion-complete-at-point): Remove interactive spec.
3929
e827b1eb
JB
39302012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3931
3932 * calc/calccomp.el (math-compose-expr): Undo previous change.
3933
a90dfb95
FEG
39342012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3935
4250fdf5 3936 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3937 run-python.
3938 (python-shell-make-comint): Fix pop-to-buffer call.
3939 (run-python): Autoload. New arg SHOW.
3940 (python-shell-get-or-create-process): Do not pop python process
3941 buffer.
3942
32770973 39432012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3944
3945 * notifications.el (notifications-on-action-signal)
3946 (notifications-on-closed-signal): Use also the bus address for the map.
3947 (notifications-notify, notifications-close-notification)
fc0c31f8 3948 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3949
86332df2
TH
39502012-07-27 Tassilo Horn <tsdh@gnu.org>
3951
4250fdf5
SM
3952 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3953 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3954 ctable macro.
3955 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3956 labels written in keyvals syntax.
3957
ca1302a4
JB
39582012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3959
3960 * calc/calccomp.el (math-compose-expr): Use parentheses when
3961 there is a product in the denominator of a fraction.
3962
f8b91036
EZ
39632012-07-26 Eli Zaretskii <eliz@gnu.org>
3964
3965 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3966 ($(lisp)/calendar/diary-loaddefs.el)
3967 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3968 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3969 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3970 rewritten while the autoload files are built at the same time,
3971 which needs to load subdirs.el.
3972
c8e5a42c
MR
39732012-07-26 Martin Rudalics <rudalics@gmx.at>
3974
3975 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3976 (mouse-drag-line): Don't exit tracking when a switch-frame or
3977 switch-window event occurs (Bug#12006).
3978
670d85ea
SM
39792012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * mouse.el (popup-menu): Fix last change.
3982
7abaf5cc
SM
39832012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 Autoload from Lisp with more care. Follow aliases when looking for
3986 function properties.
3987 * subr.el (autoloadp): New function.
3988 (symbol-file): Use it.
3989 (function-get): New function.
3990 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3991 autoload-do-load.
3992 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3993 (lisp-indent-function):
3994 * emacs-lisp/gv.el (gv-get):
3995 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3996 * emacs-lisp/byte-opt.el (byte-optimize-form):
3997 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3998 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3999 Use function-get.
4000 * emacs-lisp/cl.el: Don't propagate function properties any more.
4001
4002 * speedbar.el (speedbar-add-localized-speedbar-support):
4003 * emacs-lisp/disass.el (disassemble-internal):
4004 * desktop.el (desktop-load-file):
4005 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4006 (describe-function-1):
4007 * emacs-lisp/find-func.el (find-function-noselect):
4008 * emacs-lisp/elp.el (elp-instrument-function):
4009 * emacs-lisp/advice.el (ad-has-proper-definition):
4010 * apropos.el (apropos-safe-documentation, apropos-macrop):
4011 * emacs-lisp/debug.el (debug-on-entry):
4012 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4013 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4014 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4015
b1364986
AA
40162012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4017
4018 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4019 function, not an obsolete variable (Bug#12046).
4020
67ada220
AS
40212012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4022
4023 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4024
f08088e3
CS
40252012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4026
4027 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4028 window only if it is still live (Bug#12034).
4029
8137e7b3
MR
40302012-07-25 Martin Rudalics <rudalics@gmx.at>
4031
4032 * subr.el (redirect-frame-focus): Add advertised calling
4033 convention (Bug#12030).
4034
09ae5da1
PE
40352012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4036
4037 Prefer typical American spelling for "acknowledgment".
4038 * vc/add-log.el (change-log-acknowledgment): Rename from
4039 change-log-acknowledgement, with an alias for the old name.
4040
3cc5a3a8
JB
40412012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4042
4043 * calc-alg.el (math-simplify-divide): Don't cross multiply
4044 in an equation when the lhs is a variable.
4045
b7af7f62
JD
40462012-07-24 Julien Danjou <julien@danjou.info>
4047
4048 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4049 Remove, unused.
4050
ec1b09b1
EZ
40512012-07-23 Eli Zaretskii <eliz@gnu.org>
4052
4053 * startup.el (command-line): Don't display an empty user name in
4054 the error message about non-existent home directory, when
4055 init-file-user was set to an empty string. See
4056 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4057 for the details and context.
4058
b525fd8a
VB
40592012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4060
4061 * ses.el (ses-cell-formula-aset): New macro.
4062 (ses-cell-references-aset): New macro.
4063 (ses-cell-p): New function.
4064 (ses-rename-cell): Do no longer rely on complex operations like
4065 ses-cell-set-formula or ses-set-cell to change the cell and handle
4066 the undo at the same time, but rather use lower level new macros
4067 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4068 the undo directly. Refresh the mode line.
b525fd8a 4069
2c73e345
LL
40702012-07-21 Leo Liu <sdl.web@gmail.com>
4071
670d85ea
SM
4072 * progmodes/cc-cmds.el (c-defun-name):
4073 Use match-string-no-properties instead for consistency.
2c73e345 4074
542dfbde
LL
40752012-07-20 Leo Liu <sdl.web@gmail.com>
4076
3646bcd6
LL
4077 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4078 (Bug#7879)
4079
542dfbde
LL
4080 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4081
25721031
CY
40822012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4085 * progmodes/bug-reference.el, misearch.el: Provide themselves
4086 (bug#11915).
4087
4088 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4089 of narrowed buffer (bug#11966).
4090
316e68a7
VB
40912012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4092
4093 * ses.el (ses-rename-cell): Set new name also in reference list of
4094 cells of which the renamed cell depends.
4095
bbf0e7d9
MY
40962012-07-20 Masatake YAMATO <yamato@redhat.com>
4097
4098 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4099 to check whether menu-bar is shown or not. If not shown,
4100 show the menu-bar as a popup menu instead of using tmm.
4101 * mouse.el (popup-menu): Accept `point' as `position' argument.
4102
c28662a8
DG
41032012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4104
4105 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4106 up inside string symbol literal (bug#11923).
4107
87ab808f
EZ
41082012-07-20 Eli Zaretskii <eliz@gnu.org>
4109
4110 * startup.el (fancy-startup-text): Read the whole tutorial, not
4111 just its first 256 bytes. Prevents gibberish in display of the
4112 tutorial title.
4113
89dea803
DA
41142012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4115
4116 Drop idle buffer compaction due to an absence of the
4117 proved efficiency.
4118 * compact.el: Remove.
4119
8a4e6db8
SS
41202012-07-19 Sam Steingold <sds@gnu.org>
4121
4122 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4123 vc-bzr-pull & vc-bzr-merge-branch.
4124 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4125 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4126 for consistency with compilation-error-regexp-alist.
4127 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4128 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4129 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4130 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4131
5db81e33
SM
41322012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4133
4134 * emacs-lisp/chart.el: Use lexical-binding.
4135 (chart-emacs-storage): Don't hardcode the list of entries.
4136
5b835e1d
DA
41372012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4138
4139 Next round of tweaks caused by Fgarbage_collect changes.
4140 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4141
9cd47b72
DA
41422012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4143
4144 Compact buffers when idle.
4145 * compact.el: New file.
4146
1d6fc0df
SM
41472012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * subr.el (eventp): Presume that if it looks vaguely like an event,
4150 it's an event (bug#10190).
4151
1d29cc7d
FEG
41522012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4153
4154 Enhancements to ppss related code (thanks Stefan).
4155 * progmodes/python.el (python-indent-context)
4156 (python-indent-calculate-indentation, python-indent-dedent-line)
4157 (python-indent-electric-colon, python-nav-forward-block)
4158 (python-mode-abbrev-table)
1d6fc0df 4159 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4160 for ppss context.
4161 (python-info-continuation-line-p): Cleanup.
4162 (python-info-ppss-context): Do not catch 'quote.
4163 (python-info-ppss-context-type)
4164 (python-info-ppss-comment-or-string-p): Simplify.
4165
d583cbe6
FEG
41662012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4167
4168 * progmodes/python.el: Enhancements to eldoc support.
4169 (python-info-current-symbol): New function.
4170 (python-eldoc-at-point): Use python-info-current-symbol.
4171 (python-info-current-defun): Fix cornercase on first defun scan.
4172 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4173 and signal error when no inferior python process is available.
4174
eceb6feb
DG
41752012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4176
4177 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4178 assume it's always t.
4179 (vc-git-registered): Remove caching, the function is only called
4180 once.
4181 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4182
4c8ff0fe
CY
41832012-07-18 Chong Yidong <cyd@gnu.org>
4184
19fb7186
CY
4185 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4186
9587c688
CY
4187 * simple.el (count-words): Report on narrowing (Bug#9959).
4188
0fe776a1
CY
4189 * bindings.el: Bind M-= to count-words.
4190
4c8ff0fe
CY
4191 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4192
7f5331cc
MY
41932012-07-18 Masatake YAMATO <yamato@redhat.com>
4194
4195 * progmodes/sh-script.el (sh-imenu-generic-expression):
4196 Capture a function with `function' keyword and without parentheses
4197 like "function FOO" (bug#11856).
4198
2dc2a609
TH
41992012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4200
4201 * window.el (split-window-sensibly): Make WINDOW argument
4202 optional.
4203
439f7677
CY
42042012-07-18 Chong Yidong <cyd@gnu.org>
4205
9aeb25a6
CY
4206 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4207
439f7677
CY
4208 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4209 and make C-x 8 RET exit isearch (Bug#11439).
4210
4211 * international/iso-transl.el: Move isearch-mode-map key
4212 definitions to isearch.el.
4213
12999ea8
SM
42142012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4217 (eieio-defclass): Use gv-define-setter when possible.
4218
3ab6e069
DA
42192012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4220
4221 Reflect recent changes in Fgarbage_collect.
4222 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4223 reflect new format of data returned by Fgarbage_collect.
4224
0a60bc10
FEG
42252012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4226
4227 New utility functions + python-info-ppss-context fix (Bug#11910).
4228 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4229 (python-info-ppss-comment-or-string-p): New functions.
4230 (python-info-ppss-context): Small fix for string check.
4231
6dafa0d5
JL
42322012-07-17 Juri Linkov <juri@jurta.org>
4233
4234 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4235 (dired-do-async-shell-command): Don't add `*' at the end of the
4236 command (Bug#11815).
4237 (dired-do-shell-command): Doc fix.
4238 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4239 Join the individual commands using either "&" or ";" as the
4240 separator depending on the values of these trailing characters.
4241 At the end re-add the trailing "&". (Bug#10598)
4242
4243 * simple.el (async-shell-command): Sync the interactive spec with
4244 `shell-command'. Doc fix.
4245 (shell-command): Doc fix.
4246
b19dd9d1
JL
42472012-07-17 Juri Linkov <juri@jurta.org>
4248
4249 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4250
bcdc27d7 42512012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4252
bcdc27d7 4253 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4254 * progmodes/python.el (python-nav-beginning-of-statement):
4255 Rename from python-nav-statement-start.
bcdc27d7
FEG
4256 (python-nav-end-of-statement): Rename from
4257 python-nav-statement-end.
4258 (python-nav-beginning-of-block): Rename from
4259 python-nav-block-start.
4260 (python-nav-end-of-block): Rename from python-nav-block-end.
4261
191da00e
FEG
42622012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4263
7f5331cc
MY
4264 * progmodes/python.el (python-shell-send-string-no-output):
4265 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4266 future interactions (Bug#11868).
4267
4dc7c8d5 42682012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4269
88ecaf8f
SM
4270 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4271
ef501ef0
SM
4272 * emacs-lisp/elint.el (elint-find-args-in-code):
4273 Use help-function-arglist, so as to handle lexical byte-code.
4274
aa7aaf8f
SM
4275 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4276 change (bug#11826).
4277
45fd731c
SM
42782012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4279
2143fa32
SM
4280 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4281 Avoid spuriously marking the buffer as modified because of c-is-sws.
4282
efc26dbe
SM
4283 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4284 as not-a-comment (bug#11946).
4285
f5695c9a
SM
4286 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4287 for uninterned vars.
4288
4289 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4290 Use read-event since we don't really want to read chars but bytes.
4291
45fd731c
SM
4292 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4293 $$..$$ but also $..$ using regexps (bug#11953).
4294 Use tex-verbatim for \url and \path.
4295 (tex-font-lock-keywords): Define as defconst like the others.
4296 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4297
ddfc8813
RK
42982012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4299
4300 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4301 alias for insert-char.
4302
758e556a
FEG
43032012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4304
4305 * progmodes/python.el: Simplified imenu implementation.
4306 (python-nav-jump-to-defun): Remove command.
4307 (python-mode-map): Use `imenu' instead.
4308 (python-nav-list-defun-positions-cache)
4309 (python-imenu-include-defun-type, python-imenu-make-tree)
4310 (python-imenu-subtree-root-label, python-imenu-index-alist):
4311 Remove vars.
4312 (python-nav-list-defun-positions, python-nav-read-defun)
4313 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4314 (python-imenu-make-tree, python-imenu-create-index):
4315 Remove functions.
758e556a
FEG
4316 (python-mode): Update to interact with imenu by setting
4317 `imenu-extract-index-name-function' only.
4318
032d23ab
FEG
43192012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4320
4321 * progmodes/python.el: Enhancements to navigation commands.
4322 (python-nav-backward-sentence)
4323 (python-nav-forward-sentence): Remove.
4324 (python-nav-backward-statement, python-nav-forward-statement)
4325 (python-nav-statement-start, python-nav-statement-end)
4326 (python-nav-backward-block, python-nav-forward-block)
4327 (python-nav-block-start, python-nav-block-end)
4328 (python-nav-forward-sexp-function)
4329 (python-info-current-line-comment-p)
4330 (python-info-current-line-empty-p): New functions.
4331 (python-indent-context): Use `python-nav-statement-start'.
4332
01795a1b
MA
43332012-07-16 Michael Albinus <michael.albinus@gmx.de>
4334
9328d9aa
MA
4335 * eshell/em-ls.el (eshell/ls): Use `apply'.
4336
4337 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4338 multi-hops, instead of Tramp internals.
4339
01795a1b
MA
4340 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4341
4342 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4343 when F1 and F2 are located on different hosts.
4344
63408057
CY
43452012-07-14 Chong Yidong <cyd@gnu.org>
4346
4347 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4348 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4349 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4350 (xterm-mouse--read-event-sequence-1000)
4351 (xterm-mouse--read-event-sequence-1006): New functions. For old
4352 mouse protocol, handle M-mouse-X events correctly.
4353 (xterm-mouse-event): New arg specifying mouse protocol.
4354 (turn-on-xterm-mouse-tracking-on-terminal)
4355 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4356 sequence to toggle extended coordinates on newer XTerms.
4357 This appears to be harmless on terminals which do not support this.
63408057 4358
cd276f6e
LL
43592012-07-14 Leo Liu <sdl.web@gmail.com>
4360
28ca98ac
LL
4361 Add fringe bitmap indicators for flymake. (Bug#11253)
4362 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4363 (flymake-make-overlay): New arg BITMAP.
4364 (flymake-error-bitmap, flymake-warning-bitmap)
4365 (flymake-fringe-indicator-position): New user variables.
4366
cd276f6e
LL
4367 * fringe.el: New bitmap exclamation-mark.
4368
04408072
JD
43692012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4370
4371 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4372 also (Bug#7879).
4373
b5cf7fc4
CY
43742012-07-14 Chong Yidong <cyd@gnu.org>
4375
4376 * electric.el (electric-pair-post-self-insert-function): Fix pair
4377 insertion in empty-region case (Bug#11520).
4378
be755c79
RT
43792012-07-14 Chong Yidong <cyd@gnu.org>
4380
45fd731c
SM
4381 * bindings.el: Consolidate ctl-x-r-map bindings.
4382 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4383
4384 * rect.el, register.el: Move bindings to bindings.el.
4385
43862012-07-14 Reuben Thomas <rrt@sc3d.org>
4387
4388 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4389
7f5b3198
AS
43902012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4391
4392 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4393
97662200
JB
43942012-07-13 Juanma Barranquero <lekktu@gmail.com>
4395
80185fed
JB
4396 * bindings.el (top): Use `mapc' instead of `mapcar'.
4397
97662200
JB
4398 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4399
2bb1ae55
MA
44002012-07-13 Michael Albinus <michael.albinus@gmx.de>
4401
4402 * progmodes/sql.el (sql-comint): Suppress the check for program on
4403 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4404 (Bug#11908)
4405
dea31bd3
CY
44062012-07-13 Chong Yidong <cyd@gnu.org>
4407
4408 * bindings.el: Assign a non-nil permanent-local property to
4409 per-buffer variables which lack a default value (Bug#11930).
4410
4411 * help-fns.el (describe-variable): In the "automatically becomes
4412 local" notice, take note of permanent-local variables.
4413
b68b3337
CY
44142012-07-13 Chong Yidong <cyd@gnu.org>
4415
4416 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4417 to allow printing the message when called from Lisp.
4418
4419 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4420 Remove toggle-read-only.
4421
4422 * bs.el (bs-toggle-readonly):
45fd731c
SM
4423 * buff-menu.el (Buffer-menu-toggle-read-only):
4424 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4425
4426 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4427 Remove with-no-warnings around toggle-read-only.
4428 (ffap-read-only, ffap-read-only-other-window)
4429 (ffap-read-only-other-frame): Callers changed.
4430
4431 * help-mode.el: Don't require view package.
4432 (help-mode-finish): Set buffer-read-only instead of calling
4433 toggle-read-only.
4434
4435 * bindings.el (mode-line-toggle-read-only):
4436 * dired.el (dired-toggle-read-only):
4437 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4438 with non-nil second arg.
4439
4440 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4441 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4442 directly.
4443
56bc1586
EZ
44442012-07-12 Eli Zaretskii <eliz@gnu.org>
4445
4446 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4447 not incf.
4448
a464a6c7
SM
44492012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 More CL cleanups and reduction of use of cl.el.
4452 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4453 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4454 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4455 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4456 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4457 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4458 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4459 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4460 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4461 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4462 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4463 * eshell/em-cmpl.el, eshell/em-banner.el:
4464 * calendar/parse-time.el: Use cl-lib.
4465 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4466 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4467 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4468 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4469 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4470 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4471 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4472 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4473 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4474 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4475 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4476 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4477 `lambda' rather than with `quote'.
4478 (eshell-do-opt): Adjust accordingly.
4479 (eshell-process-option): Simplify.
4480 * eshell/esh-var.el:
4481 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4482 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4483 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4484 to `pcase--dontcare'.
4485 * emacs-lisp/cl.el (labels): Mark obsolete.
4486 (cl--letf, letf): Move to cl-lib.
4487 (cl--letf*, letf*): Remove.
4488 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4489 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4490 (cl-progv): Rewrite.
4491 (cl--letf, cl-letf): Move from cl.el.
4492 (cl-letf*): New macro.
4493 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4494
7ad4afe1
MA
44952012-07-11 Michael Albinus <michael.albinus@gmx.de>
4496
4497 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4498
9af57756
CY
44992012-07-11 Chong Yidong <cyd@gnu.org>
4500
4501 * vc/log-edit.el (log-edit-vc-backend): New variable.
4502 (log-edit): Doc fix.
4503
4504 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4505 argument of log-edit to set up all local variables.
4506 (vc-start-logentry): New optional arg specifying VC backend.
4507
4508 * vc/vc.el (vc-checkin): Use it.
4509 (vc-deduce-fileset): Handle Log Edit buffers.
4510 (vc-diff): Make first argument optional too.
4511
4512 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4513
8477cc7a
MA
45142012-07-10 Michael Albinus <michael.albinus@gmx.de>
4515
4516 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4517 command, just in case. The function is not needed anymore.
4518 (eshell-external-command): Do not call `eshell-remote-command'.
4519
19faa8e8
SM
45202012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4521
f58e0fd5
SM
4522 Reduce use of (require 'cl).
4523 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4524 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4525 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4526 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4527 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4528 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4529 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4530 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4531 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4532 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4533 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4534 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4535 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4536 (byte-compile-unfold-bcf, byte-compile-check-variable):
4537 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4538 (byte-compile-nilconstp):
4539 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4540 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4541
2519d43a
SM
4542 * emacs-lisp/gv.el (cond): Make it a valid place.
4543 (if): Simplify slightly.
4544
19faa8e8
SM
4545 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4546 (pcase--self-quoting-p): New function.
4547 (pcase--u1): Use it.
4548
c4907a5e
GM
45492012-07-10 Glenn Morris <rgm@gnu.org>
4550
4551 * emacs-lisp/authors.el (authors-fixed-entries):
4552 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4553
c4444d16
PE
45542012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4555
4556 Rename configure.in to configure.ac (Bug#11603).
4557 * emacs-lisp/authors.el (authors-canonical-file-name):
4558 * progmodes/autoconf.el (autoconf-mode):
4559 Prefer configure.ac to configure.in.
4560
d75be97d
CY
45612012-07-08 Chong Yidong <cyd@gnu.org>
4562
01ac65bd
CY
4563 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4564 Implement the mouse-1-click-follows-link handling properly.
4565
4566 * info.el (Info-link-keymap): Use follow-link mechanism for
4567 header-line links (Bug#374).
4568
d75be97d
CY
4569 * simple.el (deactivate-mark): Do not set the primary selection
4570 if another program has acquired it (Bug#11772).
4571
87a92845 45722012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4573
4574 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4575 (woman-decode-region): Replace escaped-escapes without destroying
4576 bold or underline (Bug#11552).
87a92845 4577 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4578
621b9d6c
CY
45792012-07-07 Chong Yidong <cyd@gnu.org>
4580
4581 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4582 (interprogram-cut-function, interprogram-paste-function):
4583 Mention that we typically mean the clipboard.
621b9d6c 4584
133a11fc
GM
45852012-07-06 Glenn Morris <rgm@gnu.org>
4586
0d27a45e
GM
4587 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4588
133a11fc
GM
4589 * files.el (toggle-read-only): Restrict message to interactive use.
4590
07b151f1
MA
45912012-07-06 Michael Albinus <michael.albinus@gmx.de>
4592
4593 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4594
4595 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4596
211b896b
GM
45972012-07-06 Glenn Morris <rgm@gnu.org>
4598
50394322
GM
4599 * Makefile.in (compile-one-process): Rename from "recompile".
4600
211b896b
GM
4601 * Makefile.in (bzr-update): "compile" is the same as "recompile
4602 autoloads", but parallelizable, so use that instead.
4603
4737eec9
DG
46042012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4605
4606 * window.el (quit-window): Always restore window height when
8137e7b3 4607 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4608
226c3633 46092012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4610
4611 * simple.el (kill-whole-line): Doc tweak.
4612
226c3633 46132012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4614
4615 * files.el (file-relative-name): Compare file names
4616 case-insensitively if on MS-Windows or MS-DOS, or if
4617 read-file-name-completion-ignore-case is non-nil. Don't use
4618 case-fold-search for this purpose. (Bug#11827)
4619
4dc7c8d5
SM
46202012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4621
4622 * calendar/cal-dst.el (calendar-current-time-zone):
4623 Return calendar-current-time-zone-cache if non-nil.
4624
46252012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 46262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4627
19faa8e8
SM
4628 * calendar/cal-dst.el (calendar-current-time-zone):
4629 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4630
60198fc9
GM
46312012-07-06 Glenn Morris <rgm@gnu.org>
4632
4633 * Makefile.in (cvs-update): Remove old alias.
4634
957b3189
MA
46352012-07-05 Michael Albinus <michael.albinus@gmx.de>
4636
4637 Sync with Tramp 2.2.6-pre.
4638
4639 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4640 compatible declaration.
4641
19faa8e8
SM
4642 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4643 Protect `list-load-path-shadows' call.
957b3189
MA
4644
4645 * net/tramp-compat.el (top): Require packages, which aren't
4646 autoloaded anymore for XEmacs. Protect call of
4647 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4648 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4649 it hurts at least for SXEmacs.
4650 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4651 standard-value for `temporary-file-directory'.
4652
4653 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4654 Redirect stderr to /dev/null.
4655 (tramp-sh-handle-write-region): uid and gid can be floats.
4656 Reported by Russell Sim <russell.sim@gmail.com>.
4657 (tramp-sh-handle-vc-registered): Hide errors.
4658 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4659 and `start-file-process'.
4660 (tramp-maybe-open-connection): Check also whether `non-essential'
4661 is bound.
4662
566df3fc
CY
46632012-07-04 Chong Yidong <cyd@gnu.org>
4664
4665 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4666 (xml-parse-tag): Likewise, and avoid changing entity tables.
4667 (xml-syntax-table): Define from scratch, making sure not to give
4668 x2000 and other Unicode spaces whitespace syntax, since those are
4669 not spaces in XML.
4670 (xml-parse-fragment): Delete unused function.
4671 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4672 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4673 (xml-entity-ref, xml-pe-reference-re)
4674 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4675 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4676 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4677 (xml-entity-value-re): Use syntax references in regexps where
4678 possible; no need to define inside a let-binding.
4679 (xml-parse-dtd): Use xml-pe-reference-re.
4680 (xml-entity-or-char-ref-re): New defconst.
4681 (xml-parse-string, xml-substitute-special): Use it.
4682
30eabd7a
SM
46832012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4684
0781098a
SM
4685 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4686 (find-file--read-only): New function.
4687 (find-file-read-only, find-file-read-only-other-window)
4688 (find-file-read-only-other-frame): Use it.
4689 (insert-file-contents-literally): Don't `fset'.
4690 (get-free-disk-space): Use locate-dominating-file.
4691
b5771c0d
SM
4692 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4693 function is already compiled.
4694
30eabd7a
SM
4695 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4696
b4886f6e
MA
46972012-07-03 Michael Albinus <michael.albinus@gmx.de>
4698
4699 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4700 files on the same host.
4701
b9d82339
AS
47022012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4703
4704 * help-fns.el (describe-function-1): Only call
4705 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4706
a76e6535
CY
47072012-07-03 Chong Yidong <cyd@gnu.org>
4708
4709 * xml.el: Protect parser against XML bombs.
4710 (xml-entity-expansion-limit): New variable.
4711 (xml-parse-string, xml-substitute-special): Use it.
4712 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4713
b544fef2
GM
47142012-07-03 Glenn Morris <rgm@gnu.org>
4715
4716 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4717 Allow linking to specific messages in debbugs reports (eg 123#5).
4718
a7aef6f5
CY
47192012-07-02 Chong Yidong <cyd@gnu.org>
4720
4721 * xml.el: Fix entity and character reference expansion, allowing
4722 them to expand into markup as per XML spec.
4723 (xml-default-ns): New variable.
4724 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4725 (xml-parse-region): Make first two arguments optional.
4726 Discard text properties.
4727 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4728 All callers changed.
a7aef6f5
CY
4729 (xml-parse-tag): Call xml-parse-tag-1. For backward
4730 compatibility, this function should not modify buffer contents.
4731 (xml-parse-tag-1): Fix opening-tag regexp.
4732 (xml-parse-string): Rewrite, handling entity and character
4733 references properly.
4734 (xml--entity-replacement-text): Signal an error if a parameter
4735 entity is undefined.
4736
3df31c9f
SM
47372012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4738
2b5208f1
SM
4739 * comint.el (comint-output-filter): Filter out repeated prompts.
4740
3df31c9f
SM
4741 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4742 and file-name-absolute-p.
4743 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4744 internal calls.
4745
e3ac1281
PE
47462012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4747
4748 Spelling fixes.
4749 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4750 Rename from byte-compile--refiy-function. All uses changed.
4751
fbf2e7ad
CY
47522012-07-01 Chong Yidong <cyd@gnu.org>
4753
4754 * xml.el (xml--parse-buffer): New function. Move most of
4755 xml-parse-region here.
4756 (xml-parse-region): Copy region into a temporary buffer, since
4757 parameter entity substitution requires changing buffer contents.
4758 Use xml--parse-buffer.
4759 (xml-parse-file): Use xml--parse-buffer.
4760 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4761 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4762
9bf0aa15
GM
47632012-06-30 Glenn Morris <rgm@gnu.org>
4764
bbce2853
GM
4765 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4766
9bf0aa15
GM
4767 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4768 Remove outdated and unnecessary dbus declarations.
4769
0d23c240
EZ
47702012-06-30 Eli Zaretskii <eliz@gnu.org>
4771
4772 * emacs-lisp/timer.el (timer-until): Subtract results of
4773 float-time, instead of taking float-time of the result of
4774 time-subtract, since float-time signals an error for negative time
4775 arguments.
4776
b3218de1
CY
47772012-06-30 Chong Yidong <cyd@gnu.org>
4778
4779 * xml.el (xml-*-re): Convert defvars into defconsts, and
4780 eval-and-compile them so eval-and-compile works on derivatives.
4781 (xml--entity-replacement-text): Use eval-and-comple.
4782
a40c87a0
MA
47832012-06-30 Michael Albinus <michael.albinus@gmx.de>
4784
4785 * vc/vc-git.el (vc-git-registered): Use cache property
4786 `git-registered'.
4787 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4788 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4789 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4790
ac87de97
DG
47912012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4792
4793 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4794 removed (likely outside Emacs). (Bug#11757)
ac87de97 4795
ac10fe06
SM
47962012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4797
3df31c9f 4798 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4799
7f3fbd5d
CY
48002012-06-30 Chong Yidong <cyd@gnu.org>
4801
4802 * xml.el: Implement XML parameter entities.
4803 (xml-parameter-entity-alist): New variable.
4804 (xml-parse-region, xml-parse-fragment): Preserve previous values
4805 of xml-entity-alist and xml-parameter-entity-alist, so that
4806 repeated calls on different documents do not change them.
4807 (xml-parse-tag): Fix doctype regexp.
4808 (xml--entity-replacement-text): New function.
4809 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4810 properly requires url retrieval which is unimplemented.
4811 (xml-escape-string): Doc fix.
4812
3cfbebba
SM
48132012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4816
2af3565e
DA
48172012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4818
4819 * fringe.el (fringe-mode): Doc fix.
4820
929df0e7
MA
48212012-06-29 Michael Albinus <michael.albinus@gmx.de>
4822
4823 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4824 is non-nil.
4825 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4826 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4827
c8d3a25c 48282012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4829
c8d3a25c
GM
4830 * calendar/cal-dst.el (calendar-current-time-zone):
4831 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4832
c8d3a25c 48332012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4834
4835 * progmodes/which-func.el (which-func-format):
4836 Add mouse-face. (Bug#11698)
4837
c8d3a25c
GM
48382012-06-29 Leo Liu <sdl.web@gmail.com>
4839
4840 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4841
48422012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * minibuffer.el (minibuffer-confirm-exit-commands):
4845 Add completion-at-point (bug#11725).
4846
48472012-06-29 Glenn Morris <rgm@gnu.org>
4848
4849 * progmodes/f90.el (f90-font-lock-keywords-2):
4850 Add some preprocessor elements. (Bug#10499)
4851
48522012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4855 Use syntax-propertize (bug#11739).
4856
2badeec4
JB
48572012-06-28 Juanma Barranquero <lekktu@gmail.com>
4858
4859 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4860
ae4969c2
JD
48612012-06-28 Julien Danjou <julien@danjou.info>
4862
4863 * term.el (term-handle-colors-array): Use a set of new faces to
4864 color the terminal. Also uses :inverse-video property.
4865 (term-default-fg-color): Set to nil by default, deprecate in favor
4866 of `term-face'.
4867 (term-default-bg-color): Set to nil by default, deprecate in favor
4868 of `term-face'.
4869 (term-current-face): Use `term-face' by default.
4870 (term-bold-attribute): Variable deleted.
4871
1c9bd870
GM
48722012-06-28 Glenn Morris <rgm@gnu.org>
4873
4874 * simple.el (completion-list-mode-finish):
4875 Don't use toggle-read-only. (Since completion-list-mode has
4876 a special mode-class, it wasn't doing anything extra anyway.)
4877
c207708c
SM
48782012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 Make inlining of other-mode interpreted functions work (bug#11799).
4881 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4882 (byte-compile): Use it to fix compilation of lexical-binding closures.
4883 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4884 function, if needed.
4885
3fd56834
SM
48862012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4887
04901786
SM
4888 * help-mode.el (help-make-xrefs): Don't just withstand
4889 cyclic-variable-indirection but any error in documentation-property.
4890
1ec4b7b2
SM
4891 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4892 memory use.
4893 * bindings.el (bindings--define-key): New function.
4894 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4895 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4896 * bindings.el: Use it to purecopy define-key bindings.
4897
e309e2a5
SM
4898 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4899
d5c6faf9
SM
4900 * emacs-lisp/cl.el (flet): Mark obsolete.
4901 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4902 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4903 * progmodes/js.el (js-c-fill-paragraph):
4904 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4905 (ebrowse-switch-member-buffer-to-derived-class):
4906 * play/5x5.el (5x5-solver): Use cl-flet.
4907
6e9590e2
SM
4908 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4909 (cl--symbol-function): New macro.
4910 (cl--letf, cl--letf*): Use it.
4911
3fd56834
SM
4912 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4913 Strip "toggle-" if any.
4914
35ff222c
GM
49152012-06-27 Glenn Morris <rgm@gnu.org>
4916
1ba6038a
GM
4917 * info.el (Info-default-directory-list): Move here from paths.el.
4918 * paths.el: Remove file, which is now empty.
4919 * loadup.el: No longer load "paths".
4920
0ea0e51b
GM
4921 * custom.el (custom-initialize-delay): Doc fix.
4922
35ff222c
GM
4923 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4924 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4925 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4926 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4927 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4928 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4929 * eshell/eshell.el (eshell-defgroup): Remove alias.
4930
c89926a5
CY
49312012-06-27 Chong Yidong <cyd@gnu.org>
4932
4933 * help.el (help-enable-auto-load): New variable.
4934
4935 * help-fns.el (help-fns--autoloaded-p): New function.
4936 (describe-function-1): Refer to a function as "autoloaded" if it
4937 was autoloaded at any time in the past. Perform autoloading if
4938 help-enable-auto-load is non-nil.
4939
cc06e7e7
EZ
49402012-06-26 Eli Zaretskii <eliz@gnu.org>
4941
4942 * makefile.w32-in (compile, compile-always): Depend on
4943 update-subdirs, not on subdirs.el. Otherwise, several different
4944 sub-targets of 'bootstrap' running in parallel could
4945 simultaneously write to subdirs.el, producing a garbled file.
4946
d2c32364
SS
49472012-06-26 Sam Steingold <sds@gnu.org>
4948
4949 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4950 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4951 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4952 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4953 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4954 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4955 * textmodes/tex-mode.el: Use it.
4956 Did not touch cedet and org because they are maintained elsewhere.
4957
5cf983b2
MR
49582012-06-26 Martin Rudalics <rudalics@gmx.at>
4959
4960 * calendar/calendar.el (calendar-exit): Don't try to delete or
4961 iconify last frame. See:
4962 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4963
8c4f2952
JD
49642012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4965
4966 * server.el (server-process-filter): Remember dir in the
4967 process's `server-client-directory' properties.
4968
772b2e2c
CY
49692012-06-24 Chong Yidong <cyd@gnu.org>
4970
4971 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4972 non-tag text.
4973
711b11e1
JB
49742012-06-23 Juanma Barranquero <lekktu@gmail.com>
4975
4976 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4977
dc5d230c
SM
49782012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * help-fns.el (describe-variable): Don't croak when doc is not found.
4981 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4982 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4983 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4984 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4985 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4986 ((lambda ..) ..).
4987 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4988
136e1c1d
CY
49892012-06-23 Chong Yidong <cyd@gnu.org>
4990
e8c1cabf
CY
4991 * info.el (Info-mouse-follow-link): Accept symbol values of
4992 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4993 (Info-fontify-node): Use Info-link-keymap for all navigation
4994 buttons, with link-args property to perform the desired action.
4995 (Info-link-keymap): Doc fix.
4996 (Info-next-link-keymap, Info-prev-link-keymap)
4997 (Info-up-link-keymap): Delete now-unused keymaps.
4998
0e9e6c6a
CY
49992012-06-23 Chong Yidong <cyd@gnu.org>
5000
05e89fea
CY
5001 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5002
0e9e6c6a
CY
5003 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5004 system abbrevs.
5005
5006 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5007
e33c6771
SM
50082012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5009
b68581e2
SM
5010 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5011 (bug#11719).
5012
e33c6771
SM
5013 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5014 the requote function doesn't work properly (bug#11714).
5015
7117e105
GM
50162012-06-23 Glenn Morris <rgm@gnu.org>
5017
5018 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5019
36cec983
SM
50202012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 Further GV/CL cleanups.
5023 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5024 gv-expander.
5025 (gv--defun-declaration): New function.
5026 (defun-declarations-alist): Use it.
5027 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5028 (gv-place): Autoload.
5029 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5030 original definition of dotimes and dolist.
5031 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5032 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5033 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5034 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5035 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5036 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5037 to the function's definition.
5038 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5039 * window.el:
5040 * files.el:
5041 * faces.el:
5042 * env.el: Don't use CL.
5043
d35af63c
PE
50442012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5045
5046 Support higher-resolution time stamps (Bug#9000).
5047
5048 * calendar/time-date.el (with-decoded-time-value): New arg
5049 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5050 (encode-time-value): New optional arg PICO. New type 3.
5051 (time-to-seconds) [!float-time]: Support the new picoseconds
5052 component if it's used.
5053 (seconds-to-time, time-subtract, time-add):
5054 Support ps-resolution time stamps as well.
5055
5056 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5057 (timerp): Timer vectors now have length 9, not 8.
5058 (timer--time): Support new-style (4-part) time stamps.
5059 (timer-next-integral-multiple-of-time): Time stamps now have
5060 picosecond resolution, so take a bit more care about rounding.
5061 (timer-relative-time, timer-inc-time): New optional arg psecs.
5062 (timer-set-time-with-usecs): Set psecs to 0.
5063 (timer--activate): Check psecs component, too.
5064
5065 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5066
ac77b21a
SM
50672012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5068
f143bfe3
SM
5069 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5070 Move the non-essential binding to the post/pre-command-hook where it is
5071 more obviously correct.
5072
ac77b21a
SM
5073 * subr.el (read-passwd): Don't use a history at all.
5074 * savehist.el (savehist-save): Remove password saved accidentally
5075 because of the above bug.
5076
76386c5a
BG
50772012-06-22 Bastien Guerry <bzg@gnu.org>
5078
5079 * files.el (toggle-read-only): Display a message telling whether
5080 the buffer is read-only or not (bug#11726).
5081
2ee3d7f0
SM
50822012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 * emacs-lisp/gv.el: New file.
5085 * subr.el (push, pop): Extend to generalized variables.
5086 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5087 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5088 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5089 gv-define-simple-setter, and gv-define-expander.
5090 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5091 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5092 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5093 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5094 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5095 gv-letplace.
5096 (cl-defstruct): Don't define setf-method any more.
5097 * emacs-lisp/cl.el (flet): Don't autoload.
5098 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5099 (define-setf-expander, defsetf, define-modify-macro)
5100 (cl-struct-setf-expander): Move from cl-lib.el.
5101 * emacs-lisp/syntax.el:
5102 * emacs-lisp/ewoc.el:
5103 * emacs-lisp/smie.el:
5104 * emacs-lisp/cconv.el:
5105 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5106 (timer--time): Use gv-define-simple-setter.
5107 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5108 to avoid coding-system problems in subr.el. Adjust all users.
5109 (macroexp--maxsize, macroexp-small-p): New functions.
5110 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5111 * scroll-bar.el (scroll-bar-mode):
5112 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5113 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5114 * winner.el (winner-configuration, winner-make-point-alist)
5115 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5116 * files.el (locate-file-completion-table): Avoid list*.
5117
c5695d1d
CY
51182012-06-22 Chong Yidong <cyd@gnu.org>
5119
5120 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5121 (dired-create-files): Doc fix (Bug#11329).
5122 (dired-do-copy): Doc fix (Bug#11334).
5123 (dired-mark-read-string): Doc fix (Bug#11553).
5124
2ee3d7f0
SM
5125 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5126 Doc fix (Bug#11326).
c5695d1d
CY
5127 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5128 (dired-dwim-target): Doc fix.
5129
5130 * wdired.el (wdired-mode): Doc fix.
5131
89b5595a
GM
51322012-06-22 Glenn Morris <rgm@gnu.org>
5133
575db3f1
GM
5134 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5135 (pcmpl-rpm-cache-stamp-file): New constant.
5136 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5137 (pcmpl-rpm-packages): Optionally cache list of packages.
5138
a4c8dd51
GM
5139 * pcmpl-rpm.el (pcmpl-rpm): New group.
5140 (pcmpl-rpm-query-options): New option.
5141 (pcmpl-rpm-packages): No need to inline it.
5142 Use pcmpl-rpm-query-options.
5143
89b5595a
GM
5144 * calendar/calendar.el (calendar-in-read-only-buffer):
5145 Avoid some needless mode changes.
5146
e76f0800
CY
51472012-06-21 Chong Yidong <cyd@gnu.org>
5148
5149 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5150 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5151 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5152
297a8f1d
CY
51532012-06-20 Chong Yidong <cyd@gnu.org>
5154
5155 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5156
d34c18b1
DR
51572012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5158
5159 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5160 (bug#11201).
5161
32f7f28e
CY
51622012-06-20 Chong Yidong <cyd@gnu.org>
5163
5164 * term.el (term-window-width): Handle the case of a missing right
5165 fringe (Bug#8837).
5166 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5167 (term-mode): Use define-derived-mode. Minor cleanups.
5168 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5169 (term-move-columns, term-insert-char, term-emulate-terminal)
5170 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5171
493c6688
MA
51722012-06-20 Michael Albinus <michael.albinus@gmx.de>
5173
d34c18b1
DR
5174 * net/ange-ftp.el (ange-ftp-get-passwd):
5175 Bind `enable-recursive-minibuffers'.
493c6688
MA
5176 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5177
3f06ecf4
DR
51782012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5179
5180 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5181
68f12411
GM
51822012-06-19 Glenn Morris <rgm@gnu.org>
5183
5184 * progmodes/python.el (python-mode): Derive from prog-mode.
5185
b3820318
KG
51862012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5187
5188 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5189 (edt-user-menu-bar-update-buffers): New functions.
5190 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5191
c6bf3022
CY
51922012-06-19 Chong Yidong <cyd@gnu.org>
5193
5194 * subr.el (with-selected-window): Preserve the selected window's
5195 terminal's top-frame (Bug#4702).
5196
5197 * window.el (save-selected-window): Likewise.
5198
25f09295
SM
51992012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * progmodes/python.el (python-rx-constituents): Move backquote.
5202 (python-skeleton-define, python-define-auxiliary-skeleton):
5203 Use `declare'.
5204
6b11952a
MA
52052012-06-18 Michael Albinus <michael.albinus@gmx.de>
5206
5207 * minibuffer.el (read-file-name-default): Revert the patch from
5208 2012-06-17.
5209
ee4b1330
SM
52102012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5213 (pcase--u1, pcase--q1): Don't use apply-partially.
5214
35647f79
GM
52152012-06-18 Glenn Morris <rgm@gnu.org>
5216
5217 * progmodes/python.el (python-proc, python-buffer)
5218 (python-send-receive, python-send-string): Fix obsolete versions.
5219
24b0cff0
MR
52202012-06-18 Martin Rudalics <rudalics@gmx.at>
5221
5222 * window.el (special-display-p): Completely remove stringp
5223 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5224
29855149
MA
52252012-06-17 Michael Albinus <michael.albinus@gmx.de>
5226
5227 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5228
5229 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5230
5231 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5232 * net/tramp-sh.el (tramp-maybe-open-connection):
5233 Throw if `non-essential' is non-nil.
5234
07463363
MR
52352012-06-17 Martin Rudalics <rudalics@gmx.at>
5236
5237 * window.el (special-display-p): Signal an error if BUFFER-NAME
5238 is not a string (Bug#11713).
5239
48d1354e
PE
52402012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5241
5242 * progmodes/python.el (python-info-beginning-of-backslash):
5243 Rename from python-info-beginning-of-backlash, as a spelling fix.
5244
eb4a8a9a
CY
52452012-06-17 Chong Yidong <cyd@gnu.org>
5246
5247 * term.el (term-emulate-terminal): If term-check-size is called,
5248 move point to the process mark without resetting point (Bug#4635).
5249
ddfbf826 52502012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5251
5252 * international/mule-cmds.el (mule-menu-keymap)
5253 (set-language-environment, set-locale-environment): Doc tweaks.
5254
9b0e3eba
AA
52552012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5256
5257 * cus-face.el (custom-face-attributes): Add wave-style underline
5258 attribute.
5259 * faces.el (set-face-attribute): Update docstring to describe
5260 wave-style underline attribute.
5261
771e3eae
CY
52622012-06-16 Chong Yidong <cyd@gnu.org>
5263
5264 * term/xterm.el (terminal-init-xterm): Discard input before
5265 querying background mode (Bug#10959).
5266
7ae2ea10
SM
52672012-06-16 Stefan Merten <smerten@oekonux.de>
5268
5269 * textmodes/rst.el: Added and corrected some comments.
5270 (rst-re-alist-def): Improve symbol syntax.
5271 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5272 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5273 (rst-official-version, rst-official-cvs-rev): Update version
5274 information.
7ae2ea10 5275
b6974efa
JB
52762012-06-15 Juanma Barranquero <lekktu@gmail.com>
5277
5278 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5279 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5280
8826d473
GM
52812012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5282
5283 * progmodes/python.el: New python.el merge.
5284 (python-guess-indent): Obsolete var.
5285 (python-indent-guess-indent-offset): New defcustom.
5286 (python-indent): Obsolete var.
5287 (python-indent-offset): New defcustom.
5288 (python-python-command, python-jython-command): Delete var.
5289 (python-shell-interpreter): New defcustom.
5290 (python-pdbtrack-do-tracking-p): Delete var.
5291 (python-pdbtrack-activate): New defcustom.
5292 (python-use-skeletons): Obsolete var.
5293 (python-skeleton-autoinsert): New defcustom.
5294 (inferior-python-filter-regexp, python-continuation-offset)
5295 (python-honour-comment-indentation, python-indent-string-contents)
5296 (python-jython-packages, python-mode-hook)
5297 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5298 (python-shell-prompt-alist)
5299 (python-source-modes): Delete defcustoms.
5300 (python-check-buffer-name, python-eldoc-setup-code)
5301 (python-eldoc-string-code, python-ffap-setup-code)
5302 (python-ffap-string-code, python-fill-comment-function)
5303 (python-fill-decorator-function, python-fill-paren-function)
5304 (python-fill-string-function, python-imenu-include-defun-type)
5305 (python-imenu-make-tree, python-imenu-subtree-root-label)
5306 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5307 (python-shell-compilation-regexp-alist)
5308 (python-shell-completion-module-string-code)
5309 (python-shell-completion-pdb-string-code)
5310 (python-shell-completion-setup-code)
5311 (python-shell-completion-string-code)
5312 (python-shell-enable-font-lock, python-shell-exec-path)
5313 (python-shell-extra-pythonpaths)
5314 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5315 (python-shell-process-environment)
5316 (python-shell-prompt-block-regexp)
5317 (python-shell-prompt-output-regexp)
5318 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5319 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5320 (python-shell-virtualenv-path): New defcustoms.
5321 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5322 (inferior-python-mode-syntax-table, python--prompt-regexp)
5323 (python-buffer, python-command python-python-command)
5324 (python-default-template, python-imports, python-indent-index)
5325 (python-indent-list, python-indent-list-length)
5326 (python-mode-running, python-pdbtrack-is-tracking-p)
5327 (python-preoutput-continuation, python-preoutput-leftover)
5328 (python-preoutput-result, python-preoutput-skip-next-prompt)
5329 (python-prev-dir/file, python-recursing)
5330 (python-saved-check-command, python-version-checked)
5331 (python-which-func-length-limit)
5332 (view-return-to-alist): Delete vars.
5333 (python-check-custom-command, python-dotty-syntax-table)
5334 (python-imenu-index-alist, python-indent-current-level)
5335 (python-indent-dedenters, python-indent-levels)
5336 (python-nav-beginning-of-defun-regexp)
5337 (python-nav-list-defun-positions-cache)
5338 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5339 (python-shell-internal-buffer)
5340 (python-skeleton-available): New vars.
5341 (def-python-skeleton): Delete macro.
5342 (python-skeleton-define): New macro.
5343 (python-define-auxiliary-skeleton, python-rx): New macros.
5344 (python-insert-class): Delete command.
5345 (python-skeleton-class): New command.
5346 (python-insert-def): Delete command.
5347 (python-skeleton-def): New command.
5348 (python-insert-for): Delete command.
5349 (python-skeleton-for): New command.
5350 (python-insert-if): Delete command.
5351 (python-skeleton-if): New command.
5352 (python-insert-try/except, python-insert-try/finally): Delete commands.
5353 (python-skeleton-try): New command.
5354 (python-insert-while): Delete command.
5355 (python-skeleton-while): New command.
5356 (python-backspace): Delete command.
5357 (python-indent-dedent-line-backspace): New command.
5358 (python-electric-colon): Delete command.
5359 (python-indent-electric-colon): New command.
5360 (python-guess-indent): Delete command.
5361 (python-indent-guess-indent-offset): New command.
5362 (python-shift-left): Delete command.
5363 (python-indent-shift-left): New command.
5364 (python-shift-right): Delete command.
5365 (python-indent-shift-right): New command.
5366 (python-find-function): Delete command.
5367 (python-nav-jump-to-defun): New command.
5368 (python-next-statement): Delete command.
5369 (python-nav-forward-sentence): New command.
5370 (python-previous-statement): Delete command.
5371 (python-nav-backward-sentence): New command.
5372 (python-fill-paragraph): Delete command.
5373 (python-fill-paragraph-function): New command.
5374 (python-send-buffer): Delete command.
5375 (python-shell-send-buffer): New command.
5376 (python-send-defun): Delete command.
5377 (python-shell-send-defun): New command.
5378 (python-send-region, python-send-region-and-go): Delete commands.
5379 (python-shell-send-region)
5380 (python-shell-switch-to-shell): New commands.
5381 (python-send-string): Delete command.
5382 (python-shell-send-string): New command.
5383 (python-switch-to-python): Delete command.
5384 (python-shell-switch-to-shell): New command.
5385 (python-describe-symbol): Delete command.
5386 (python-eldoc-at-point): New command.
5387 (python--set-prompt-regexp, python-args-to-list)
5388 (python-after-info-look, python-check-version)
5389 (python-check-comint-prompt, python-find-imports)
5390 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5391 (python-unload-function, python-expand-template)
5392 (python-maybe-jython, python-preoutput-filter)
5393 (python-pdbtrack-get-source-buffer)
5394 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5395 (python-pdbtrack-toggle-stack-tracking)
5396 (python-pdbtrack-track-stack-file, python-initial-text)
5397 (python-first-word, python-comment-line-p, python-send-command)
5398 (python-setup-brm, python-sentinel, python-set-proc)
5399 (python-skip-out, python-input-filter, python-outdent-p)
5400 (python-outline-level, python-backslash-continuation-line-p)
5401 (python-end-of-block, python-end-of-statement, python-mark-block)
5402 (python-beginning-of-block, python-beginning-of-statement)
5403 (python-blank-line-p, python-beginning-of-string)
5404 (python-open-block-statement-p): Delete functions.
5405 (python-indent-line, python-indent-line-1): Delete functions.
5406 (python-indent-line): New function.
5407 (python-indentation-levels): Delete function.
5408 (python-indent-calculate-levels): New function.
5409 (python-proc): Delete function.
5410 (python-shell-get-process): New function.
5411 (python-send-receive): Delete function.
5412 (python-shell-send-string-no-output): New function.
5413 (python-module-path): Delete function.
5414 (python-ffap-module-path): New function.
5415 (python-completion-at-point)
5416 (python-symbol-completions): Delete functions.
5417 (python-completion-complete-at-point): New function.
5418 (python-load-file): Delete function.
5419 (python-shell-send-file): New function.
5420 (python-calculate-indentation): Delete function.
5421 (python-indent-calculate-indentation): New function.
5422 (python-skip-comments/blanks): Delete function.
5423 (python-util-forward-comment): New function.
5424 (python-continuation-line-p): Delete function.
5425 (python-info-continuation-line-p): New function.
5426 (python-which-func, python-current-defun): Delete function.
5427 (python-info-current-defun): New function.
5428 (python-beginning-of-defun): Delete function.
5429 (python-nav-beginning-of-defun): New function.
5430 (python-close-block-statement-p)
5431 (python-block-end-p): Delete function.
5432 (python-info-closing-block): New function.
5433 (python-comint-output-filter-function)
5434 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5435 (python-fill-comment, python-fill-decorator, python-fill-paren)
5436 (python-fill-string, python-imenu-make-element-tree)
5437 (python-imenu-make-tree, python-imenu-tree-assoc)
5438 (python-indent-context, python-indent-dedent-line)
5439 (python-indent-line-function)
5440 (python-indent-post-self-insert-function)
5441 (python-indent-toggle-levels)
5442 (python-info-assignment-continuation-line-p)
5443 (python-info-beginning-of-backlash)
5444 (python-info-block-continuation-line-p)
5445 (python-info-closing-block-message)
5446 (python-info-line-ends-backslash-p)
5447 (python-info-looking-at-beginning-of-defun)
5448 (python-info-ppss-context, python-info-ppss-context-type)
5449 (python-nav-list-defun-positions, python-nav-read-defun)
5450 (python-nav-sentence-end, python-nav-sentence-start)
5451 (python-pdbtrack-comint-output-filter-function)
5452 (python-pdbtrack-set-tracked-buffer)
5453 (python-shell-calculate-exec-path)
5454 (python-shell-calculate-process-environment)
5455 (python-shell-completion--do-completion-at-point)
5456 (python-shell-completion--get-completions)
5457 (python-shell-completion-complete-at-point)
5458 (python-shell-completion-complete-or-indent)
5459 (python-shell-get-or-create-process)
5460 (python-shell-get-process-name)
5461 (python-shell-internal-get-or-create-process)
5462 (python-shell-internal-get-process-name)
5463 (python-shell-internal-send-string, python-shell-make-comint)
5464 (python-shell-parse-command, python-shell-send-setup-code)
5465 (python-skeleton-add-menu-items)
5466 (python-util-clone-local-variables, python-util-position)
5467 (run-python-internal, python-indentation-levels)
5468 (python-nav-beginning-of-defun)
5469 (python-completion-complete-at-point): New functions.
5470 (run-python): Change arguments. New API requirements.
5471
4302f5ba
SM
54722012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5473
f38ea36d
SM
5474 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5475 (bug#11649).
5476
5477 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5478 (macroexp--expand-all): Use it.
5479
4302f5ba
SM
5480 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5481 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5482 Use `cl-function' instead.
5483
33377562
JB
54842012-06-14 Juanma Barranquero <lekktu@gmail.com>
5485
5486 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5487 Suggested by Stefan Monnier while discussing bug#11657.
5488
54c5ba1a
SS
54892012-06-14 Sam Steingold <sds@gnu.org>
5490
5491 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5492
f9f1b1fe
AS
54932012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5494
5495 * play/doctor.el (doctor-doc): Remove parameter and use
5496 doctor-sent instead of sent.
5497 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5498
a81068ba
SM
54992012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5a315f9c
SM
5501 * files.el: Require cl-lib.
5502 (file-name-non-special): Replace case -> cl-case.
5503
5504 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5505
a81068ba
SM
5506 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5507 mapping from #' to function*.
5508
8cca9703
CY
55092012-06-13 Chong Yidong <cyd@gnu.org>
5510
5511 * mouse.el (mouse-drag-track): Do not set the mark if the user
5512 releases the mouse without selecting anything (Bug#11588).
5513
a12ac9d7
SM
55142012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5515
ccf1dc18
SM
5516 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5517 as well (bug#11646).
5518
ef62b23d
SM
5519 * loadup.el: Count byte-code functions as well.
5520
c4c8444a
SM
5521 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5522 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5523
a12ac9d7
SM
5524 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5525 (bug#11649). Add cl-defun and cl-defmacro.
5526
87e6e64f
DA
55272012-06-13 Drew Adams <drew.adams@oracle.com>
5528
5529 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5530 Fix last change.
5531
682cefaf
MA
55322012-06-13 Michael Albinus <michael.albinus@gmx.de>
5533
5534 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5535 Otherwise, it blocks in batch mode.
5536
773e1f08
JB
55372012-06-13 Juanma Barranquero <lekktu@gmail.com>
5538
5539 * help-mode.el (bookmark-make-record-default): Declare.
5540
60057926
CY
55412012-06-13 Chong Yidong <cyd@gnu.org>
5542
5543 * emacs-lisp/package.el (list-packages): Compute a list of
5544 packages that are newly-available since the last list-packages
5545 invocation.
5546 (package-menu--new-package-list): New var.
5547 (package-menu--generate, package-menu--print-info)
5548 (package-menu--status-predicate, package-menu-mark-install):
5549 Handle new status label "new".
5550
ad4d226c
SM
55512012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5554 conversion to backquotes.
5555
f1a4e679
CY
55562012-06-12 Chong Yidong <cyd@gnu.org>
5557
5558 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5559 Rename from gud-inhibit-global-bindings.
5560
5561 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5562
5563 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5564 hook from nxml-glyph-set-hook.
5565
5566 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5567 declaration.
5568
5569 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5570
5571 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5572 Convert to defcustom.
5573
0c9e42b5
DA
55742012-06-12 Drew Adams <drew.adams@oracle.com>
5575
5576 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5577 New functions.
5578 (help-mode): Use them.
5579
09e06855
GM
55802012-06-11 Glenn Morris <rgm@gnu.org>
5581
5582 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5583 Use preprocessor face for directives.
5584 (fortran-directive-re): Doc fix.
5585
71adb94b
SM
55862012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5587
2eb87922
SM
5588 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5589 conversion to backquotes (bug#11652).
5590
71adb94b
SM
5591 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5592 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5593 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5594 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5595 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5596 (cl-ninth, cl-tenth): Mark them as inlinable.
5597 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5598 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5599 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5600 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5601 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5602 (cl-list*, cl-adjoin): Don't put an autoload manually.
5603 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5604 (cl--compiler-macro-list*): Add autoload cookie.
5605 (cl--compiler-macro-cXXr): New function.
2eb87922 5606
71adb94b
SM
5607 * help-fns.el (help-fns--compiler-macro): New function extracted from
5608 describe-function-1; follow aliases and use `compiler-macro' property.
5609 (describe-function-1): Use it.
5610
a6674402
CY
56112012-06-11 Chong Yidong <cyd@gnu.org>
5612
5613 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5614 is uninstalled, if imagemagick is installed.
5615
bb3faf5b
SM
56162012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5617
5618 * emacs-lisp/cl-lib.el: Use lexical-binding.
5619 (cl-map-extents, cl-maclisp-member): Remove.
5620 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5621 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5622 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5623 * emacs-lisp/cl-extra.el: Use lexical-binding.
5624 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5625 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5626 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5627 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5628 * emacs-lisp/cl-seq.el: Use lexical-binding.
5629 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5630 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5631 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5632 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5633 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5634 CL's internals.
5635
2fe4b125
MA
56362012-06-11 Michael Albinus <michael.albinus@gmx.de>
5637
5638 Sync with Tramp 2.2.6-pre.
5639
5640 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5641 `print-length' and `print-level' to nil, in order to avoid
5642 truncation. Reported by Christopher Schmidt
5643 <christopher@ristopher.com>.
5644
5645 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5646
5647 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5648 New defmacro.
5649 (tramp-compat-copy-directory): Add optional argument
5650 COPY-CONTENTS. It is not handled yet.
5651
5652 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5653 (tramp-ftp-file-name-p): Simplify.
5654
5655 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5656 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5657 connection vector.
5658
5659 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5660 (tramp-methods): Do not use `tramp-password-end-of-line'.
5661 (tramp-completion-function-alist-putty): Handle UNIX case.
5662 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5663 (tramp-do-file-attributes-with-stat)
5664 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5665 gid as real numbers. They could run out of integer range on cygwin.
5666 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5667 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5668 (tramp-open-connection-setup-interactive-shell):
5669 Use `tramp-cleanup'. Move check for busyboxes ...
5670 (tramp-find-shell): ... here. Simplify implementation.
5671 Set "remote-shell" property also for alternative shells.
5672 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5673 If failing, a regular file would be written otherwise.
5674 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5675 (tramp-find-inline-encoding): Cache the coding commands in the
5676 process cache. Apply test command on the remote side, if defined.
5677 (tramp-find-inline-compress): Cache the compress commands in the
5678 process cache.
5679 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5680 when requested. Handle hops.
5681 (tramp-current-connection): New defvar.
87e6e64f
DA
5682 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5683 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5684 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5685 (tramp-get-inline-compress, tramp-get-inline-coding):
5686 Read connection properties from the process cache.
2fe4b125
MA
5687
5688 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5689 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5690 New defconsts.
2fe4b125
MA
5691 (tramp-smb-prompt): Extend for powershell prompt.
5692 (tramp-smb-file-name-handler-alist): Add handlers for
5693 `process-file', `shell-command' and `start-file-process'.
5694 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5695 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5696 (tramp-smb-file-name-p): Simplify.
5697 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5698 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5699 (tramp-smb-shell-quote-argument): New defuns.
5700 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5701 Implement using "tar". By this, time-stamps are preserved.
5702 (tramp-smb-handle-copy-file): Handle also the case of directories.
5703 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5704 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5705 Use `tramp-get-connection-buffer').
2fe4b125
MA
5706 (tramp-smb-handle-rename-file): Use "rename", when source and
5707 target are on the same share.
87e6e64f
DA
5708 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5709 Use `tramp-smb-server-version'.
2fe4b125
MA
5710 (tramp-smb-wait-for-output): Remove prompt.
5711
5712 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5713 (tramp-methods, tramp-rsh-end-of-line):
5714 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5715 (tramp-save-ad-hoc-proxies): New defcustom.
5716 (tramp-completion-function-alist): Adapt docstring.
5717 (tramp-default-password-end-of-line): Remove defcustom.
5718 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5719 (tramp-user-regexp, tramp-file-name-regexp-unified)
5720 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5721 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5722 (tramp-remote-file-name-spec-regexp): New defconst.
5723 (tramp-file-name-structure): Extend structure for hops.
5724 (tramp-get-method-parameter): Move up.
5725 (tramp-file-name-p, tramp-dissect-file-name)
5726 (with-parsed-tramp-file-name): Handle hops.
5727 (tramp-file-name-hop): New defun.
5728 (tramp-make-tramp-file-name): New optional arg HOP.
5729 (tramp-message-show-progress-reporter-message): New defvar.
5730 (tramp-with-progress-reporter): Use it. We cannot use
5731 `tramp-message-show-message' here, because this suppresses also
5732 error buffers.
5733 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5734 `tramp-message-show-message' is nil.
5735 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5736 (tramp-cleanup): New defun.
5737 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5738 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5739 an error unchanged.
5740 (tramp-completion-handle-file-name-all-completions): Handle hops.
5741 Fix an error when called from ido.
5742 (tramp-completion-dissect-file-name): Use better local variable
5743 name. Add hop to the vector.
5744 (tramp-handle-insert-file-contents): Use progress-reporter for the
5745 whole scenario.
5746 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5747 to `t'.
5748 (tramp-check-for-regexp): Simplify search.
5749 (tramp-enter-password): Remove it. Move implementation ...
5750 (tramp-action-password): ... here.
5751 (tramp-mode-string-to-int, tramp-local-host-p)
5752 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5753 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5754 Set tramp-autoload cookie.
2fe4b125
MA
5755
5756 * net/trampver.el: Update release number.
5757
57582012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5759 Michael Albinus <michael.albinus@gmx.de>
5760
5761 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5762 (tramp-parse-group, tramp-parse-file)
5763 (tramp-parse-shostkeys-sknownhosts): New defuns.
5764 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5765 (tramp-parse-shosts-group, tramp-parse-sconfig)
5766 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5767 (tramp-parse-sknownhosts, tramp-parse-hosts)
5768 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5769 Use them.
5770 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5771 (tramp-parse-putty-group): Don't narrow.
5772 (tramp-parse-putty): Make a loop.
5773 (tramp-file-name-handler): Catch the `suppress' signal.
5774
72834e10
CY
57752012-06-11 Chong Yidong <cyd@gnu.org>
5776
5777 * image.el (imagemagick-register-types): Put the ImageMagick entry
5778 at the end of image-type-file-name-regexps.
5779
a4712e11
JB
57802012-06-11 Johan Bockgård <bojohan@gnu.org>
5781
5782 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5783 (pcase, pcase-let*, pcase-dolist): Use them.
5784
82ad98e3
SM
57852012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * emacs-lisp/pcase.el (pcase--let*): New function.
5788 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5789 (pcase--expand): Use macroexp-let².
5790
f80efb86
SM
57912012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5794 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5795 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5796 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5797 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5798 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5799
31ca4639 58002012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5801
31ca4639
CY
5802 * mail/rmail.el (rmail-yank-current-message): Leave point at
5803 correct position. (Bug#11660)
94f0aa34 5804
31ca4639 58052012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5806
31ca4639 5807 * allout-widgets.el: Fix code header.
9e1b8ec4 5808
31ca4639 58092012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5810
f80efb86
SM
5811 * cus-edit.el (customize-changed-options-previous-release):
5812 Bump to 24.1.
31ca4639 5813
642b6d30
AS
58142012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5815
5816 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5817
4f5d2ba1
CY
58182012-06-09 Chong Yidong <cyd@gnu.org>
5819
5820 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5821
e75852fd
MR
58222012-06-09 Martin Rudalics <rudalics@gmx.at>
5823
5824 * window.el (special-display-popup-frame): Don't use
5825 window--display-buffer (Bug#11651).
5826
1e48e282
EZ
58272012-06-09 Eli Zaretskii <eliz@gnu.org>
5828
8a26b487
EZ
5829 Fix parallel builds: make sure loaddefs.el is not being written
5830 while Lisp files are compiled.
5831 (compile): Don't depend on 'mh-autoloads'.
5832 (compile-CMD, compile-SH): Depend on 'autoloads'.
5833 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5834
1e48e282
EZ
5835 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5836
6175e34b
CY
58372012-06-09 Chong Yidong <cyd@gnu.org>
5838
5839 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5840 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5841 Doc fixes (Bug#11225).
5842
d9857e53
SM
58432012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5846 a function if there's a clear indication that it has a compiler-macro.
5847 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5848 (macro-declarations-alist): Add arglist to declaration functions.
5849 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5850 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5851 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5852 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5853 Also add autoload to find the compiler macro.
5854 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5855 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5856 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5857 (cl--compiler-macro-get): New functions, replacing calls to
5858 cl-define-compiler-macro.
5859 (cl-typep) [compiler-macro]: Use macroexp-let².
5860
f81298f8 58612012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5862
5863 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5864 string properly, fixes Bug#11473.
5865
4b56d0fe
CY
58662012-06-08 Chong Yidong <cyd@gnu.org>
5867
5868 * faces.el (set-face-attribute): Doc fix.
5869 (modify-face): Don't use :bold and :italic.
5870 (error, warning, success): Tweak definitions.
5871
5872 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5873 (custom-modified, custom-set, custom-changed, custom-themed)
5874 (custom-saved, custom-button, custom-button-mouse)
5875 (custom-button-pressed, custom-state, custom-comment-tag)
5876 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5877 (custom-group-subtitle): Use new-style face specs.
5878 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5879 (custom-set-face, custom-changed-face, custom-saved-face)
5880 (custom-button-face, custom-button-pressed-face)
5881 (custom-documentation-face, custom-state-face)
5882 (custom-comment-face, custom-comment-tag-face)
5883 (custom-variable-tag-face, custom-variable-button-face)
5884 (custom-face-tag-face, custom-group-tag-face-1)
5885 (custom-group-tag-face): Remove obsolete face alias.
5886
5887 * epa.el (epa-validity-high, epa-validity-medium)
5888 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5889 (epa-field-name, epa-field-body):
5890 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5891 (font-lock-keyword-face, font-lock-builtin-face)
5892 (font-lock-function-name-face, font-lock-variable-name-face)
5893 (font-lock-type-face, font-lock-constant-face):
5894 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5895 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5896 * speedbar.el (speedbar-button-face, speedbar-file-face)
5897 (speedbar-directory-face, speedbar-tag-face)
5898 (speedbar-selected-face, speedbar-highlight-face)
5899 (speedbar-separator-face):
5900 * whitespace.el (whitespace-newline, whitespace-space)
5901 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5902 (whitespace-line, whitespace-space-before-tab)
5903 (whitespace-space-after-tab, whitespace-indentation)
5904 (whitespace-empty):
5905 * emulation/cua-base.el (cua-global-mark):
5906 * eshell/em-prompt.el (eshell-prompt):
5907 * net/newst-plainview.el (newsticker-new-item-face)
5908 (newsticker-old-item-face, newsticker-immortal-item-face)
5909 (newsticker-obsolete-item-face, newsticker-date-face)
5910 (newsticker-statistics-face, newsticker-default-face):
5911 * net/newst-reader.el (newsticker-feed-face)
5912 (newsticker-extra-face, newsticker-enclosure-face):
5913 * net/newst-treeview.el (newsticker-treeview-face)
5914 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5915 (newsticker-treeview-immortal-face)
5916 (newsticker-treeview-obsolete-face)
5917 (newsticker-treeview-selection-face):
5918 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5919 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5920 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5921 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5922 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5923 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5924 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5925 (mpuz-text):
5926 * progmodes/vera-mode.el (vera-font-lock-number)
5927 (vera-font-lock-function, vera-font-lock-interface):
5928 * textmodes/table.el (table-cell): Use new-style face specs, and
5929 don't use the old :bold and :italic attributes.
5930
5931 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5932 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5933 (ebrowse-member-class, ebrowse-progress): Likewise.
5934 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5935 (ebrowse-file-name-face, ebrowse-default-face)
5936 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5937 (ebrowse-progress-face): Remove obsolete faces.
5938
5939 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5940 Inherit from error and warning faces respectively.
5941
5942 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5943 Likewise.
f80efb86
SM
5944 (flyspell-incorrect-face, flyspell-duplicate-face):
5945 Remove obsolete aliases.
4b56d0fe 5946
03310646
MA
59472012-06-08 Michael Albinus <michael.albinus@gmx.de>
5948
5949 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5950 Avoid infloop.
5951
513749ee
SM
59522012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * startup.el (argv, argi): Make lexically scoped.
5955 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5956 * emacs-lisp/cl-macs.el: Use lexical-binding.
5957 Rename cl-bind-* to cl--bind-*.
5958 * files.el: Don't require `cl' since it doesn't use it.
5959 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5960
595ef4ad
JB
59612012-06-08 Juanma Barranquero <lekktu@gmail.com>
5962
5963 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5964 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5965 instead of calling external sort utility.
5966 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5967
e9f66fcb
EZ
59682012-06-08 Eli Zaretskii <eliz@gnu.org>
5969
5970 * descr-text.el (describe-char): Mention how to insert the
5971 character, if the current input method doesn't support it.
5972 See the discussion in this thread for the details:
5973 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5974
3d10db47
SS
59752012-06-08 Sam Steingold <sds@gnu.org>
5976
5977 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5978 XF86Back to previous-buffer.
5979 (minibuffer-local-map): Bind them to next-history-element and
5980 previous-history-element respectively.
5981 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5982 help-go-back respectively.
5983 * info.el (Info-mode-map): Bind them to Info-history-forward and
5984 Info-history-back respectively.
5985 These are the keys next to Up on the ThinkPad keyboard.
5986
de7e2b36
SM
59872012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5990 * emacs-lisp/cl-macs.el: Provide itself.
5991 (cl--labels-convert-cache): New var.
5992 (cl--labels-convert): New function.
5993 (cl-flet, cl-labels): New implementation with new semantics, relying on
5994 lexical-binding.
5995 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5996 (cl-closure-vars, cl--function-convert-cache)
5997 (cl--function-convert): Move from cl-macs.el.
5998 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5999 rename by removing the "cl-" prefix.
6000 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6001
6fa6c4ae
SM
60022012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6005 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6006 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6007 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6008 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6009 (cl-hash-table-count): Add old compatibility aliases.
6010
6011 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6012 Use macroexpand-all-environment instead.
6013 (cl--old-macroexpand): New var.
6014 (cl--sm-macroexpand): New function.
6015 (cl-symbol-macrolet): Use it during macro expansion.
6016 (cl--function-convert-cache): New var.
6017 (cl--function-convert): New function, extracted from
6018 cl-macroexpand-all.
6019 (cl-lexical-let): Use it.
6020
6021 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6022 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6023 (cl-member): Remove old alias.
6024
6025 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6026 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6027 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6028 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6029 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6030 (cl-macroexpand-cmacs): Remove var.
6031 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6032 Use macroexpand-all instead.
6033
4dd1c416
SM
60342012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6037 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6038 (macroexp-copyable-p): New functions and macros.
6039 * emacs-lisp/edebug.el (edebug-unwrap):
6040 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6041 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6042 (pcase--let*): Remove.
6043 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6044 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6045 macroexp-const-p instead.
6046 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6047
6048 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6049 instead of "cl-" for internal definitions. Use macroexp-const-p.
6050 (cl-old-bc-file-form): Remove var.
6051 (cl-const-exprs-p): Remove fun.
6052 (cl-labels, cl-macrolet): Use backquote.
6053 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6054 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6055 (cl-define-setf-expander): Rename from cl-define-setf-method.
6056 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6057
6058 * international/mule-cmds.el: Don't require CL.
6059 (view-hello-file): Don't use `letf'.
6060
ed8bd4d7
SM
60612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6062
7287f2f3
SM
6063 * tmm.el (tmm-prompt): Use string-prefix-p.
6064 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6065 (tmm-add-prompt): Use minibuffer-completion-help.
6066 (tmm-delete-map): Remove.
6067
ed8bd4d7
SM
6068 * subr.el (kbd): Make it its own function.
6069
7b4cdbf4
SM
60702012-06-07 Stefan Merten <smerten@oekonux.de>
6071
6072 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6073 Silence compiler warnings. Fix versions.
ed8bd4d7 6074 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6075 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6076 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6077 (rst-package-emacs-version-alist): Correct Emacs version to
6078 represent major merge with upstream.
ed8bd4d7 6079 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6080
2b48d721
GM
60812012-06-06 Glenn Morris <rgm@gnu.org>
6082
6083 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6084 Only print environment variables if set.
6085
fa779ab0
SM
60862012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6089 (macroexp--cons): Rename from maybe-cons.
6090 (macroexp--accumulate): Rename from macroexp-accumulate.
6091 (macroexp--all-forms): Rename from macroexpand-all-forms.
6092 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6093 (macroexp--expand-all): Rename from macroexpand-all-1.
6094
628299e0
SS
60952012-06-06 Sam Steingold <sds@gnu.org>
6096
6097 * calendar/calendar.el (calendar-in-read-only-buffer):
6098 Call `special-mode' to enable the standard read-only keybindings.
6099
b7bb5838
SM
61002012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6103 with "loading" messages (bug#11635).
6104
dfb308ba
MA
61052012-06-06 Michael Albinus <michael.albinus@gmx.de>
6106
6107 * files.el (enable-remote-dir-locals): New option.
6108 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6109
0372ee92
MA
6110 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6111 Ensure, that the temp directory is local.
6112
6113 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6114 `temporary-file-directory'.
6115
eed0bb91
MA
6116 * progmodes/python.el (python-send-region): Ensure, that the
6117 temporary file is created also in the remote case.
6118
7a58f64d
GM
61192012-06-06 Glenn Morris <rgm@gnu.org>
6120
f7dd4e98
GM
6121 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6122 (vc-rcs-update-changelog): Use it.
6123
090bd7cb 6124 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6125
7a58f64d
GM
6126 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6127 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6128 (vc-sccs-diff): Replace use of the external vcdiff script.
6129
daed4003
GM
61302012-06-05 Glenn Morris <rgm@gnu.org>
6131
6132 * ledit.el: Move to obsolete/.
6133
48c455c7
SS
61342012-06-05 Sam Steingold <sds@gnu.org>
6135
ed9265fc 6136 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6137 patch (Bug#11140).
6138
57a7d507
SM
61392012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6140
090bd7cb 6141 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6142
53aacf21
SM
6143 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6144 compiler-macro expansion.
6145
57a7d507
SM
6146 Add native compiler-macro support.
6147 * emacs-lisp/macroexp.el (macroexpand-all-1):
6148 Support compiler-macros directly. Properly follow aliases and apply
6149 the compiler macros more thoroughly.
6150 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6151 macroexpand now properly follows aliases.
6152 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6153 (cl-compiler-macroexpand): Use new prop.
6154 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6155
6156 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6157
51a5f9d8
MR
61582012-06-05 Martin Rudalics <rudalics@gmx.at>
6159
6160 * window.el (get-lru-window, get-mru-window, get-largest-window):
6161 New argument NOT-SELECTED to avoid picking the selected window.
6162 (window--display-buffer-1, window--display-buffer-2): Replace by
6163 new function window--display-buffer
6164 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6165 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6166 Use window--display-buffer.
51a5f9d8
MR
6167 (display-buffer-use-some-window): Remove temporary dedication
6168 hack by calling get-lru-window and get-largest-window with
6169 NOT-SELECTED argument non-nil. Call window--display-buffer.
6170
08f9f738
GM
61712012-06-05 Glenn Morris <rgm@gnu.org>
6172
6173 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6174 Replace external vcdiff script.
6175
e364a2b7
SM
61762012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6179
041df390
CY
61802012-06-04 Chong Yidong <cyd@gnu.org>
6181
e364a2b7
SM
6182 * image.el (imagemagick-types-inhibit): Revert last change.
6183 Add INFO and M.
47b36b94 6184 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6185
7c1898a7
SM
61862012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * emacs-lisp/cl-lib.el: Rename from cl.el.
6189 * emacs-lisp/cl.el: New compatibility file.
6190 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6191 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6192 to obey the "cl-" prefix.
6193 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6194
0c3461de
GM
61952012-06-03 Glenn Morris <rgm@gnu.org>
6196
1e266c88
GM
6197 * emacs-lisp/authors.el (authors-aliases): Addition.
6198
0c3461de
GM
6199 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6200 Fix :version.
6201
d8a52e15
SM
62022012-06-03 Stefan Merten <smerten@oekonux.de>
6203
6204 * textmodes/rst.el: Add comments.
6205 (rst-transition, rst-adornment): New faces.
6206 (rst-adornment-faces-alist): Make default safe to reevaluate.
6207 Fixes
6208 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6209 Improve customization tags.
6210 (rst-define-level-faces): Clarify meaning.
6211
5205d6f6
CY
62122012-06-03 Chong Yidong <cyd@gnu.org>
6213
6214 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6215 (compilation-mode-line-run, compilation-mode-line-exit):
6216 New faces.
5205d6f6
CY
6217 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6218
757ee657
JD
62192012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6220
7c1898a7
SM
6221 * progmodes/which-func.el (which-func-update-ediff-windows):
6222 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6223
5f2c76c6
CY
62242012-06-03 Chong Yidong <cyd@gnu.org>
6225
6226 * bindings.el: Remove explicit help text from format-mode-line.
6227 It is now supplied by mode-line-default-help-echo.
6228 (mode-line-front-space, mode-line-end-spaces)
6229 (mode-line-misc-info): New variables.
6230 (mode-line-modes, mode-line-position): Move the default value to
6231 the variable definition.
6232 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6233 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6234 (mode-line-modified-help-echo): New functions.
6235 (mode-line-mule-info, mode-line-modified): Use them.
6236 (mode-line-eol-desc, propertized-buffer-identification):
6237 Consistency fixes for help text.
cbe46e5f
CY
6238 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6239 set-buffer-file-coding-system (Bug#289).
6240 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6241
f2d6a3df
SM
62422012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * simple.el (execute-extended-command): Set real-this-command
6245 (bug#11506).
6246
37269466
CY
62472012-06-02 Chong Yidong <cyd@gnu.org>
6248
6249 Remove incorrect uses of "modeline" in comments, docstrings, and
6250 function/variable names (Bug#10329).
6251
6252 * cus-edit.el (mode-line):
6253 * dframe.el (dframe-mouse-hscroll):
6254 * emacs-lisp/re-builder.el:
6255 * emacs-lisp/easy-mmode.el (define-minor-mode):
6256 * frame.el (set-frame-name):
6257 * help.el (lookup-minor-mode-from-indicator):
6258 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6259 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6260 (c-toggle-hungry-state):
6261 * progmodes/antlr-mode.el (antlr-language-alist):
6262 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6263 * progmodes/vhdl-mode.el (vhdl-mode):
6264 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6265 * term/ns-win.el (ns-face-at-pos):
6266 * term/sup-mouse.el (sup-mouse-report):
6267 * textmodes/flyspell.el (flyspell-mode-line-string):
6268 * textmodes/ispell.el (ispell-highlight-face):
6269 * textmodes/reftex-global.el:
6270 * vc/vc-arch.el (vc-arch-mode-line-string):
6271 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6272 * vc/vc-git.el (vc-git-mode-line-string):
6273 * vc/vc-hooks.el (vc-display-status)
6274 (vc-default-mode-line-string):
6275 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6276
6277 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6278
6279 * dired.el (dired-sort-set-mode-line): Rename from
6280 dired-sort-set-modeline. All callers changed.
6281
6282 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6283 eshell-status-in-modeline.
6284
6285 * foldout.el (foldout-mode-line-string): Rename from
6286 foldout-modeline-string. All callers changed.
6287 (foldout-update-mode-line): Rename from foldout-update-modeline.
6288
6289 * subr.el (redraw-modeline): Make into obsolete alias.
6290
6291 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6292 timeclock-modeline-display. Make old name an alias.
6293 (timeclock-update-mode-line): Likewise. All callers changed.
6294 (timeclock-mode-line-display): No need to check before using
6295 add-hook.
6296 (timeclock-relative, timeclock-day-over-hook)
6297 (timeclock-use-elapsed, timeclock-mode-string)
6298 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6299
6300 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6301 crisp-mode-modeline-string.
6302
6303 * play/solitaire.el (solitaire-build-mode-line): Rename from
6304 solitaire-build-modeline. All callers changed.
6305
6306 * play/zone.el (zone-hiding-mode-line): Rename from
6307 zone-hiding-modeline. All callers changed.
6308 (zone): Remove unusued `modeline-hidden-level' property.
6309
6310 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6311 xscheme-modeline-initialize. All callers changed.
6312
6313 * strokes.el (strokes-lighter): Rename from
6314 strokes-modeline-string.
6315
6316 * textmodes/sgml-mode.el (html-face-tag-alist)
6317 (html-tag-face-alist): Use mode-line face instead of obsolete
6318 alias modeline.
6319
42152ee4
SM
63202012-06-02 Stefan Merten <smerten@oekonux.de>
6321
6322 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6323 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6324
95f520b5
CY
63252012-06-02 Chong Yidong <cyd@gnu.org>
6326
6327 * image.el (imagemagick-enabled-types): Rename from
6328 imagemagick-types-enable. Add many more types.
6329 (imagemagick-types-inhibit): Change default to nil.
6330 (imagemagick-filter-types): Caller changed.
6331
4a5f187a
SM
63322012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6333
03fef3e6
SM
6334 * emacs-lisp/cl-macs.el: Use backquotes.
6335 (cl-transform-function-property): Use eval-and-compile rather than
6336 abusing `require'.
6337 (defstruct): Use declare-function instead of with-no-warnings.
6338
4a5f187a
SM
6339 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6340 (byte-compile-output-docform): Re-add the print-circle bindings.
6341 (byte-compile-fix-header): Use #$ just because it's shorter.
6342 (byte-compile-output-file-form): Remove defun/defmacro.
6343
bd56924f
MR
63442012-06-01 Martin Rudalics <rudalics@gmx.at>
6345
6346 * simple.el (choose-completion): Remove now obsolete binding for
6347 owindow.
6348
046e38ce
MA
63492012-06-01 Michael Albinus <michael.albinus@gmx.de>
6350
6351 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6352 in order to avoid "Stack overflow in regexp matcher".
6353
32d72c2f
GM
63542012-05-31 Glenn Morris <rgm@gnu.org>
6355
6356 * image.el: For clarity, call imagemagick-register-types at
6357 top-level, rather than relying on a custom :initialize.
6358 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6359 (imagemagick-filter-types): New function. (Bug#7406)
6360 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6361 If disabling support, remove elements altogether rather
6362 than using an impossible regexp.
6363 (imagemagick-types-inhibit): Give it the default init function.
6364
dd41169b
SM
63652012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6366
4a5f187a
SM
6367 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6368 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6369
efc00ab1 63702012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6371
6372 * desktop.el (desktop-read): Clear previous and next buffers for
6373 all windows and bury *Messages* buffer (bug#11556).
6374
500fcedc
SM
63752012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 Add `declare' for `defun'. Align `defmacro's with it.
6378 * emacs-lisp/easy-mmode.el (define-minor-mode)
6379 (define-globalized-minor-mode): Don't autoload the var definitions.
6380 * emacs-lisp/byte-run.el: Use lexical-binding.
6381 (defun-declarations-alist, macro-declarations-alist): New vars.
6382 (defmacro, defun): Use them.
6383 (make-obsolete, define-obsolete-function-alias)
6384 (make-obsolete-variable, define-obsolete-variable-alias):
6385 Use `declare'.
6386 (macro-declaration-function): Mark obsolete.
6387 * emacs-lisp/autoload.el: Use lexical-binding.
6388 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6389
6e8a1786
AM
63902012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6391
6392 * textmodes/ispell.el (ispell-with-no-warnings):
6393 Define as a macro.
500fcedc
SM
6394 (ispell-kill-ispell, ispell-change-dictionary):
6395 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6396 `interactive-p'.
6397
61b108cc
SM
63982012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6401 (macro-declaration-function): Move var from C code.
6402 (macro-declaration-function): Define function with defalias.
6403 * emacs-lisp/macroexp.el (macroexpand-all-1):
6404 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6405 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6406 defun/defmacro any more.
6407 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6408 Provide fallback for unknown arglist.
6409 (byte-compile-arglist-warn): Change calling convention.
6410 (byte-compile-output-file-form): Move print-vars binding.
6411 (byte-compile-output-docform): Simplify accordingly.
6412 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6413 (byte-compile-defmacro-declaration): Remove.
6414 (byte-compile-file-form-defmumble): Generalize to defalias.
6415 (byte-compile-output-as-comment): Return byte-positions.
6416 Simplify callers accordingly.
6417 (byte-compile-lambda): Use `assert'.
6418 (byte-compile-defun, byte-compile-defmacro): Remove.
6419 (byte-compile-file-form-defalias):
6420 Use byte-compile-file-form-defmumble.
6421 (byte-compile-defalias-warn): Remove.
6422
6d3f7c2f
SM
64232012-05-29 Stefan Merten <smerten@oekonux.de>
6424
6425 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6426 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6427
6428 (rst-mode-abbrev-table): Merge definition.
6429 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6430 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6431
6dbaa1c7
UJ
64322012-05-29 Ulf Jasper <ulf.jasper@web.de>
6433
6434 * calendar/icalendar.el
6435 (icalendar-export-region): Export UID properly.
6436
d209e2fb 64372012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6438 * calendar/icalendar.el (icalendar-import-format):
6439 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6440 (icalendar-import-format-uid): New.
6441 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6442 Export UID.
6443
6876a58d
SM
64442012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6447 different alternative patterns.
6448 (pcase-codegen): Be more careful to preserve identity.
6449 (pcase--u1): Don't forget to mark vars as used.
6450
6451 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6452 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6453 (byte-compile-from-buffer): ...rather than here.
6454
6455 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6456 functions from byte-compile-function-environment.
6457
46b7967e
TN
64582012-05-29 Troels Nielsen <bn.troels@gmail.com>
6459
6460 * window.el (window-deletable-p): Avoid deleting the root window
6461 of a frame with an active minibuffer.
6462
69d565e2
MR
64632012-05-29 Martin Rudalics <rudalics@gmx.at>
6464
6465 * simple.el (choose-completion): Use quit-window (Bug#11567).
6466
a149fa51
CY
64672012-05-29 Chong Yidong <cyd@gnu.org>
6468
6469 * whitespace.el (whitespace-cleanup): Fix usage of
6470 whitespace-empty-at-bob-regexp (Bug#11492).
6471
2b311310
AH
64722012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6473
6474 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6475 revert (Bug#11488).
6476
b9cb2387
JL
64772012-05-29 Juri Linkov <juri@jurta.org>
6478
6479 * isearch.el (isearch-mode-map): Bind `M-s _' to
6480 `isearch-toggle-symbol'. Bind `M-s c' to
6481 `isearch-toggle-case-fold'.
6482 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6483 (isearch-forward): Add `M-s _' to the docstring.
6484 (isearch-forward-symbol, isearch-toggle-case-fold)
6485 (isearch-symbol-regexp): New functions. (Bug#11381)
6486
d5e61c1c
JL
64872012-05-29 Juri Linkov <juri@jurta.org>
6488
6489 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6490 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6491 a function, call it to get the regexp.
6492 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6493 property `isearch-message-prefix' instead of the string "word ".
6494 (isearch-search-fun-default): For the case of `isearch-word',
6495 return a lambda that calls re-search-forward/re-search-backward
6496 with a regexp returned by `word-search-regexp' or by the function
6497 in `isearch-word'.
6498
8cbd80f7
JL
64992012-05-29 Juri Linkov <juri@jurta.org>
6500
6501 * isearch.el (isearch-search-fun-default): New function.
6502 (isearch-search-fun): Move default part to the new function
6503 `isearch-search-fun-default'.
6504 (isearch-search-fun-function): Set the default value to
6505 `isearch-search-fun-default'. (Bug#11381)
6506
6507 * comint.el (comint-history-isearch-end):
6508 Use `isearch-search-fun-default'.
6509 (comint-history-isearch-search): Use `isearch-search-fun-default'
6510 and remove spacial case for `isearch-word'.
6511 (comint-history-isearch-wrap): Remove spacial case for
6512 `isearch-word'.
6513
6514 * hexl.el (hexl-isearch-search-function):
6515 Use `isearch-search-fun-default'.
6516
6517 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6518 Use `word-search-regexp' for `isearch-word'.
6519
6520 * misearch.el (multi-isearch-search-fun):
6521 Use `isearch-search-fun-default'.
6522
6523 * simple.el (minibuffer-history-isearch-search):
6524 Use `isearch-search-fun-default' and remove spacial case for
6525 `isearch-word'.
6526 (minibuffer-history-isearch-wrap): Remove spacial case for
6527 `isearch-word'.
6528
6529 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6530 Remove spacial case for `isearch-word'.
6531 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6532
85c8c5b6
AM
65332012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6534
6535 Decrease XEmacs incompatibilities.
6536 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6537 Use `string-match'.
6538 (flyspell-delete-region-overlays): Use alternative definition for
6539 XEmacs.
6540 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6541 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6542 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6543 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6544 `define-obsolete-face-alias' under XEmacs, but old method.
6545
6546 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6547 `with-no-warnings' definition or Emacs alias.
6548 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6549 (ispell-word): Do not use `region-p' if XEmacs.
6550
8cab9efc
AM
65512012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6552
6553 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6554 Check for `ispell-dictionary-base-alist' instead of full
6555 `ispell-dictionary-alist'.
6556 (ispell-init-process): Show spellchecker when starting new Ispell
6557 process.
6558
fda91268
RZ
65592012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6562 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6563
694ea8e3
JB
65642012-05-27 Juanma Barranquero <lekktu@gmail.com>
6565
6566 * version.el (motif-version-string, gtk-version-string)
6567 (ns-version-string): Declare.
6568
e4d4f539
JL
65692012-05-27 Juri Linkov <juri@jurta.org>
6570
6571 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6572 after the `eval-defun-1' specialcaseing
6573 like in `edebug-eval-defun' (bug#10181).
6574
6575 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6576 like in `eval-defun-1'.
6577
33017faf 65782012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6579
fda91268
RZ
6580 * mail/sendmail.el (mail-yank-region):
6581 Recognize rmail-yank-current-message in addition to insert-buffer.
6582 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6583 a *mail* buffer created through rmail-start-mail with sendmail as
6584 mail-user-agent.
6585
33017faf
GM
65862012-05-27 Chong Yidong <cyd@gnu.org>
6587
6588 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6589 Default to 256 (Bug#11267).
6590
6591 * help.el (describe-mode): Doc fix.
6592
04188bb9
GM
65932012-05-26 Glenn Morris <rgm@gnu.org>
6594
38264cc9
GM
6595 * w32-fns.el (w32-init-info): Remove.
6596 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6597
eb7afdad
GM
6598 * info.el (info-initialize): For self-contained NS builds, put the
6599 included info/ directory at the front. (Bug#2791)
6600
04188bb9
GM
6601 * paths.el (Info-default-directory-list): Make it a defcustom,
6602 mainly so that we can use custom-initialize-delay.
6603
a179e3f7
SM
66042012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6605
43416392
SM
6606 * subr.el (buffer-has-markers-at): Mark obsolete.
6607
a179e3f7 6608 * subr.el (lambda): Use declare.
43416392 6609
a179e3f7
SM
6610 * emacs-lisp/lisp-mode.el (lambda):
6611 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6612
34a008d9
AH
66132012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6614
6615 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6616
0a3b289f
GM
66172012-05-26 Glenn Morris <rgm@gnu.org>
6618
6619 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6620
758c81e8
GM
66212012-05-25 Glenn Morris <rgm@gnu.org>
6622
f9f334f0
GM
6623 * paths.el: Remove no-byte-compile.
6624 * loadup.el: No need to load paths.el uncompiled.
6625
87eb79c2
GM
6626 * image.el (imagemagick-types-inhibit): Doc fix.
6627
758c81e8
GM
6628 * version.el: Remove no-byte-compile and associated formatting.
6629 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6630 is ancient code from when there was an "inc-vers.el".
6631
e7e85dc0
SM
66322012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * progmodes/gdb-mi.el: Minor style changes.
6635 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6636 Turn into minor modes.
6637 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6638 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6639 (gdb-shell): Remove unneeded let-binding.
6640 (gdb-get-many-fields): Eliminate O(n²) behavior.
6641
f31237a4
EZ
66422012-05-25 Eli Zaretskii <eliz@gnu.org>
6643
6644 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6645 platforms that don't link in fontset.c.
6646
bc1b21bb
JL
66472012-05-25 Juri Linkov <juri@jurta.org>
6648
6649 Use the same diff color scheme as in modern VCSes (bug#10181).
6650
6651 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6652 to avoid confusion with `diff-added' that now uses green colors.
6653 (diff-removed): Use shades of red.
6654 (diff-added): Use shades of green.
6655 (diff-changed): Leave just the yellow color.
6656 (diff-use-changed-face): New variable.
6657 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6658 how to highlight context diff changes.
6659 (diff-refine-change): Use shades of yellow.
6660 (diff-refine-removed): New face that uses shades of red.
6661 (diff-refine-added): New face that uses shades of green.
6662 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6663 `diff-refine-removed' in the call to `smerge-refine-subst'
6664 depending on the value of `diff-use-changed-face'.
6665
6666 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6667 (smerge-other): Use shades of green.
6668 (smerge-base): Use shades of yellow.
6669 (smerge-refined-change): Empty face.
6670 (smerge-refined-removed): New face that uses shades of red.
6671 (smerge-refined-added): New face that uses shades of green.
6672 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6673 args `props-r' and `props-a', and use them. Doc fix.
6674 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6675 on its value use different faces `smerge-refined-change',
6676 `smerge-refined-removed', `smerge-refined-added' in the call to
6677 `smerge-refine-subst'.
6678
6679 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6680 Add face condition `min-colors 88' with shades of red.
6681 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6682 `min-colors 88' with shades of green.
6683 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6684 `min-colors 88' with shades of yellow.
6685
6df9112c
GM
66862012-05-24 Glenn Morris <rgm@gnu.org>
6687
ead5edc0
GM
6688 * paths.el (prune-directory-list, remote-shell-program): Move to...
6689 * files.el (prune-directory-list, remote-shell-program): ...here.
6690 For the latter, delay initialization, prefer ssh, just search PATH.
6691
f18b81e6
GM
6692 * paths.el (term-file-prefix): Move to faces.el (the only user).
6693 * faces.el (term-file-prefix): Move here, make it a defcustom.
6694
ee2f89a6
GM
6695 * paths.el (news-directory, news-path, news-inews-program):
6696 Move to gnus/nnspool.el.
61a583ca 6697
f8815e4c
GM
6698 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6699
c8f3b42c
GM
6700 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6701 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6702 Make the latter a defcustom, with a delayed initialization.
6703
6df9112c
GM
6704 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6705 These were deleted from Gnus itself late 2010.
6706
5dadff36
JB
67072012-05-22 Juanma Barranquero <lekktu@gmail.com>
6708
9e1701c6
JB
6709 * progmodes/which-func.el (which-func-ff-hook):
6710 Check against user-error, not error.
6711
bd7239f5 6712 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6713 cl-specs.el, which no longer exists.
6714
3290526d
GM
67152012-05-22 Glenn Morris <rgm@gnu.org>
6716
6717 * info.el (info-emacs-bug): New command.
6718 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6719 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6720
ff0c3cfb
GM
67212012-05-21 Glenn Morris <rgm@gnu.org>
6722
6723 * makefile.w32-in (update-subdirs-SH):
6724 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6725
5814f126
SM
67262012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6727
a52c0aa0
SM
6728 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6729
5814f126
SM
6730 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6731 Simplify Maven regexp, and make sure the file can't start with a space
6732 (bug#11517).
6733
b847032c
GM
67342012-05-21 Glenn Morris <rgm@gnu.org>
6735
6736 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6737 Scrap superfluous subshells.
6738
3858bfe7
SM
67392012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6742 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6743
d14b0029
JB
67442012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6745
6746 * calc/calc.el (calc-ensure-consistent-units): New variable.
6747
a52c0aa0
SM
6748 * calc/calc-units.el (math-consistent-units-p)
6749 (math-check-unit-consistency): New functions.
6750 (calc-quick-units, calc-convert-units):
6751 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6752 is non-nil.
d14b0029
JB
6753 (calc-extract-units): Fix typo.
6754
60c4db3a
SM
67552012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6756
77f3b62e
SM
6757 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6758
60c4db3a
SM
6759 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6760 (flyspell-default-deplacement-commands): Don't spell check after
6761 repeated window/frame switches (e.g. triggered by mouse-movement).
6762 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6763 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6764 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6765 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6766 Remove unused vars.
6767 (flyspell-get-casechars, flyspell-get-not-casechars):
6768 Simplify; Don't bother removing a ] just to add it back.
6769 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6770
d209e2fb 67712012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6772
6773 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6774 New functions.
bd7239f5 6775 (math-function-table): Add support for more C functions.
b1a10716 6776
3f1b25b5
AM
67772012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6778
090bd7cb
JB
6779 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6780 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6781 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6782
b581bb5c
SM
67832012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6786 their respective macro declarations.
6787 * skeleton.el (define-skeleton):
6788 * progmodes/compile.el (define-compilation-mode):
6789 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6790 (define-ibuffer-filter):
6791 * emacs-lisp/generic.el (define-generic-mode):
6792 * emacs-lisp/easy-mmode.el (define-minor-mode)
6793 (define-globalized-minor-mode):
6794 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6795 * emacs-lisp/byte-run.el (defsubst):
6796 * custom.el (deftheme): Add doc-string metadata.
6797
70b8ef8f
SM
67982012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6801
b1198e17
SM
68022012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6803
9abdc45d
SM
6804 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6805
b1198e17
SM
6806 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6807 * emacs-lisp/cl-macs.el: Idem.
6808 * emacs-lisp/cl-specs.el: Remove.
6809
4735906a
SM
68102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 Minor renaming of internal CL functions and variables.
6813 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6814 (cl--position): Rename from cl-position.
6815 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6816 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6817 (cl--random-state): Rename from *random-state*.
6818
ac348012
SM
68192012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6822 parens around the arg list (bug#11499).
6823
a0a79cde
JL
68242012-05-17 Juri Linkov <juri@jurta.org>
6825
6826 * isearch.el (word-search-regexp, word-search-backward)
6827 (word-search-forward, word-search-backward-lax)
6828 (word-search-forward-lax): Move functions from search.c
6829 (bug#10145, bug#11381).
6830
65034a51
AM
68312012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6832
090bd7cb
JB
6833 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6834 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6835 Delay for otherchars as for normal word components.
65034a51 6836
1a72a195
SM
68372012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * minibuffer.el (completion--sifn-requote): Fix last change.
6840 (minibuffer-local-must-match-filename-map):
6841 Move define-obsolete-variable-alias before its var.
6842
fdb058c2
SM
68432012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6844
c41045e6
SM
6845 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6846
036dfb8b
SM
6847 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6848 behavior.
6849 (completion--string-equal-p): New function.
6850 (completion--twq-all): Use it to get better assertion failure data.
6851
2473256d
SM
6852 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6853 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6854 (shell--requote-argument): New functions.
6855 (shell-completion-vars): Use them.
6856 (shell--parse-pcomplete-arguments): Rename from
6857 shell-parse-pcomplete-arguments.
6858 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6859 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6860 Obey comint-file-name-quote-list.
6861
fdb058c2
SM
6862 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6863 (smie-indent-keyword): Use it.
6864
51fa99f1
SM
68652012-05-14 Stefan Merten <smerten@oekonux.de>
6866
6867 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6868
e18afed7 68692012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6870
6871 * net/rlogin.el (rlogin-mode-map): Fix last change.
6872
e18afed7 68732012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6874
6875 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6876 the following \r\n using a single `process-send-string', since the
6877 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6878 with two `process-send-string's (Bug#11444).
8633b1f4 6879
e18afed7 68802012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6881
fdb058c2
SM
6882 * shell.el (shell-parse-pcomplete-arguments):
6883 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6884
2d21d7f6
WJ
68852012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6886
e18afed7 6887 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6888 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6889 (image-transform-width, image-transform-fit-width): New functions.
6890 (image-transform-properties): Use them.
6891 (image-transform-check-size): New function.
6892 (image-toggle-display-image): Use it (for testing).
6893 (image-transform-set-rotation): Reduce angle mod 360.
6894 Delete obsolete comment.
6895
7102e6d0
WJ
68962012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6897
6898 * image-mode.el: Fix scaling (bug#11399).
6899 (image-transform-resize): Doc fix.
6900 (image-transform-properties): Default scale is 1 and height should
6901 be an integer.
6902
06bc5e6e
SM
69032012-05-13 Johan Bockgård <bojohan@gnu.org>
6904
6905 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6906 than hard-coding `car', to fix misbehavior when moving forward.
6907
0ae03b6a
CY
69082012-05-13 Chong Yidong <cyd@gnu.org>
6909
6910 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6911 (tabulated-list-entries, tabulated-list-padding)
6912 (tabulated-list-sort-key): Make permanent-local.
6913
6914 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6915 (electric-buffer-list): Put electric buffer menu
6916 command descriptions in this docstring, instead of the docstring
6917 of electric-buffer-menu-mode. Code cleanups.
6918 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6919 Electric-buffer-menu-mode.
6920 (electric-buffer-update-highlight): Minor code cleanup.
6921
205a7391
MA
69222012-05-13 Michael Albinus <michael.albinus@gmx.de>
6923
6924 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6925 (Bug#11447)
6926
e5bd0a28
SM
69272012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 Move define-obsolete-variable-alias before the var's definition.
6930 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6931 * tooltip.el (tooltip-hook):
6932 * textmodes/reftex-toc.el (reftex-toc-map):
6933 * textmodes/reftex-sel.el (reftex-select-label-map)
6934 (reftex-select-bib-map):
6935 * textmodes/reftex-index.el (reftex-index-map)
6936 (reftex-index-phrases-map):
6937 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6938 * progmodes/meta-mode.el (meta-mode-map):
6939 * novice.el (disabled-command-hook):
6940 * loadhist.el (unload-hook-features-list):
6941 * frame.el (blink-cursor):
6942 * files.el (find-file-not-found-hooks, write-file-hooks)
6943 (write-contents-hooks):
6944 * emulation/tpu-edt.el (GOLD-map):
6945 * emacs-lock.el (emacs-lock-from-exiting):
6946 * emacs-lisp/generic.el (generic-font-lock-defaults):
6947 * emacs-lisp/chart.el (chart-map):
6948 * dos-fns.el (register-name-alist):
6949 * dired-x.el (dired-omit-files-p):
6950 * desktop.el (desktop-enable):
6951 * cus-edit.el (custom-mode-hook):
6952 * buff-menu.el (buffer-menu-mode-hook):
6953 * bookmark.el (bookmark-read-annotation-text-func)
6954 (bookmark-exit-hooks):
6955 * allout.el (allout-mode-deactivate-hook)
6956 (allout-exposure-change-hook, allout-structure-added-hook)
6957 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6958 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6959 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6960 comes before the corresponding variable's definition.
6961
ac59c2f6
CY
69622012-05-12 Chong Yidong <cyd@gnu.org>
6963
6964 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6965 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6966 (Buffer-menu-mode-map): Bind it.
6967 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6968
dee6c9a3
SM
69692012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6970
2171cea5
SM
6971 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6972 (prolog-upper-case-string, prolog-lower-case-string)
6973 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6974 (prolog-use-smie, prolog-smie-grammar): New vars.
6975 (prolog-smie-forward-token, prolog-smie-backward-token)
6976 (prolog-smie-rules): New funs.
6977 (prolog-comment-indent): Remove.
6978 (prolog-mode-variables): Use default comment indentation instead.
6979 Setup SMIE.
6980 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6981 (prolog-mode): Don't call them any more.
6982 (prolog-electric-colon, prolog-electric-dash)
6983 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6984
aa0382bd
SM
6985 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6986
dbacb4bd
SM
6987 * minibuffer.el (completion--twq-all): Again, allow case differences.
6988
13bdd94c
SM
6989 * term.el: Move keymap initialization code to be more idiomatic.
6990 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6991 (term-terminal-menu): Move initialization into declaration.
6992 (term-escape-char): Let the user set it in her .emacs.
6993
ff46c759
SM
6994 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6995 Provide SMIE-based indentation (not enabled by default yet).
6996 (sh-mode-map): Don't bind electric keys.
6997 Use electric-pair-mode instead of skeleton-pair.
6998 (sh-assignment-regexp): Fit within 80 columns.
6999 (sh-indent-supported): Specify actual shell name instead of boolean.
7000 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7001 (sh-maybe-here-document): Use it. Make obsolete.
7002 (sh-electric-here-document-mode) New minor mode.
7003 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7004 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7005 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7006 (sh-smie-rc-grammar, sh-use-smie): New vars.
7007 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7008 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7009 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7010 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7011 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7012 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7013 (sh-set-shell): Use smie-setup if requested.
7014
dee6c9a3
SM
7015 * term.el (term-set-escape-char): Properly set term-escape-char.
7016 See http://stackoverflow.com/questions/10524656.
7017
9f9aa044
CY
70182012-05-10 Chong Yidong <cyd@gnu.org>
7019
7020 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7021 Use url-generic-parse-url, and handle host names and Windows
7022 filenames properly.
7023 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7024 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7025 URL schemes to work on.
7026 (ffap--toggle-read-only): New function.
7027 (ffap-read-only, ffap-read-only-other-window)
7028 (ffap-read-only-other-frame): Use it.
7029 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7030 necessary for ffap-url-unwrap-remote.
7031
836d29b3
DA
70322012-05-10 Dave Abrahams <dave@boostpro.com>
7033
7034 * cus-start.el (create-lockfiles): Add it.
7035
00fd78ed
CY
70362012-05-09 Chong Yidong <cyd@gnu.org>
7037
7038 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7039 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7040
666b903b 70412012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7042
7043 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7044
666b903b 70452012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7046
7047 * ansi-color.el (ansi-color-process-output): Check for validity of
7048 comint-last-output-start before using it. This avoids a bad
7049 interaction with gdb-mi's input/output buffer.
7050
666b903b 70512012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7052
7053 * files.el (dir-locals-read-from-file):
7054 Mention dir-locals in any error message.
7055
666b903b 70562012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7057
7058 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7059 package (Bug#11410).
7060
f677562b
CY
7061 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7062 variables into description.
7063
666b903b 70642012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7065
7066 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7067 shell-delimiter-argument-list (bug#11348).
7068 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7069
b499d8d0
JB
70702012-05-09 Juanma Barranquero <lekktu@gmail.com>
7071
8f6b6da8
JB
7072 * textmodes/rst.el: Silence byte-compiler warnings.
7073 (rst-re-alist, rst-reset-section-caches): Move around.
7074 (rst-re): Use `characterp', not `char-valid-p'.
7075 (font-lock-beg, font-lock-end): Declare.
7076
4824146a
JB
7077 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7078 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7079
b499d8d0
JB
7080 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7081
ad89bb83
GM
70822012-05-08 Glenn Morris <rgm@gnu.org>
7083
7084 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7085
8bba5a75
SM
70862012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7087
49ed9c8e
SM
7088 * vc/log-edit.el: Add GNU coding standards highlighting.
7089 (log-edit-font-lock-gnu-style)
7090 (log-edit-font-lock-gnu-keywords): New vars.
7091 (log-edit-font-lock-keywords): New fun.
7092 (log-edit-mode): Don't fold case in font-lock.
7093 (log-edit-font-lock-keywords): Do not assume case-folding.
7094
07d00b56
SM
7095 * imenu.el: Misc cleanup. Make docstrings out of comments.
7096 Use lexical-binding.
7097 (imenu--index-alist, imenu--last-menubar-index-alist)
7098 (imenu-menubar-modified-tick): Use defvar-local.
7099 (imenu--split-menu): Remove unused var.
7100 (imenu--cleanup-seen): Declare as global.
7101 (imenu--cleanup): Use dolist.
7102
8bba5a75
SM
7103 * subr.el (defvar-local): Add debug spec and doc-string position.
7104
5075bdb5
GM
71052012-05-08 Glenn Morris <rgm@gnu.org>
7106
090bd7cb 7107 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7108 * language/english.el, language/georgian.el, language/greek.el:
7109 * language/japanese.el, language/khmer.el, language/korean.el:
7110 * language/lao.el, language/misc-lang.el, language/romanian.el:
7111 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7112 * language/thai.el, language/utf-8-lang.el:
7113 Remove no-byte-compile setting.
7114
5075bdb5
GM
7115 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7116
06f679a7
AH
71172012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7118
7119 * progmodes/make-mode.el (makefile-browse):
7120 Remove unnecessary interactive. (Bug#11324)
7121
03794570
GM
71222012-05-07 Glenn Morris <rgm@gnu.org>
7123
af8630f4
GM
7124 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7125
03794570
GM
7126 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7127
f0809a9d
SM
71282012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7129
28be5ce7
SM
7130 * loadup.el: Preload newcomment.el.
7131 * newcomment.el: Move autoload-only code to toplevel.
7132
f0809a9d
SM
7133 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7134 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7135 Handle new :right-align column property.
7136 (tabulated-list-print-col): Idem, plus use `display' text-property to
7137 try and preserve alignment for variable pitch fonts.
7138
1241b724
CY
71392012-05-07 Chong Yidong <cyd@gnu.org>
7140
7141 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7142 (tabulated-list-use-header-line): New var.
7143 (tabulated-list-init-header): Use it.
7144 (tabulated-list-print-fake-header): New function.
7145 (tabulated-list-print): Use it.
7146 (tabulated-list-sort-button-map): Add non-header-line commands.
7147 (tabulated-list-init-header): Add column name property to basic
7148 labels as well.
7149 (tabulated-list-col-sort): Handle non-header-line button case.
7150 (tabulated-list--sort-by-column-name): Fix a corner case.
7151
f0809a9d
SM
7152 * buff-menu.el (list-buffers--refresh):
7153 Handle Buffer-menu-use-header-line.
1241b724 7154
e5f9458f
CY
71552012-05-06 Chong Yidong <cyd@gnu.org>
7156
7157 * buff-menu.el: Convert to Tabulated List mode.
7158 (Buffer-menu-buffer+size-width): Make obsolete.
7159 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7160 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7161 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7162 documentation into docstring of buffer-menu.
7163 (Buffer-menu-toggle-files-only): Add an informative message.
7164 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7165 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7166 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7167 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7168 (Buffer-menu-execute, Buffer-menu-select)
7169 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7170 (Buffer-menu-bury): Use Tabulated List machinery.
7171 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7172 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7173 Delete.
e5f9458f
CY
7174 (list-buffers--refresh): New function.
7175 (list-buffers-noselect): Use it.
7176 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7177 (Buffer-menu--pretty-file-name): New helper functions.
7178
7179 * loadup.el: Preload tabulated-list.
7180
7181 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7182 tabulated-list-sort-column.
7183 (tabulated-list-init-header): Add the initial aligning space even
7184 if tabulated-list-padding is zero.
7185
e129292c
CS
71862012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7187
7188 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7189 whose cdr is not a cons cell correctly (bug#11038).
7190
6632d361
CY
71912012-05-06 Chong Yidong <cyd@gnu.org>
7192
e129292c
CS
7193 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7194 Accept additional plist in column descriptors.
6632d361
CY
7195 (tabulated-list-init-header): Obey it.
7196 (tabulated-list-get-entry): New function.
7197 (tabulated-list-put-tag): Use it. Use string-width instead of
7198 length.
7199 (tabulated-list--column-number): New function.
7200 (tabulated-list-print): Use it.
e129292c
CS
7201 (tabulated-list-print-col): New function.
7202 Set `tabulated-list-column-name' property on each column's text.
6632d361 7203 (tabulated-list-print-entry): Use it.
e129292c
CS
7204 (tabulated-list-delete-entry, tabulated-list-set-col):
7205 New functions.
6632d361
CY
7206 (tabulated-list-sort-column): New command (Bug#11337).
7207
3cc99f68
CY
7208 * buff-menu.el (list-buffers): Move C-x C-b binding from
7209 buff-menu.el to bindings.el.
7210
7211 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7212 :advertised-binding feature.
7213
52b61776
TN
72142012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7215
7216 * progmodes/compile.el (compilation-internal-error-properties):
7217 Calculate start position correctly when end-col is set but
7218 end-line is not (Bug#11382).
7219
ebfe2597
WJ
72202012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7221
7222 * man.el (Man-unindent): Use text-property-default-nonsticky to
7223 prevent untabify from inheriting face properties (Bug#11408).
7224
6d3f7c2f
SM
72252012-05-05 Stefan Merten <smerten@oekonux.de>
7226
7227 * textmodes/rst.el: Major merge with upstream development up to
7228 Docutils SVN r7399 / rst.el V1.2.1.
7229
7230 Clarify maintainership and authors.
7231
7232 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7233 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7234 (rst-official-version, rst-official-cvs-rev, rst-version)
7235 (rst-package-emacs-version-alist): New functions and variables
7236 for version information.
7237
7238 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7239 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7240 (rst-mode-syntax-table, rst-mode): New and corrected functions
7241 and variables representing reStructuredText features.
7242
7243 (rst-re): New function for reStructuredText regexes. Use in
7244 many places.
7245
7246 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7247 (rst-mode-map): Rebind keys.
7248
7249 (rst-mode-lazy, rst-font-lock-keywords)
7250 (rst-font-lock-extend-region)
7251 (rst-font-lock-extend-region-internal)
7252 (rst-font-lock-extend-region-extend)
7253 (rst-font-lock-find-unindented-line-limit)
7254 (rst-font-lock-find-unindented-line-match)
7255 (rst-adornment-level, rst-font-lock-adornment-level)
7256 (rst-font-lock-adornment-match)
7257 (rst-font-lock-handle-adornment-pre-match-form)
7258 (rst-font-lock-handle-adornment-matcher): Major revision of
7259 font-locking. Integrate with other code. Use `jit-lock-mode'.
7260
7261 (rst-preferred-adornments, rst-adjust-hook)
7262 (rst-new-adornment-down, rst-preferred-bullets)
7263 (rst-preferred-bullets, rst-indent, rst-indent-width)
7264 (rst-indent-field, rst-indent-literal-normal)
7265 (rst-indent-literal-minimized, rst-indent-comment): Change,
7266 extend and improve customization.
7267
7268 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7269 (rst-normalize-cursor-position, rst-get-decoration)
7270 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7271 (rst-rstrip, rst-toc-insert-find-delete-contents)
7272 (rst-shift-fill-region, rst-compute-bullet-tabs)
7273 (rst-debug-print-tabs, rst-debug-mark-found)
7274 (rst-shift-region-guts, rst-shift-region-right)
7275 (rst-shift-region-left, rst-use-char-classes)
7276 (rst-font-lock-keywords-function)
7277 (rst-font-lock-indentation-point)
7278 (rst-font-lock-find-unindented-line-begin)
7279 (rst-font-lock-find-unindented-line-end)
7280 (rst-font-lock-find-unindented-line)
7281 (rst-font-lock-adornment-point, rst-font-lock-level)
7282 (rst-adornment-level-alist): Remove functions and variables.
7283
7284 (rst-compare-adornments, rst-get-adornment-match)
7285 (rst-suggest-new-adornment, rst-get-adornments-around)
7286 (rst-adornment-complete-p, rst-get-next-adornment)
7287 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7288 (rst-straighten-adornments): Standardize function names to
7289 use "adornment" instead of "decoration". Correct callers.
7290 Similar standardizing in many places.
7291
7292 (rst-update-section, rst-adjust, rst-promote-region)
7293 (rst-enumerate-region, rst-bullet-list-region)
7294 (rst-repeat-last-character): Correct use of `interactive'.
7295
7296 (rst-classify-adornment, rst-find-all-adornments)
7297 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7298 (rst-find-leftmost-column, rst-repeat-last-character):
7299 Refactor functions.
7300
7301 (rst-find-title-line, rst-reset-section-caches)
7302 (rst-get-adornments-around, rst-adjust-adornment-work)
7303 (rst-arabic-to-roman, rst-roman-to-arabic)
7304 (rst-insert-list-pos, rst-insert-list-new-item)
7305 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7306 New functions.
7307
7308 (rst-all-sections, rst-section-hierarchy)
7309 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7310 New variables.
7311
7312 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7313 configuration instead of only buffer. Change where necessary.
7314
7315 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7316 (rst-shift-region, rst-adaptive-fill): New functions for
7317 indentation and filling.
7318
7319 (rst-comment-line-break, rst-comment-indent)
7320 (rst-comment-insert-comment, rst-comment-region)
7321 (rst-uncomment-region): New functions for handling comments.
7322
7323 (rst-compile): Quote shell arguments.
7324
7325 (rst-compile-pdf-preview, rst-compile-slides-preview):
7326 Delete temporary files after use.
7327
a43f98b3
GM
73282012-05-05 Glenn Morris <rgm@gnu.org>
7329
48176e8b
GM
7330 * calendar/cal-html.el: Optionally include holidays in the output.
7331 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7332 (cal-html-holidays): New option.
7333 (cal-html-css-default): Add holiday entry.
7334 (holiday-in-range): Autoload it.
7335 (cal-html-htmlify-entry): Add optional class argument.
7336 (cal-html-htmlify-list): Add optional holidays argument.
7337 (cal-html-insert-agenda-days): Include holidays in the output.
7338 (cal-html-one-month): Maybe include holidays.
7339
a43f98b3
GM
7340 * calendar/holidays.el (holiday-in-range):
7341 Move here from cal-tex-list-holidays.
7342 * calendar/cal-tex.el (cal-tex-list-holidays):
7343 Make it an obsolete alias for holiday-in-range. Update all callers.
7344
fef9d149 73452012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7346
7347 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7348 Nextstep.
7349
248da2f4
RW
73502012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7351
7352 * files.el (file-auto-mode-skip): New var.
7353 (set-auto-mode-1): Use it.
7354
f95e9344
SM
73552012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7356
df96ab1e
SM
7357 * repeat.el: Use lexical-binding.
7358 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7359 (repeat-undo-count): Remove.
7360 (repeat):
7361 * progmodes/octave-mod.el (octave-abbrev-start):
7362 * progmodes/f90.el (f90-abbrev-start):
7363 * face-remap.el (text-scale-adjust):
7364 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7365
5342bb06
SM
7366 * emacs-lisp/pcase.el (pcase--let*): New function.
7367 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7368 a bit more.
7369 (pcase--split-pred): Be more clever about ruling out overlap between
7370 a predicate and some constant pattern.
7371 (pcase--q1): Use `null' instead of (eq foo nil).
7372
f95e9344
SM
7373 * subr.el (setq-local, defvar-local): New macros.
7374 (kbd): Redefine as an alias.
7375 (with-selected-window): Leave unrelated frames alone.
7376 (set-temporary-overlay-map): New function.
7377
71873e2b
SM
73782012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * subr.el (user-error): New function.
7381 * window.el (switch-to-buffer):
7382 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7383 (smerge-match-conflict):
7384 * simple.el (previous-matching-history-element)
7385 (next-matching-history-element, goto-history-element, undo-more)
7386 (undo-start):
7387 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7388 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7389 (next-file, tags-loop-scan, list-tags, complete-tag):
7390 * progmodes/compile.el (compilation-loop):
7391 * mouse.el (mouse-minibuffer-check):
7392 * man.el (Man-bgproc-sentinel, Man-goto-page):
7393 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7394 (Info-history-forward, Info-follow-reference, Info-menu)
7395 (Info-extract-menu-item, Info-extract-menu-counting)
7396 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7397 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7398 (Info-next-reference, Info-prev-reference, Info-index)
7399 (Info-index-next, Info-follow-nearest-node)
7400 (Info-copy-current-node-name):
7401 * imenu.el (imenu--make-index-alist)
7402 (imenu-default-create-index-function, imenu-add-to-menubar):
7403 * files.el (basic-save-buffer, recover-file):
7404 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7405 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7406 (checkdoc-message-text, checkdoc-defun):
7407 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7408 * cus-edit.el (customize-changed-options, customize-rogue)
7409 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7410 (custom-variable-mark-to-reset-standard)
7411 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7412 (custom-file):
7413 * completion.el (check-completion-length):
7414 * comint.el (comint-search-arg)
7415 (comint-previous-matching-input-string-position)
7416 (comint-previous-matching-input)
7417 (comint-replace-by-expanded-history-before-point, comint-send-input)
7418 (comint-copy-old-input, comint-backward-matching-input)
7419 (comint-goto-process-mark, comint-set-process-mark):
7420 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7421 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7422
8a61ee22
SM
74232012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7424
66408d1e
SM
7425 * dabbrev.el (dabbrev--ignore-case-p): New function.
7426 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7427 Use it.
7428
8a61ee22
SM
7429 * files.el (automount-dir-prefix): Mark as obsolete.
7430
3c74813a
GM
74312012-05-04 Glenn Morris <rgm@gnu.org>
7432
7433 * patcomp.el, play/bruce.el: Move to obsolete/.
7434
0bfcf5c5
PE
74352012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7436
7437 Fix minor Y10k bugs.
7438 * arc-mode.el (archive-unixdate):
7439 * autoinsert.el (auto-insert-alist):
7440 * calc/calc-forms.el (math-this-year):
7441 * emacs-lisp/copyright.el (copyright-current-year)
7442 (copyright-update-year, copyright):
7443 * tar-mode.el (tar-clip-time-string):
7444 * time.el (display-time-update):
7445 Don't assume years have 4 digits.
7446
78f3273a
CY
74472012-05-04 Chong Yidong <cyd@gnu.org>
7448
7449 * dos-w32.el (file-name-buffer-file-type-alist)
7450 (direct-print-region-use-command-dot-com):
7451 * ffap.el (ffap-menu-regexp):
7452 * find-file.el (ff-special-constructs):
7453 * follow.el (follow-debug):
7454 * forms.el (forms--debug):
7455 * iswitchb.el (iswitchb-all-frames):
7456 * ido.el (ido-all-frames):
7457 * emacs-lisp/timer.el (timer-max-repeats):
7458 * mail/feedmail.el (feedmail-mail-send-hook)
7459 (feedmail-mail-send-hook-queued):
7460 * mail/footnote.el (footnote-signature-separator):
7461 * mail/mailabbrev.el (mail-alias-separator-string)
7462 (mail-abbrev-mode-regexp):
7463 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7464 * progmodes/idlwave.el (idlwave-libinfo-file)
7465 (idlwave-default-completion-case-is-down)
7466 (idlwave-library-routines): Convert defvars to defcustoms.
7467
7468 * mail/rmail.el (rmail-decode-mime-charset):
7469 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7470 (idlwave-shell-fix-inserted-breaks)
7471 (idlwave-shell-activate-alt-keybindings)
7472 (idlwave-shell-use-breakpoint-glyph):
7473 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7474
f7ae6719
SM
74752012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7478
47086495
WS
74792012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7480
7481 * progmodes/verilog-mode.el (font-lock-keywords):
7482 Fix mis-highligting auto. Reported by Craig Barner.
7483 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7484 defines from global name space. Reported by Dan Dever.
47086495
WS
7485 (verilog-auto-reset, verilog-auto-reset-widths)
7486 (verilog-auto-tieoff): Support using unbased numbers for
7487 AUTORESET and AUTOTIEOFF.
7488 (verilog-submit-bug-report): Update variable list.
7489 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7490 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7491 (verilog-auto-template-lint): Fix hash error when linting modules
7492 with no used templates.
7493 (verilog-warn, verilog-warn-error)
7494 (verilog-warn-fatal): When non-interactive report multiple
7495 warnings before exiting. Suggested by Brad Dobbie.
7496 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7497 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7498 to report unused template errors. Reported by Brad Dobbie.
7499 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7500 nets, bug438. Reported by Vns Blore.
47086495
WS
7501 (verilog-auto-inout-module, verilog-auto-reg)
7502 (verilog-read-decls, verilog-read-sub-decls-sig)
7503 (verilog-signals-edit-wire-reg, verilog-signals-with):
7504 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7505 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7506 "reg" for backwards compatibility presuming Verilog 2001.
7507 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7508 (verilog-preprocess): Fix replication of preprocess output.
7509 Reported by Brad Dobbie.
7510 (verilog-auto-inst-interfaced-ports):
7511 Create verilog-auto-inst-interfaced-ports, bug429.
7512 Reported by Julian Gorfajn.
7513 (verilog-after-save-font-hook)
7514 (verilog-before-save-font-hook): New variable.
7515 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7516 (verilog-save-font-mods): Wrap disabling fontification, reported
7517 by David Rogoff.
7518 (verilog-do-indent, verilog-pretty-declarations-auto)
7519 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7520 Reported by Pierre-David Pfister.
7521 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7522 of class declarations, bug292. Reported by Kevin Heilman.
7523 (verilog-read-decls): Fix 'parameter type' not appearing in
7524 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7525 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7526 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7527 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7528 Reported by David Kravitz.
7529
75302012-05-03 Michael McNamara <mac@mail.brushroad.com>
7531
7532 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7533 assignment with tests in ifs and for loops.
7534 (verilog-extended-complete-re, verilog-complete-reg): Change so
7535 that DPI inport functions don't look like fuction declarations.
7536 (verilog-pretty-expr): Don't line up assignment
7537 operations to the test and increment in if and for loops
7538 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7539 that DPI inport functions don't look like fuction declarations.
47086495 7540
2e51d4b5
KH
75412012-05-03 Kenichi Handa <handa@m17n.org>
7542
7543 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7544 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7545 (Bug#11282).
7546
2bd785a2
SM
75472012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * emacs-lisp/bytecomp.el
7550 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7551 since cconv.el might have introduced :fun-body, internal-make-closure,
7552 and friends for bytecomp to handle (bug#11391).
7553 * custom.el (defcustom): Avoid ((λ ..) ..).
7554
99d27583
SM
75552012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7558
55a71479
JB
75592012-05-02 Juanma Barranquero <lekktu@gmail.com>
7560
7561 * notifications.el (dbus-debug):
7562 * term/linux.el (gpm-mouse-enable):
7563 * term/screen.el (xterm-register-default-colors): Declare.
7564
7b97c764
CY
75652012-05-02 Chong Yidong <cyd@gnu.org>
7566
2bc356d7
CY
7567 * cus-start.el (gc-cons-percentage, exec-suffixes)
7568 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7569 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7570 (make-cursor-line-fully-visible, void-text-area-pointer)
7571 (font-list-limit): Add customization data.
7572
7b97c764
CY
7573 * allout.el (allout-exposure-change-functions)
7574 (allout-structure-added-functions)
7575 (allout-structure-deleted-functions)
7576 (allout-structure-shifted-functions): Rename abnormal hooks from
7577 *-hook, and convert to defcustoms.
5d3385a0
JB
7578 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7579 Convert to defcustoms.
7b97c764
CY
7580 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7581
7582 * allout-widgets.el: Hook callers changed.
7583
90207a15 75842012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7585
7586 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7587 the yanked message in preference to the default value of
7588 buffer-file-coding-system.
7589
90207a15 75902012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7591
5d3385a0
JB
7592 * window.el (display-buffer--action-function-custom-type):
7593 Fix entry.
d9558cad 7594
90207a15 75952012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7596
7597 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7598
d80ac57b
GM
75992012-05-01 Glenn Morris <rgm@gnu.org>
7600
976f7668
GM
7601 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7602
beb83b5a
GM
7603 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7604
d80ac57b
GM
7605 * cus-edit.el (custom-variable-documentation): Simplify with format.
7606
b593d6a9 76072012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7608 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7609
7610 * simple.el (suggest-key-bindings, execute-extended-command):
7611 Move from keyboard.c.
7612
782fbf2a
CY
76132012-05-01 Chong Yidong <cyd@gnu.org>
7614
7615 * follow.el: Eliminate advice.
7616 (set-process-filter, process-filter, sit-for): Advice deleted.
7617 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7618 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7619 Vars deleted.
782fbf2a
CY
7620 (follow-auto): Use a :set function.
7621 (follow-mode): Rewritten. Don't advise process filters.
7622 (follow-switch-to-current-buffer-all, follow-scroll-up)
7623 (follow-scroll-down): Assume follow-mode is bound.
7624 (follow-comint-scroll-to-bottom)
7625 (follow-align-compilation-windows): New functions.
7626 (follow--window-sorter): New function.
7627 (follow-all-followers): Use it to explicitly sort windows by their
7628 positions; don't make assumptions about next-window order.
7629 (follow-windows-start-end, follow-delete-other-windows-and-split)
7630 (follow-calc-win-start): Doc fix.
7631 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7632 vertical-motion unnecessarily.
7633 (follow-adjust-window): New function.
7634 (follow-post-command-hook): Use it.
7635 (follow-call-set-process-filter, follow-call-process-filter)
7636 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7637 (follow-stop-intercept-process-output, follow-generic-filter):
7638 Functions deleted.
7639 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7640 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7641 New functions, replacing advice on scroll-bar-* commands.
87233a14 7642 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7643
7644 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7645 (comint-postoutput-scroll-to-bottom): Use it.
7646 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7647
290af740
GM
76482012-05-01 Glenn Morris <rgm@gnu.org>
7649
7650 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7651 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7652 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7653 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7654 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7655 Remove no-byte-compile setting.
7656
6eac8dc9
SM
76572012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7660 all-completions code to not return a number in the last cdr.
7661
9cc7819c
LL
76622012-04-30 Leo Liu <sdl.web@gmail.com>
7663
7664 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7665 read-only error.
7666
c93b886f
CY
76672012-04-29 Chong Yidong <cyd@gnu.org>
7668
7669 * follow.el (follow-calc-win-end): Rewrite to handle partial
7670 screen lines correctly (Bug#8390).
7671 (follow-avoid-tail-recenter): Minor cleanup.
7672
8b6c19f4
SM
76732012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7674
7675 Avoid the obsolete `assoc' package.
7676 * speedbar.el (speedbar-refresh): Avoid adelete.
7677 (speedbar-file-lists): Simplify and avoid aput.
7678 * man.el (Man--sections, Man--refpages): New vars, replacing
7679 Man-sections-alist and Man-refpages-alist.
7680 (Man-build-section-alist, Man-build-references-alist):
7681 Use them; avoid aput.
7682 (Man--last-section, Man--last-refpage): New vars.
7683 (Man-follow-manual-reference): Use them.
7684 Use the `default' arg of completing-read.
7685 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7686
c5bb7569
CY
76872012-04-27 Chong Yidong <cyd@gnu.org>
7688
d1d2e2e8
CY
7689 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7690
15cd8efd
CY
7691 * startup.el (x-apply-session-resources): New function.
7692
7693 * term/ns-win.el (ns-initialize-window-system):
7694 * term/w32-win.el (w32-initialize-window-system):
7695 * term/x-win.el (x-initialize-window-system): Use it to properly
7696 set menu-bar-mode and other vars from X resources, even if the
7697 initial frame is not a window-system frame (Bug#2299).
7698
c5bb7569
CY
7699 * subr.el (read-key): Avoid running filter function when setting
7700 up temporary tool bar entries (Bug#9922).
7701
a8e7d6d7 77022012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7703
7704 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7705 (Bug#11344)
7706
a8e7d6d7 77072012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7708
7709 * select.el (xselect--encode-string): New function, split from
7710 xselect-convert-to-string.
7711 (xselect-convert-to-string): Use it.
7712 (xselect-convert-to-filename, xselect-convert-to-os)
7713 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7714 returned strings are properly encoded (Bug#11315).
7715
a8e7d6d7 77162012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7717
7718 * simple.el (delete-active-region): Move to killing custom group.
7719
a8e7d6d7 77202012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7721
7722 * progmodes/which-func.el (which-func-current): Quote %
7723 characters for mode-line processing.
7724
578c1d4b 77252012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7726
7727 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7728 reaching eob (Bug#11286).
7729
a8e7d6d7 77302012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7731
7732 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7733 (gdb): Make it buffer-local and init to zero.
7734 (gdb-control-commands-regexp): New variable.
7735 (gdb-send): Don't wrap in "-interpreter-exec console" if
7736 gdb-control-level is positive. Increment gdb-control-level
7737 whenever the command matches gdb-control-commands-regexp, and
7738 decrement it each time the command is "end". (Bug#11279)
7739
a8e7d6d7 77402012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7741
7742 * window.el (adjust-window-trailing-edge, enlarge-window)
7743 (shrink-window, window-resize):
7744 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7745 windows (Bug#11276).
7746
b3608390
CY
77472012-04-27 Chong Yidong <cyd@gnu.org>
7748
7749 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7750 fix "missing prefix" warning. All callers changed.
b3608390 7751
797e6e88
SM
77522012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * emacs-lisp/assoc.el: Move to obsolete/.
7755
e95a67dc
SM
77562012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7757
657c21e4 7758 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7759
7760 * term/ns-win.el (ns-define-service):
7761 * progmodes/pascal.el (pascal-goto-defun):
7762 * progmodes/js.el (js--read-tab):
7763 * progmodes/etags.el (tags-lazy-completion-table):
7764 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7765 * emacs-lisp/ewoc.el (ewoc--wrap):
7766 * emacs-lisp/assoc.el (aput, adelete, amake):
7767 * doc-view.el (doc-view-convert-current-doc):
7768 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7769
cb3e7ae0
CY
77702012-04-26 Chong Yidong <cyd@gnu.org>
7771
dce04f7f
CY
7772 * image.el (image-type-from-buffer): Only return supported image
7773 type (Bug#9045).
7774
cb3e7ae0
CY
7775 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7776 value, for symmetry with diff-end-of-hunk.
7777 (diff-split-hunk, diff-find-source-location)
7778 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7779 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7780 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7781 compute the relevant hunk or file properly (Bug#6005).
7782 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7783
0d42eb3e
SM
77842012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7786 * vc/vc-mtn.el:
7787 * vc/vc-hg.el:
7788 * vc/vc-git.el:
7789 * vc/vc-dir.el:
7790 * vc/vc-cvs.el:
7791 * vc/vc-bzr.el:
7792 * vc/vc-arch.el:
7793 * vc/vc.el: Replace lexical-let by lexical-binding.
7794 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7795 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7796 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7797
f08ae1c9
CY
77982012-04-26 Chong Yidong <cyd@gnu.org>
7799
8b71081d
CY
7800 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7801 (diff-mode-shared-map): Bind it to / and [remap undo].
7802
f08ae1c9
CY
7803 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7804 (ediff-window-setup-function): Use it as the default, to set up
7805 windows based on whether the current frame is graphical (Bug#2138).
7806 (ediff-choose-window-setup-function-automatically): Make obsolete.
7807
7808 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7809
ef24141c
SM
78102012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7811
cc356a5d
SM
7812 * ffap.el: Remove old code for obsolete package.
7813 (ffap-complete-as-file-p): Remove.
7814
b4ff4f1f
SM
7815 Use completion-table-with-quoting for comint and pcomplete.
7816 * comint.el (comint--unquote&requote-argument)
7817 (comint--unquote-argument, comint--requote-argument): New functions.
7818 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7819 (comint-quote-filename): Use regexp-opt-charset.
7820 (comint--common-suffix, comint--common-quoted-suffix)
7821 (comint--table-subvert): Remove.
7822 (comint-unquote-function, comint-requote-function): New vars.
7823 (comint--complete-file-name-data): Use them with
7824 completion-table-with-quoting.
7825 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7826 * pcomplete.el (pcomplete-arg-quote-list)
7827 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7828 (pcomplete-unquote-argument-function): Default to non-nil.
7829 (pcomplete-unquote-argument): Simplify.
7830 (pcomplete--common-quoted-suffix): Remove.
7831 (pcomplete-requote-argument-function): New var.
7832 (pcomplete--common-suffix): New function.
7833 (pcomplete-completions-at-point): Use completion-table-with-quoting
7834 and completion-table-subvert.
7835
79c4eeb4
SM
7836 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7837 (minibuffer--double-dollars): Preserve properties.
7838 (completion--sifn-requote): New function.
7839 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7840
ef24141c
SM
7841 * minibuffer.el: Add support for completion of quoted/escaped data.
7842 (completion-table-with-quoting, completion-table-subvert): New funs.
7843 (completion--twq-try, completion--twq-all): New functions.
7844 (completion--nth-completion): New function.
7845 (completion-try-completion, completion-all-completions): Use it.
7846
784e7d6e
LL
78472012-04-25 Leo Liu <sdl.web@gmail.com>
7848
dd2ac746
SM
7849 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7850 Use compilation-message if available to find real filename.
784e7d6e 7851
07875ee7
CY
78522012-04-25 Chong Yidong <cyd@gnu.org>
7853
7854 * vc/diff-mode.el (diff-setup-whitespace): New function.
7855 (diff-mode): Use it.
7856
7857 * vc/diff.el (diff-sentinel):
7858 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7859 Whitespace mode variables based on diff style (Bug#8612).
7860
5055880d
LL
78612012-04-25 Leo Liu <sdl.web@gmail.com>
7862
daf75653
LL
7863 * progmodes/python.el (python-send-region): Add suffix .py to the
7864 temp file.
7865
5055880d
LL
7866 * files.el (auto-mode-alist): Use javascript-mode instead.
7867
db9b177b
AH
78682012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7869
ef24141c 7870 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7871
090bd7cb 7872 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7873 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7874 references, see Bug#9.
ef24141c 7875 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7876 when receiving a fault reply.
ef24141c 7877 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7878
090bd7cb 7879 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7880 (soap-inspect-simple-type): New function.
db9b177b 7881
090bd7cb 7882 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7883 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7884 (soap-decode-basic-type, soap-encode-basic-type):
7885 support unsignedInt and double basic types.
db9b177b 7886 (soap-resolve-references-for-simple-type)
ef24141c
SM
7887 (soap-parse-simple-type, soap-encode-simple-type): New function.
7888 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7889
090bd7cb 7890 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7891 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7892 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7893 the local name of "soapenc:Array".
7894 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7895 decoding integer, byte and anyURI xsd types.
7896
1fc6097b
CY
78972012-04-25 Chong Yidong <cyd@gnu.org>
7898
7899 * cus-edit.el (custom-buffer-create-internal): Update header text.
7900
afc6df87
EZ
79012012-04-25 Eli Zaretskii <eliz@gnu.org>
7902
7903 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7904 settings on 'system-type', not on 'window-system'. On MS-Windows,
7905 set interactive-mode on in GDB.
7906
dfbd787f
SM
79072012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7910 (ruby-syntax-propertize-regexp): Remove.
7911 (ruby-syntax-propertize-function): Split regexp into chunks.
7912 Match following code directly.
7913
85222d44
DG
79142012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7915
51a8ea2a
DG
7916 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7917 (ruby-syntax-propertize-regexp): New function.
7918 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7919 by a special keyword.
7920
85222d44
DG
7921 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7922 (ruby-syntax-general-delimiters-goto-beg)
7923 (ruby-syntax-propertize-general-delimiters): New functions.
7924 (ruby-syntax-propertize-function): Use them to handle GDL.
7925 (ruby-font-lock-keywords): Move old handling of GDL...
7926 (ruby-font-lock-syntactic-keywords): .. to here.
7927 (ruby-calculate-indent): Adjust indentation for GDL.
7928
b613912b
MA
79292012-04-24 Michael Albinus <michael.albinus@gmx.de>
7930
b5380639
MA
7931 * notifications.el (top): Remove unneeded declarations.
7932 (notifications-specification-version): Change to "1.2".
e43042fe 7933 (notifications-interface, notifications-notify-method)
b613912b
MA
7934 (notifications-close-notification-method): Fix docstring.
7935 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7936 (notifications-notify): Add :action-items, :resident and
7937 :transient hints. Change "image_data" to "image-data" and
7938 "image_path" to "image-path".
b613912b
MA
7939 (notifications-get-capabilities): New defun.
7940
257440aa
LL
79412012-04-24 Leo Liu <sdl.web@gmail.com>
7942
7943 * progmodes/python.el: Move hideshow setup to the end.
7944
b1bac16e
MR
79452012-04-24 Martin Rudalics <rudalics@gmx.at>
7946
7947 * window.el (handle-select-window): Clear echo area since this is
7948 no more done by read_char (Bug#11304).
7949
d81bd059
SM
79502012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7953 and `/ M' to filter-derived-mode.
7954 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7955 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7956 (ibuffer-mark-by-mode): Use default rather than initial-input.
7957 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7958
c4cf6d91
IA
79592012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7960
7961 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7962 (ibuffer-filter-by-derived-mode): New filter.
7963 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7964
7511ded8
CY
79652012-04-23 Andreas Politz <politza@fh-trier.de>
7966
7967 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7968
775c916b
CY
79692012-04-23 Chong Yidong <cyd@gnu.org>
7970
7971 * cus-edit.el (customize-apropos, customize-apropos-options):
7972 Disable matching of non-option variables (Bug#11176).
7973 (customize-option, customize-option-other-window)
7974 (customize-changed-options): Doc fix.
7975 (customize-apropos-options, customize-apropos-faces)
7976 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7977
7978 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7979 Fix word list splitting (Bug#11132).
46c71e23
CY
7980 (apropos-symbol, apropos-keybinding, apropos-label)
7981 (apropos-property, apropos-function-button)
7982 (apropos-variable-button, apropos-misc-button): New faces.
7983 (apropos-symbol-face, apropos-keybinding-face)
7984 (apropos-label-face, apropos-property-face, apropos-match-face):
7985 Variables removed (Bug#8396).
7986 (apropos-library-button, apropos-format-plist, apropos-print)
7987 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7988
2df41f9c
MA
79892012-04-23 Michael Albinus <michael.albinus@gmx.de>
7990
7991 * net/xesam.el (xesam-mode-map): Use let-bound map in
7992 initialization. (Bug#11292)
7993
da00640a
AM
79942012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7995
7996 Preserve ispell session localwords when switching back to
7997 original buffer.
7998
090bd7cb
JB
7999 * textmodes/ispell.el (ispell-buffer-session-localwords):
8000 New buffer-local variable to hold buffer session localwords.
ed9265fc 8001 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8002 localwords.
8003 (ispell-command-loop, ispell-change-dictionary)
8004 (ispell-buffer-local-words): Preserve session localwords when
8005 needed.
8006
090bd7cb
JB
8007 * textmodes/flyspell.el (flyspell-process-localwords)
8008 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8009
f621ccf5
AM
80102012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8011
090bd7cb
JB
8012 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8013 using obsolete `translation-table-for-input'.
ef24141c
SM
8014 (ispell-word, ispell-process-line, ispell-complete-word):
8015 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8016
c2d1019e
CY
80172012-04-22 Chong Yidong <cyd@gnu.org>
8018
8019 * cus-edit.el (custom-variable-menu)
8020 (custom-variable-reset-saved, custom-face-menu)
8021 (custom-face-reset-saved): If there is no saved value, make the
8022 "reset-saved" operation bring back the default (Bug#9509).
8023 (custom-face-state): Properly detect themed faces.
8024
eeddc531
CY
8025 * faces.el (face-spec-set): Stop supporting deprecated form of
8026 third arg.
8027
dcbf5805
MA
80282012-04-22 Michael Albinus <michael.albinus@gmx.de>
8029
8030 Move functions from C to Lisp. Make non-blocking method calls
8031 the default. Implement further D-Bus standard interfaces.
8032
ef24141c
SM
8033 * net/dbus.el (dbus-message-internal): Declare function.
8034 Remove unneeded function declarations.
dcbf5805
MA
8035 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8036 (dbus-message-type-method-return, dbus-message-type-error)
8037 (dbus-message-type-signal): Declare variables. Remove local
8038 definitions.
8039 (dbus-interface-dbus, dbus-interface-peer)
8040 (dbus-interface-introspectable, dbus-interface-properties)
8041 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8042 Adapt docstring.
8043 (dbus-interface-objectmanager): New defconst.
8044 (dbus-call-method, dbus-call-method-asynchronously)
8045 (dbus-send-signal, dbus-method-return-internal)
8046 (dbus-method-error-internal, dbus-register-service)
8047 (dbus-register-signal, dbus-register-method): New defuns, moved
8048 from dbusbind.c
8049 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8050 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8051 New defuns.
dcbf5805
MA
8052 (dbus-call-method-non-blocking): Make it an obsolete function.
8053 (dbus-unregister-object, dbus-unregister-service)
8054 (dbus-handle-event, dbus-register-property)
8055 (dbus-property-handler): Obey the new structure of
8056 `bus-registered-objects'.
8057 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8058 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8059 Use `dbus-call-method'.
8060
cf20dee0
CY
80612012-04-22 Chong Yidong <cyd@gnu.org>
8062
8063 * cus-edit.el (custom-commands, custom-reset-menu)
8064 (Custom-reset-standard): Tweak labels.
8065 (custom-reset-button-menu): Change default to t.
8066 (custom-buffer-create-internal): For the custom-reset-button-menu
8067 case, put the revert button first.
8068 (custom-group-subtitle): New face.
8069 (custom-group-value-create): Align docstring to a specific column.
8070
8071 * wid-edit.el (widget-documentation-link-add): Don't handle
8072 indentation in this function.
8073 (widget-documentation-string-indent-to): New function.
8074 (widget-documentation-string-value-create): Use it.
8075
8076 * autorevert.el (auto-revert):
8077 * epg-config.el (epg):
8078 * ibuffer.el (ibuffer):
8079 * mpc.el (mpc):
8080 * ses.el (ses):
8081 * eshell/eshell.el (eshell):
8082 * net/ange-ftp.el (ange-ftp):
8083 * progmodes/ebnf2ps.el (postscript):
8084 * progmodes/flymake.el (flymake):
8085 * progmodes/prolog.el (prolog):
8086 * progmodes/verilog-mode.el (verilog-mode):
8087 * progmodes/which-func.el (which-func):
8088 * term/xterm.el (xterm):
8089 * textmodes/picture.el (picture):
8090 * textmodes/tildify.el (tildify):
8091 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8092 customization buffers.
8093
583e23bd
AM
80942012-04-22 Alan Mackenzie <acm@muc.de>
8095
8096 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8097 Adding a ) can hide the resulting (..) from searches. Fix it.
8098 Bound the backward search to the position of the existing (.
8099
7dd51bf1
JB
81002012-04-21 Juanma Barranquero <lekktu@gmail.com>
8101
8102 * progmodes/verilog-mode.el (verilog-mode): Check whether
8103 which-func-modes is t before adding verilog-mode.
8104 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8105
d64a438f
LL
81062012-04-21 Leo Liu <sdl.web@gmail.com>
8107
7dd51bf1 8108 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8109
081e8d65
MV
81102012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8111
8112 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8113 filling of the last column of a table (Bug#5635).
8114 (woman-find-next-control-line): New arg, specifying an additional
8115 regexp component for the control line.
8116 (woman2-roff-buffer): Use it.
8117 (woman-break-table): New function.
8118 (woman2-TS): Use it.
8119
81202012-04-21 Chong Yidong <cyd@gnu.org>
8121
8122 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8123 (woman-horizontal-escapes, woman-negative-vertical-space)
8124 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8125 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8126
ed571ccb
SM
81272012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * minibuffer.el (completion-file-name-table): Complete user names.
8130
39773899
LL
81312012-04-20 Leo Liu <sdl.web@gmail.com>
8132
8133 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8134 and pcase-let*.
8135
de6ff46d
CY
81362012-04-20 Chong Yidong <cyd@gnu.org>
8137
8138 * server.el (server-execute): Respect initial-buffer-choice if it
8139 is a string and there are no files to open (Bug#2825).
8140 (server-create-window-system-frame, server-create-tty-frame):
8141 Don't switch buffers here.
2d0e8e61
CY
8142 (server-process-filter): Only try to open a window system frame if
8143 compiled with graphical support (Bug#8314).
de6ff46d 8144
54071013
DN
81452012-04-20 Dan Nicolaescu <dann@gnu.org>
8146
8147 * battery.el (battery-echo-area-format): Display remaining time
8148 for sysfs backend too (Bug#11269).
8149 (battery-linux-sysfs): Fix conditional for the charge.
8150
f30d612a
CY
81512012-04-20 Chong Yidong <cyd@gnu.org>
8152
c07a4c0b 8153 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8154 (gdb-inferior-io--init-proc): New function.
8155 (gdb-init-1): Use it.
8156 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8157 responsible for allocating a new pty and hooking it to gdb when
8158 the old pty gets an EIO due to process exit.
8159 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8160 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8161 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8162
2116e93c
EZ
81632012-04-20 Eli Zaretskii <eliz@gnu.org>
8164
8165 * window.el (window-min-size, window-sizable, window-min-delta)
8166 (window-max-delta, window--resizable, window-resizable)
8167 (window-total-size, window-full-height-p, window-full-width-p)
8168 (window-in-direction, window--resize-mini-window, window-resize)
8169 (window--resize-child-windows-normal)
8170 (window--resize-child-windows, window--resize-siblings)
8171 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8172 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8173
c07a4c0b 81742012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8175
ef24141c
SM
8176 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8177 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8178 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8179 pty process (Bug#11273).
8180 (gdb-update): New arg to suppress talking to the gdb process.
8181 (gdb-done-or-error): Use it.
8182 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8183 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8184 sentinel not being called.
8185
8186 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8187
d02766ab
CY
8188 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8189
c07a4c0b 81902012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8191
8192 * net/network-stream.el (open-network-stream): Doc fix.
8193
c07a4c0b 81942012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8195
8196 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8197
c07a4c0b 81982012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8199
8200 Ensure searching for keywords is case sensitive.
8201
8202 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8203 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8204 (c-defun-name, c-mark-function, c-cpp-define-name)
8205 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8206 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8207
ef24141c
SM
8208 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8209 Bind case-fold-search to nil.
f0f6bc35 8210
c07a4c0b 82112012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8212
8213 * mail/sendmail.el (mail-bury): Call return action with the right
8214 Rmail buffer (Bug#11242).
8215
9a864fa2
CY
8216 * server.el (server-process-filter): Handle corner case where both
8217 tty and nowait options are present (Bug#11102).
8218
539aa513
EZ
82192012-04-20 Eli Zaretskii <eliz@gnu.org>
8220
8221 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8222 (top level): Put into the executable the ident-style '$Id:' tag on
8223 windows-nt as well.
539aa513 8224
cfc7d5da
SM
82252012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * electric.el (electric-indent-post-self-insert-function): Check that
8228 electric-indent-mode is enabled in current buffer.
8229
5b01685c
JB
82302012-04-19 Juanma Barranquero <lekktu@gmail.com>
8231
8232 * imenu.el (imenu-progress-message): Restore; it is "used" in
8233 erc/erc-imenu.el and net/snmp-mode.el.
8234
4d6769e1
JB
82352012-04-19 Juanma Barranquero <lekktu@gmail.com>
8236
8237 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8238 (mouse-avoidance-nudge-mouse): Remove unused binding.
8239
8240 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8241
8242 * descr-text.el (describe-char):
8243 * progmodes/python.el (python-describe-symbol):
8244 Don't call `toggle-read-only', set `buffer-read-only'.
8245
8246 * imenu.el (imenu-default-goto-function): Mark unused args.
8247 (imenu-progress-message): Remove obsolete macro; all callers changed.
8248
8249 * subr.el (keymap-canonicalize): Remove unused binding.
8250 (read-passwd): Mark unused arg.
8251
8252 * tutorial.el (tutorial--display-changes): Remove unused binding.
8253 (tutorial--save-tutorial-to): Remove unused variable.
8254
8255 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8256 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8257 (package-generate-autoloads, package-menu--generate)
8258 (package-menu--find-upgrades): Remove unused bindings.
8259
8260 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8261 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8262 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8263 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8264 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8265 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8266 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8267 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8268 (cua-delete-char-rectangle): Mark unused args.
8269 (cua-align-rectangle): Remove unused binding.
8270
8271 * mail/rmail.el (compilation--message->loc)
8272 (epa--find-coding-system-for-mime-charset): Declare.
8273
8274 * net/dbus.el (dbus-register-service): Declare.
8275 (dbus-name-owner-changed-handler): Remove unused binding.
8276
8277 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8278 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8279 (nxml-scan-backward-within): Mark unused arg.
8280 (nxml-dynamic-markup-word): Remove unused binding.
8281
8282 * mouse.el (mouse-menu-major-mode-map):
8283 * emacs-lisp/authors.el (authors-scan-change-log)
8284 (authors-add-to-author-list):
8285 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8286 * emacs-lisp/smie.el (smie-auto-fill):
8287 * mail/sendmail.el (mail-bury):
8288 * mail/unrmail.el (unrmail):
8289 * net/tls.el (open-tls-stream):
8290 * textmodes/picture.el (picture-mouse-set-point):
8291 Remove unused bindings.
8292
8c8fc5df
MA
82932012-04-19 Michael Albinus <michael.albinus@gmx.de>
8294
8295 * net/tramp.el (tramp-action-password): Let-bind
8296 `enable-recursive-minibuffers' to t.
8297
a77b0ac9
SS
82982012-04-18 Sam Steingold <sds@gnu.org>
8299
8300 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8301 instead of 'string to accommodate values like [f11].
8302 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8303 * progmodes/gdb-mi.el: Likewise.
8304
12a106a9
LL
83052012-04-18 Leo Liu <sdl.web@gmail.com>
8306
8307 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8308 current buffer.
8309 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8310 LOCAL is nil.
8311
bc6494ef
CY
83122012-04-18 Chong Yidong <cyd@gnu.org>
8313
8314 * simple.el (line-move): Use forward-line if in batch mode
8315 (Bug#11053).
8316
c09c46b2
CS
83172012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8318
8319 * files.el (after-find-file): Do not try to add a final newline if
8320 the buffer is read-only (Bug#11156).
8321
5f6530ea
RS
83222012-04-17 Richard Stallman <rms@gnu.org>
8323
8324 * mail/rmail.el (rmail-start-mail):
8325 Pass (rmail-mail-return...) for the return-action.
8326 Pass (rmail-yank-current-message...) for the yank-action.
8327 (rmail-yank-current-message): New function.
8328 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8329 (rmail-reply): Likewise.
8330 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8331
8332 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8333 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8334 buffer, not newbuf.
8335
197b6f3c
JB
83362012-04-17 Juanma Barranquero <lekktu@gmail.com>
8337
8338 * server.el (server-ensure-safe-dir): Simplify.
8339
2311d8e5 83402012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8341
2311d8e5
GM
8342 * emacs-lisp/smie.el: Provide smarter auto-filling.
8343 (smie-auto-fill): New function.
8344 (smie-setup): Use it.
98fb480e 8345
2311d8e5
GM
8346 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8347
83482012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8349
8350 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8351 (comment-indent): Use it.
8352
2311d8e5 83532012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8354
8355 * ses.el: The overall change is to add cell renaming, that is
8356 setting fancy names for cell symbols other than name matching
8357 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8358 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8359 (ses-create-cell-variable): New defun.
2311d8e5 8360 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8361 (ses-relocate-formula): Relocate formulas only for cells the
8362 symbols of which are not renamed, i.e. symbols whose names do not
8363 match regexp "\\`[A-Z]+[0-9]+\\'".
8364 (ses-relocate-all): Relocate values only for cells the symbols of
8365 which are not renamed.
8366 (ses-load): Create cells variables as the (ses-cell ...) are read,
8367 in order to check row col consistency with cell symbol name only
8368 for cells that are not renamed.
8369 (ses-replace-name-in-formula): New defun.
8370 (ses-rename-cell): New defun.
4bdf2ad2 8371
fc72b15c
PO
83722012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8373
8374 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8375 New option (bug#11118).
8376 (perl-calculate-indent): Respect it.
8377
12e10e61
GM
83782012-04-17 Glenn Morris <rgm@gnu.org>
8379
8380 * dired-aux.el (dired-mark-read-string): Doc fix.
8381
30009afd
DA
83822012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8383
8384 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8385 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8386
41f03f4d
GM
83872012-04-17 Glenn Morris <rgm@gnu.org>
8388
8389 * mouse.el (mouse-drag-track):
8390 * speedbar.el (speedbar-frame-mode):
8391 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8392
f45f90f3
LL
83932012-04-16 Leo Liu <sdl.web@gmail.com>
8394
8395 * progmodes/python.el: Trivial cleanup.
8396
94ee8db5
GM
83972012-04-16 Glenn Morris <rgm@gnu.org>
8398
121b8917
GM
8399 * vc/vc.el (vc-string-prefix-p):
8400 * vc/pcvs-util.el (cvs-string-prefix-p):
8401 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8402 * mpc.el (mpc-string-prefix-p):
8403 Make all of these into obsolete aliases for string-prefix-p.
8404 Update callers.
8405 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8406
1197ecfa
GM
8407 * textmodes/two-column.el: Move custom options to the start.
8408 (frame-width): Remove compat definition.
8409 (2C-associate-buffer, 2C-dissociate):
8410 Use with-current-buffer rather than save-excursion.
8411 (2C-dissociate): Force a mode-line update.
8412 (2C-autoscroll): Use ignore-errors.
8413
099e7202
GM
8414 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8415 Autoload trivia.
8416
bf350d6a
GM
8417 * emacs-lisp/cl-extra.el (*random-state*):
8418 Remove unnecessary declaration.
8419
0e829eab
GM
8420 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8421
e3ad7552
GM
8422 * play/cookie1.el (cookie-snarf):
8423 Give an explicit error if input file cannot be read.
8424
68892d27
GM
8425 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8426
20f0c46d
GM
8427 * progmodes/perl-mode.el (c-macro-expand):
8428 Remove unnecessary autoload (it is in loaddefs.el).
8429
5a0978ce
GM
8430 * textmodes/picture.el (picture-desired-column)
8431 (picture-update-desired-column): Convert comments to doc-strings.
8432 (picture-substitute): Remove function.
8433 (picture-mode-map): Initialize in the defvar.
8434
6b955486
GM
8435 * woman.el: Remove eval-after-load for tar-mode.
8436 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8437 (woman-tar-extract-file): Autoload it.
8438
94ee8db5
GM
8439 * frame.el (automatic-hscrolling): Make this alias obsolete.
8440
177eca34
AM
84412012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8442
090bd7cb 8443 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8444 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8445 (ispell-dictionary-base-alist): Revert to original XEmacs
8446 friendly version for default. [:alpha:] will be added in
090bd7cb 8447 `ispell-set-spellchecker-params' if needed.
177eca34 8448
c505aaeb
CY
84492012-04-16 Chong Yidong <cyd@gnu.org>
8450
b19dd9d1 8451 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8452 (imagemagick-register-types): Use it.
8453 (imagemagick-types-inhibit): Add :set function. Allow new value
8454 of t to inhibit all types.
8455
8456 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8457 so we can preload it.
8458
8459 * loadup.el (fboundp): Preload regexp-opt, needed by
8460 imagemagick-register-types.
8461
60efac0f
CY
84622012-04-15 Chong Yidong <cyd@gnu.org>
8463
8464 * frame.el (scrolling): Remove nearly unused customization group.
8465
8466 * scroll-all.el (scroll-all-mode): Move to windows group.
8467
5dd1713e
CY
84682012-04-15 Chong Yidong <cyd@gnu.org>
8469
8470 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8471
e6fd457e
CY
84722012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8475 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8476
e153c136
GM
84772012-04-15 Glenn Morris <rgm@gnu.org>
8478
8479 * simple.el (process-file-side-effects): Doc fix.
8480
e6fd457e 84812012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8482
8483 * international/mule-cmds.el (set-language-environment): Doc fix.
8484
3603c3b1
JB
84852012-04-14 Juanma Barranquero <lekktu@gmail.com>
8486
8487 * server.el (server-auth-key, server-generate-key): Doc fixes.
8488 (server-get-auth-key): Doc fix. Use `string-match-p'.
8489 (server-start): Reflow docstring.
8490
e6de100c
LI
84912012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8492
8493 * server.el (server-generate-key): `called-interactively-p'
8494 requires a parameter.
8495
29734c21
MN
84962012-04-14 Michal Nazarewicz <mina86@mina86.com>
8497
8498 * server.el (server-auth-key): New variable.
75f1671a 8499 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8500 (server-start): Use the new variable and functions to allow
8501 setting a permanent server key (bug#9423).
8502
d65c9521
LL
85032012-04-14 Leo Liu <sdl.web@gmail.com>
8504
8505 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8506
5ae255c7
PE
85072012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8508
8509 Spelling fixes.
8510 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8511 Emacs uses American spelling.
8512
d5e6342e
JB
85132012-04-14 Juanma Barranquero <lekktu@gmail.com>
8514
8515 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8516 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8517 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8518 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8519
ab036cd7
SM
85202012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * progmodes/which-func.el (which-func-modes): Change default.
8523
35dc09a1 85242012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8525
8526 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8527 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8528
35dc09a1 85292012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8530
8531 * custom.el (custom-theme-set-variables): Doc fix.
8532
35dc09a1 85332012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8534
8535 * international/mule.el (set-auto-coding-for-load): Doc fix.
8536
35dc09a1 85372012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8538
35dc09a1
GM
8539 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8540 imenu work again for Objective C Mode. Correct the *-index values,
8541 these having been disturbed by a previous change in 2011-08.
57f845ee 8542
0de3da9f
AM
8543 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8544 Correct two search limits.
8545
35dc09a1 85462012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8547
8548 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8549
35dc09a1 85502012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8551
8552 * international/characters.el: Fix sorting.
8553
35dc09a1 85542012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8555
8556 * international/characters.el: Add more missing Latin case pairs.
8557
35dc09a1 85582012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8559
8560 * files.el (dir-locals-set-class-variables): Doc fix.
8561
35dc09a1 85622012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8563
3f1b5bf8
EZ
8564 * international/characters.el: Add set-case-syntax-pair call for
8565 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8566 counterpart. (Bug#11209)
8567
9f847f41
EZ
8568 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8569
35dc09a1 85702012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8571
8572 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8573
35dc09a1 85742012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8575
35dc09a1
GM
8576 * textmodes/ispell.el (ispell-dictionary-base-alist):
8577 Add data for Hebrew.
e2627d21 8578
35dc09a1 85792012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8580
35dc09a1
GM
8581 * net/rcirc.el (rcirc-cmd-quit):
8582 Revert 2012-03-18 change (Bug#11192).
5c14e333 8583
35dc09a1 85842012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8585
8586 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8587
35dc09a1 85882012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8589
4517fe3a
SM
8590 * minibuffer.el (completion-in-region-mode-map):
8591 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8592
b472a594
VD
85932012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8594
8595 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8596
09b95ce3
MY
85972012-04-13 Masatake YAMATO <yamato@redhat.com>
8598
8599 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8600 to allow `C-M-f' and `C-M-b' to move to the nearest path
8601 separator (bug#9511).
8602
4b63a9ca
LI
86032012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8604
8605 * avoid.el: Require cl when compiling. And also move the
8606 `provide' to the end.
8607
7b55b8bf
TV
86082012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8609
8610 * avoid.el (mouse-avoidance-banish-position): New variable.
8611 (mouse-avoidance-banish-destination): Use it (bug#10165).
8612
adedaa1f
LL
86132012-04-13 Leo Liu <sdl.web@gmail.com>
8614
8615 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8616
70e74021
KB
86172012-04-13 Ken Brown <kbrown@cornell.edu>
8618
8619 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8620 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8621 (browse-url-filename-alist): For the same reason, don't modify
8622 file:// URLs on Cygwin.
8623
e75e89ba
SM
86242012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8627 the region on shift if the binding is already shifted (bug#11221).
8628
82f289a4
GM
86292012-04-12 Glenn Morris <rgm@gnu.org>
8630
8631 * mail/mailpost.el: Move to obsolete/.
8632
d333dc4c
DA
86332012-04-12 Drew Adams <drew.adams@oracle.com>
8634
8635 * imenu.el (imenu--generic-function): Ignore invisible definitions
8636 (bug#10123).
8637
0d15b5ba
VD
86382012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8639
8640 * hexl.el (hexl-bits): New variable.
8641 (hexl-options): Mention the variable in the doc string.
75f1671a 8642 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8643 (hexl-mode): Mention the new variable.
75f1671a
JB
8644 (hexl-mode, hexl-current-address, hexl-current-address):
8645 Use the displen.
0d15b5ba
VD
8646 (hexl-ascii-start-column): New function.
8647 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8648 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8649
64a440db
AM
86502012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8651
8652 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8653 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8654 the encoding, as expected by hunspell.
8655
6decb6c2
SM
86562012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8657
8658 * battery.el (battery--linux-sysfs-regexp): New const.
8659 (battery-status-function): Use it. Remove yeeloong special case.
8660 (battery-yeeloong-sysfs): Remove.
8661 (battery-echo-area-format): Remove yeeloong special case.
8662
088be6fb
SM
86632012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8664
6622e416
SM
8665 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8666 Reported by Noah Friedman.
8667
088be6fb
SM
8668 * subr.el (read-passwd): Use read-string.
8669
b49f886e
LMI
86702012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8671
8672 * vcursor.el (vcursor-move): Increase the priority of the overlay
8673 (bug#9663).
8674
a63067fc
DD
86752012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8676
8677 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8678 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8679
ac3cf14a
WS
86802012-04-11 William Stevenson <yhvh2000@gmail.com>
8681
8682 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8683 define-minor-mode (bug#10760).
8684
c4fc691b 86852012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8686
4d6769e1 8687 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8688 that directories matching `grep-find-ignored-files' won't be
8689 pruned (bug#10351).
8690
af23e2e5
CY
86912012-04-11 Chong Yidong <cyd@gnu.org>
8692
8693 * startup.el (command-line): Remove support for long-obsolete
8694 variable font-lock-face-attributes.
8695
ab7ce8c1
GM
86962012-04-11 Glenn Morris <rgm@gnu.org>
8697
8698 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8699
de8c03dc
SM
87002012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * window.el (window--state-get-1): Obey window-point-insertion-type.
8703
050cc68b
LB
87042012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8705
8706 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8707 to previous function when point is on the first character of a
75f1671a 8708 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8709
a38c310c
GM
87102012-04-11 Glenn Morris <rgm@gnu.org>
8711
effed0c2
GM
8712 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8713 not just file-errors.
8714
a38c310c
GM
8715 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8716 (vc-bzr-sha1): Use internal sha1.
8717
0221e323
SM
87182012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8721
43956923
SG
87222012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8723
8724 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8725 that start in the middle of the line (bug#10496).
8726
6a8c9eaf
DN
87272012-04-10 Dan Nicolaescu <dann@gnu.org>
8728
8729 * battery.el (battery-linux-proc-acpi): Only one battery is
8730 discharged at a time, but that seems to confuse battery.el when
8731 computing `rate-type' for the battery not being discharged
8732 (bug#10332).
8733
1930bf5d
SM
87342012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8735
2a718f6f
SM
8736 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8737
599430d0
SM
8738 * international/quail.el: Use dolist and simplify.
8739 (quail-define-package, quail-update-keyboard-layout)
8740 (quail-define-rules): Use dolist.
8741 (quail-insert-kbd-layout, quail-get-translation): CSE.
8742
a2754b6c
SM
8743 * tmm.el: Use dolist, remove left over hook.
8744 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8745 Use dolist.
8746 (calendar-load-hook): Don't mess with it.
8747
1930bf5d
SM
8748 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8749 Use derived-mode-p. Run the diff asynchronously.
8750
9f67961c
LMI
87512012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8752
8753 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8754
2a8ce227
JB
87552012-04-10 Juanma Barranquero <lekktu@gmail.com>
8756
8757 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8758 (list-dynamic-libraries--loaded): New function.
8759 (list-dynamic-libraries--refresh): Use it.
8760
8f33b5f8
NW
87612012-04-10 Nathan Weizenbaum <nweiz@google.com>
8762
1930bf5d
SM
8763 * progmodes/python.el (python-fill-paragraph):
8764 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8765 disabled (bug#7018).
8766
b12f0439
L
87672012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8768
1930bf5d 8769 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8770 DOS/MS Windows for the Baltic languages. There are still plenty
8771 of texts written in this encoding/codepage (bug#6519).
b12f0439 8772
57c3bd01
GM
87732012-04-10 Glenn Morris <rgm@gnu.org>
8774
8775 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8776 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8777
6c3eab30
FA
87782012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8779
1930bf5d 8780 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8781 next-line "n" and previous-line "p" in order to make recentf more
8782 consistent with ibuffer, dired or org-mode (bug#9387).
8783
24d78a88
LMI
87842012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8785
bc72b5d9
LMI
8786 * image.el (put-image): Return the overlay created instead of the
8787 optional input string (bug#7834). Note that this may break code
8788 that is (for some reason or other) depending on `put-image'
8789 returning the string.
8790
bd2dba5a
LMI
8791 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8792
74beb59f
LMI
8793 * simple.el (zap-to-char): Allow zapping using input methods
8794 (bug#1580).
8795
24d78a88
LMI
8796 * textmodes/fill.el (fill-region): Leave point and mark where they
8797 were before filling (bug#5399).
8798
263f20cd
GM
87992012-04-09 Glenn Morris <rgm@gnu.org>
8800
8801 * version.el (emacs-bzr-get-version):
8802 Handle lightweight checkouts of local branches.
8803
58d1f797
AS
88042012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8805
263f20cd 8806 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8807
b4d3bc10
CY
88082012-04-09 Chong Yidong <cyd@gnu.org>
8809
8810 * custom.el (custom-variable-p): Return nil for non-symbol
8811 arguments instead of signaling an error.
8812 (user-variable-p): Obsolete alias for custom-variable-p.
8813
8814 * apropos.el (apropos-variable):
8815 * files-x.el (read-file-local-variable):
8816 * simple.el (set-variable):
8817 * woman.el (woman-mini-help):
8818 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8819
fd06db5d
GM
88202012-04-09 Glenn Morris <rgm@gnu.org>
8821
e5fcdb5e
GM
8822 * startup.el (normal-top-level): Don't look for leim-list.el
8823 in places where it will not be found. (Bug#910)
8824
fd06db5d
GM
8825 * international/mule-cmds.el (set-default-coding-systems):
8826 * files.el (normal-mode):
8827 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8828 This function was removed with ucs-tables.el in 2008.
8829
b39bb7e1
EZ
88302012-04-08 Eli Zaretskii <eliz@gnu.org>
8831
8832 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8833 ispell-encoding8-command to "-i", without a trailing space.
8834 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8835 separate command-line arguments, to specify the encoding, since
8836 that's how hunspell expects it.
8837
5c5b8e23
GM
88382012-04-08 Glenn Morris <rgm@gnu.org>
8839
8840 * loadup.el: Load bindings before cus-start.
8841 This reduces somewhat the number of "rogue" settings in emacs -Q.
8842
a1ed8b05
GM
88432012-04-07 Glenn Morris <rgm@gnu.org>
8844
8845 * version.el (emacs-bzr-get-version): New function.
dfae128a 8846 (emacs-bzr-version): New variable.
a1ed8b05
GM
8847 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8848 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8849
b142f158
EZ
88502012-04-07 Eli Zaretskii <eliz@gnu.org>
8851
dfae128a
GM
8852 * international/uni-bidi.el, international/uni-category.el:
8853 * international/uni-combining.el, international/uni-decimal.el:
8854 * international/uni-decomposition.el, international/uni-digit.el:
8855 * international/uni-lowercase.el, international/uni-mirrored.el:
8856 * international/uni-name.el, international/uni-numeric.el:
8857 * international/uni-titlecase.el, international/uni-uppercase.el:
8858 Update for Unicode 6.1.
b142f158 8859
9078ead6
EZ
88602012-04-07 Eli Zaretskii <eliz@gnu.org>
8861
8862 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8863
f23d2c7d
LMI
88642012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8865
8866 * window.el (shrink-window): Mention the `window-min-height'
8867 variable in the doc string.
8868
0a0a3573
BG
88692012-04-05 Bastien Guerry <bzg@altern.org>
8870
8871 * color.el (color-lighten-name): Fix typo.
8872
e5248ac9
SM
88732012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * server.el (server--on-display-p): New function.
8876 (server--on-display-p): Use it.
8877
b4243e22
GV
88782012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8879
8880 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8881 (bug#11145).
8882
305d9f44
SM
88832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * comint.el (comint--common-quoted-suffix): Check string boundary
8886 before comparing (bug#11158).
8887 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8888
3d439cd1
CY
88892012-04-04 Chong Yidong <cyd@gnu.org>
8890
321cc491
CY
8891 * minibuffer.el (completion-extra-properties): Doc fix.
8892
3d439cd1
CY
8893 * subr.el (delayed-warnings-hook): Doc fix.
8894
2d562c0f
DU
88952012-04-04 Daiki Ueno <ueno@unixuser.org>
8896
8897 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8898 selection (Bug#11159).
8899 (epa-insert-keys): Inform that the default public key will be
8900 exported if no key is selected.
8901
4443f204
RS
89022012-04-04 Richard Stallman <rms@gnu.org>
8903
8904 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8905
529c06b6
CY
89062012-04-03 Chong Yidong <cyd@gnu.org>
8907
8908 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8909 mail-insert-file, not its obsolete alias mail-attach-file.
8910
66b907dc
MA
89112012-04-03 Michael Albinus <michael.albinus@gmx.de>
8912
8913 * notifications.el (notifications-notify): Fix docstring.
8914
c0ea195d
GM
89152012-04-02 Glenn Morris <rgm@gnu.org>
8916
8917 * emacs-lisp/authors.el (authors-aliases): Another addition.
8918
5ca64e00
MA
89192012-04-02 Michael Albinus <michael.albinus@gmx.de>
8920
8921 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8922 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8923 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8924
42ee526b
CY
89252012-04-01 Chong Yidong <cyd@gnu.org>
8926
8927 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8928 Handle root directory properly.
8929 (copy-directory): Caller changed.
8930
8931 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8932 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8933
0b021094
GM
89342012-03-31 Glenn Morris <rgm@gnu.org>
8935
40f86458
GM
8936 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8937
7019c177
GM
8938 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8939
a1daddd6
GM
8940 * calendar/calendar.el (calendar-window-list)
8941 (calendar-hide-window): Restore. (Bug#11140)
8942 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8943
0b021094
GM
8944 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8945
40311efc
TV
89462012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8947
8948 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8949 Check if file is a symlink (Bug#10489).
8950
8951 * files.el (copy-directory): Likewise.
8952
5319014e
CY
89532012-03-30 Chong Yidong <cyd@gnu.org>
8954
8955 * image.el (imagemagick-types-inhibit)
8956 (imagemagick-register-types): Doc fix.
8957
935d1290
AM
89582012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8959
090bd7cb 8960 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8961 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8962 and treats ~word as ordinary words in pipe mode.
935d1290 8963
61c6e8fd
GM
89642012-03-30 Glenn Morris <rgm@gnu.org>
8965
8966 * tutorial.el (help-with-tutorial): Ensure local variables don't
8967 happen to make the buffer read-only. (Bug#11127)
8968
81fdff00
SM
89692012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8972 (perl-calculate-indent): Return `noindent' in strings.
8973
6e7a6ec0
SS
89742012-03-28 Sam Steingold <sds@gnu.org>
8975
8976 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8977 instead of the broken adhockery which does not prevent calendar
8978 buffers from being displayed at random after exit.
8979 (calendar-window-list, calendar-hide-window): Remove the broken
8980 adhockery.
8981
fee88ca0
GM
89822012-03-28 Glenn Morris <rgm@gnu.org>
8983
8984 * replace.el (query-replace-map): Doc fix.
8985
38de3354
AS
89862012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8987
8988 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8989 contents. (Bug#11109)
8990
b973155e
SM
89912012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8994 (bug#11077).
8995 (avl-tree--check, avl-tree--check-node): New funs.
8996
dcb6e7b3
MR
89972012-03-27 Martin Rudalics <rudalics@gmx.at>
8998
8999 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9000 (switch-to-prev-buffer, switch-to-next-buffer):
9001 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9002 showing a buffer already is done on the same frame.
9003
b4fa35fa
GM
90042012-03-27 Glenn Morris <rgm@gnu.org>
9005
9006 * startup.el (mail-host-address): Doc fix.
9007
f9210e18
SM
90082012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9011 than 197 variables.
9012
c0bf7753
AF
90132012-03-26 Ami Fischman <ami@fischman.org>
9014
9015 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9016
33da7b16
GM
90172012-03-26 Glenn Morris <rgm@gnu.org>
9018
02243d9d
GM
9019 * files.el (save-buffers-kill-emacs): Doc fix.
9020
33da7b16
GM
9021 * startup.el (normal-top-level, command-line, command-line-1):
9022 Give them doc strings.
9023
e5a69fd0
EZ
90242012-03-25 Eli Zaretskii <eliz@gnu.org>
9025
9026 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9027 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9028
9a69676a
CY
90292012-03-25 Chong Yidong <cyd@gnu.org>
9030
4125cb8b
CY
9031 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9032 theme if it was previously enabled before (Bug#11031).
9033
dd470960
CY
9034 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9035 spec with custom-face-get-current-spec if its :shown-value is not
9036 determined yet (Bug#9337).
4125cb8b 9037 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9038
9a69676a
CY
9039 * button.el (button-at): Minor addition to docstring.
9040
6e7e90fa
SL
90412012-03-24 Simon Leinen <simon.leinen@gmail.com>
9042
9043 * vc/vc.el (vc-merge): Fix a prompt.
9044
f06e2758
CY
90452012-03-24 Chong Yidong <cyd@gnu.org>
9046
9047 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9048 point (Bug#9623).
9049
6e7e90fa
SL
9050 * button.el (button-at): Minor addition to docstring.
9051
b9d0879b
SM
90522012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * newcomment.el (comment-choose-indent): No space after BOL.
9055
e71cebb3
SS
90562012-03-22 Sam Steingold <sds@gnu.org>
9057
9058 * window.el (switch-to-prev-buffer): Revert last patch because the
9059 bug turned out to be an advertised feature (Elisp manual 28.14).
9060
335aff35
GM
90612012-03-22 Glenn Morris <rgm@gnu.org>
9062
9063 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9064 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9065
c676576a
LMI
90662012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9067
9068 * net/network-stream.el (network-stream-open-starttls): Make error
9069 message under Windows be less misleading.
9070
126f3d39
LW
90712012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9072
9073 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9074 understands (bug#9942).
9075
64fee311
CY
90762012-03-22 Chong Yidong <cyd@gnu.org>
9077
9078 * simple.el (end-of-visible-line): Handle return value of
9079 next-single-property-change properly (Bug#9371).
9080
a640d29a
KH
90812012-03-22 Kenichi Handa <handa@m17n.org>
9082
9083 * international/quail.el (quail-insert-kbd-layout): Fix previous
9084 change. To avoid unwanted bidi reordering, use
9085 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9086
39675016
DG
90872012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9088
9089 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9090 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9091 (ruby-beginning-of-indent): Be more careful with the difference
9092 between word-boundary and symbol boundary.
9093 (ruby-mode-syntax-table): Make : a symbol constituent.
9094
0a6934fc 90952012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9096
3d008e4f
SM
9097 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9098
0a6934fc
SM
90992012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9100
af67c9d7
SM
9101 * progmodes/etags.el (tags-completion-at-point-function):
9102 Improve last fix.
9103
1acad97c
SM
9104 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9105
e298b5da
SS
91062012-03-21 Sam Steingold <sds@gnu.org>
9107
9108 * progmodes/etags.el (tags-completion-at-point-function):
9109 Avoid the error when point is inside the pattern.
9110
91d82a70
JY
91112012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9112
9113 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9114 line (Bug#10855).
9115
69188b79
CY
91162012-03-21 Drew Adams <drew.adams@oracle.com>
9117
9118 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9119
99fc91fe
AK
91202012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9121
9122 * ido.el (ido-set-current-directory, ido-read-internal)
9123 (ido-choose-completion-string, ido-completion-help): Handle nil
9124 value of ido-completion-buffer (Bug#11008).
9125
087bbb4c
SS
91262012-03-21 Sam Steingold <sds@gnu.org>
9127
9128 * window.el (switch-to-prev-buffer): Do not switch to a visible
9129 window previous buffer, just like with the frame previous buffers.
9130
fb5b8aca
CY
91312012-03-21 Chong Yidong <cyd@gnu.org>
9132
9133 * faces.el (make-face, make-empty-face, copy-face):
9134 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9135 Doc fixes.
9136
dc9924b8
SM
91372012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9140 (widget-complete): Remove broken use of it.
9141
f0bcceb9
CY
91422012-03-20 Chong Yidong <cyd@gnu.org>
9143
dc9924b8
SM
9144 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9145 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9146 characters.
9147
ee52ebf3
TH
91482012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9149
9150 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9151 to draw rectangles, not squares. (Regression introduced by revno
9152 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9153
4c5779ab
CY
91542012-03-18 Chong Yidong <cyd@gnu.org>
9155
9156 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9157 it is not yet defined (for temacs).
9158
15360934
LL
91592012-03-18 Leo Liu <sdl.web@gmail.com>
9160
735135f9
PE
9161 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9162 prefix.
15360934 9163
d9a8eb66
EZ
91642012-03-17 Eli Zaretskii <eliz@gnu.org>
9165
9166 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9167 (ispell-choices-win-default-height, ispell-silently-savep)
9168 (ispell-dictionary-alist, ispell-encoding8-command)
9169 (ispell-check-version, ispell-aspell-find-dictionary)
9170 (ispell-valid-dictionary-list, ispell-words-keyword)
9171 (ispell-get-word, ispell-internal-change-dictionary)
9172 (ispell-region, ispell-skip-region-list)
9173 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9174 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9175 (ispell-message-text-end, ispell-message)
9176 (ispell-buffer-local-parsing): Doc fix.
9177
f02ff80d
J
91782012-03-13 Jambunathan K <kjambunathan@gmail.com>
9179
9180 * htmlfontify.el: Add support for code block fontification for ODT
9181 export (Bug #9914).
9182 (hfy-optimisations): Define new option
9183 `body-text-only'
9184 (hfy-fontify-buffer): Honor above setting.
9185 (hfy-begin-span, hfy-end-span): New routines factored out form
9186 `hfy-fontify-buffer'.
9187 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9188 that permit insertion of custom tags.
9189 (hfy-fontify-buffer): Use above handlers.
9190 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9191 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9192 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9193 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9194 bind a special variable `hfy-user-sheet-assoc'.
9195 (htmlfontify-string): New defun.
9196 (hfy-compile-face-map): Make sure that the last char in the
9197 buffer is correctly fontified.
9198 (hfy-face-resolve-face): Whitespace only change.
9199
9ac7a13f
EZ
92002012-03-17 Eli Zaretskii <eliz@gnu.org>
9201
9202 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9203 message more clear.
9204
e2b5bdd7
LL
92052012-03-16 Leo Liu <sdl.web@gmail.com>
9206
9207 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9208
2e492df3
AM
92092012-03-16 Alan Mackenzie <acm@muc.de>
9210
9211 Further optimise the handling of large macros.
9212
9213 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9214 limit to a call of `c-literal-limits'.
9215 (c-determine-+ve-limit): New function.
dc9924b8
SM
9216 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9217 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9218 In CASE 5B, restrict a search limit to 500.
9219 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9220
9221 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9222 Restrict macro bounds to +-500 from after-change's BEG END.
9223
50e94f0c
LL
92242012-03-16 Leo Liu <sdl.web@gmail.com>
9225
9226 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9227
6f09f6ed
AH
92282012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9229
9230 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9231 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9232
c7e73d51
GM
92332012-03-16 Glenn Morris <rgm@gnu.org>
9234
da986230
GM
9235 * view.el (view-buffer, view-buffer-other-window)
9236 (view-buffer-other-frame): Doc fixes re special mode-class.
9237
0835f01e
GM
9238 * subr.el (eval-after-load): If named feature is provided not from
9239 a file, run after-load forms. (Bug#10946)
9240
c7e73d51
GM
9241 * calendar/calendar.el (calendar-insert-at-column):
9242 Handle non-unit-width characters a bit better. (Bug#10978)
9243
3f2eafd1
CY
92442012-03-15 Chong Yidong <cyd@gnu.org>
9245
9246 * emacs-lisp/ring.el (ring-extend): New function.
9247 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9248
9249 * comint.el (comint-read-input-ring)
9250 (comint-add-to-input-history): Grow comint-input-ring lazily.
9251
103af3fe
SM
92522012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9253
663b1677
SM
9254 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9255 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9256
103af3fe
SM
9257 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9258 (imenu-add-to-menubar): Don't add a redundant index.
9259 (imenu-update-menubar): Handle a dynamically composed keymap.
9260
899cb7cb
KY
92612012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9262
9263 * mail/sendmail.el (mail-encode-header):
9264 Bind rfc2047-encode-encoded-words to nil.
9265
3809f91d
GM
92662012-03-13 Glenn Morris <rgm@gnu.org>
9267
9268 * calendar/calendar.el (calendar-string-spread):
9269 Handle non-unit-width characters a bit better. (Bug#10978)
9270
9e345a01
LL
92712012-03-13 Leo Liu <sdl.web@gmail.com>
9272
9273 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9274 directory and file as argument (Bug#10822).
9275
4a07df36
KS
92762012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9277
9278 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9279 For dynamically generated code, follow $PC.
9280 (gdb-disassembly-handler-custom): Handle no function name case.
9281
4aaa9356
TL
92822012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9283
9284 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9285 * emulation/ws-mode.el (ws-query-replace):
9286 * sort.el (sort-regexp-fields):
9287 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9288
225979da
SM
92892012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * dabbrev.el: Fix cycle completion order (bug#10963).
9292 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9293 (dabbrev-completion): Don't use an obarray; provide
9294 a cycle-sort-function.
9295
e2f1fdab
LL
92962012-03-12 Leo Liu <sdl.web@gmail.com>
9297
dc9924b8 9298 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9299 (kill-do-not-save-duplicates): Doc fix.
9300
b19490ed
SM
93012012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * dabbrev.el: Fix cycle completion (bug#10963).
9304 Use lexical binding and wrap to 80 columns.
9305 (dabbrev-completion): Delay computing the list of completions.
9306
4b05d722
KH
93072012-03-12 Kenichi Handa <handa@m17n.org>
9308
9309 * international/quail.el (quail-insert-kbd-layout): Surround each
9310 row by LRO and PDF instead of inserting many LRMs. Pad the left
9311 and right of each non-spacing marks. Insert invisible space
9312 between lower and upper characters to prevent composition.
9313
dbbc2e69
SM
93142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * minibuffer.el (minibuffer-complete): Don't get confused when the
9317 function is run twice via different commands (bug#10958).
9318 (complete-with-action): Fix docstring.
9319
292112ed
CY
93202012-03-12 Chong Yidong <cyd@gnu.org>
9321
5d1ac394
CY
9322 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9323 (nxml-completion-at-point-function): New function.
9324 (nxml-mode): Use it.
9325 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9326
292112ed
CY
9327 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9328 Load generated autoloads file before byte compiling (Bug#10970).
9329 (package--make-autoloads-and-compile): New helper fun.
9330
4098f8f7
CS
93312012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9332
9333 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9334
8f754691
MA
93352012-03-11 Michael Albinus <michael.albinus@gmx.de>
9336
9337 * autorevert.el (auto-revert-handler): Ensure, that
9338 file-readable-p is applied only for local files or in
9339 auto-revert-tail-mode.
9340
e29ab36b
AS
93412012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9342
dbbc2e69
SM
9343 * server.el (server-eval-at): Handle non-tcp connections.
9344 Decode result string.
ad0bf5b6 9345
e29ab36b
AS
9346 * server.el (server-msg-size): New constant.
9347 (server-reply-print): New function.
9348 (server-eval-and-print): Use it.
9349 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9350 Handle -print-nonl.
9351
de5939ba
CS
93522012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9353
9354 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9355 (Bug#10987).
9356
0c93eabf
CY
93572012-03-11 Chong Yidong <cyd@gnu.org>
9358
397a688f
CY
9359 * simple.el (goto-line): Doc fix (Bug#9938).
9360
2cc775f9
CY
9361 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9362
0c93eabf
CY
9363 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9364 when finished (Bug#10963).
9365
c491fa41
MR
93662012-03-11 Martin Rudalics <rudalics@gmx.at>
9367
9368 * window.el (split-window-below): Fix bug in case where
9369 split-window-keep-point is nil (Bug#10971).
9370
300e8fa5
JL
93712012-03-11 Juri Linkov <juri@jurta.org>
9372
9373 * replace.el (replace-highlight): Set isearch-word to nil
9374 unconditionally. (Bug#10887)
9375
dbf6c5a1
EZ
93762012-03-10 Eli Zaretskii <eliz@gnu.org>
9377
9378 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9379 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9380 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9381 (mairix-widget-create-query): Add usage information about mairix
9382 search forms: negating words, searching for substrings, etc.
9383
b9e501de
JP
93842012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9385
9386 * international/fontset.el (font-encoding-alist): Add an entry for
9387 ksx1001 (Bug#5667).
9388
92795c91
RS
93892012-03-10 Richard Stallman <rms@gnu.org>
9390
1694e6c1
RS
9391 * mail/sendmail.el (mail-encode-header):
9392 Set rfc2047-encode-encoded-words.
9393
607e8555
RS
9394 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9395
de3bc99a
RS
9396 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9397 view buffer means not swapped.
9398 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9399 (rmail-write-region-annotate): Error if real text has disappeared.
9400
92795c91
RS
9401 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9402
699bd04e
CY
94032012-03-10 Chong Yidong <cyd@gnu.org>
9404
9405 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9406 * emulation/cua-base.el (cua--init-keymaps):
9407 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9408
570a1714
MR
94092012-03-10 Martin Rudalics <rudalics@gmx.at>
9410
dbbc2e69
SM
9411 * speedbar.el (speedbar-unhighlight-one-tag-line):
9412 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9413
82dcf4e4
CY
94142012-03-10 Chong Yidong <cyd@gnu.org>
9415
7a2c7ca7
CY
9416 * minibuffer.el (completion-in-region, completion-help-at-point):
9417 Give the completion field overlay a high priority (Bug#6830).
9418
82dcf4e4
CY
9419 * dired.el (dired-goto-file): Recognize absolute file name
9420 listings (Bug#7126).
9421 (dired-goto-file-1): New helper function.
9422 (dired-toggle-read-only): Inhibit warnings.
9423
052e28ac
MA
94242012-03-09 Michael Albinus <michael.albinus@gmx.de>
9425
75f1671a 9426 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9427 there are no properties.
9428
95d5e396
LL
94292012-03-09 Leo Liu <sdl.web@gmail.com>
9430
9431 * savehist.el (savehist-printable): Stricter check for string
9432 value (Bug#10937).
9433
3f018d6d
EZ
94342012-03-09 Eli Zaretskii <eliz@gnu.org>
9435
dbbc2e69
SM
9436 * mail/smtpmail.el (smtpmail-send-it):
9437 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9438 valid mbox format.
9439
f7fd3d79
GM
94402012-03-09 Glenn Morris <rgm@gnu.org>
9441
9442 * files.el (dir-locals-find-file):
9443 Don't check result is regular, readable.
9444 (dir-locals-read-from-file): Demote errors.
9445
6ff6e72f
EZ
94462012-03-08 Eli Zaretskii <eliz@gnu.org>
9447
dbbc2e69
SM
9448 * international/quail.el (quail-insert-kbd-layout):
9449 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9450 layout cell, to prevent their reordering by bidi display engine.
9451 For details, see the discussion in
9452 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9453
9cec7834
AM
94542012-03-08 Alan Mackenzie <acm@muc.de>
9455
9456 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9457 the starting position; make it extend the marked region when
9458 invoked repeatedly - all under appropriate circumstances.
9459 Fixes bugs #5525, #10906.
9460
9a40b8d4
GM
94612012-03-08 Glenn Morris <rgm@gnu.org>
9462
9463 * files.el (locate-dominating-file, dir-locals-find-file):
9464 Undo 2012-03-06 change.
9465
7a08ed35
EZ
94662012-03-07 Eli Zaretskii <eliz@gnu.org>
9467
dbbc2e69
SM
9468 * international/quail.el (quail-help):
9469 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9470 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9471 for the reason.
9472
5aca4f71 94732012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9474
9475 Avoid superfluous registering of signals. (Bug#10807)
9476
9477 * notifications.el (notifications-on-action-object)
9478 (notifications-on-close-object): New defvars.
9479 (notifications-on-action-signal, notifications-on-closed-signal):
9480 Unregister the signal if not needed any longer.
9481 (notifications-notify): Register `notifications-action-signal' or
9482 `notifications-closed-signal', if :on-action or :on-close has been
9483 passed as argument.
9484
78e8b10a
CY
94852012-03-07 Chong Yidong <cyd@gnu.org>
9486
9487 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9488 non-X platforms.
9489
69481eb8
GM
94902012-03-06 Glenn Morris <rgm@gnu.org>
9491
9492 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9493 (x-disown-selection-internal, x-get-selection-internal):
9494 Doc fix (add arglist signatures). (Bug#10783)
9495
133b8e11
KS
94962012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9497
9498 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9499 Handle breakpoints with no "type".
9500
99a83064
GM
95012012-03-06 Glenn Morris <rgm@gnu.org>
9502
9503 * files.el (locate-dominating-file): Add optional predicate argument.
9504 (dir-locals-find-file): Make use of above change.
9505
17798e78
TTN
95062012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9507
9508 * info.el (Info-insert-dir): Also try "dir.gz".
9509
eb182446
GM
95102012-03-06 Glenn Morris <rgm@gnu.org>
9511
8f2114ee
GM
9512 * files.el (dir-locals-find-file):
9513 Ignore non-readable or non-regular files. (Bug#10928)
9514
eb182446
GM
9515 * files.el (locate-dominating-file): Doc fix.
9516
24679323
AS
95172012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9518
9519 * calendar/calendar.el (calendar-set-mode-line):
9520 `getenv' returns a string. (Bug#10951)
9521
01d972a9
LL
95222012-03-05 Leo Liu <sdl.web@gmail.com>
9523
109aa8a9
LL
9524 * simple.el (backward-delete-char-untabify): Constrain point to
9525 field (Bug#10939).
9526
01d972a9
LL
9527 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9528
10607bea
CY
95292012-03-05 Chong Yidong <cyd@gnu.org>
9530
9531 * simple.el (count-words): If called from Lisp, return the word
9532 count, for symmetry with `count-lines'. Arglist changed.
9533 (count-words--message): Args changed. Consolidate counting code
9534 from count-words and count-words-region.
9535 (count-words-region): Caller changed.
9536 (count-lines-region): Make it an obsolete alias.
9537
5dd11cfe
TH
95382012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9539
9540 * saveplace.el (save-place-to-alist)
9541 (save-place-ignore-files-regexp): Allow value nil to disable this
9542 feature.
9543
c349f4e6
CY
95442012-03-04 Chong Yidong <cyd@gnu.org>
9545
9546 * faces.el (face-spec-reset-face): For the default face, reset the
9547 attributes to default values (Bug#10748).
9548
e627be4c
LMI
95492012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9550
9551 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9552 previous patch: Check `message-send-mail-function', and not the
9553 default function (bug#10897).
9554
ebeabff4
MA
95552012-03-04 Michael Albinus <michael.albinus@gmx.de>
9556
a41a6cf4
MA
9557 * notifications.el (notifications-on-action-signal)
9558 (notifications-on-closed-signal): Check for unique service name of
9559 incoming event. Fix error in removing entry.
ebeabff4 9560 (top): Register for signals with wildcard service name.
a41a6cf4 9561 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9562
c1ca42b4
CY
95632012-03-04 Chong Yidong <cyd@gnu.org>
9564
dc9924b8 9565 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9566
ea16568d
GM
95672012-03-04 Glenn Morris <rgm@gnu.org>
9568
9569 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9570 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9571 (expand-abbrev, define-abbrev-table): Doc fixes.
9572
fbae4637
LMI
95732012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9574
9575 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9576 `message-default-send-mail-function' and not `send-mail-function'
9577 when doing the prompting for `sendmail-query-once' before sending
9578 in Message buffers (bug#10897).
9579
a1e7225c
LMI
9580 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9581 This is inconsistent with all the other stream functions, which leave
9582 the setting up to the higher levels (if so wanted) (bug#10931).
9583
56d093a9
AM
95842012-03-02 Alan Mackenzie <acm@muc.de>
9585
9586 Depessimize the handling of very large macros.
9587
9588 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9589 (c-macro-cache-syntactic): New variables to implement a one
9590 element macro cache.
9591 (c-invalidate-macro-cache): New function.
9592 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9593 Adapt to use the new cache.
9594 (c-state-safe-place): Use better the cache of safe positions.
9595 (c-state-semi-nonlit-pos-cache)
9596 (c-state-semi-nonlit-pos-cache-limit):
9597 New variables for...
9598 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9599 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9600 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9601 Use c-state-semi-safe-place.
56d093a9 9602
dbbc2e69
SM
9603 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9604 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9605
817e5c3d
MA
96062012-03-02 Michael Albinus <michael.albinus@gmx.de>
9607
dbbc2e69
SM
9608 * jka-compr.el (jka-compr-call-process):
9609 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9610 not remote.
9611
a032a702
MA
96122012-03-01 Michael Albinus <michael.albinus@gmx.de>
9613
9614 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9615 access of FILE2, if FILE1 does not exist.
9616
99a54f21
MA
9617 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9618 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9619
9620 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9621 Add "PAGER=" to `process-environment'.
9622
f6561e1f
MM
96232012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9624
9625 * progmodes/sql.el: Bug fix
9626 (sql-get-login-ext): Save login values in globals.
9627 (sql-get-login): Use new version of `sql-get-login-ext'.
9628 (sql-interactive-mode): Set global `sql-connection' to nil.
9629 (sql-connect): Set global values for connection.
9630 (sql-product-interactive): Save global values as buffer local.
9631
2d44d9cc
LL
96322012-02-29 Leo Liu <sdl.web@gmail.com>
9633
9634 * abbrev.el (define-abbrevs): Reset sys to nil.
9635
96b49301 96362012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9637
bf7f9bc5
JB
9638 * files.el (file-equal-p): Rename from `files-equal-p'.
9639 Return nil when one or both files don't exist.
96b49301 9640 (file-subdir-of-p): Now only top directory must exists,
9641 return nil if it doesn't.
bf7f9bc5
JB
9642 (copy-directory): No need to test with `file-subdir-of-p' after
9643 creating dir.
9644 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9645 to `file-equal-p'.
96b49301 9646
44e97401
GM
96472012-02-28 Glenn Morris <rgm@gnu.org>
9648
9649 * shell.el (shell-mode):
9650 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9651 * play/landmark.el (landmark-font-lock-face-O):
9652 * play/handwrite.el (handwrite):
9653 * play/gomoku.el (gomoku-O):
9654 * net/browse-url.el (browse-url-browser-display):
9655 * international/mule.el (define-charset):
9656 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9657 * filesets.el (filesets-find-file-delay):
9658 * eshell/em-xtra.el (eshell-xtra):
9659 * eshell/em-unix.el (eshell-grep):
9660 * emulation/viper.el (viper-mode):
9661 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9662 * emacs-lisp/easymenu.el (easy-menu-define):
9663 * calendar/timeclock.el (timeclock-use-display-time):
9664 * bs.el (bs-mode):
9665 * bookmark.el (bookmark-save-flag):
9666 Doc fix (standardize possessive apostrophe usage).
9667
c98c6276
CY
96682012-02-27 Chong Yidong <cyd@gnu.org>
9669
bf7f9bc5
JB
9670 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9671 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9672
c98c6276
CY
9673 * font-lock.el (font-lock-specified-p): Rename from
9674 font-lock-spec-present. Callers changed.
9675
9c62cd04 96762012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9677
bf7f9bc5
JB
9678 * emacs-lisp/package.el (package-compute-transaction):
9679 Handle holding a package version to t in package-load-list.
8ac9e529 9680
530739c9
MA
96812012-02-26 Michael Albinus <michael.albinus@gmx.de>
9682
9683 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9684 (tramp-get-inode, tramp-get-device): Use cached values.
9685
487915d7
AM
96862012-02-26 Alan Mackenzie <acm@muc.de>
9687
9688 Check there is a font-lock specification before doing initial
9689 fontification.
9690
9691 * font-core.el (font-lock-mode): Move the conditional from
9692 :after-hook to font-lock-initial-fontify.
9693 (font-lock-default-function): Move the check for a specification
9694 to font-lock-spec-present.
9695
dc9924b8 9696 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9697 (font-lock-spec-present): New function.
9698
4fd96557
JB
96992012-02-26 Jim Blandy <jimb@red-bean.com>
9700
9701 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9702 (gdb-send): Apply it to the operand of the '-interpreter-exec
9703 console' command, so that we can pass arguments with (say) quotes
9704 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9705
9a4888c0
CY
97062012-02-26 Chong Yidong <cyd@gnu.org>
9707
07498861
CY
9708 * help-fns.el (describe-function-1): Clarify description of
9709 remapping (Bug#10844).
9710
9a4888c0
CY
9711 * files.el (files-equal-p): Doc fix.
9712 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9713 and quit the loop once a mismatch is found.
9714
ea8fb88d
JB
97152012-02-25 Juanma Barranquero <lekktu@gmail.com>
9716
9717 * bs.el (bs--show-with-configuration): Don't throw an error
9718 if the window cannot be split; otherwise, subsequent calls to
9719 bs-show fail, restoring a stale window config. (Bug#10882)
9720
525795c1
JD
97212012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9722
9723 * term/ns-win.el (global-map): Bind ns-drag-file to
9724 ns-find-file (Bug#5855, Bug#10050).
9725
f008086f
AS
97262012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9727
9728 * calendar/parse-time.el (parse-time-string): Allow extractor to
9729 return nil.
9730
a3fcfa99
MA
97312012-02-25 Michael Albinus <michael.albinus@gmx.de>
9732
91027d08
JB
9733 * net/tramp.el (tramp-file-name-for-operation):
9734 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9735
9736 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9737 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9738 Add COPY-CONTENTS argument.
a3fcfa99 9739
67b0de11
CY
97402012-02-25 Chong Yidong <cyd@gnu.org>
9741
9742 Add custom groups for VC backends, for consistency with vc-bzr.
9743
9744 * vc/vc-arch.el (vc-arch):
9745 * vc/vc-cvs.el (vc-cvs):
9746 * vc/vc-git.el (vc-git):
9747 * vc/vc-hg.el (vc-hg):
9748 * vc/vc-mtn.el (vc-mtn):
9749 * vc/vc-rcs.el (vc-rcs):
9750 * vc/vc-sccs.el (vc-sccs):
9751 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9752 All relevant defcustoms reassigned.
9753
3c9dfce6
CY
97542012-02-25 Chong Yidong <cyd@gnu.org>
9755
1339bf43
CY
9756 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9757
3c9dfce6
CY
9758 * term/x-win.el (x-initialize-window-system): Reduce default for
9759 x-selection-timeout to 5 seconds (Bug#8869).
9760
25b2e303 97612012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9762
ec70a47d
GM
9763 * files.el (files-equal-p, file-subdir-of-p): New functions.
9764 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9765 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9766 * dired-aux.el (dired-copy-file-recursive): Same.
9767 (dired-create-files): Modify destination when source is equal to
9768 dest when copying files.
53a46cd0 9769 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9770
914260cd
MA
97712012-02-24 Michael Albinus <michael.albinus@gmx.de>
9772
9773 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9774 (Bug#10874)
9775
2cb228f7
AM
97762012-02-23 Alan Mackenzie <acm@muc.de>
9777
9778 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9779 parameter "after-hook:" to allow the expansion to run code after
9780 the execution of the mode hooks.
9781
9782 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9783 from font-lock-mode-internal.
2cb228f7 9784
91027d08 9785 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9786 :after-hook.
9787
8f0fde21
SM
97882012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9789
3e88618b
SM
9790 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9791 (completion--cache-all-sorted-completions): New function.
9792 (completion-all-sorted-completions): Use it.
9793 (completion--do-completion, minibuffer-force-complete):
9794 Use it to re-instate the flush hook.
9795
8f0fde21
SM
9796 * icomplete.el (icomplete-completions): Replace last fix with a better
9797 one (bug#10850).
9798
8e911f6f
DG
97992012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9800
9801 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9802 when it might call us back infinitely (bug#10797).
9803
49fe4321
GM
98042012-02-23 Glenn Morris <rgm@gnu.org>
9805
9806 * minibuffer.el (completion-category-overrides): Doc fix.
9807
b291b572
SM
98082012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9811 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9812
31a9ef2e
GM
98132012-02-23 Glenn Morris <rgm@gnu.org>
9814
5e6e6794 9815 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9816 (authors-obsolete-files-regexps, authors-ignored-files)
9817 (authors-ambiguous-files, authors-renamed-files-alist):
9818 Add more entries.
9819
0bd1e074
JL
98202012-02-23 Juri Linkov <juri@jurta.org>
9821
9822 * isearch.el (isearch-occur): Sync interactive spec with occur's
9823 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9824
b617673c
JL
9825 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9826
19e9789e
JL
98272012-02-22 Juri Linkov <juri@jurta.org>
9828
9829 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9830 (ucs-insert): Doc fix. Check for hex digits in the string.
9831 Don't display `nil' in the error message. (Bug#10857)
9832
f41ce09d
AM
98332012-02-22 Alan Mackenzie <acm@muc.de>
9834
7a71b18d 9835 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9836
ac2eceee
GM
98372012-02-22 Glenn Morris <rgm@gnu.org>
9838
9839 * ffap.el (ffap-c-path):
9840 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9841
abd1f678
CY
98422012-02-22 Chong Yidong <cyd@gnu.org>
9843
9844 * custom.el (load-theme): Doc fix.
9845
f25aef2e
GM
98462012-02-22 Glenn Morris <rgm@gnu.org>
9847
9848 * dired-x.el (dired-guess-shell-alist-default):
9849 Remove escape sequences from nroff output. (Bug#172)
9850
5f8dc2ca
GM
98512012-02-21 Glenn Morris <rgm@gnu.org>
9852
6ff86ec4
GM
9853 * vc/emerge.el (emerge-defvar-local):
9854 Set `permanent-local' property rather than unused `preserved'.
9855
be3223a3 9856 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9857 (picture-mode-map): Use it. (Bug#10860)
9858 (picture-mode): Doc fix.
9859
3fe58f4f
JB
98602012-02-21 Juanma Barranquero <lekktu@gmail.com>
9861
9862 * newcomment.el (uncomment-region-default): Remove unused binding.
9863
f9a998c3
GM
98642012-02-21 Glenn Morris <rgm@gnu.org>
9865
9866 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9867 (picture-self-insert, picture-tab-chars): Doc fix.
9868 (picture-mode-map): Fix C-a, C-e.
9869
c6029348
GM
98702012-02-20 Glenn Morris <rgm@gnu.org>
9871
9872 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9873
ab1ce9d7
LL
98742012-02-20 Leo Liu <sdl.web@gmail.com>
9875
9876 * icomplete.el (icomplete-completions): Check FROM arg before
9877 passing to substring (Bug#10850).
9878
0fd40f89
CY
98792012-02-19 Chong Yidong <cyd@gnu.org>
9880
9881 * comint.el: Require ansi-color.
9882 (comint-output-filter-functions): Add ansi-color-process-output.
9883
9884 * ansi-color.el: Don't set comint-output-filter-functions; it is
9885 now in the initial value defined in comint.el.
9886 (ansi-color-apply-face-function): New variable.
9887 (ansi-color-apply-on-region): Use it.
9888 (ansi-color-apply-overlay-face): New function.
9889
9890 * shell.el (shell): No need to require ansi-color.
9891 (shell-mode): Use ansi-color-apply-face-function to highlight
9892 color escapes using font-lock-face property (Bug#10835).
9893
20af2394
CY
98942012-02-19 Chong Yidong <cyd@gnu.org>
9895
9896 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9897 mode-line formats (Bug#10839).
9898
e23a3fbe
GM
98992012-02-18 Glenn Morris <rgm@gnu.org>
9900
b474519e
GM
9901 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9902
9903 * mail/undigest.el (unforward-rmail-message): Doc fix.
9904
e23a3fbe
GM
9905 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9906
57939ff4
EZ
99072012-02-18 Eli Zaretskii <eliz@gnu.org>
9908
9909 * international/characters.el (script-list): Sync with the latest
9910 Unicode Character Database.
9911
0c23686e
AS
99122012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9913
9914 * international/titdic-cnv.el: Remove duplicate coding tag.
9915 * language/cham.el: Likewise.
9916 * language/tai-viet.el: Likewise.
9917
6818b449
GM
99182012-02-18 Glenn Morris <rgm@gnu.org>
9919
9920 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9921 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9922 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9923 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9924 * calendar/holidays.el (holiday-bahai-holidays)
9925 (calendar-holidays, list-holidays):
9926 Use utf-8 Bahá'í in doc-strings, menus, etc.
9927
0311a3fc
TH
99282012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9929
9930 * saveplace.el (save-place-ignore-files-regexp): New variable
9931 allowing for excluding files from saving their location of point.
9932 The default value matches the temporary commit message editing
9933 files from Git, SVN, Bazaar, and Mercurial.
9934 (save-place-to-alist): Use it.
9935
d209e2fb 99362012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9937 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9938
9939 * newcomment.el (uncomment-region-default): Don't leave extra space
9940 when an arg is provided (bug#8150).
9941
ee0ce425
TZ
99422012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9943
eb864a71 9944 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9945
95ddf442
GM
99462012-02-17 Glenn Morris <rgm@gnu.org>
9947
9948 * net/socks.el: Require network-stream. (Bug#10599)
9949
48dd1e39 99502012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9951
9952 * international/charprop.el:
9953 * international/uni-name.el:
9954 * international/uni-old-name.el:
9955 * international/uni-comment.el: Regenerate.
9956
d68cd087
GM
99572012-02-16 Glenn Morris <rgm@gnu.org>
9958
9959 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9960 Interactively in calendar buffer, give an error if not on a date.
9961
13932042
GM
99622012-02-15 Glenn Morris <rgm@gnu.org>
9963
9964 * shell.el (shell-delimiter-argument-list):
9965 Revert 2011-02-17 change. (Bug#8027)
9966
c3a70e2b
CY
99672012-02-15 Chong Yidong <cyd@gnu.org>
9968
60236b0d
CY
9969 * minibuffer.el (completion-at-point-functions): Doc fix.
9970
c3a70e2b
CY
9971 * custom.el (defcustom): Doc fix; note use of defvar.
9972
9f26dc24
GM
99732012-02-15 Glenn Morris <rgm@gnu.org>
9974
9975 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9976 Doc fixes.
9977
6546b134
GM
99782012-02-14 Glenn Morris <rgm@gnu.org>
9979
9980 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9981
d29b2b4c
LI
99822012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9983
9984 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9985 way the ports list is computed.
835bdcba
LI
9986 (smtpmail-query-smtp-server): Prompt the user for a port number if
9987 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9988
08dcdbc9
TZ
99892012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9990
9991 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9992
2605051a
GM
99932012-02-13 Glenn Morris <rgm@gnu.org>
9994
9995 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9996
7ee99f32
TZ
99972012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9998
9999 * net/gnutls.el (gnutls-trustfiles): New variable.
10000 (gnutls-negotiate): Use it.
10001
5f0af64f
LI
100022012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10003
10004 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10005 does its stuff if Gnus is running.
10006
c14fcc95
AM
100072012-02-13 Alan Mackenzie <acm@muc.de>
10008
10009 Fix a loop in c-set-fl-decl-start.
10010
7a71b18d 10011 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10012 c-backward-syntactic-ws actually moves backwards.
10013
142b4d90
LL
100142012-02-13 Leo Liu <sdl.web@gmail.com>
10015
10016 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10017 beginning so that all \C-o chars are removed.
10018
fa9958a6
TZ
100192012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10020
dc9924b8 10021 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10022
0bc5886a
AM
100232012-02-12 Alan Mackenzie <acm@muc.de>
10024
10025 Fix infinite loop with long macros.
4d6769e1 10026 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10027
d4bd55e7
CY
100282012-02-12 Chong Yidong <cyd@gnu.org>
10029
10030 * window.el (display-buffer): Doc fix (Bug#10785).
10031
66f3fe22
GM
100322012-02-12 Glenn Morris <rgm@gnu.org>
10033
bd7da63e
GM
10034 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10035 (x-disown-selection-internal, x-get-selection-internal):
10036 Sync docs with the xselect.c versions.
10037
66f3fe22
GM
10038 * allout-widgets.el: Add missing license notice.
10039
3e0d2fa7
GM
100402012-02-11 Glenn Morris <rgm@gnu.org>
10041
cfecdf09
GM
10042 * select.el (x-get-selection-internal, x-own-selection-internal)
10043 (x-disown-selection-internal):
10044 * x-dnd.el (x-get-selection-internal): Update declarations.
10045
6d216d7f
GM
10046 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10047
2bed3f04
GM
10048 * window.el (window-sides-slots):
10049 * tool-bar.el (tool-bar-position):
10050 * term/xterm.el (xterm-extra-capabilities):
10051 * ses.el (ses-self-reference-early-detection):
10052 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10053 (verilog-auto-wire-type)
10054 (verilog-auto-delete-trailing-whitespace)
10055 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10056 (verilog-auto-tieoff-declaration):
10057 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10058 (sql-oracle-statement-starters, sql-oracle-scan-on):
10059 * progmodes/prolog.el (prolog-align-comments-flag)
10060 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10061 (prolog-left-indent-regexp, prolog-paren-indent-p)
10062 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10063 (prolog-types, prolog-mode-specificators)
10064 (prolog-determinism-specificators, prolog-directives)
10065 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10066 (prolog-electric-dot-flag)
10067 (prolog-electric-dot-full-predicate-template)
10068 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10069 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10070 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10071 (prolog-program-switches, prolog-prompt-regexp)
10072 (prolog-debug-on-string, prolog-debug-off-string)
10073 (prolog-trace-on-string, prolog-trace-off-string)
10074 (prolog-zip-on-string, prolog-zip-off-string)
10075 (prolog-use-standard-consult-compile-method-flag)
10076 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10077 (prolog-imenu-max-lines, prolog-info-predicate-index)
10078 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10079 (prolog-char-quote-workaround):
10080 * progmodes/cc-vars.el (c-defun-tactic):
10081 * net/tramp.el (tramp-encoding-command-interactive)
10082 (tramp-local-end-of-line):
10083 * net/soap-client.el (soap-client):
10084 * net/netrc.el (netrc-file):
10085 * net/gnutls.el (gnutls):
10086 * minibuffer.el (completion-category-overrides)
10087 (completion-cycle-threshold)
10088 (completion-pcm-complete-word-inserts-delimiters):
10089 * man.el (Man-name-local-regexp):
10090 * mail/feedmail.el (feedmail-display-full-frame):
10091 * international/characters.el (glyphless-char-display-control):
10092 * eshell/em-ls.el (eshell-ls-date-format):
10093 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10094 (lisp-lambda-list-keyword-parameter-indentation)
10095 (lisp-lambda-list-keyword-parameter-alignment):
10096 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10097 * dired-x.el (dired-omit-verbose):
10098 * cus-theme.el (custom-theme-allow-multiple-selections):
10099 * calc/calc.el (calc-highlight-selections-with-faces)
10100 (calc-lu-field-reference, calc-lu-power-reference)
10101 (calc-note-threshold):
10102 * battery.el (battery-mode-line-limit):
10103 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10104 (archive-7z-update):
10105 * allout.el (allout-prefixed-keybindings)
10106 (allout-unprefixed-keybindings)
10107 (allout-inhibit-auto-fill-on-headline)
10108 (allout-flattened-numbering-abbreviation):
10109 * allout-widgets.el (allout-widgets-auto-activation)
10110 (allout-widgets-icons-dark-subdir)
10111 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10112 (allout-widgets-theme-dark-background)
10113 (allout-widgets-theme-light-background)
10114 (allout-widgets-item-image-properties-emacs)
10115 (allout-widgets-item-image-properties-xemacs)
10116 (allout-widgets-run-unit-tests-on-load)
10117 (allout-widgets-time-decoration-activity)
10118 (allout-widgets-hook-error-post-time)
10119 (allout-widgets-track-decoration):
10120 Add missing :version tags to new defcustoms and defgroups.
10121
5fec1b8e
GM
10122 * progmodes/sql.el (sql-ansi-statement-starters)
10123 (sql-oracle-statement-starters): Add custom type.
10124
3e0d2fa7
GM
10125 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10126 (prolog-system-version): Give it a type.
10127
90b671e2
EZ
101282012-02-11 Eli Zaretskii <eliz@gnu.org>
10129
10130 * term/pc-win.el (x-select-text, x-selection-owner-p)
10131 (x-own-selection-internal, x-disown-selection-internal)
10132 (x-get-selection-internal): Sync doc strings and argument lists
10133 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10134
5eac0c02
LL
101352012-02-11 Leo Liu <sdl.web@gmail.com>
10136
10137 * progmodes/python.el (python-end-of-statement): Fix infinite
10138 loop. (Bug#10788)
10139
f82cb659
GM
101402012-02-10 Glenn Morris <rgm@gnu.org>
10141
10142 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10143 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10144
cc26d239
LI
101452012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10146
10147 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10148 about SMTP before checking the From header.
10149
91027d08 10150 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10151 into own function for reuse by emacsbug.el.
10152
1be3ca5a
LL
101532012-02-10 Leo Liu <sdl.web@gmail.com>
10154
10155 * subr.el (condition-case-unless-debug): Rename from
10156 condition-case-no-debug. All callers changed.
10157 (with-demoted-errors): Fix caller.
10158
10159 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10160 * nxml/rng-valid.el (rng-do-some-validation):
10161 * emacs-lisp/package.el (package-refresh-contents)
10162 (package-menu-execute):
10163 * desktop.el (desktop-create-buffer):
91027d08 10164 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10165
b011fbfe
GM
101662012-02-10 Glenn Morris <rgm@gnu.org>
10167
b2096d72
GM
10168 * textmodes/bibtex.el:
10169 Add missing :version tags for new/changed defcustoms.
10170
b011fbfe
GM
10171 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10172
4c7e65bf
LI
101732012-02-09 Lars Ingebrigtsen <larsi@rusty>
10174
10175 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10176 (smtpmail-via-smtp): Use it, or fall back on the From address.
10177 (smtpmail-send-it): Ditto.
10178
f3934f6f
SM
101792012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10182 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10183 (byte-compile-tmp-var): New const.
10184 (byte-compile-defvar): Use it to minimize .elc size.
10185 Just use `defvar' rather than simulate it (bug#10761).
10186
a075a2c5
GM
101872012-02-09 Glenn Morris <rgm@gnu.org>
10188
cf3aa21b
GM
10189 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10190
354998cd
GM
10191 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10192 Add :version tags.
10193
dc9924b8
SM
10194 * progmodes/compile.el (compilation-error-screen-columns)
10195 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10196
dab3703d
GM
10197 * vc/log-view.el (log-view-toggle-entry-display):
10198 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10199
3f88cd72
GM
10200 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10201 (report-emacs-bug-can-use-xdg-email):
10202 (report-emacs-bug-insert-to-mailer): Doc fixes.
10203 (report-emacs-bug): Message fix.
10204
d95b247d
GM
10205 * net/browse-url.el (browse-url-can-use-xdg-open)
10206 (browse-url-xdg-open): Doc fixes.
10207
a075a2c5
GM
10208 * electric.el (electric-indent-mode, electric-pair-mode)
10209 (electric-layout-rules, electric-layout-mode): Doc fixes.
10210 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10211
ffb6157e
MR
102122012-02-08 Martin Rudalics <rudalics@gmx.at>
10213
10214 * server.el (server-unselect-display): Don't inadvertently kill
10215 the current buffer. (Bug#10729)
10216
e1ac4066
GM
102172012-02-08 Glenn Morris <rgm@gnu.org>
10218
34e8a2da
GM
10219 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10220 (sql-list-table): Doc fixes.
10221
b4ac6e8c
GM
10222 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10223 Comment out (does nothing).
10224
e1ac4066
GM
10225 * completion.el (dynamic-completion-mode):
10226 * dirtrack.el (dirtrack-debug-mode):
10227 * electric.el (electric-layout-mode):
10228 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10229 * face-remap.el (text-scale-mode, buffer-face-mode):
10230 * iimage.el (iimage-mode):
10231 * image-mode.el (image-transform-mode):
10232 * minibuffer.el (completion-in-region-mode):
10233 * scroll-lock.el (scroll-lock-mode):
10234 * simple.el (next-error-follow-minor-mode):
10235 * tar-mode.el (tar-subfile-mode):
10236 * tooltip.el (tooltip-mode):
10237 * vcursor.el (vcursor-use-vcursor-map):
10238 * wid-browse.el (widget-minor-mode):
10239 * emulation/tpu-edt.el (tpu-edt-mode):
10240 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10241 * international/iso-ascii.el (iso-ascii-mode):
10242 * language/thai-util.el (thai-word-mode):
10243 * mail/supercite.el (sc-minor-mode):
10244 * net/goto-addr.el (goto-address-mode):
10245 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10246 * progmodes/cwarn.el (cwarn-mode):
10247 * progmodes/flymake.el (flymake-mode):
10248 * progmodes/glasses.el (glasses-mode):
10249 * progmodes/hideshow.el (hs-minor-mode):
10250 * progmodes/pascal.el (pascal-outline-mode):
10251 * textmodes/enriched.el (enriched-mode):
10252 * vc/smerge-mode.el (smerge-mode):
10253 Doc fixes (minor mode argument).
10254
5e0d957f
EZ
102552012-02-07 Eli Zaretskii <eliz@gnu.org>
10256
10257 * ls-lisp.el (ls-lisp-sanitize): New function.
10258 (ls-lisp-insert-directory): Use it to fix or remove any elements
10259 in file-alist with missing attributes. (Bug#4673)
10260
98d7371e
AM
102612012-02-07 Alan Mackenzie <acm@muc.de>
10262
10263 Fix spurious recognition of c-in-knr-argdecl.
10264
10265 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10266 putative K&R region.
10267
667ced3a
AM
102682012-02-07 Alan Mackenzie <acm@muc.de>
10269
eb864a71
LM
10270 * progmodes/cc-engine.el (c-forward-objc-directive):
10271 Prevent looping in "#pragma mark @implementation".
667ced3a 10272
5b77774d
MA
102732012-02-07 Michael Albinus <michael.albinus@gmx.de>
10274
10275 * notifications.el (notifications-on-closed-signal): Make `reason'
10276 optional. (Bug#10744)
10277
af008560
GM
102782012-02-07 Glenn Morris <rgm@gnu.org>
10279
60d47423
GM
10280 * emacs-lisp/easy-mmode.el (define-minor-mode):
10281 Doc fixes for the macro and the mode it defines.
10282
dd605cc4
GM
10283 * image.el (imagemagick-types-inhibit): Doc fix.
10284
af008560
GM
10285 * cus-start.el (imagemagick-render-type): Add it.
10286
5cc59a37
LI
102872012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10288
4d6769e1
JB
10289 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10290 Set the default at load time, too, so that `font-lock-fontify-buffer'
10291 can be called without setting up the entire mode first. This fixes
10292 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10293
9a6dd747
CY
102942012-02-06 Chong Yidong <cyd@gnu.org>
10295
2d16b285
CY
10296 * simple.el (list-processes--refresh): Delete exited processes
10297 (Bug#8094).
10298
171e9b6e
CY
10299 * comint.el (comint-next-prompt): next-single-char-property-change
10300 and prev-single-char-property-change never return nil (Bug#8657).
10301
9a6dd747
CY
10302 * custom.el (defcustom): Doc fix (Bug#9711).
10303
aa4589a7
CY
103042012-02-05 Chong Yidong <cyd@gnu.org>
10305
5c2a252f
CY
10306 * cus-edit.el (custom-variable-reset-backup): Quote the value
10307 before storing it in the customized-value property (Bug#6712).
4aab9006 10308 (custom-display): Add a customization type tag.
983b9602 10309 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10310
aa4589a7
CY
10311 * wid-edit.el (widget-field-value-get): New optional arg to
10312 suppress trailing whitespace truncation.
10313 (character): Use it (Bug#2689).
10314
1ff980ae
AS
103152012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10316
10317 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10318 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10319
03988c98
CY
103202012-02-05 Chong Yidong <cyd@gnu.org>
10321
eeb6cc88
CY
10322 * cus-edit.el (custom-variable-value-create): For mismatched
10323 types, show the current value (Bug#7600).
10324
03988c98
CY
10325 * custom.el (defcustom): Doc fix.
10326
f8cdeef0
GM
103272012-02-05 Glenn Morris <rgm@gnu.org>
10328
10329 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10330
0696d255
JB
103312012-02-05 Juanma Barranquero <lekktu@gmail.com>
10332
10333 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10334 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10335 (pp-last-sexp): Use `looking-at-p'.
10336
34c99998
GM
103372012-02-04 Glenn Morris <rgm@gnu.org>
10338
8f05da42
GM
10339 * files.el (revert-buffer):
10340 Doc fix (mention revert-buffer-in-progress-p).
10341
f160676e
GM
10342 * emacs-lisp/ert-x.el (ert-simulate-command):
10343 Check deferred-action-list (which is obsolete) is bound.
10344
c7291ad9
GM
10345 * subr.el (with-wrapper-hook): Doc fixes.
10346
34c99998
GM
10347 * simple.el (filter-buffer-substring-functions)
10348 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10349
6283a7d3
LL
103502012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10351
10352 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10353 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10354
e96e3013
LL
103552012-02-04 Leo Liu <sdl.web@gmail.com>
10356
10357 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10358
8ded50f2
GM
103592012-02-04 Glenn Morris <rgm@gnu.org>
10360
82ff1d13
GM
10361 * image.el (image-extension-data): Add obsolete alias.
10362
987a0a16
GM
10363 * isearch.el (isearch-update): Doc fix.
10364
ea32ef46
GM
10365 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10366
8ded50f2
GM
10367 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10368
eea14f31
GM
103692012-02-03 Glenn Morris <rgm@gnu.org>
10370
10371 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10372 (image-animate-timeout): Doc fix.
10373
10374 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10375
12f381b7
GM
103762012-02-02 Glenn Morris <rgm@gnu.org>
10377
953cebf5
GM
10378 * server.el (server-auth-dir): Doc fix.
10379 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10380
12f381b7
GM
10381 * subr.el (run-mode-hooks): Doc fix.
10382
953a8c3b
JL
103832012-02-02 Juri Linkov <juri@jurta.org>
10384
10385 * image-mode.el (image-toggle-display-image): Remove tautological
10386 `major-mode' from the `derived-mode-p' test.
10387
c5d3843c
KH
103882012-02-02 Kenichi Handa <handa@m17n.org>
10389
9f6e692e 10390 * composite.el (compose-region): Cancel previous change.
c5d3843c 10391
159462d4 103922012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10393
10394 * composite.el (compose-region, compose-string): Signal error for
10395 a null string component (Bug#6988).
10396
9f562668
CY
103972012-02-01 Chong Yidong <cyd@gnu.org>
10398
e2cef717
CY
10399 * view.el (view-buffer-other-window, view-buffer-other-frame):
10400 Handle special modes like view-buffer (Bug#10650).
10401 (view-buffer): Simplify.
10402
9f562668
CY
10403 * frame.el (set-frame-font): Tweak meaning of third argument.
10404
9f6e692e
JB
10405 * dynamic-setting.el (font-setting-change-default-font):
10406 Use set-frame-font (Bug#9982).
9f562668 10407
781acb9f
GM
104082012-02-01 Glenn Morris <rgm@gnu.org>
10409
6035be52
GM
10410 * progmodes/compile.el (compilation-internal-error-properties):
10411 Respect compilation-first-column in the "*compilation*" buffer.
10412
781acb9f
GM
10413 * emacs-lisp/easy-mmode.el (define-minor-mode):
10414 Relax :variable's test for a named function.
10415
abbceb00
AM
104162012-01-31 Alan Mackenzie <acm@muc.de>
10417
10418 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10419 off by one error.
10420
fce3fdeb
CY
104212012-01-31 Chong Yidong <cyd@gnu.org>
10422
10423 * frame.el (set-frame-font): New arg ALL-FRAMES.
10424
10425 * menu-bar.el (menu-set-font): Use set-frame-font.
10426
10427 * faces.el (face-spec-reset-face): Don't apply unspecified
10428 attribute values to the default face.
10429
47893581
JB
104302012-01-31 Juanma Barranquero <lekktu@gmail.com>
10431
10432 * progmodes/cwarn.el (cwarn): Remove dead link.
10433 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10434 Remove * from defcustom docstrings.
10435 (turn-on-cwarn-mode): Make obsolete.
10436 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10437 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10438
e58e988a
GM
104392012-01-31 Glenn Morris <rgm@gnu.org>
10440
60dc2671 10441 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10442 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10443 Allow named functions to be used as the cdr of :variable.
e58e988a 10444
7a3f511d
GM
104452012-01-30 Glenn Morris <rgm@gnu.org>
10446
10447 * emacs-lisp/authors.el (authors-fixed-entries):
10448 Remove reference to deleted file rnewspost.el.
10449
cb882333
JB
104502012-01-29 Juanma Barranquero <lekktu@gmail.com>
10451
10452 * window.el (window-with-parameter): Remove unused variable `windows'.
10453 (window--side-check): Remove unused variable `code'.
10454 (window--resize-siblings): Remove unused variable `first'.
10455 (adjust-window-trailing-edge): Remove unused variable `failed'.
10456 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10457 Use `let', not `let*'.
10458 (balance-windows-2): Remove unused variable `found'.
10459 (window--state-put-2): Remove unused variable `splits'.
10460 (window-state-put): Remove unused variable `selected'.
10461 (same-window-p): Use `string-match-p'.
10462 (display-buffer-assq-regexp): Remove unused variable `value'.
10463 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10464 Mark argument ALIST as ignored.
10465 (pop-to-buffer): Remove unused variable `old-window'.
10466
907201af
EZ
104672012-01-29 Eli Zaretskii <eliz@gnu.org>
10468
10469 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10470 and .lzma compressed files.
10471
ea162670
CY
104722012-01-29 Chong Yidong <cyd@gnu.org>
10473
5b95ee8a
CY
10474 * frame.el (window-system-default-frame-alist): Doc fix.
10475
ea162670
CY
10476 * dynamic-setting.el (font-setting-change-default-font): Don't
10477 change the default face if SET-FONT argument is non-nil (Bug#9982).
10478
d6e6f4b1
SB
104792012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10480
10481 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10482
0f29fa41 104832012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10484
10485 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10486 breakpoints in files outside current directory (Bug#6098).
10487
db174434
CY
104882012-01-29 Chong Yidong <cyd@gnu.org>
10489
6b25e4e2
SE
10490 * progmodes/python.el: Require ansi-color at top-level.
10491
6df6ae42
JB
10492 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10493 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10494 (lisp-mode-abbrev-table): Add doc.
10495 (lisp-mode-variables): Don't set local-abbrev-table.
10496 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10497
e70ee681
RW
104982012-01-28 Roland Winkler <winkler@gnu.org>
10499
10500 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10501
ace88aa2
RW
105022012-01-28 Roland Winkler <winkler@gnu.org>
10503
10504 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10505 (bibtex-set-dialect): Use it. Either set global values of
10506 dialect-dependent variables or bind these variables buffer-locally
10507 (Bug#10254).
10508 (bibtex-mode): Call bibtex-set-dialect via
10509 hack-local-variables-hook.
eb864a71
LM
10510 (bibtex-dialect): Update docstring.
10511 Add safe-local-variable predicate.
ace88aa2
RW
10512 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10513 bibtex-set-dialect.
10514 (bibtex-mode-map): Define menu for each dialect.
10515 (bibtex-entry): Fix docstring.
10516
93376c5b
CY
105172012-01-28 Chong Yidong <cyd@gnu.org>
10518
10519 * eshell/esh-arg.el (eshell-quote-argument): New function.
10520
10521 * eshell/esh-ext.el (eshell-invoke-batch-file):
10522 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10523 first arg to eshell-parse-command (Bug#10523).
10524
4372494f
DA
105252012-01-28 Drew Adams <drew.adams@oracle.com>
10526
10527 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10528 `default-directory' is non-nil.
10529
4d4ec1f8
EZ
105302012-01-28 Eli Zaretskii <eliz@gnu.org>
10531
10532 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10533 line that displays system-configuration-options. (Bug#9924)
10534
7c188927
DA
105352012-01-28 Drew Adams <drew.adams@oracle.com>
10536
10537 * descr-text.el (describe-char): Show information about POS, in
10538 addition to information about the character at POS. Improve and
10539 update the doc string. Change "code point" to "code point in
10540 charset", to avoid confusion with the character's Unicode code
10541 point shown above that. (Bug#10129)
10542
e0da685a
EZ
105432012-01-28 Eli Zaretskii <eliz@gnu.org>
10544
10545 * descr-text.el (describe-char): Show the raw character, not only
10546 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10547 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10548 for the reasons.
10549
70550acf
PH
105502012-01-28 Phil Hagelberg <phil@hagelb.org>
10551
eb864a71
LM
10552 * emacs-lisp/package.el (package-install):
10553 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10554
0ce8e868
CY
105552012-01-28 Chong Yidong <cyd@gnu.org>
10556
cb882333
JB
10557 * emacs-lisp/package.el (package-maybe-load-descriptor):
10558 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10559 (package-maybe-load-descriptor): Use it.
10560 (package-download-transaction): Fully load required packages
10561 inside the loop, so that `require' calls work (Bug#10593).
10562 (package-install): No need to call package-initialize now.
10563
2e7f3bea
CY
105642012-01-28 Chong Yidong <cyd@gnu.org>
10565
6e9bad14
CY
10566 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10567
f823b8ca
CY
10568 * tooltip.el (tooltip-mode): Doc fix.
10569 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10570
2680c309
CY
10571 * frame.el (set-cursor-color): Doc fix (Bug#352).
10572
d7a9e63b
CY
10573 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10574 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10575
2e7f3bea
CY
10576 * cus-edit.el (custom-buffer-create-internal): Fix search button
10577 action (Bug#10542).
2ae01800 10578 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10579
fc4f7a23
EW
105802012-01-27 Eduard Wiebe <usenet@pusto.de>
10581
10582 * dired.el (dired-mark-files-regexp):
10583 Include any subdirectory components. (Bug#10445)
10584
7dd37071
ML
105852012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10586
10587 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10588 Handle [host]:port syntax. (Bug#10533)
10589
a268160b
AH
105902012-01-27 Alex Harsanyi <harsanyi@mac.com>
10591
10592 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10593
e43273ef
GM
105942012-01-26 Glenn Morris <rgm@gnu.org>
10595
10596 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10597 * term.el (term-raw-escape-map): Use Control-X-prefix.
10598 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10599
1edf595d
MR
106002012-01-25 Martin Rudalics <rudalics@gmx.at>
10601
10602 * window.el (window-state-get, window--state-get-1): Don't deal
10603 with fixed-sizeness of windows. Simplify code.
10604
fa8eafef
JC
106052012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10606
6df6ae42
JB
10607 * window.el (window--state-get-1, window--state-put-2):
10608 Don't save and restore the mark.
fa8eafef 10609
0b21c100
CY
106102012-01-25 Chong Yidong <cyd@gnu.org>
10611
10612 * custom.el (custom-variable-p): Doc fix.
10613
5ae1a6c8
GM
106142012-01-25 Glenn Morris <rgm@gnu.org>
10615
40047858
GM
10616 * dired.el (dired-goto-file): Handle some of the more common
10617 characters that `ls -b' escapes. (Bug#10596)
10618
5ddce96c
GM
10619 * progmodes/compile.el (compilation-next-error-function):
10620 Respect compilation-first-column in the "*compilation*" buffer.
10621 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10622
5ae1a6c8
GM
10623 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10624
b559f1a9
GM
106252012-01-24 Glenn Morris <rgm@gnu.org>
10626
10627 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10628
6725d21a
JD
106292012-01-24 Julien Danjou <julien@danjou.info>
10630
10631 * color.el (color-rgb-to-hsl): Fix value computing.
10632 (color-hue-to-rgb): New function.
10633 (color-hsl-to-rgb): New function.
10634 (color-clamp, color-saturate-hsl, color-saturate-name)
10635 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10636 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10637
70df4bbe
GM
106382012-01-24 Glenn Morris <rgm@gnu.org>
10639
10640 * vc/vc-rcs.el (vc-rcs-create-tag):
10641 * vc/vc-sccs.el (vc-sccs-create-tag):
10642 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10643
802a2ae2
ML
106442012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10645
10646 * eshell/esh-util.el (eshell-read-hosts-file):
10647 Skip comment lines. (Bug#10549)
10648
d7128bb1
ML
10649 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10650
d1a5c3b4
JB
106512012-01-23 Juanma Barranquero <lekktu@gmail.com>
10652
2724d9c7
JB
10653 * subr.el (display-delayed-warnings): Doc fix.
10654 (collapse-delayed-warnings): New function to collapse identical
10655 adjacent warnings.
10656 (delayed-warnings-hook): Add it.
d1a5c3b4 10657
a5509865
MA
106582012-01-22 Michael Albinus <michael.albinus@gmx.de>
10659
10660 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10661
a5509865
MA
10662 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10663 (tramp-default-user-alist): Don't add "pscp".
10664 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10665 property "login-as", if set. (Bug#10530)
10666
cc6d5805
MA
106672012-01-21 Michael Albinus <michael.albinus@gmx.de>
10668
10669 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10670 "plink1" and "psftp". (Bug#10530)
10671
106722012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10673
10674 * international/mule-cmds.el (prefer-coding-system): Show a
10675 warning message if the default value of file-name-coding-system
10676 was not changed.
10677
f0960428
JC
106782012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10679
cb882333
JB
10680 * windmove.el (windmove-reference-loc):
10681 Fix windmove-reference-loc miscalculation.
f0960428 10682
dd6f2a63
JB
106832012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10684
10685 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10686 default unit.
10687
7b447e9b
GM
106882012-01-21 Glenn Morris <rgm@gnu.org>
10689
117a9ea1
GM
10690 * international/mule.el (auto-coding-alist): Add .tbz.
10691
7b447e9b
GM
10692 * files.el (local-enable-local-variables): Doc fix.
10693 (inhibit-local-variables-regexps): Rename from
10694 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10695 Doc fix. Add some extensions from auto-coding-alist.
10696 (inhibit-local-variables-suffixes):
10697 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10698 (inhibit-local-variables-p):
10699 New function, extracted from set-auto-mode-1.
10700 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10701 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10702 (hack-local-variables): Doc fix. Make the mode-only case
10703 respect enable-local-variables and friends.
10704 Respect inhibit-local-variables-regexps for file-locals, but
10705 not for directory-locals.
10706 (set-visited-file-name):
10707 Take account of inhibit-local-variables-regexps.
10708 Whether it applies may change as the file name is changed.
10709 * jka-cmpr-hook.el (jka-compr-install):
10710 * jka-compr.el (jka-compr-uninstall):
10711 Update for inhibit-first-line-modes-suffixes name change.
10712
dd6e3cdd
MR
107132012-01-20 Martin Rudalics <rudalics@gmx.at>
10714
10715 * help-macro.el (make-help-screen): Temporarily restore original
10716 binding for minor-mode-map-alist (Bug#10454).
10717
0d0deb38
JD
107182012-01-19 Julien Danjou <julien@danjou.info>
10719
10720 * color.el (color-name-to-rgb): Use the white color to find the max
10721 color component value and return correctly computed values.
10722 (color-name-to-rgb): Add missing float conversion for max value.
10723
34a02f46
MR
107242012-01-19 Martin Rudalics <rudalics@gmx.at>
10725
10726 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10727 special state value for window-persistent-parameters.
10728 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10729 (window--state-put-2): Reset all window parameters to nil before
10730 assigning values of persistent parameters.
10731
606c44c4
AM
107322012-01-18 Alan Mackenzie <acm@muc.de>
10733
10734 Eliminate sluggishness and hangs in fontification of "semicolon
10735 deserts".
10736
cb882333
JB
10737 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10738 Change value 10000 -> 3000.
606c44c4
AM
10739 (c-state-safe-place): Reformulate so it doesn't stack up an
10740 infinite number of wrong entries in c-state-nonlit-pos-cache.
10741 (c-determine-limit-get-base, c-determine-limit): New functions to
10742 determine backward search limits disregarding literals.
10743 (c-find-decl-spots): Amend commenting.
10744 (c-cheap-inside-bracelist-p): New function which detects "={".
10745
10746 * progmodes/cc-fonts.el
10747 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10748 backward search.
10749 (c-font-lock-declarations): Fix an occurrence of point being
10750 undefined. Check additionally for point being in a bracelist or
10751 near a macro invocation without a semicolon so as to avoid a
10752 fruitless time consuming search for a declarator. Give a more
10753 precise search limit for declarators using the new
10754 c-determine-limit.
10755
f3860cea
GM
107562012-01-18 Glenn Morris <rgm@gnu.org>
10757
10758 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10759 (set-auto-mode): Doc fixes.
10760
1db03b16
GM
107612012-01-17 Glenn Morris <rgm@gnu.org>
10762
0e6038be
GM
10763 * isearch.el (search-nonincremental-instead): Fix doc typo.
10764
1db03b16
GM
10765 * dired.el (dired-insert-directory): Handle newlines in directory name.
10766 (dired-build-subdir-alist): Unescape newlines in directory name.
10767
4cb0aa75
MA
107682012-01-17 Michael Albinus <michael.albinus@gmx.de>
10769
10770 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10771 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10772 (tramp-action-terminal): Use it. (Bug#10530)
10773
1d00653d
SM
107742012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10775
10776 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10777
6a6ee00d
MR
107782012-01-16 Martin Rudalics <rudalics@gmx.at>
10779
10780 * window.el (window-state-ignored-parameters): Remove variable.
10781 (window--state-get-1): Rename argument MARKERS to IGNORE.
10782 Handle persistent window parameters. Make copy of clone-of
10783 parameter only if requested. (Bug#10348)
10784 (window--state-put-2): Install a window parameter only if it has
10785 a non-nil value or an existing parameter shall be overwritten.
10786
97912def
MA
107872012-01-15 Michael Albinus <michael.albinus@gmx.de>
10788
10789 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10790
688070a5
EZ
107912012-01-14 Eli Zaretskii <eliz@gnu.org>
10792
10793 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10794 don't pass the (nil) value of `upnode' to string-match.
10795
301afadc
CY
107962012-01-14 Chong Yidong <cyd@gnu.org>
10797
10798 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10799 Fix values recognized by the cursorBlink resource.
301afadc 10800
9e5788aa
PE
108012012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10802
10803 * epg.el (epg--make-temp-file): Avoid permission race condition
10804 when running on old Emacs versions (bug#10403).
10805
3cdb7f5a
GM
108062012-01-14 Glenn Morris <rgm@gnu.org>
10807
10808 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10809
8c82b1b4
AM
108102012-01-13 Alan Mackenzie <acm@muc.de>
10811
10812 Fix filling for when filladapt mode is enabled.
10813
10814 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10815 c-mask-paragraph, pass in `fill-paragraph' rather than
10816 `fill-region-as-paragraph'. (This is a reversion of a previous
10817 change.)
eb864a71
LM
10818 * progmodes/cc-mode.el (c-basic-common-init):
10819 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10820
e517eda4
GM
108212012-01-13 Glenn Morris <rgm@gnu.org>
10822
1498536e
GM
10823 * dired.el (dired-switches-escape-p): New function.
10824 (dired-insert-directory): Use dired-switches-escape-p.
10825 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10826
e517eda4
GM
10827 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10828
328f984d
GM
108292012-01-12 Glenn Morris <rgm@gnu.org>
10830
10831 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10832 changes in adaptive-fill-regexp. (Bug#10276)
10833
2cc769a8
AM
108342012-01-11 Alan Mackenzie <acm@muc.de>
10835
10836 Fix Emacs bug #10463 - put `widen's around the critical spots.
10837
1d00653d 10838 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10839 widen around each invocation of c-state-pp-to-literal. Remove an
10840 unused let variable.
10841
e52c37fa
GM
108422012-01-11 Glenn Morris <rgm@gnu.org>
10843
10844 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10845 Doc fix.
e52c37fa 10846
96f8741e
CY
108472012-01-10 Chong Yidong <cyd@gnu.org>
10848
1d00653d
SM
10849 * net/network-stream.el (network-stream-open-starttls):
10850 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10851 response to the capability command.
10852
b09a806e
GM
108532012-01-10 Glenn Morris <rgm@gnu.org>
10854
10855 * mail/unrmail.el (unrmail): Tweak previous change.
10856
7655cb66
CY
108572012-01-09 Chong Yidong <cyd@gnu.org>
10858
10859 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10860
9d5a8f0b
AM
108612012-01-08 Alan Mackenzie <acm@muc.de>
10862
10863 Optimise font locking in long enum definitions.
10864
10865 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10866 arm to a cond form to handle enums.
10867 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10868 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10869
9a0115ab 108702012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10871
10872 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10873 (Bug#10401)
6bb72cbd 10874
f186bb95
LMI
108752012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10876
29232a68
LMI
10877 * faces.el (set-face-attribute): Clarify the meaning of the nil
10878 frame (bug#10294).
10879
4e5d086d
LMI
10880 * subr.el (with-selected-frame): Mention that the selected frame
10881 is restored (bug#9980).
10882
8e66aebe
LMI
10883 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10884 (bug#9759).
10885
cd394be1 10886 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10887 (password-read): Don't autoload unused function.
10888
adf4e762
JB
108892012-01-07 Juanma Barranquero <lekktu@gmail.com>
10890
10891 * progmodes/which-func.el (which-func-mode): Turn into a
10892 non-interactive function and mark as obsolete (bug#10428).
10893
89bd9ccd
CY
108942012-01-06 Chong Yidong <cyd@gnu.org>
10895
10896 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10897 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10898 functions, along with 1 and -1.
10899
4afee9d5
EZ
109002012-01-06 Eli Zaretskii <eliz@gnu.org>
10901
10902 * time.el (display-time-load-average)
10903 (display-time-default-load-average): Doc fixes. See the thread
10904 starting at
10905 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10906 for the details.
10907
536aea70
GM
109082012-01-06 Glenn Morris <rgm@gnu.org>
10909
665ae865
GM
10910 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10911 has no messages. (Bug#10377)
10912
c869783d
GM
10913 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10914 than Info-edit. (Bug#10385)
10915
2bb4227e
GM
10916 * time.el (display-time-load-average, display-time-next-load-average):
10917 Doc fixes.
10918
7d5944b9
GM
10919 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10920 local setting of buffer-read-only to the input buffer. (Bug#10419)
10921
536aea70
GM
10922 * calendar/calendar.el (calendar-mode):
10923 Locally set scroll-margin to 0. (Bug#10379)
10924
7dccca16
UM
109252012-01-06 Ulrich Mueller <ulm@gentoo.org>
10926
10927 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10928
afbb7930
GM
109292012-01-05 Glenn Morris <rgm@gnu.org>
10930
10931 * eshell/em-unix.el (diff-no-select): Autoload it.
10932 (eshell/diff): Use diff-no-select. (Bug#10420)
10933
04482335
CY
109342012-01-05 Chong Yidong <cyd@gnu.org>
10935
7baca3bc
CY
10936 * shell.el (shell-dynamic-complete-functions): Revert last change.
10937 (shell-command-completion-function): New function.
10938 (shell-completion-vars): Use it to implement
10939 shell-completion-execonly (Bug#10417).
10940
04482335
CY
10941 * custom.el (enable-theme): Don't set custom-safe-themes.
10942
1d00653d
SM
10943 * cus-theme.el (custom-theme-merge-theme):
10944 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10945
bb5aa5d6
MM
109462012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10947
10948 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10949 first prompt in `sql-interacive-mode'.
10950 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10951 keywords.
6df6ae42 10952 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10953 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10954 context of original buffer. Invoke `sql-login-hook'.
10955
a7183d7c
EZ
109562012-01-04 Eli Zaretskii <eliz@gnu.org>
10957
10958 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10959 letters in cite-prefix.
10960
a1eacd1e
LMI
109612012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10962
10963 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10964
787cdb34
CY
109652012-01-03 Chong Yidong <cyd@gnu.org>
10966
1d00653d
SM
10967 * shell.el (shell-dynamic-complete-functions):
10968 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10969 comint-filename-completion first (Bug#10417).
10970
30710442
RS
109712012-01-02 Richard Stallman <rms@gnu.org>
10972
10973 * battery.el (battery-status-function):
10974 Detect when to use battery-yeeloong-sysfs.
10975 (battery-echo-area-format): Add string for Yeeloong.
10976 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10977 (battery-yeeloong-sysfs): New function.
10978
f75bfc33
CY
109792012-01-02 Chong Yidong <cyd@gnu.org>
10980
10981 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10982 (dirtrack): Merge code for handling relative filenames in prompt
10983 from shell-dir-cookie-watcher.
10984 (dirtrack-debug-message): New arg to avoid excess format calls.
10985
10986 * shell.el (shell-dir-cookie-re): Variable deleted.
10987 (shell-dir-cookie-watcher): Function deleted.
10988 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10989 with dirtrack-mode.
10990
651e947e
EZ
109912012-01-01 Eli Zaretskii <eliz@gnu.org>
10992
1d00653d
SM
10993 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10994 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10995 libgnutls-26.dll.
10996
94d4c7dc
AS
109972011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10998
10999 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11000
8d43f3cd
EZ
110012011-12-31 Eli Zaretskii <eliz@gnu.org>
11002
11003 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11004 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11005
98c8795a
MA
110062011-12-29 Michael Albinus <michael.albinus@gmx.de>
11007
11008 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11009 also for alternative shells.
11010 (tramp-open-connection-setup-interactive-shell): Check, whether
11011 the shell is a busybox.
11012 (tramp-send-command): Don't suppress multiple prompts for
11013 busyboxes, it hurts.
11014
51281b32
CY
110152011-12-28 Chong Yidong <cyd@gnu.org>
11016
11017 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11018 (gdb-get-source-file): Move mode line update to
11019 gdb-get-source-file (Bug#10087).
11020
2170cb53
CY
110212011-12-25 Chong Yidong <cyd@gnu.org>
11022
11023 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11024 gud-gdb-marker-filter without taking it as an argument.
11025 (gud-gdb-run-command-fetch-lines): Caller changed.
11026 (gud-gdb-completion-function): New variable.
11027 (gud-gdb-completion-at-point): Use it.
11028 (gud-gdb-completions-1): Split from gud-gdb-completions.
11029
11030 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11031 function as separate arguments.
11032 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11033 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11034 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11035 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11036 (gdb-stopped, def-gdb-auto-update-trigger)
11037 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11038 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11039 Callers changed.
2170cb53
CY
11040 (gud-gdbmi-completions): New function.
11041 (gdb): Use it for generating the completion table.
11042
be8b11bb
AM
110432011-12-24 Alan Mackenzie <acm@muc.de>
11044
11045 Introduce a mechanism to widen the region used in context font
1d00653d 11046 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11047
1d00653d
SM
11048 * progmodes/cc-langs.el (c-before-font-lock-functions):
11049 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11050 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11051 functions to be run just before context (etc.) font locking.
11052
11053 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11054 New, functionality extracted from
be8b11bb 11055 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11056 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11057 (c-after-change): Set c-in-after-change-fontification.
11058 (c-set-fl-decl-start): Rejig its interface, so it can be called
11059 from both after-change and context fontifying.
b81d40f0
JB
11060 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11061 New functions.
11062 (c-standard-font-lock-fontify-region-function): New variable.
11063 (c-font-lock-fontify-region): New function.
be8b11bb 11064
341cf6ac
JL
110652011-12-24 Juri Linkov <juri@jurta.org>
11066
11067 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11068 (Bug#10348)
11069
bffcee0a
MA
110702011-12-23 Michael Albinus <michael.albinus@gmx.de>
11071
11072 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11073 existence of source file. (Bug#10325)
11074
cb5e207c
AM
110752011-12-23 Alan Mackenzie <acm@muc.de>
11076
11077 Fix unstable fontification inside templates.
11078
b81d40f0
JB
11079 * progmodes/cc-langs.el (c-before-font-lock-functions):
11080 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11081 additionally has c-set-fl-decl-start. The other languages (apart
11082 from AWK) have that as a single entry.
11083
b81d40f0
JB
11084 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11085 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11086 c-set-fl-decl-start.
11087
b81d40f0
JB
11088 * progmodes/cc-mode.el (c-common-init, c-after-change):
11089 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11090 (c-set-fl-decl-start): New function, extracted from
11091 c-font-lock-enclosing-decls and enhanced.
11092
60ff536c
JB
110932011-12-23 Juanma Barranquero <lekktu@gmail.com>
11094
11095 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11096
1c4757d6
JL
110972011-12-22 Juri Linkov <juri@jurta.org>
11098
11099 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11100
d031f2c7
CY
111012011-12-22 Chong Yidong <cyd@gnu.org>
11102
11103 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11104
bace743a
DA
111052011-12-21 Drew Adams <drew.adams@oracle.com>
11106
11107 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11108
728a1f2b
JC
111092011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11110
11111 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11112
0d373f73
TZ
111132011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11114
fec0aaa4
TZ
11115 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11116 highlighting and support. Fix up comments for capitalization.
11117 (cfengine-mode-debug): New var.
11118 (cfengine3-mode): Change the modeline indicator to "CFE3".
11119 (cfengine3-font-lock-keywords): Improve defun highlighting.
11120 (cfengine2-actions): Rename from `cfengine-actions'.
11121 (cfengine2-font-lock-keywords): Rename from
11122 `cfengine-font-lock-keywords'.
11123 (cfengine2-imenu-expression): Rename from
11124 `cfengine-imenu-expression'.
11125 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11126 (cfengine2-beginning-of-defun): Rename from
11127 `cfengine-beginning-of-defun'.
11128 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11129 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11130 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11131 modeline indicator to "CFE2".
11132 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11133 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11134
bc86f573
CY
111352011-12-21 Chong Yidong <cyd@gnu.org>
11136
11137 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11138 filename argument.
11139
d45ba96b
MR
111402011-12-20 Martin Rudalics <rudalics@gmx.at>
11141
11142 * window.el (window-normalize-buffer-to-display): Remove.
11143 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11144
a6198c90
CY
111452011-12-19 Chong Yidong <cyd@gnu.org>
11146
11147 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11148 Don't signal an error in a predicate function; return non-nil.
11149 (vc-dir-mark-file): Move the error here.
11150 (vc-dir-mark-unmark): If acting on the region, keep going if one
11151 of the entries cannot be marked/unmarked.
11152 (vc-dir-mark-all-files): If current entry is a directory, mark
11153 only child files, as documented.
11154
34c5fb55
VB
111552011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11156
11157 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11158 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11159 addition.
11160
c803b2b7
JD
111612011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11162
11163 * term/ns-win.el (ns-get-selection-internal)
11164 (ns-store-selection-internal): Declare.
1154d12e
JB
11165 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11166 Declare as obsolete.
11167 (ns-get-pasteboard, ns-paste-secondary):
11168 Use ns-get-selection-internal.
41e9b956 11169 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11170 Use ns-store-selection-internal.
c803b2b7 11171
9cff91f8 111722011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11173
11174 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11175 (vc-deduce-fileset): Doc fix.
99a289d9 11176
f16c898a
AS
111772011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11178
11179 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11180
763237c4
SS
111812011-12-13 Sam Steingold <sds@gnu.org>
11182
11183 * man.el (Man-getpage-in-background): When running under a
11184 window-system, ignore $MANWIDTH and $COLUMNS.
11185
5fc1c122
KH
111862011-12-15 Kenichi Handa <handa@m17n.org>
11187
11188 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11189 (setup-ethiopic-environment-internal): Comment out key-binding for
11190 ethio-toggle-punctuation.
11191
13d49cbb
AM
111922011-12-13 Alan Mackenzie <acm@muc.de>
11193
898169a2
AM
11194 Add the switch statement to AWK Mode.
11195
7a71b18d 11196 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11197 "default" to the keywords regexp.
11198
7a71b18d 11199 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11200 expression as the rest.
1d00653d
SM
11201 (c-nonlabel-token-key): Allow string literals for AWK.
11202 Refactor for the other modes.
898169a2 11203
13d49cbb 11204 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11205 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11206 routines. Limit backward searching in c-font-lock-enclosing.decl.
11207
11208 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11209 pp-state and literal type in addition to the limits.
1d00653d 11210 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11211 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11212 (c-slow-in-literal, c-fast-in-literal): Remove.
11213 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11214
11215 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11216 being in a literal. Add a limit for backward searching.
11217
11218 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11219 c-slow-in-literal.
11220
15e0efc7
SM
112212011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11222
11223 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11224
454592a6
MR
112252011-12-13 Martin Rudalics <rudalics@gmx.at>
11226
11227 * window.el (delete-other-windows): Use correct frame in call to
11228 window-with-parameter.
11229
87393f26
DP
112302011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11231
11232 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11233 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11234 (makefile-gmake-statements, makefile-makepp-statements):
11235 Use it and add new makepp keywords.
11236 (makefile-makepp-font-lock-keywords): Add new patterns.
11237 (makefile-match-function-end): Match new [...] and [[...]].
11238
11636b22
JB
112392011-12-11 Juanma Barranquero <lekktu@gmail.com>
11240
11241 * ses.el (ses-call-printer-return, ses-cell-property-get)
11242 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11243 (ses-create-cell-variable, ses-reset-header-string)
11244 (ses-cell-set-formula, ses-repair-cell-reference-all)
11245 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11246 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11247 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11248 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11249 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11250 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11251 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11252 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11253 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11254 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11255 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11256 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11257
cf018193
VB
112582011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11259
11260 * ses.el: The overall change is to add cell renaming, that is
11261 setting fancy names for cell symbols other than name matching
11262 "\\`[A-Z]+[0-9]+\\'" regexp .
11263 (ses-create-cell-variable): New defun.
11264 (ses-relocate-formula): Relocate formulas only for cells the
11265 symbols of which are not renamed, i.e. symbols whose names do not
11266 match regexp "\\`[A-Z]+[0-9]+\\'".
11267 (ses-relocate-all): Relocate values only for cells the symbols of
11268 which are not renamed.
11269 (ses-load): Create cells variables as the (ses-cell ...) are read,
11270 in order to check row col consistency with cell symbol name only
11271 for cells that are not renamed.
11272 (ses-replace-name-in-formula): New defun.
11273 (ses-rename-cell): New defun.
11274
ee957461
CY
112752011-12-11 Chong Yidong <cyd@gnu.org>
11276
11277 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11278 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11279
9a9e9ef0
MR
112802011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11281
11282 * window.el (other-window): Fix docstring.
11283
92a8eba5
EZ
112842011-12-10 Eli Zaretskii <eliz@gnu.org>
11285
11286 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11287 `from' or `to' address before taking its substring.
11288 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11289 encoded name is chopped in the middle of the encoded string, and
11290 thus displayed encoded.
11291
e152e577
JB
112922011-12-10 Juanma Barranquero <lekktu@gmail.com>
11293
11294 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11295
e5d84bfe
EZ
112962011-12-10 Eli Zaretskii <eliz@gnu.org>
11297
11298 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11299 to use texinfo-update-node and commands that call it if the
11300 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11301 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11302 (texinfo-all-menus-update, texinfo-master-menu)
11303 (texinfo-update-node, texinfo-every-node-update)
11304 (texinfo-multiple-files-update): Doc fix. Warn against updating
11305 all the @node lines.
11306 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11307 argument is numeric. Explain better in the doc string what the
11308 function really does.
11309 (texinfo-insert-master-menu-list): Improve the error message
11310 displayed if there's no menu in the Top node.
11311 (Bug#2975) See also this thread:
e5d84bfe
EZ
11312 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11313
1d84e9bb
MG
113142011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11315
11316 * speedbar.el (speedbar-supported-extension-expressions):
11317 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11318
382c953b
JB
113192011-12-09 Juanma Barranquero <lekktu@gmail.com>
11320
11321 * printing.el (pr-mode-alist):
11322 * simple.el (filter-buffer-substring-functions)
11323 (completion-list-insert-choice-function):
11324 * window.el (window-with-parameter, window-atom-root)
11325 (window-sides-slots, window-size-fixed, window-min-delta)
11326 (window-max-delta, window--resize-mini-window)
11327 (window--resize-child-windows-normal, window-tree)
11328 (delete-other-windows, quit-window, split-window)
11329 (display-buffer-record-window, special-display-buffer-names)
11330 (special-display-regexps, special-display-popup-frame)
11331 (same-window-p, split-window-sensibly)
11332 (display-buffer-overriding-action, display-buffer-alist)
11333 (display-buffer-base-action, display-buffer, switch-to-buffer)
11334 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11335 (fit-window-to-buffer, recenter-positions)
11336 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11337 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11338 and remove unneeded backslashes in docstrings.
11339
39c9faef
SM
113402011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11341
98449af8
SM
11342 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11343
39c9faef
SM
11344 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11345 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11346 end in ".mk".
11347 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11348 when reading the makefile (bug#10116).
11349
86ed9fdc
SM
113502011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11353 (bug#10116).
11354
5580f89d
GM
113552011-12-06 Glenn Morris <rgm@gnu.org>
11356
11357 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11358
28d3917c
CY
113592011-12-06 Chong Yidong <cyd@gnu.org>
11360
11361 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11362
a98edce9
JB
113632011-12-06 Juanma Barranquero <lekktu@gmail.com>
11364
11365 * textmodes/table.el (table-shorten-cell): Fix typo.
11366
e65adfac
CG
113672011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11368
11369 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11370
71cc0b74
EZ
113712011-12-05 Eli Zaretskii <eliz@gnu.org>
11372
11373 * descr-text.el (describe-char): Fix display of strong
11374 right-to-left characters and directional embeddings and overrides.
11375
11376 * simple.el (what-cursor-position): Fix display of codepoints of
11377 strong right-to-left characters.
11378
315bc30d
CY
113792011-12-05 Chong Yidong <cyd@gnu.org>
11380
11381 * faces.el (read-color): Doc fix.
11382
58a70b94
GM
113832011-12-05 Glenn Morris <rgm@gnu.org>
11384
11385 * align.el (align--set-marker): Add doc-string.
11386 Don't try to move something that is not a marker. (Bug#10216)
11387
5158face
GM
113882011-12-04 Glenn Morris <rgm@gnu.org>
11389
11390 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11391 overly zealous deletion of trailing whitespace.
11392
520fca41
JB
113932011-12-04 Juanma Barranquero <lekktu@gmail.com>
11394
11395 * server.el (server-delete-client): On Windows, do not try to delete
11396 the only terminal.
11397 (server-process-filter): On Windows, treat requests for a tty frame as
11398 if they were for a GUI frame if the running server is in GUI mode.
11399
5e605a2e
GM
114002011-12-03 Glenn Morris <rgm@gnu.org>
11401
11402 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11403
5c3fe83f
SM
114042011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11405
6f5e57e7
SM
11406 * electric.el: Streamline electric-indent's hook.
11407 (electric-indent-chars): Revert to simple list.
11408 (electric-indent-functions): New var.
11409 (electric-indent-post-self-insert-function): Use it.
11410
5c3fe83f
SM
11411 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11412 there's no inferior buffer (bug#10196).
11413 (prolog-consult-compile): Don't use toggle-read-only.
11414
6bdac736
MA
114152011-12-02 Michael Albinus <michael.albinus@gmx.de>
11416
11417 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11418 interrupt. (Bug#10187)
11419
6131ba7f
SM
114202011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11421
99c79fee
SM
11422 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11423 (bug#9160).
11424
6131ba7f
SM
11425 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11426 (bug#10191).
11427
cb0a02ea
JL
114282011-12-02 Juri Linkov <juri@jurta.org>
11429
11430 * info.el (Info-search): Display "end of manual" when Isearch
11431 reaches the end of single-file Info manual. (Bug#9918)
11432
66e0570c
EZ
114332011-12-02 Eli Zaretskii <eliz@gnu.org>
11434
11435 * isearch.el (isearch-message-prefix): Run the input method part
11436 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11437
02b16839
JL
114382011-12-02 Juri Linkov <juri@jurta.org>
11439
11440 * isearch.el (isearch-occur): Use `word-search-regexp' for
11441 `isearch-word'.
11442 (isearch-search-and-update): Add condition for `isearch-word' and
11443 call `word-search-regexp'. (Bug#10145)
11444
0b950688
GM
114452011-12-01 Glenn Morris <rgm@gnu.org>
11446
11447 * eshell/em-hist.el (eshell-hist-initialize):
11448 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11449 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11450
9505c3c7
SM
114512011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11454
1bbe96b2 114552011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11456
a1beca85
SM
11457 * progmodes/verilog-mode.el (verilog-pretty-expr):
11458 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11459 verilog, such as += *= and the like.
11460 (verilog-assignment-operator-re): Regular expression to find the
11461 assigment operator in a verilog assignment.
11462 (verilog-assignment-operation-re): Regular expression to find an
11463 assignment statement for pretty-expr.
11464 (verilog-in-attribute-p): Query returns true if point is in an
11465 attribute context; used to skip these for expression line up from
11466 pretty-expr.
11467 (verilog-in-parameter-p): Query returns true if point is in an
11468 parameter definition context; used to skip these for expression
11469 line up from pretty-expr.
11470 (verilog-in-parenthesis-p): Query returns true if point is in a
11471 parenthetical expression, specifically ( ) but not [ ] or { };
11472 used by pretty-expr.
11473 (verilog-just-one-space): If there is no space, don't add one.
11474 (verilog-get-lineup-indent-2): Specifically skip just attribute
11475 contexts for expression lineup, rather than skipping all
11476 parenthetical expressions.
11477 (verilog-calculate-indent): Fix comment, and fix indent.
11478 (verilog-do-indent): Indent declarations in lists (suggested by
11479 Joachim Lechner).
11480 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11481 skeleton items.
11482 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11483 by Alain Mellan).
11484
1bbe96b2 114852011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11486
11487 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11488 parameters with embedded comments. Reported by Ray Stevens.
11489 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11490 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11491 Reported by Tim Holt.
11492 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11493 instantiated by upper module causing wrong expansion until AUTOed a
11494 second time. Reported by K C Buckenmaier.
11495 (verilog-diff-auto): Fix showing .* as a difference when
11496 `verilog-auto-star-save' off. Reported by Dan Dever.
11497 (verilog-auto-reset, verilog-read-always-signals)
11498 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11499 temporary signals in reset list if
11500 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11501 style to each signal's assignment type, bug381.
11502 Reported by Thomas Esposito.
6288f0ca
WS
11503 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11504 (verilog-uvm-statement-re): Support UVM indentation and
11505 highlighting, with old OVM keywords only.
a1beca85 11506 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11507 Support AUTOTIEOFF creating non-wire data types.
11508 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11509 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11510 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11511 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11512 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11513 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11514 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11515 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11516 non-numeric vector width. Reported by Alex Reed.
11517 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11518 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11519 (verilog-auto-delete-trailing-whitespace):
11520 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11521 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11522 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11523 Fix verilog-scan-cache corruption when running user AUTO expansion
11524 hooks that call indentation routines.
11525 (verilog-simplify-range-expression): Fix typo ignoring lower case
11526 identifiers.
11527 (verilog-delete-auto): Fix delete-autos to also remove user created
11528 automatics, as long as they start with AUTO.
11529 (verilog-batch-diff-auto, verilog-diff-auto)
11530 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11531 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11532 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11533 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11534 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11535 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11536 is disabled and its cache will get corrupt, causing AUTOS not to
11537 expand. Instead use only -quick functions.
11538 (verilog-scan-region): Fix scanning over escaped quotes.
11539 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11540 (verilog-re-search-backward-quick)
11541 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11542 related functions now ignore strings, to fix misparsing of strings
11543 with magic comments embedded in them.
a1beca85
SM
11544 (verilog-read-auto-template):
11545 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11546 Reported by Brad Dobbie.
11547 (verilog-read-auto-template):
11548 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11549 Reported by Brad Dobbie.
6288f0ca
WS
11550 (verilog-auto-inst, verilog-auto-inst-param)
11551 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11552 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11553 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11554 debugging templates without merge conflicts, bug357.
11555 Reported by Brad Dobbie.
11556 (verilog-read-auto-template):
11557 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11558 Reported by Brad Dobbie.
11559 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11560 abbrevs so user won't be asked to save.
11561 (verilog-read-auto-lisp-present): Fix to start at beginning of
11562 buffer in case called outside of verilog-auto.
11563 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11564 to "X-2". Reported by Matthew Myers.
11565 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11566 all inputs from module templates. Reported by Leith Johnson.
11567 (verilog-module-inside-filename-p): Fix locating programs as with
11568 modules.
11569 (verilog-auto-inst-port): Fix vl-width expressions when using
11570 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11571 (verilog-decls-get-regs, verilog-decls-get-signals,
11572 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11573 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11574 verilog-read-decls): Combine reg and wire structures into one var
11575 structure to represent SystemVerilog concepts.
11576 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11577 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11578 (verilog-auto-wire-type, verilog-insert-definition):
11579 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11580 SystemVerilog "logic" keyword instead of "wire"/"reg".
11581 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11582 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11583 ifdef or generate if so there's not a driver conflict).
11584 Reported by Matthew Myers.
11585 (verilog-auto-declare-nettype, verilog-insert-definition):
11586 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11587 `default_nettype none. Reported by Julian Gorfajn.
11588 (verilog-read-always-signals-recurse, verilog-read-decls)
11589 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11590 malformed end statement, bug325. Reported by Joshua Wise and
11591 Andrew Drake.
11592 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11593 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11594 when expanding .* in interfaces, bug320.
11595 Reported by Pierre-David Pfister.
6288f0ca 11596 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11597 name and open parenthesis, bug317.
11598 Reported by Pierre-David Pfister.
6288f0ca
WS
11599 (verilog-simplify-range-expression): Fix simplification of
11600 multiplications inside AUTOWIRE connections, bug303.
11601 (verilog-auto-inst-port): Support parameter expansion in
11602 multidimensional arrays.
11603 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11604 after "assert property". Reported by Julian Gorfajn.
11605 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11606 with multiplication, bug303.
11607 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11608 Reported by Jan Frode Lonnum.
11609
1bbe96b2
GM
116102011-11-30 Juanma Barranquero <lekktu@gmail.com>
11611
11612 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11613 (hfy-shell-file-name, hfy-shell):
11614 * international/fontset.el (x-decompose-font-name): Fix typos.
11615
116162011-11-29 Ken Brown <kbrown@cornell.edu>
11617
11618 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11619 (gdb-version): Remove defvar.
11620 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11621 (gdb-gud-context-command, gdb-non-stop-handler)
11622 (gdb-current-context-command, gdb-stopped): Use it.
11623 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11624 (gdb-non-stop-handler): Don't enable pretty-printing here.
11625 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11626 non-stop mode. Use the following.
11627 (gdb-check-target-async): New defun.
11628 (gud-watch, gdb-stopped): Fix whitespace.
11629 (gdb-get-source-file): Don't try to display the source file if
11630 `gdb-main-file' is nil.
11631
116322011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * align.el: Try to generate fewer markers (bug#10047).
11635 (align--set-marker): New macro.
11636 (align-region): Use it.
11637
c935221f
SM
116382011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11641
e70b5064
CY
116422011-11-29 Chong Yidong <cyd@gnu.org>
11643
11644 * indent.el (indent-for-tab-command, indent-according-to-mode):
11645 Doc fix.
11646 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11647
f3af92b7
MA
116482011-11-29 Michael Albinus <michael.albinus@gmx.de>
11649
11650 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11651 aware of remote file names. (Bug#10124)
11652
ed472be9
CY
116532011-11-29 Chong Yidong <cyd@gnu.org>
11654
11655 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11656
24510c22
SM
116572011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11658
11659 * files.el (find-file): Don't use force-same-window (bug#10144).
11660 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11661 use pop-to-buffer if the selected window can't be used.
11662 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11663
c60c3703
EZ
116642011-11-28 Eli Zaretskii <eliz@gnu.org>
11665
11666 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11667 special-mode-map.
11668
e95def75
CY
116692011-11-28 Chong Yidong <cyd@gnu.org>
11670
11671 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11672
c3f1c606
NR
116732011-11-27 Nick Roberts <nickrob@snap.net.nz>
11674
11675 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11676 gdb-get-source-file-list on gdb-create-source-file-list.
11677
00db469c
EZ
116782011-11-26 Eli Zaretskii <eliz@gnu.org>
11679
11680 * whitespace.el (whitespace-newline): Use a different foreground
11681 color for 16-color light-background displays.
11682
4ad3bc2a
CY
116832011-11-24 Chong Yidong <cyd@gnu.org>
11684
11685 * window.el (display-buffer--special-action): Doc fix.
11686
e9fce1ac
JB
116872011-11-25 Juanma Barranquero <lekktu@gmail.com>
11688
11689 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11690 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11691 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11692 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11693 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11694 (avl-tree-stack-first):
11695 * emacs-lisp/cconv.el (cconv--analyse-use):
11696 * net/gnutls.el (gnutls-negotiate): Fix typos.
11697
cb825e5d
GM
116982011-11-24 Glenn Morris <rgm@gnu.org>
11699
3adbe224
GM
11700 * lpr.el (lpr-windows-system, lpr-lp-system):
11701 * mail/binhex.el (binhex-begin-line):
11702 * progmodes/grep.el (grep-history, grep-find-history):
11703 * textmodes/flyspell.el:
11704 * vc/pcvs-defs.el (cvs-global-menu):
11705 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11706 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11707 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11708
321decc8
GM
11709 * net/tls.el: Fix case of "GnuTLS".
11710
420b63ad
GM
11711 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11712
cb825e5d
GM
11713 * version.el (emacs-build-system): Give it a doc-string.
11714
a0649f08
JL
117152011-11-24 Juri Linkov <juri@jurta.org>
11716
11717 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11718
c0bc0fd4
GM
117192011-11-24 Glenn Morris <rgm@gnu.org>
11720
11721 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11722 if called on a non-mime message just toggle the headers. (Bug#8006)
11723
20db1522
JB
117242011-11-24 Juanma Barranquero <lekktu@gmail.com>
11725
11726 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11727 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11728 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11729 (allout-rebullet-heading, allout-open-sibtopic)
11730 (allout-toggle-current-subtree-encryption)
11731 (allout-toggle-subtree-encryption, allout-encrypt-string)
11732 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11733 (allout-distinctive-bullets-string, allout-auto-activation):
11734 * window.el (window-normalize-buffer-to-display):
11735 * progmodes/verilog-mode.el (verilog-batch-indent):
11736 * textmodes/bibtex.el (bibtex-field-braces-opt)
11737 (bibtex-field-strings-opt):
11738 * vc/cvs-status.el (cvs-tree-merge):
11739 Fix typos.
11740
7262a87c
MA
117412011-11-23 Michael Albinus <michael.albinus@gmx.de>
11742
11743 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11744 `non-essential' to t, in order to avoid remote connections.
11745
283430a1
EZ
117462011-11-23 Eli Zaretskii <eliz@gnu.org>
11747
a1beca85
SM
11748 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11749 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11750 case-insensitively.
11751
d2992a38
ML
117522011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11753
11754 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11755
50419064
GM
117562011-11-23 Glenn Morris <rgm@gnu.org>
11757
da94eca1
GM
11758 * paths.el (rmail-file-name): Reformat the doc-string so that it
11759 is picked up.
11760
9aac4de2
GM
11761 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11762 (rmail-auto-file): Ignore case in the "special" field names,
11763 as mail-fetch-field does for all others.
11764
8038d2d2
GM
11765 * mail/rmail.el (rmail-forward):
11766 * mail/rmailkwd.el (rmail-set-label):
11767 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11768 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11769
f3fe222a
GM
11770 * mail/rmail.el (rmail-current-message): Doc fix.
11771
50419064
GM
11772 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11773
28109f49
SM
117742011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11775
11776 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11777
394c65f1
GM
117782011-11-22 Glenn Morris <rgm@gnu.org>
11779
11780 * mail/rmailmm.el (test-rmail-mime-handler)
11781 (test-rmail-mime-bulk-handler)
11782 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11783
f2a0aa3a
JL
117842011-11-21 Juri Linkov <juri@jurta.org>
11785
1154d12e
JB
11786 * calc/calc.el (calc-read-key-sequence):
11787 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11788
9c34a344
LMI
117892011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11790
11791 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11792 Tell the caller that the next line needs recomputation, even
11793 though it doesn't start a sexp (bug#10094).
11794
f04a3be9
SM
117952011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11796
11797 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11798
7978747f
SM
117992011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11800
f04a3be9
SM
11801 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11802 Use force-same-window.
7978747f 11803
fe7a3057
JB
118042011-11-20 Juanma Barranquero <lekktu@gmail.com>
11805
11806 * descr-text.el (describe-char-unicode-data):
11807 * json.el (json-string-escape):
11808 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11809 (Footnote-unicode, Footnote-style-p):
11810 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11811
24901d61
CY
118122011-11-20 Chong Yidong <cyd@gnu.org>
11813
11814 * window.el (replace-buffer-in-windows): Restore interactive spec.
11815
bac7ff22
SM
118162011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11817
24f3d7b9
SM
11818 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11819
bac7ff22
SM
11820 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11821 (byte-compile-global-not-obsolete-vars): New var.
11822 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11823 Use it.
11824 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11825
cd1181db
JB
118262011-11-20 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11829 * progmodes/pascal.el (electric-pascal-equal):
11830 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11831 * xml.el (xml-substitute-special): Fix typos.
11832
7fb18e9e
GM
118332011-11-20 Glenn Morris <rgm@gnu.org>
11834
11835 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11836 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11837 Doc fixes.
11838 (rmail-decode-mime-charset): Mark as obsolete.
11839
11840 * mail/rmailsum.el (rmail-message-regexp-p-1):
11841 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11842 Before using mime functions, check they are set. (Bug#10077)
11843
d5a6b3ba
JL
118442011-11-19 Juri Linkov <juri@jurta.org>
11845
11846 * info.el (Info-finder-find-node): Use `package--builtins' instead
11847 of `package-alist'. Use node names formed by the pattern "Keyword "
11848 and the keyword name.
11849
e981b61f
AS
118502011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11851
1d00653d 11852 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11853
3ffbc301
JL
118542011-11-19 Juri Linkov <juri@jurta.org>
11855
11856 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11857 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11858 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11859 `old-history', `old-history-forward'. Add let-binding
11860 `window-selected'. Remove calls to `kill-buffer',
11861 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11862 before calling `Info-find-node', so `Info-find-node-2' will reread
11863 the Info file. Restore window positions only when `window-selected'
11864 is non-nil.
11865
30c62133
JL
118662011-11-19 Juri Linkov <juri@jurta.org>
11867
11868 * isearch.el (isearch-lazy-highlight-new-loop):
11869 Remove condition `(not isearch-error)'. (Bug#9918)
11870
11871 * misearch.el (multi-isearch-search-fun): Add condition
11872 `(not bound)' to ignore lazy-highlighting search.
11873 Add the search-failed message "end of multi" when the end of
11874 multi-sequence is reached. Uncapitalize the search-failed
11875 message "Repeat for next buffer".
11876
11877 * info.el (Info-search): Add the search-failed message
11878 "end of the manual" when the end of the manual is reached
11879 in Isearch mode.
11880
645ca9cf
JL
118812011-11-19 Juri Linkov <juri@jurta.org>
11882
11883 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11884 Use non-destructive `remove' instead of `delete' because
11885 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11886 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11887
df754f66
JL
118882011-11-19 Juri Linkov <juri@jurta.org>
11889
11890 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11891 to nil instead of binding `search-ring' and `regexp-search-ring'.
11892 (Bug#9185)
11893
0e23d96a
EZ
118942011-11-19 Eli Zaretskii <eliz@gnu.org>
11895
11896 * simple.el (line-move): Force movement by logical lines for any
11897 hscrolled window, not only when auto-hscroll-mode is on.
11898 (line-move-visual): Update doc string to that effect. (Bug#10076)
11899
8a6ccb66
AS
119002011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11901
11902 * language/european.el (macintosh): Define as alias for mac-roman.
11903
49ae5b39
EZ
119042011-11-19 Eli Zaretskii <eliz@gnu.org>
11905
11906 * mail/rmailmm.el (rmail-mime-display-header)
11907 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11908 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11909 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11910 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11911 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11912 of a raw aref.
11913 (rmail-mime-entity-segment): To get past the tagline, move forward
11914 2 more lines, to account for the 2 empty lines that precede and
11915 follow the line with the buttons.
11916 (rmail-mime-update-tagline): Move one more line, to get past the
11917 empty line that follows the buttons in the tagline. (Bug#9520)
11918
c56cad4a
MR
119192011-11-19 Martin Rudalics <rudalics@gmx.at>
11920
11921 * window.el (window-max-delta-1, window-min-delta-1)
11922 (window-min-size-1, window-state-get-1, window-state-put-1)
11923 (window-state-put-2): Use "window--" prefix.
11924
cbe71af3
SM
119252011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11926
2ad52c60
SM
11927 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11928 (smie-warning-count): New var.
11929 (smie-set-prec2tab): Use it.
11930 (smie-bnf->prec2): Improve warnings. Add docstring.
11931 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11932 (smie-bnf--set-class): New function.
11933 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11934 corner case.
11935
6944dbc1
SM
11936 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11937 (compilation-error-properties, compilation-move-to-column):
11938 Handle compilation-first-column while in the target buffer.
11939
c400c4d7
SM
11940 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11941 Don't hardcode point-min==1.
11942
6dbe3e96
SM
11943 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11944 (eshell-rewrite-for-command): Remove workaround.
11945 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11946 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11947 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11948
cbe71af3
SM
11949 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11950
a8e1496d
GM
119512011-11-17 Glenn Morris <rgm@gnu.org>
11952
11953 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11954 Ignore buffer-local generated-autoload-file if it is the same
11955 as the global value. (Bug#10049)
11956
df85d315
JB
119572011-11-17 Juanma Barranquero <lekktu@gmail.com>
11958
11959 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11960 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11961 (reftex-toc-previous-heading, reftex-toc-max-level)
11962 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11963 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11964 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11965 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11966 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11967 (reftex-toc-rename-label, reftex-toc-visit-location)
11968 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11969 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11970 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11971 leaving "*toc*" only for references to the buffer.
11972
a0c2d0ae
MR
119732011-11-17 Martin Rudalics <rudalics@gmx.at>
11974
11975 * window.el (window-resize, delete-window, split-window):
11976 Replace window-splits by window-combination-resize.
1d00653d 11977 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11978
35c0bac8
GM
119792011-11-17 Glenn Morris <rgm@gnu.org>
11980
11981 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11982 Make bash entry derive from sh entry, not shell entry.
11983
d0c8fc8a
MA
119842011-11-16 Michael Albinus <michael.albinus@gmx.de>
11985
7262a87c
MA
11986 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11987 local file name.
11988
7877f373
JB
119892011-11-16 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * menu-bar.el (menu-bar-file-menu):
11992 * printing.el (pr-ps-utility):
11993 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11994 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11995 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11996 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11997 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11998 (icalendar--convert-cyclic-to-ical)
11999 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12000 (icalendar--convert-ical-to-diary)
12001 (icalendar--convert-recurring-to-diary)
12002 (icalendar--convert-non-recurring-all-day-to-diary)
12003 (icalendar-import-format-sample):
12004 * progmodes/idlw-shell.el (idlwave-shell-mode):
12005 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12006 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12007 (vhdl-ps-print-init): Fix typos.
12008
10649b82
KM
120092011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12010
9d0cfcd6
GM
12011 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12012 FSF and collapse date sequence, obscure author/maintainer email address
12013 better, remove extra version line, track relocation of author's webpage.
10649b82 12014
9d0cfcd6
GM
12015 * progmodes/python.el (python-pdbtrack-input-prompt)
12016 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12017 regular python pdb prompts. Adjustments shamelessly taken exactly as
12018 suggested in EmacsWiki page (tiny change):
12019 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12020
58179cce
JB
120212011-11-16 Juanma Barranquero <lekktu@gmail.com>
12022
12023 * expand.el (expand-pos, expand-index, expand-point):
12024 Remove redundant info from docstring.
12025 (expand-add-abbrevs): Doc fix.
12026 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12027 (expand-sample-perl-mode-expand-list): Fix typos.
12028
12029 * net/dbus.el (dbus-event-member-name):
12030 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12031 * term/pc-win.el (msdos-create-frame-with-faces):
12032 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12033
b6f67890
MR
120342011-11-16 Martin Rudalics <rudalics@gmx.at>
12035
12036 * window.el (split-window, window-state-get-1)
12037 (window-state-put-1, window-state-put-2): Rename occurrences of
12038 window-nest to window-combination-limit.
1d00653d 12039 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12040
ce7ddba0
CY
120412011-11-16 Chong Yidong <cyd@gnu.org>
12042
12043 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12044 regexp (Bug#10033).
12045
3ae704f4
SM
120462011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12049 `completing-read' will remove *Completions* and will preserve
12050 current-buffer for us.
12051 (tmm-add-prompt): Users of *Completions* will always (re)set its
12052 major mode.
12053 (tmm-old-comp-map): Remove.
12054
6ad1cdde
GM
120552011-11-16 Glenn Morris <rgm@gnu.org>
12056
12057 * mail/rmailedit.el: Require rmailmm when compiling.
12058 (rmail-old-mime-state): New declaration.
12059 (rmail-edit-current-message): If editing a mime message,
12060 edit the "raw" message from the mbox buffer.
12061 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12062
d20faa20
GM
120632011-11-15 Glenn Morris <rgm@gnu.org>
12064
12065 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12066 which wasn't being used. Add optional arg to force given state.
12067 (rmail-mime): Add optional arg to force given state.
12068
c7015153
JB
120692011-11-15 Juanma Barranquero <lekktu@gmail.com>
12070
12071 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12072 * frame.el (display-mm-dimensions-alist):
12073 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12074 (outline-move-subtree-down):
12075 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12076 (newsticker--treeview-do-get-node):
12077 * net/quickurl.el (quickurl-list-buffer-name):
12078 * progmodes/dcl-mode.el (dcl-mode):
12079 * progmodes/gdb-mi.el (gdb-mapcar*):
12080 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12081
45261b50
GM
120822011-11-15 Glenn Morris <rgm@gnu.org>
12083
12084 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12085 in a boolean sense, so just make it a boolean, and fix the doc.
12086 (rmail-show-mime-function, rmail-mime-feature)
12087 (rmail-require-mime-maybe): Doc fixes.
12088 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12089
12090 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12091
0d26e0b6
JB
120922011-11-15 Juanma Barranquero <lekktu@gmail.com>
12093
12094 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12095 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12096 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12097 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12098
447f30f6
GM
120992011-11-15 Glenn Morris <rgm@gnu.org>
12100
672b871d
GM
12101 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12102 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12103 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12104 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12105 (rmail-mime, rmail-show-mime): Doc fixes.
12106
f6aa5bb1
GM
12107 * term/ns-win.el (mode-line-frame-identification):
12108 Leave it alone. (Bug#10051)
12109
947cd66b
GM
12110 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12111
447f30f6
GM
12112 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12113 Handle empty buffers. (Bug#9978)
12114
0b381c7e
JB
121152011-11-14 Juanma Barranquero <lekktu@gmail.com>
12116
12117 * international/mule.el (define-charset):
12118 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12119 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12120 * progmodes/verilog-mode.el (verilog-backward-token):
12121 * textmodes/ispell.el (lookup-words):
12122 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12123
71e027ac
GM
121242011-11-14 Glenn Morris <rgm@gnu.org>
12125
56632ce4
GM
12126 * progmodes/executable.el
12127 (executable-make-buffer-file-executable-if-script-p):
12128 Handle file-modes returning nil.
12129
40500957
GM
12130 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12131 message - not necessary, and causes problems. (Bug#9831)
12132
071c2340
GM
12133 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12134
d3cfca60
GM
12135 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12136
71e027ac
GM
12137 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12138 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12139 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12140
89d61221
MR
121412011-11-12 Martin Rudalics <rudalics@gmx.at>
12142
12143 * window.el (window-resize, delete-window): Use window-splits
12144 variable instead of function.
12145 (window-state-get-1, window-state-put-2, window-state-put):
12146 Don't deal with windows' splits status.
12147
98282f6f
GM
121482011-11-12 Glenn Morris <rgm@gnu.org>
12149
12150 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12151 (apropos-documentation): Doc fixes.
12152
40a8bdf6
JB
121532011-11-11 Juanma Barranquero <lekktu@gmail.com>
12154
12155 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12156 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12157
65bd19ff
SM
121582011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 * electric.el (electric-indent-post-self-insert-function): Make it
12161 possible for a char to only indent in some circumstances.
12162 (electric-indent-mode): Simplify.
12163
54f9154c
MR
121642011-11-11 Martin Rudalics <rudalics@gmx.at>
12165
12166 * window.el (windows-with-parameter): Remove unused function.
12167 (windows-at-side): Rename to window-at-side-list.
12168 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12169 (window-side-check, window-size-ignore, window-size-fixed-1)
12170 (window-in-direction-2): Prefix with "window--".
12171 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12172
68cbc58b
GM
121732011-11-11 Glenn Morris <rgm@gnu.org>
12174
12175 * subr.el (eval-after-load): If FILE is already loaded,
12176 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12177
b2621720
GM
121782011-11-10 Glenn Morris <rgm@gnu.org>
12179
9a4de110
GM
12180 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12181 Call svn via vc-svn-command rather than vc-do-command.
12182 (vc-svn-command): Add --non-interactive. (Bug#9993)
12183 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12184
b2621720
GM
12185 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12186 Add toggle-read-only. (Bug#7292)
12187 * files.el (toggle-read-only): Mention that it should only
12188 be used interactively. (Bug#10006)
12189
1dce7193
SM
121902011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12191
d9ac1a1e
SM
12192 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12193 Adjust regexp for OCaml warnings.
12194
0c325082
SM
12195 * electric.el (electric-pair-post-self-insert-function): Let user
12196 turn it off buffer-locally (bug#9932).
12197
90132c14
SM
12198 * progmodes/python.el (python-beginning-of-statement):
12199 Rewrite (bug#2703).
12200
1dce7193
SM
12201 * progmodes/compile.el: Better handle TABs (bug#9749).
12202 (compilation-internal-error-properties)
12203 (compilation-next-error-function): Obey the target buffer's
12204 compilation-error-screen-columns.
12205
c4e7c63a
JB
122062011-11-09 Juanma Barranquero <lekktu@gmail.com>
12207
12208 * progmodes/meta-mode.el: Remove obsolete comments.
12209 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12210 Fix typos in docstrings.
12211
2cffd681
MR
122122011-11-09 Martin Rudalics <rudalics@gmx.at>
12213
12214 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12215 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12216 (window--resizable): New function. Make all callers of
12217 window-resizable call window--resizable instead.
12218 (window-resizable): Rewrite in terms of window--resizable.
12219
0edcba87
GM
122202011-11-08 Glenn Morris <rgm@gnu.org>
12221
12222 * progmodes/delphi.el (delphi-mode-syntax-table):
12223 Let define-derived-mode define a proper syntax table. (Bug#9994)
12224
4b0d61e3
SM
122252011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12226
12227 * window.el: Stay away from defsubst.
12228 (window-list-no-nils): Remove.
12229 (window-state-get-1, window-state-get): Use backquote instead.
12230
cd394be1 122312011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12232
4b0d61e3 12233 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12234 Fix incorrect use of default argument in `completing-read'.
12235
e1c2c6f2
MR
122362011-11-08 Martin Rudalics <rudalics@gmx.at>
12237
12238 * window.el (display-buffer-function, special-display-function):
12239 Mention display-buffer-record-window but do not mention
12240 help-setup parameter in doc-strings.
b3f4a882 12241 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12242
105216ed
CY
122432011-11-08 Chong Yidong <cyd@gnu.org>
12244
12245 * window.el (window-total-height, window-total-width): Doc fix.
12246 (window-body-size): Move from C.
12247 (window-body-height, window-body-width): Move to C.
12248
0a9f9ab5
SM
122492011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12250
12251 * window.el: Make special-display like display-buffer-alist (bug#9532).
12252 (display-buffer--special-action): New function, morphed
12253 from display-buffer--special.
12254 (display-buffer): Use it to handle special-display-buffers at higher
12255 priority (just after display-buffer-alist).
12256 (display-buffer-fallback-action, display-buffer--other-frame-action)
12257 (pop-to-buffer-same-window): Remove display-buffer--special.
12258
a769dd15
GM
122592011-11-07 Glenn Morris <rgm@gnu.org>
12260
12261 * calendar/cal-menu.el (cal-menu-set-date-title):
12262 Do nothing if not in a calendar. (Bug#9976)
12263
05a61ee3
SM
122642011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * files.el (find-file): Always use selected-window.
12267
be7f5545
MR
122682011-11-07 Martin Rudalics <rudalics@gmx.at>
12269
12270 * window.el (window-combinations): Make WINDOW argument
12271 mandatory. Rewrite doc-string.
12272 (walk-window-subtree, window-atom-check, window-min-delta)
12273 (window-max-delta, window--resize-this-window)
12274 (window--resize-root-window-vertically, window-tree)
12275 (balance-windows, window-state-put): Rewrite doc-strings as to
12276 not mention the term "subwindow".
12277 (window--resize-subwindows-skip-p): Rename to
12278 window--resize-child-windows-skip-p.
12279 (window--resize-subwindows-normal): Rename to
12280 window--resize-child-windows-normal.
12281 (window--resize-subwindows): Rename to
12282 window--resize-child-windows.
12283 (window-or-subwindow-p): Rename to window--in-subtree-p.
12284
3c6702ef
ML
122852011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12286
12287 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12288 Ensure that mbox format messages end in two newlines (Bug#9974).
12289
49745b39
CY
122902011-11-06 Chong Yidong <cyd@gnu.org>
12291
12292 * window.el (window-combination-p): Function deleted; its
12293 side-effect is not used in any existing code.
12294 (window-combinations, window-combined-p): Call window-*-child
12295 directly.
12296
24300f5f
CY
122972011-11-05 Chong Yidong <cyd@gnu.org>
12298
12299 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12300 (window-size-ignore, window-state-get): Callers changed.
12301 (window-normalize-window): Rename from window-normalize-any-window.
12302 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12303 (window-normalize-live-window): Delete.
447f16b8
CY
12304 (window-combination-p, window-combined-p, window-combinations)
12305 (walk-window-subtree, window-atom-root, window-min-size)
12306 (window-sizable, window-sizable-p, window-size-fixed-p)
12307 (window-min-delta, window-max-delta, window-resizable)
12308 (window-resizable-p, window-full-height-p, window-full-width-p)
12309 (window-current-scroll-bars, window-point-1, set-window-point-1)
12310 (window-at-side-p, window-in-direction, window-resize)
12311 (adjust-window-trailing-edge, maximize-window, minimize-window)
12312 (window-deletable-p, delete-window, delete-other-windows)
12313 (record-window-buffer, unrecord-window-buffer)
12314 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12315 (quit-window, split-window, window-state-put)
12316 (set-window-text-height, fit-window-to-buffer)
12317 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12318
89bd5ee1
EZ
123192011-11-04 Eli Zaretskii <eliz@gnu.org>
12320
53479029
EZ
12321 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12322 rfc2047-decode-string.
12323 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12324 warnings.
12325
89bd5ee1
EZ
12326 * window.el (window-body-height, window-body-width): Mention in
12327 the doc string that the return values are in frame's canonical
12328 units. (Bug#9949)
12329
bd17fdee
AM
123302011-11-03 Alan Mackenzie <acm@muc.de>
12331
12332 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12333 change in cc-engine.el.
12334
acc825c5
SM
123352011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12338
1885e5b8
MR
123392011-11-02 Martin Rudalics <rudalics@gmx.at>
12340
12341 * window.el (quit-window): Call unrecord-window-buffer after
12342 showing another buffer in the window. (Bug#9937)
acc825c5 12343 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12344
ebe06da9
JB
123452011-11-02 Juanma Barranquero <lekktu@gmail.com>
12346
12347 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12348 Accept status with more than 9 shelves. (Bug#9935)
12349 Reported by Colin D Bennett <colin@gibibit.com>.
12350
4ee88440
MR
123512011-11-01 Martin Rudalics <rudalics@gmx.at>
12352
12353 * help.el (with-help-window): Don't reference
12354 temp-buffer-show-specifiers in doc-string.
12355
08e1d82c
AS
123562011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12357
12358 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12359 menu-item.
12360
84bd6e9e
VJL
123612011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12362
12363 * whitespace.el: New version 13.2.2.
12364 (whitespace-newline-mode): Disable properly. Reported by Sarah
12365 <EmacsWiki>.
12366
dba0634a
UJ
123672011-10-30 Ulf Jasper <ulf.jasper@web.de>
12368
12369 * net/newst-treeview.el: Remove "Time-stamp".
12370 (newsticker--group-manage-orphan-feeds): Do not call
12371 newsticker--treeview-tree-update.
db22a3c2
JB
12372 (newsticker-treeview-update, newsticker-treeview):
12373 Call newsticker--treeview-tree-update if necessary.
dba0634a 12374
3d8daefe
MR
123752011-10-30 Martin Rudalics <rudalics@gmx.at>
12376
12377 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12378 (window-iso-combinations): Remove "iso-" infix.
12379 Suggested by Chong Yidong.
3d8daefe
MR
12380 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12381 (window-max-delta-1, window-resize, window--resize-siblings)
12382 (window--resize-this-window, adjust-window-trailing-edge)
12383 (split-window, balance-windows-1)
12384 (shrink-window-if-larger-than-buffer):
12385 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12386 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12387
1bc4c3ae
SM
123882011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12389
12390 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12391 in place (bug#9907).
12392 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12393 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12394 (eshell-structure-basic-command, eshell-rewrite-while-command)
12395 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12396 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12397 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12398 (eshell-do-pipelines-synchronously, eshell-eval-command):
12399 Use backquotes and prefer setq to set.
12400 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12401 (eshell-macrop): Use functionp.
c1e2f5fa 12402 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12403
30b65d9c
CY
124042011-10-30 Chong Yidong <cyd@gnu.org>
12405
12406 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12407 instead of set-mark (Bug#9810).
12408
2d197ffb
CY
124092011-10-30 Chong Yidong <cyd@gnu.org>
12410
12411 * window.el (split-window-below, split-window-right): Rename from
12412 split-window-above-each-other and split-window-side-by-side
12413 respectively. All callers changed.
12414 (split-window-sensibly, split-window-sensibly): Use them.
12415 (split-window-keep-point): Doc fix.
12416
12417 * isearch.el: Add isearch-scroll property to split-window-below
12418 and split-window-right.
12419
12420 * follow.el (follow-mode):
12421 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12422 * progmodes/ada-xref.el (ada-gdb-application):
12423 * emulation/vip.el (vip-buffer-in-two-windows):
12424 * image-dired.el (image-dired-dired-with-window-configuration):
12425 * dired-x.el (dired-do-find-marked-files):
12426 * dired.el (dired-pop-to-buffer):
12427 * bs.el (bs--show-with-configuration):
12428 * vc/emerge.el (emerge-setup-windows):
12429 * textmodes/two-column.el (2C-two-columns):
12430 * textmodes/reftex-toc.el (reftex-toc):
12431 * progmodes/gdb-mi.el (gdb-setup-windows):
12432 * progmodes/fortran.el (fortran-window-create):
12433 * net/newst-treeview.el (newsticker--treeview-window-init):
12434 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12435 * emulation/tpu-edt.el (tpu-gold-map):
12436 * emulation/crisp.el (crisp-mode-map):
12437 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12438
38bb2ca8
CY
124392011-10-29 Chong Yidong <cyd@gnu.org>
12440
aa4de341
CY
12441 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12442
e1eb5385
CY
12443 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12444
5d2ece3c
CY
12445 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12446 forged Ispell output (Bug#7904).
12447
38bb2ca8
CY
12448 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12449
d0af9f77
SM
124502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12451
12452 * doc-view.el: Avoid ugly errors about not finding nil.
12453 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12454 (doc-view-dvipdf-program, doc-view-unoconv-program)
12455 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12456 Avoid nil or absolute file name as default value.
12457 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12458
52bedd34
AM
124592011-10-28 Alan Mackenzie <acm@muc.de>
12460
db22a3c2 12461 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12462
7e43cfa5
AM
124632011-10-28 Alan Mackenzie <acm@muc.de>
12464
12465 Amend the handling of c-beginning/end-of-defun in nested declaration
12466 scopes.
12467
52bedd34
AM
12468 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12469 cc-langs.el. Change it to a defcustom.
7e43cfa5 12470
52bedd34
AM
12471 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12472 cc-vars.el.
7e43cfa5 12473
d0af9f77
SM
12474 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12475 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12476
52bedd34 12477 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12478 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12479 (c-widen-to-enclosing-decl-scope): New function.
12480 (c-while-widening-to-decl-block): New macro.
12481 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12482 outward for defun boundaries, and correspondingly change symbol
12483 `respect-enclosure' to `go-outward'.
12484 (c-declaration-limits): Change algorithm to report only the "innermost"
12485 defun's boundaries.
12486
1a2ce9ee
DD
124872011-10-28 Deniz Dogan <deniz@dogan.se>
12488
12489 * net/rcirc.el (rcirc-mode): Use hard newlines.
12490
bc97a826
AM
124912011-10-28 Alan Mackenzie <acm@muc.de>
12492
12493 Amend to indent and fontify macros "which include their own semicolon"
12494 correctly, using the "virtual semicolon" mechanism.
12495
52bedd34 12496 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12497
d0af9f77 12498 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12499 Recode to scan one line at a time rather than having \n and \r
58179cce 12500 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12501 (c-forward-label): Amend for virtual semicolons.
58179cce 12502 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12503
52bedd34
AM
12504 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12505 of the new C macros.
bc97a826 12506
52bedd34 12507 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12508 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12509 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12510 (c-opt-cpp-macro-define): Make into a full language variable.
12511 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12512 AWK Mode (including \n, \r) removed, no longer needed.
12513
d0af9f77
SM
12514 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12515 Invoke c-make-macro-with-semi-re.
bc97a826 12516
52bedd34
AM
12517 * progmodes/cc-vars.el (c-macro-with-semi-re):
12518 (c-macro-names-with-semicolon): New variables.
58179cce 12519 (c-make-macro-with-semi-re): New function.
bc97a826 12520
7a6c0941
SM
125212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12522
12523 * vc/log-edit.el: Fill empty field rather than adding new one.
12524 (log-edit-add-field): New function.
12525 (log-edit-insert-changelog): Use it.
12526
b0c4cdcf
ML
125272011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12528
12529 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12530
ee1f1da9
SM
125312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12534 (gdb--check-interpreter): New function.
12535 (gdb): Use it.
12536
51bc5f8b
GM
125372011-10-27 Glenn Morris <rgm@gnu.org>
12538
416a2c45
GM
12539 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12540 (least-positive-float, least-negative-float)
12541 (least-positive-normalized-float, least-negative-normalized-float)
12542 (float-epsilon, float-negative-epsilon):
12543 Remove unnecessary declarations.
12544
12545 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12546 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12547 (least-positive-float, least-negative-float)
12548 (least-positive-normalized-float, least-negative-normalized-float)
12549 (float-epsilon, float-negative-epsilon): Add doc-strings,
12550 based on those in cl.texi.
12551
51bc5f8b
GM
12552 * files.el (set-visited-file-name): If the major-mode changed,
12553 reload the local variables. (Bug#9796)
12554
15de15c6
CY
125552011-10-27 Chong Yidong <cyd@gnu.org>
12556
12557 * subr.el (change-major-mode-after-body-hook): New hook.
12558 (run-mode-hooks): Run it.
12559
ee1f1da9
SM
12560 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12561 Use change-major-mode-before-body-hook.
15de15c6
CY
12562
12563 * simple.el (fundamental-mode):
12564 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12565 change introducing fundamental-mode-hook.
12566
5430d399
JB
125672011-10-26 Juanma Barranquero <lekktu@gmail.com>
12568
acc825c5 12569 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12570
ad74a69e
MA
125712011-10-26 Michael Albinus <michael.albinus@gmx.de>
12572
12573 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12574 tramp.el explicitly. (Bug#7583)
ad74a69e 12575
71d4c2a5
SM
125762011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12577
12578 * progmodes/octave-mod.el:
12579 * progmodes/octave-inf.el: Update maintainer.
12580
b1f6fa26
CY
125812011-10-26 Chong Yidong <cyd@gnu.org>
12582
12583 * subr.el (with-wrapper-hook): Rewrite doc.
12584
3f04efd6
MA
125852011-10-25 Michael Albinus <michael.albinus@gmx.de>
12586
12587 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12588 filenames "/method:foo:". (Bug#9793)
3f04efd6 12589
410488d3
SM
125902011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12593 (bug#9865).
12594
c1ebb47e
GM
125952011-10-24 Glenn Morris <rgm@gnu.org>
12596
12597 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12598
7f5c46c7
MA
125992011-10-24 Michael Albinus <michael.albinus@gmx.de>
12600
12601 * notifications.el: Add the requirement of a running D-Bus session
12602 bus to the Commentary.
12603
db2440b6
JL
126042011-10-24 Juri Linkov <juri@jurta.org>
12605
12606 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12607 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12608 (Bug#9364)
12609
feecf435
JL
126102011-10-24 Juri Linkov <juri@jurta.org>
12611
12612 * info.el (Info-following-node-name-re): Add newline to the list
12613 of allowed characters for leading space. (Bug#9824)
12614
a3839de2
SM
126152011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12616
acc825c5
SM
12617 * progmodes/octave-inf.el (inferior-octave-mode-map):
12618 Fix C-c C-h binding.
a3839de2
SM
12619 * progmodes/octave-mod.el (octave-help): Remove.
12620
09388e76
MA
126212011-10-23 Michael Albinus <michael.albinus@gmx.de>
12622
12623 Sync with Tramp 2.2.3.
12624
12625 * net/tramp-cache.el (top): Pacify byte-compiler using
12626 `init-file-user' and `site-run-file'.
12627
12628 * net/trampver.el: Update release number.
12629
86c60681
CY
126302011-10-23 Chong Yidong <cyd@gnu.org>
12631
12632 * files.el (toggle-read-only): Remove obsolete comment about
12633 version control.
12634
12635 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12636 for toggle-read-only. Note that this hasn't called vc-next-action
12637 since 2008-05-02, though it wasn't documented at the time.
12638
a3839de2
SM
12639 * vc/ediff-init.el (ediff-toggle-read-only-function):
12640 Use toggle-read-only.
86c60681 12641
cd5495ff
AM
126422011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12643
12644 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12645 of c-parse-state.
12646
00b77525 12647 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12648 correct faulty logical expression.
cd5495ff
AM
12649 (c-parse-state-state, c-record-parse-state-state):
12650 (c-replay-parse-state-state): New defvar/defuns.
12651 (c-debug-parse-state): Use new functions.
12652
42ee24ed
MR
126532011-10-22 Martin Rudalics <rudalics@gmx.at>
12654
12655 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12656 last fix. Use window-in-direction correctly.
42ee24ed 12657
a7dee7e7
CY
126582011-10-21 Chong Yidong <cyd@gnu.org>
12659
12660 * progmodes/idlwave.el (idlwave-mode):
12661 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12662 require-final-newline; that's done in prog-mode.
12663 Suggested by Stefan Monnier.
a7dee7e7 12664
e07b9a6d
MR
126652011-10-21 Martin Rudalics <rudalics@gmx.at>
12666
12667 * mouse.el (mouse-drag-window-above)
12668 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12669 (mouse-drag-mode-line-1, mouse-drag-header-line)
12670 (mouse-drag-vertical-line-rightward-window): Remove.
12671 (mouse-drag-line): New function.
12672 (mouse-drag-mode-line, mouse-drag-header-line)
12673 (mouse-drag-vertical-line): Call mouse-drag-line.
12674 * window.el (window-at-side-p, windows-at-side): New functions.
12675
7e1361d9
UM
126762011-10-21 Ulrich Mueller <ulm@gentoo.org>
12677
12678 * tar-mode.el (tar-grind-file-mode):
12679 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12680
30fcaf3a
CY
126812011-10-21 Chong Yidong <cyd@gnu.org>
12682
12683 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12684 * progmodes/vera-mode.el (vera-mode):
12685 Use mode-require-final-newline.
30fcaf3a 12686
516eddb0
GM
126872011-10-20 Glenn Morris <rgm@gnu.org>
12688
db22a3c2 12689 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12690
10d5f513
CS
126912011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12692
12693 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12694
ac6c8639
CY
126952011-10-20 Chong Yidong <cyd@gnu.org>
12696
12697 * emulation/cua-base.el (cua-mode):
12698 * mail/footnote.el (footnote-mode):
12699 * mail/mailabbrev.el (mail-abbrevs-mode):
12700 * net/xesam.el (xesam-minor-mode):
12701 * progmodes/bug-reference.el (bug-reference-mode):
12702 * progmodes/cap-words.el (capitalized-words-mode):
12703 * progmodes/compile.el (compilation-minor-mode)
12704 (compilation-shell-minor-mode):
12705 * progmodes/gud.el (gud-tooltip-mode):
12706 * progmodes/hideif.el (hide-ifdef-mode):
12707 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12708 * progmodes/subword.el (subword-mode):
12709 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12710 * progmodes/which-func.el (which-function-mode):
12711 * term/tvi970.el (tvi970-set-keypad-mode):
12712 * term/vt100.el (vt100-wide-mode):
12713 * textmodes/flyspell.el (flyspell-mode):
12714 * textmodes/ispell.el (ispell-minor-mode):
12715 * textmodes/nroff-mode.el (nroff-electric-mode):
12716 * textmodes/paragraphs.el (use-hard-newlines):
12717 * textmodes/refill.el (refill-mode):
12718 * textmodes/reftex.el (reftex-mode):
12719 * textmodes/rst.el (rst-minor-mode):
12720 * textmodes/sgml-mode.el (html-autoview-mode)
12721 (sgml-electric-tag-pair-mode):
12722 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12723 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12724 * emulation/crisp.el (crisp-mode):
12725 * emacs-lisp/eldoc.el (eldoc-mode):
12726 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12727 minor mode behavior.
12728
aa42ab43
JL
127292011-10-19 Juri Linkov <juri@jurta.org>
12730
12731 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12732 the list of hard-coded chars with escape-glyph face.
12733
89400f1d
SM
127342011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12737
305c07f6
MA
127382011-10-19 Michael Albinus <michael.albinus@gmx.de>
12739
12740 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12741 running process.
12742
13754b54
GM
127432011-10-19 Glenn Morris <rgm@gnu.org>
12744
12745 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12746 Ignore ignored files. (Bug#9726)
12747
06e21633
CY
127482011-10-19 Chong Yidong <cyd@gnu.org>
12749
12750 Doc fix for minor modes, stating that an omitted argument enables
12751 the mode unconditionally when called from Lisp.
12752
12753 * abbrev.el (abbrev-mode):
12754 * allout.el (allout-mode):
12755 * autoinsert.el (auto-insert-mode):
12756 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12757 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12758 (global-auto-revert-mode):
12759 * battery.el (display-battery-mode):
12760 * composite.el (global-auto-composition-mode)
12761 (auto-composition-mode):
12762 * delsel.el (delete-selection-mode):
12763 * desktop.el (desktop-save-mode):
12764 * dired-x.el (dired-omit-mode):
12765 * dirtrack.el (dirtrack-mode):
12766 * doc-view.el (doc-view-minor-mode):
12767 * double.el (double-mode):
12768 * electric.el (electric-indent-mode, electric-pair-mode):
12769 * emacs-lock.el (emacs-lock-mode):
12770 * epa-hook.el (auto-encryption-mode):
12771 * follow.el (follow-mode):
12772 * font-core.el (font-lock-mode):
12773 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12774 * help.el (temp-buffer-resize-mode):
12775 * hilit-chg.el (highlight-changes-mode)
12776 (highlight-changes-visible-mode):
12777 * hi-lock.el (hi-lock-mode):
12778 * hl-line.el (hl-line-mode, global-hl-line-mode):
12779 * icomplete.el (icomplete-mode):
12780 * ido.el (ido-everywhere):
12781 * image-file.el (auto-image-file-mode):
12782 * image-mode.el (image-minor-mode):
12783 * iswitchb.el (iswitchb-mode):
12784 * jka-cmpr-hook.el (auto-compression-mode):
12785 * linum.el (linum-mode):
12786 * longlines.el (longlines-mode):
12787 * master.el (master-mode):
12788 * mb-depth.el (minibuffer-depth-indicate-mode):
12789 * menu-bar.el (menu-bar-mode):
12790 * minibuf-eldef.el (minibuffer-electric-default-mode):
12791 * mouse-sel.el (mouse-sel-mode):
12792 * msb.el (msb-mode):
12793 * mwheel.el (mouse-wheel-mode):
12794 * outline.el (outline-minor-mode):
12795 * paren.el (show-paren-mode):
12796 * recentf.el (recentf-mode):
12797 * reveal.el (reveal-mode, global-reveal-mode):
12798 * rfn-eshadow.el (file-name-shadow-mode):
12799 * ruler-mode.el (ruler-mode):
12800 * savehist.el (savehist-mode):
12801 * scroll-all.el (scroll-all-mode):
12802 * scroll-bar.el (scroll-bar-mode):
12803 * server.el (server-mode):
12804 * shell.el (shell-dirtrack-mode):
12805 * simple.el (auto-fill-mode, transient-mark-mode)
12806 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12807 (line-number-mode, column-number-mode, size-indication-mode)
12808 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12809 * strokes.el (strokes-mode):
12810 * time.el (display-time-mode):
12811 * t-mouse.el (gpm-mouse-mode):
12812 * tool-bar.el (tool-bar-mode):
12813 * tooltip.el (tooltip-mode):
12814 * type-break.el (type-break-mode-line-message-mode)
12815 (type-break-query-mode):
12816 * view.el (view-mode):
12817 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12818 (global-whitespace-mode, global-whitespace-newline-mode):
12819 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12820
a3839de2
SM
12821 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12822 Fix autogenerated docstring.
06e21633 12823
5214e501
JL
128242011-10-19 Juri Linkov <juri@jurta.org>
12825
12826 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12827 by checking environment variables "DESKTOP_SESSION" and
12828 "XDG_CURRENT_DESKTOP". (Bug#9779)
12829
195f8db9
JL
128302011-10-19 Juri Linkov <juri@jurta.org>
12831
12832 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12833 (browse-url-chromium-program, browse-url-chromium-arguments):
12834 New defcustoms.
12835 (browse-url-default-browser): Check for `browse-url-chromium' and
12836 call `browse-url-chromium-program'.
12837 (browse-url-chromium): New command. (Bug#9779)
12838
343a34ff
JB
128392011-10-18 Juanma Barranquero <lekktu@gmail.com>
12840
12841 * facemenu.el (list-colors-duplicates): On Windows, detect more
12842 duplicates by assuming that only colors matching "^System" are
12843 special "system colors". (Bug#9722)
12844
6978a151
SM
128452011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12848 to distinguish the author from the committer.
12849
6a80b297
MA
128502011-10-18 Michael Albinus <michael.albinus@gmx.de>
12851
12852 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12853
b31a5677
JK
128542011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12855
12856 * international/mule.el (sgml-html-meta-auto-coding-function):
12857 Add support for detecting encoding in HTML5 specified only as
12858 <meta charset="UTF-8">. Implementation just makes http-equiv and
12859 content-type parts from HTML4 encoding string optional. (Bug#9716)
12860
80c6d77f
GM
128612011-10-18 Glenn Morris <rgm@gnu.org>
12862
12863 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12864
08b0fee8
CY
128652011-10-18 Chong Yidong <cyd@gnu.org>
12866
12867 * faces.el (cursor): Doc fix.
12868
67e729a5
CY
128692011-10-17 Chong Yidong <cyd@gnu.org>
12870
12871 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12872
343a34ff 128732011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12874
12875 * dirtrack.el (dirtrack): Support shell buffers with path
12876 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12877
0bc06380
TZ
128782011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12879
12880 * json.el: Bump version to 1.3 and note change in History.
12881 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12882
8b79f3e0
SM
128832011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12884
5a7c536b
SM
12885 * comint.el (comint-insert-input, comint-send-input)
12886 (comint-get-old-input-default, comint-backward-matching-input)
12887 (comint-next-prompt): Use nil instead of `input' for field property of
12888 past user input (bug#114).
12889
96a8a0df
SM
12890 * minibuffer.el (completion--replace): Inherit surrounding properties
12891 (bug#114).
12892 (minibuffer-complete-and-exit): Use it.
12893
8b79f3e0
SM
12894 * comint.el (comint--table-subvert): Quote the all-completions output
12895 (bug#9160).
12896
b8f7ff0d
MR
128972011-10-17 Martin Rudalics <rudalics@gmx.at>
12898
8b79f3e0 12899 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12900
b8f7ff0d 12901 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12902 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12903 entries and separate them from frame entries.
12904
c235b555
GM
129052011-10-15 Glenn Morris <rgm@gnu.org>
12906
12907 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12908 Doc fixes.
12909
6bbfa6e1
CY
129102011-10-15 Chong Yidong <cyd@stupidchicken.com>
12911
8b79f3e0
SM
12912 * net/network-stream.el (network-stream-open-starttls):
12913 Improve detection of failure due to lack of TLS support.
ec5c990d 12914
6bbfa6e1
CY
12915 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12916 putting the input text in front and in bold.
12917
98488977
SM
129182011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12919
3d1337be
SM
12920 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12921
ee0b45e4
SM
12922 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12923 empty buffer.
12924
98488977
SM
12925 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12926 unread-command-events rather than pushing yet-another event.
12927
186f4720
EZ
129282011-10-14 Eli Zaretskii <eliz@gnu.org>
12929
12930 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12931 the explanation of the possible choices. Make the options passed
12932 to completing-read shorter.
12933
8b7a997c
AM
129342011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12935
12936 * textmodes/flyspell.el (flyspell-large-region): Make sure
12937 extended character mode is used if defined (Bug#1339).
12938
12587bbb
EZ
129392011-10-13 Eli Zaretskii <eliz@gnu.org>
12940
12941 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12942 character info for LRE, LRO, RLE, and RLO characters by appending
12943 an invisible PDF.
12587bbb 12944
bad41229
SM
129452011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12946
12947 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12948 even in case of error; add debug spec; simplify data flow.
12949 (with-timeout-handler): Remove.
12950
28dbc92f
MA
129512011-10-12 Michael Albinus <michael.albinus@gmx.de>
12952
12953 Fix Bug#6019, Bug#9315.
12954
12955 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12956 complete `buffer-file-name', the local file name part could look
12957 remotely (for example on VMS).
12958
12959 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12960 `tramp-run-real-handler'.
12961 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12962 already quoted by '"'.
12963
12964 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12965 Let `file-name-handler-alist' be nil, the local file name part
12966 could look remotely (for example on VMS).
12967
e1b0b23a
SM
129682011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12969
12970 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12971 from here...
12972 (flyspell-post-command-hook): ...to here.
12973
a120bde9
SM
129742011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12975
12976 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12977 if not needed.
12978 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12979 using completion. Protect against "slow" callers.
12980 Remove the "message hack".
12981
7ce7717b
JL
129822011-10-11 Juri Linkov <juri@jurta.org>
12983
12984 * isearch.el (isearch-lazy-highlight-word): New variable.
12985 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12986 Use it. (Bug#9727)
12987
c02ee9d6
GM
129882011-10-11 Glenn Morris <rgm@gnu.org>
12989
12990 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12991 like f90-previous-statement does.
12992
93e616fd 129932011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12994
1f190e73 12995 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12996 only in interactive use, to avoid error.
12997
af7b6078
SM
129982011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12999
13000 * minibuffer.el (completion-file-name-table): Fix last change,
13001 i.e. ignore normal errors but not the other ones.
13002
0563dae9
MR
130032011-10-10 Martin Rudalics <rudalics@gmx.at>
13004
13005 * window.el (special-display-buffer-names)
13006 (special-display-regexps): Remove some remnants of earlier
13007 changes from doc-strings.
366ca7f3
MR
13008 (quit-windows-on): New function.
13009
13010 * vc/vc.el (vc-revert, vc-rollback):
13011 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13012 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13013 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13014
49677495
MR
130152011-10-09 Martin Rudalics <rudalics@gmx.at>
13016
13017 * window.el (frame-auto-hide-function): Add version tag.
13018 (Bug#9699)
13019
56f2d1e1
MA
130202011-10-09 Michael Albinus <michael.albinus@gmx.de>
13021
13022 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13023 condition.
13024
112a6592
LL
130252011-10-09 Leo Liu <sdl.web@gmail.com>
13026
13027 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13028 (Bug#9701)
13029
0812589b
GM
130302011-10-08 Glenn Morris <rgm@gnu.org>
13031
13032 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13033 before the first code statement zero indent. (Bug#9690)
13034
b2b0776e
CY
130352011-10-08 Chong Yidong <cyd@stupidchicken.com>
13036
13037 * simple.el (count-words-region): Always count in the region.
13038 Report the number of lines and characters too.
13039 (count-words): New command, which counts in the buffer if the
13040 region is inactive, as count-words-region used to.
13041 (count-words--message): New function. Handle plurals.
13042 (count-lines-region): Make it an alias for count-words-region.
13043
13044 * bindings.el (esc-map): Replace count-lines-region with
13045 count-words-region.
13046
c557cd6b
MR
130472011-10-08 Martin Rudalics <rudalics@gmx.at>
13048
13049 * window.el (window--delete): Delete dedicated frame
13050 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13051 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13052
61a57ef4 130532011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13054
3a7d293b 13055 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13056
c3833279
CY
130572011-10-07 Chong Yidong <cyd@stupidchicken.com>
13058
13059 * bindings.el ([M-left],[M-right]): Bind to left-word and
13060 right-word respectively.
13061
21ce8245
GM
130622011-10-07 Glenn Morris <rgm@gnu.org>
13063
13064 * cus-start.el (debug-on-quit): Fix custom type.
13065
6d823bb2
LMI
130662011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13067
0181e193
LMI
13068 * subr.el (define-key-after): Clarify that the function is not
13069 useful for non-menu keymaps.
13070
6d823bb2
LMI
13071 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13072
8e3459ce 130732011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13074
21ce8245 13075 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13076 in current minibuffer (Fix bug with recursive minibuffers).
13077
a1c2d21e
CY
130782011-10-06 Chong Yidong <cyd@stupidchicken.com>
13079
13080 * progmodes/gdb-mi.el (gdb): Doc fix.
13081
5a4cf282
MR
130822011-10-05 Martin Rudalics <rudalics@gmx.at>
13083
13084 * window.el (frame-auto-hide-function): New option replacing
13085 frame-auto-delete. Suggested by Stefan Monnier.
13086 (window--delete): Call frame-auto-hide-function instead of
13087 investigating frame-auto-delete.
c96111ea
MR
13088 (window-point-1, set-window-point-1): New functions.
13089 (window-in-direction, record-window-buffer, window-state-get-1)
13090 (display-buffer-record-window): Use window-point-1 instead of
13091 window-point.
13092 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13093
9854542e
SM
130942011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13095
13096 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13097
8943cfb0
GM
130982011-10-05 Glenn Morris <rgm@gnu.org>
13099
13100 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13101 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13102
647ab967
LL
131032011-10-05 Leo Liu <sdl.web@gmail.com>
13104
13105 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13106 works with buffer object.
13107
3ddfbced
SM
131082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * mpc.el (mpc-tool-bar-map): Add labels.
13111
bdfa5dd2
GM
131122011-10-04 Glenn Morris <rgm@gnu.org>
13113
13114 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13115
0e2070b5
MR
131162011-10-04 Martin Rudalics <rudalics@gmx.at>
13117
13118 * window.el (window--delete): New function.
13119 (frame-auto-delete): Resuscitate option.
13120 (bury-buffer, replace-buffer-in-windows)
13121 (quit-window): Rewrite using window--delete.
13122 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13123 Pass display-buffer-mark-dedicated to window--display-buffer-2
13124 (Bug#9639).
13125
3dc61a09
SM
131262011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13127
915a9b64
SM
13128 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13129 returns a list (bug#9554). Add remote file name completion.
13130 * comint.el (comint--table-subvert): Curry and get quote&unquote
13131 functions as arguments.
13132 (comint--complete-file-name-data): Adjust call accordingly.
13133 * pcomplete.el (pcomplete--table-subvert): Remove.
13134 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13135
3dc61a09
SM
13136 * minibuffer.el (completion-table-case-fold): Use currying.
13137 (completion--styles-type, completion--cycling-threshold-type):
13138 New constants.
13139 (completion-styles, completion-category-overrides)
13140 (completion-cycle-threshold): Use them.
13141 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13142 completion-table-case-fold.
13143
8ea0a993
SB
131442011-10-03 Stephen Berman <stephen.berman@gmx.net>
13145
13146 * minibuffer.el (completion-category-overrides): Fix type of styles
13147 and add more user friendly tags (bug#9660).
13148
8c24b7f6
SM
131492011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13150
13151 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13152 (mule-input-method-string): New widget.
13153 (default-input-method, language-info-custom-alist): Use it.
13154
428fe61a
SM
131552011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13156
32c1fffd
SM
13157 * pcomplete.el: Require comint.
13158 (pcomplete--common-suffix): Remove.
13159 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13160 (pcomplete--table-subvert): Sync with comint--table-subvert.
13161 (pcomplete--entries): Use comint-completion-file-name-table.
13162 * comint.el (comint-unquote-filename): Simplify.
13163 (comint-completion-file-name-table): New function (bug#9616).
13164 (comint--complete-file-name-data): Use it.
13165
428fe61a
SM
13166 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13167 (pcmpl-gnu-tar-buffer): Remove.
13168 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13169 around. Make sure pcomplete-suffix-list is only changed temporarily.
13170 Don't look inside the tar's file if it's too large.
428fe61a 13171
04c52e2f
CY
131722011-10-01 Chong Yidong <cyd@stupidchicken.com>
13173
ce3cefcc
CY
13174 * cus-edit.el (custom-mode-map):
13175 * epa.el (epa-key-list-mode-map):
13176 * man.el (Man-mode-map):
13177 * startup.el (splash-screen-keymap):
13178 * simple.el (special-mode-map): Use scroll-up-command and
13179 scroll-down-command.
13180
13181 * progmodes/idlw-help.el (idlwave-help-mode-map):
13182 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13183 * net/newst-plainview.el (newsticker-mode-map):
13184 * emulation/ws-mode.el (wordstar-mode-map):
13185 * emulation/vi.el (vi-com-map):
13186 * calc/calc-graph.el (calc-graph-show-dumb):
13187 * term/sun.el (terminal-init-sun):
13188 * term/ns-win.el (global-map):
13189 * progmodes/grep.el (grep-mode-map):
13190 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13191 * mail/rmail.el (rmail-mode-map):
13192 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13193
04c52e2f
CY
13194 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13195 custom-safe-themes as special.
13196
79adf8c8
JD
131972011-10-01 Julien Danjou <julien@danjou.info>
13198
13199 * notifications.el (notifications-notify): Fix docstring.
13200
63bd50d3
PS
132012011-10-01 Per Starbäck <per@starback.se>
13202
13203 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13204
199e4c7e
MR
132052011-09-30 Martin Rudalics <rudalics@gmx.at>
13206
13207 * startup.el (command-line-1): Fix last fix by inserting
13208 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13209 (Bug#9605) and (Bug#9636)
199e4c7e 13210
fe5f08dd
EZ
132112011-09-29 Eli Zaretskii <eliz@gnu.org>
13212
13213 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13214 window is hscrolled, move by logical lines. (Bug#9607)
13215 (line-move-visual): Update the doc string to the above effect.
13216
b5516bbd
MR
132172011-09-29 Martin Rudalics <rudalics@gmx.at>
13218
ccee00c0
MR
13219 * window.el (display-buffer-record-window): When WINDOW is the
13220 selected window use `point' instead of `window-point'. (Bug#9626)
13221
b5516bbd
MR
13222 * startup.el (command-line-1): Use insert-before-markers when
13223 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13224
b5516bbd
MR
13225 * help.el (help-window): Remove variable.
13226
52aa0014
GM
132272011-09-29 Glenn Morris <rgm@gnu.org>
13228
13229 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13230
df9a7357
JB
132312011-09-29 Juanma Barranquero <lekktu@gmail.com>
13232
13233 * descr-text.el (describe-char-categories): Accept category
13234 descriptions more than one line long.
13235
a8406c20
SM
132362011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13237
88d9610c
SM
13238 * simple.el (delete-trailing-whitespace): Fix last change.
13239
a5daf810
SM
13240 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13241 Don't confuse "y => 3" as the beginning of a `y' operation.
13242
a8406c20
SM
13243 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13244 object has more than 4 slots (bug#9613).
13245
a239d4e9
JB
132462011-09-28 Juanma Barranquero <lekktu@gmail.com>
13247
13248 * subr.el (with-output-to-temp-buffer):
13249 * net/quickurl.el (quickurl, quickurl-browse-url):
13250 Fix typos in docstrings.
13251
693fbdb6
EZ
132522011-09-27 Eli Zaretskii <eliz@gnu.org>
13253
13254 * minibuffer.el (completion-styles)
13255 (completion-category-overrides): Cross reference each other in doc
13256 strings.
13257
8b457e28
GM
132582011-09-27 Glenn Morris <rgm@gnu.org>
13259
13260 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13261 to split-string. (Bug#9606)
13262
85a16208
LMI
132632011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13264
13265 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13266 (bug#9615).
13267
502f9ebd
CY
132682011-09-27 Chong Yidong <cyd@stupidchicken.com>
13269
13270 * emacs-lisp/package.el (list-packages): Fix echo area message.
13271
7690bdea
LL
132722011-09-27 Leo Liu <sdl.web@gmail.com>
13273
13274 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13275
e2ee6f30
MA
132762011-09-25 Michael Albinus <michael.albinus@gmx.de>
13277
13278 * net/dbus.el (dbus-unregister-object): Don't release services for
13279 registered signals. (Bug#9581)
13280
f3f98342
TZ
132812011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13282
13283 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13284 function that picks between cfengine 2 and 3 support
13285 automatically. Update docs accordingly.
13286
dd7aa8dd
KH
132872011-09-22 Kenichi Handa <handa@m17n.org>
13288
13289 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13290 ZERO.
13291 (indian-itrans-v5-table-for-tamil): New variable.
13292 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13293
3f2b07f8
KM
132942011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13295
13296 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13297 that's true if the current command involved collapsing of text.
13298 It's reset to false at the beginning of the next command.
13299 (allout-post-command-business): Move the cursor to the beginning
13300 of entry if the cursor is hidden and collapsing activity just
13301 happened.
13302
371d6a61
CY
133032011-09-24 Chong Yidong <cyd@stupidchicken.com>
13304
13305 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13306 tracking (Bug#9541).
13307
2ac2721a
UJ
133082011-09-24 Ulf Jasper <ulf.jasper@web.de>
13309
13310 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13311 (newsticker-show-news): Automatically load html rendering package
13312 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13313 because w3m-fill-column is let-bound" and the error "Symbol's value
13314 as variable is void: w3m-fill-column".
2ac2721a 13315
fac7ae53
MA
133162011-09-24 Michael Albinus <michael.albinus@gmx.de>
13317
13318 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13319 Release services only if they are defined. (Bug#9581)
13320
e08b633b
RS
133212011-09-23 Richard Stallman <rms@gnu.org>
13322
e488d29c
RS
13323 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13324 distinguish start of paragraph from start of its text.
13325
19c38752
RS
13326 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13327
e08b633b
RS
13328 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13329 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13330 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13331
0a39f27e
AS
133322011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13333
13334 * international/mule-diag.el (mule-diag): Insert a newline after
13335 each fontset description.
13336
db4e950d
SM
133372011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 * simple.el (delete-trailing-whitespace):
13340 Document last change; simplify.
13341
eca3f3ea
PW
133422011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13343
d68e189a
PW
13344 * simple.el (delete-trailing-whitespace): Also delete
13345 extra newlines at the end of the buffer.
13346
eca3f3ea
PW
13347 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13348 (picture-newline): Use forward-line so as to ignore fields.
13349
01c157cc
SM
133502011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13351
13352 * subr.el (with-wrapper-hook): Fix edebug spec.
13353
022de23e
LMI
133542011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13355
13356 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13357 (bug#4538).
13358
91683089
MA
133592011-09-23 Michael Albinus <michael.albinus@gmx.de>
13360
eca3f3ea
PW
13361 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13362 Fix nasty bug using wrong cached values.
91683089 13363
5bdd6fa4
AM
133642011-09-23 Alan Mackenzie <acm@muc.de>
13365
13366 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13367
97adfb97
CY
133682011-09-23 Chong Yidong <cyd@stupidchicken.com>
13369
13370 * window.el (pop-to-buffer): Ensure right window is selected if we
13371 chose another frame.
13372
d4ef2b50
EZ
133732011-09-22 Eli Zaretskii <eliz@gnu.org>
13374
13375 * simple.el (what-cursor-position): Use get-char-property-change
13376 and next-single-char-property-change, to be able to show display
13377 properties that come from overlays as well as text properties.
13378
72258fe5
CY
133792011-09-22 Chong Yidong <cyd@stupidchicken.com>
13380
13381 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13382
13383 * cmuscheme.el (run-scheme, switch-to-scheme):
13384 * cus-edit.el (customize-group, custom-buffer-create)
13385 (customize-browse):
13386 * info.el (info):
13387 * shell.el (shell):
13388 * mail/sendmail.el (mail):
13389 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13390
8f098516
RS
133912011-09-22 Richard Stallman <rms@gnu.org>
13392
13393 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13394 move back only to line beg, don't move back over blank lines.
13395
e74f1bb6
MA
133962011-09-22 Michael Albinus <michael.albinus@gmx.de>
13397
13398 * files.el (copy-directory): Set directory attributes only in case
13399 they could be retrieved from the source directory. (Bug#9565)
13400
bfeef8b6
DK
134012011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13402
13403 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13404 (hs-find-block-beginning, hs-hide-level-recursive):
13405 Ignore strings as well as comments. (Bug#9502)
13406
7e423bb8
AS
134072011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13408
13409 * progmodes/sql.el (sql-comint-postgres):
13410 Convert port number to a string. (Bug#9566)
13411
b4d72fcf
MR
134122011-09-22 Martin Rudalics <rudalics@gmx.at>
13413
13414 * window.el (quit-window): Undedicate window when switching to
13415 previous buffer. Reported by Thierry Volpiatto
13416 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13417 (special-display-popup-frame): When popping up a new frame reset
13418 its previous buffers to nil. Simplify code.
b4d72fcf 13419
a7b88dc6
MA
134202011-09-21 Michael Albinus <michael.albinus@gmx.de>
13421
13422 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13423 and process filter, as done also in `shell-command'.
13424
cf4eacfd
MR
134252011-09-21 Martin Rudalics <rudalics@gmx.at>
13426
eca3f3ea 13427 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13428 Call set-window-start with NOFORCE argument t.
13429 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13430 (quit-window): Reword doc-string. Handle new format of
13431 quit-restore parameter. Don't delete window if it has a
13432 previous buffer we can show instead of the present one.
13433 (display-buffer-record-window): Rewrite using a new format for
13434 the quit-restore window parameter
13435 (special-display-popup-frame, display-buffer-same-window)
13436 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13437 (display-buffer-pop-up-window, display-buffer-use-some-window):
13438 Adapt symbol passed to display-buffer-record-window.
13439 * help.el (help-window-setup): Handle new format of quit-restore
13440 parameter.
13441
8d28cb95
SM
134422011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13443
94ab793f
SM
13444 * faces.el (face-list): Fix docstring (bug#9564).
13445
8d28cb95
SM
13446 * window.el (display-buffer--action-function-custom-type):
13447 Don't include internal functions in the Custom interface.
13448
3820edeb
JL
134492011-09-20 Juri Linkov <juri@jurta.org>
13450
13451 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13452 (Info-forward-node, Info-backward-node, Info-next-preorder)
13453 (Info-last-preorder): Use it. (Bug#9528)
13454
5147931d
JL
134552011-09-20 Juri Linkov <juri@jurta.org>
13456
13457 * info.el (Info-last-preorder): Visit last menu item only when
13458 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13459
cf499a1a
JD
134602011-09-20 Julien Danjou <julien@danjou.info>
13461
13462 * password-cache.el (password-cache-remove): Remove entries even if the
13463 value is nil, so that password with a nil value (negative caching) is
13464 possible to invalidate.
13465
f84e2fe2
LM
134662011-09-20 Lawrence Mitchell <wence@gmx.li>
13467
13468 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13469 all whitespace around breakpoint. (Bug#9553)
13470 (f90-find-breakpoint): Only break at whitespace inside a comment.
13471
78054a46
SM
134722011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13473
13474 * minibuffer.el (completion-file-name-table): Keep track of errors.
13475 (completion-table-with-predicate): Handle the case where pred1 is nil.
13476 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13477
345083b2
SM
134782011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13479
e24e27be
SM
13480 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13481 (debugger-return-value): Signal an error if the debugging context does
13482 not await any return value.
13483
345083b2
SM
13484 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13485 * image-mode.el (image-toggle-display-text)
13486 (image-toggle-display-image): Stay away from evil `intangible'.
13487
08d355e3
LL
134882011-09-19 Leo Liu <sdl.web@gmail.com>
13489
13490 * replace.el (occur-revert-arguments): Make it permanent-local.
13491 (occur-mode): Don't call font-lock-defontify.
13492
f01da43f
CY
134932011-09-19 Chong Yidong <cyd@stupidchicken.com>
13494
13495 * net/ldap.el (ldap-search-internal): Don't push empty search
13496 result (Bug#9508).
13497
b6072fa6
SM
134982011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13499
13500 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13501
443d6696
MA
135022011-09-19 Michael Albinus <michael.albinus@gmx.de>
13503
13504 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13505 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13506
7cc6e154
JL
135072011-09-18 Juri Linkov <juri@jurta.org>
13508
13509 * buff-menu.el (Buffer-menu-mode-map):
13510 * dired.el (dired-mode-map):
13511 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13512 (lisp-interaction-mode-map):
13513 * emacs-lisp/package.el (package-menu-mode-map):
13514 * epa.el (epa-key-list-mode-map):
13515 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13516 (menu-bar-options-menu):
13517 * outline.el (outline-mode-menu-bar-map):
13518 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13519 * vc/vc-dir.el (vc-dir-menu-map):
13520 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13521 Capitalize non-function content words in menu item strings.
13522
13523 * dired.el (dired-mode-map): Add menu item for
13524 `image-dired-dired-toggle-marked-thumbs'.
13525
80302a81
JL
135262011-09-18 Juri Linkov <juri@jurta.org>
13527
13528 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13529 to `isearch-case-fold-search' and restore its original value
13530 after the `isearch-mode' call.
13531
46c5cf66
JL
135322011-09-18 Juri Linkov <juri@jurta.org>
13533
13534 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13535 because `zgrep' returns 1 for successful matches (bug#9226).
13536
d18b513b
JL
135372011-09-18 Juri Linkov <juri@jurta.org>
13538
13539 * info.el (Info-extract-menu-node-name): Check the second match
13540 for empty string (second test-case of bug#9528).
13541 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13542 intermediate nodes to the history (first test-case of bug#9528).
13543
72753f87
JL
135442011-09-18 Juri Linkov <juri@jurta.org>
13545
13546 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13547 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13548
c9384295
JL
135492011-09-18 Juri Linkov <juri@jurta.org>
13550
1154d12e
JB
13551 * info.el (Info-file-supports-index-cookies):
13552 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13553 outputs one more line for long file names (bug#4142).
c9384295 13554
d473dce8
CY
135552011-09-18 Chong Yidong <cyd@stupidchicken.com>
13556
13557 * newcomment.el (comment-normalize-vars): If prompting for
13558 comment-start, set comment-start-skip too (Bug#8424).
13559
2176854d
JB
135602011-09-18 Johan Bockgård <bojohan@gnu.org>
13561
13562 * icomplete.el: Fix previous fix of Bug#5849.
13563 (icomplete-mode): Don't set completion-show-inline-help.
13564 (icomplete-minibuffer-setup): Set completion-show-inline-help
13565 locally during icompletion.
13566
3aace4e4
CY
135672011-09-18 Chong Yidong <cyd@stupidchicken.com>
13568
c940224f
CY
13569 * woman.el (woman2-process-escapes): Don't delete unrecognized
13570 escapes (Bug#7843).
13571
3aace4e4
CY
13572 * files.el (inhibit-first-line-modes-regexps): Add image files.
13573 (hack-local-variables-prop-line): Return nil for malformed
13574 prop-lines (Bug#9044).
13575
710dec63
MA
135762011-09-18 Michael Albinus <michael.albinus@gmx.de>
13577
13578 * net/tramp.el (top): Don't require 'shell.
13579 (tramp-methods): Fix docstring.
13580 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13581 Return complete remote file name. Handle "smb" case.
13582 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13583 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13584
13585 * net/tramp-compat.el (top): Require 'shell.
13586
13587 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13588 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13589 `tramp-current-host'.
13590 (tramp-get-remote-tmpdir): Remove.
13591
13592 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13593 `tramp-tmpdir' entries.
13594 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13595 (tramp-smb-handle-file-attributes): Ignore errors.
13596 (tramp-smb-wait-for-output): Check also for process end.
13597
5d5ac8ec
LMI
135982011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13599
13600 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13601 when sending QUIT (bug#9312).
13602
8c0f49f0
CY
136032011-09-17 Chong Yidong <cyd@stupidchicken.com>
13604
13605 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13606 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13607 occur-mode-display-occurrence.
13608 (occur-edit-mode): Add usage message.
13609 (occur-cease-edit): New command.
13610 (occur-after-change-function): Use text properties to find the
13611 position of the prefix text.
13612 (occur-engine): Set stickiness of prefix text properties.
13613
8f1383f7
GM
136142011-09-17 Glenn Morris <rgm@gnu.org>
13615
13616 * progmodes/etags.el (complete-tag):
13617 Fix call to completion-in-region. (Bug#9526)
13618
744ba0e3
JL
136192011-09-17 Juri Linkov <juri@jurta.org>
13620
13621 * textmodes/ispell.el (ispell-word): Add to the error message
13622 the word, ispell program name and current dictionary (bug#9121).
13623 (ispell-tex-arg-end): Capitalize "error" in the error message.
13624
d9bbf400
AS
136252011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13626
13627 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13628 check. (Bug#4251)
13629
8da11505
JL
136302011-09-17 Juri Linkov <juri@jurta.org>
13631
13632 * window.el (window-safe-min-height, window-safe-min-width):
13633 Fix typos (followup to bug#9522).
13634
a91adc7e
SJ
136352011-09-17 Sven Joachim <svenjoac@gmx.de>
13636
13637 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13638
064f328a
EZ
136392011-09-16 Eli Zaretskii <eliz@gnu.org>
13640
13641 * simple.el (line-move): If goal-column is set, move by logical
13642 lines, not by display lines. (Bug#971)
13643 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13644 to reflect the above change.
13645
e69df516
SM
136462011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13647
13648 * image.el (imagemagick-register-types): Use regexp-opt.
13649
cbb0f9ab
CY
136502011-09-15 Chong Yidong <cyd@stupidchicken.com>
13651
13652 * window.el (display-buffer-base-action): Rename from
13653 display-buffer-default-action. Make default value empty.
13654 (display-buffer-overriding-action): Convert to defvar.
13655 (display-buffer-fallback-action): New var.
13656
25322144
CY
136572011-09-15 Chong Yidong <cyd@stupidchicken.com>
13658
13659 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13660 declaration.
13661 (package--add-to-archive-contents): If there is a duplicate entry
13662 with an older version, remove it.
13663 (package-menu-mark-delete, package-menu-mark-install)
13664 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13665 (package-menu-mark-obsolete-for-deletion):
13666 Use package-menu-get-status instead of a regexp search.
25322144
CY
13667 (package-menu-get-status): Use tabulated-list-entry.
13668 (package-menu-mark-upgrades): New command.
d770725a 13669 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13670 (package-menu-execute): Do installation before deletion.
13671 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13672 instead of checking major-mode.
13673 (package-menu--find-upgrades): New function.
13674
7520339c
LMI
136752011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13676
13677 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13678 passwords in the log buffer.
65a046c4
LMI
13679 (smtpmail-process-filter): Update the process marker so that the
13680 "broken by peer" status message is inserted in the right place.
7520339c 13681
d3c30954
SM
136822011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13683
3fe48822
SM
13684 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13685 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13686 bibtex-completion-at-point-function.
13687 (bibtex-completion-at-point-function): Use them.
13688
1b8b3954
SM
13689 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13690
d3c30954
SM
13691 * mpc.el (mpc-constraints-tag-lookup): New function.
13692 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13693 also to browser "album|playlist".
13694
72779976
JL
136952011-09-14 Juri Linkov <juri@jurta.org>
13696
13697 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13698 (isearch-edit-string): Use length of `isearch-string' when
13699 `isearch-fail-pos' returns nil.
13700 (isearch-message): Remove duplicate code and call
13701 `isearch-fail-pos' with arg `t'.
13702
a0bf2bcd
CY
137032011-09-14 Chong Yidong <cyd@stupidchicken.com>
13704
17bb0a2d
CY
13705 * replace.el (occur-mode-goto-occurrence): Don't force using other
13706 window (Bug#9499).
13707
a0bf2bcd
CY
13708 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13709
f678e0b6
MR
137102011-09-14 Martin Rudalics <rudalics@gmx.at>
13711
13712 * window.el (display-buffer-window): Remove.
13713 (display-buffer-record-window): Use help-setup window parameter
13714 instead of variable display-buffer-window.
13715 (display-buffer-function, special-display-buffer-names)
13716 (special-display-function): Mention help-setup parameter instead
13717 of display-buffer-window in doc-string.
d3c30954
SM
13718 * help.el (help-window-setup): New argument help-window.
13719 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13720 Reword some messages.
13721 (with-help-window): Pass window used for displaying the buffer
13722 to help-window-setup. Don't set display-buffer-window.
13723
8e39b2e8
GM
137242011-09-13 Glenn Morris <rgm@gnu.org>
13725
13726 * emacs-lisp/debug.el (debugger-make-xrefs):
13727 Preserve point. (Bug#9462)
13728
85e9c04b
CY
137292011-09-13 Chong Yidong <cyd@stupidchicken.com>
13730
13731 * window.el (window-deletable-p): Use next-frame.
13732
1b36ed6a
MR
137332011-09-13 Martin Rudalics <rudalics@gmx.at>
13734
13735 * window.el (window-auto-delete): Remove.
13736 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13737 dedication and previous buffers.
1b36ed6a
MR
13738 (switch-to-prev-buffer): Don't delete window.
13739 (delete-windows-on): Delete a window's frame if and only if the
13740 window is dedicated.
13741 (replace-buffer-in-windows): Delete buffer's window or frame if
13742 and only if window is dedicated.
13743 (quit-window): Handle quit-restore as before last change.
4d61f28d 13744 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13745
ef8ef9fb
CY
137462011-09-13 Chong Yidong <cyd@stupidchicken.com>
13747
13748 * window.el (window-deletable-p): Never delete the last frame on a
13749 given terminal.
13750
b2cba41e
GM
137512011-09-13 Glenn Morris <rgm@gnu.org>
13752
13753 * help.el (describe-key-briefly): Copy previous standard-output change.
13754
51553db6 137552011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13756
13757 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13758
b7556719
GM
137592011-09-13 Glenn Morris <rgm@gnu.org>
13760
13761 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13762 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13763
64b51947
CY
137642011-09-12 Chong Yidong <cyd@stupidchicken.com>
13765
13766 * dired-aux.el (dired-mark-read-string): Don't return default
13767 value on empty input (Bug#9361).
13768 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13769 Omit initial minibuffer contents.
13770 (dired-do-chmod): Signal an error on empty input.
13771 (dired-mark-read-string): Don't return default on empty input.
13772
13773 * files.el (file-modes-symbolic-to-number): Doc fix.
13774
393a301e
SM
137752011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * international/mule-cmds.el (ucs-completions): Remove.
13778 (read-char-by-name): Use complete-with-action instead; add metadata.
13779
fa5660f9
CY
137802011-09-11 Chong Yidong <cyd@stupidchicken.com>
13781
13782 * window.el (display-buffer--action-function-custom-type)
13783 (display-buffer--action-custom-type): New vars.
13784 (display-buffer-alist, display-buffer-default-action)
13785 (display-buffer-overriding-action): Add defcustom types.
13786
4a592f66
CY
13787 * frame.el (delete-other-frames): Doc fix (Bug#276).
13788
73d56dbd
LMI
137892011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13790
13791 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13792
37ac18a3
CY
137932011-09-11 Chong Yidong <cyd@stupidchicken.com>
13794
13795 Change modes that used same-window-* vars to use switch-to-buffer.
13796
13797 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13798 Use switch-to-buffer.
13799
13800 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13801 (customize-browse, custom-buffer-create-other-window):
13802 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13803
13804 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13805 (Info-prev, Info-up, Info-speedbar-goto-node)
13806 (info-display-manual): Use switch-to-buffer.
13807 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13808
13809 * mail/sendmail.el (mail): Use switch-to-buffer.
13810 (mail-recover): Use switch-to-buffer-other-window.
13811
13812 * cmuscheme.el (run-scheme, switch-to-scheme):
13813 * ielm.el (ielm):
13814 * shell.el (shell):
13815 * net/rlogin.el (rlogin):
13816 * net/telnet.el (telnet, rsh):
13817 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13818
10195bd6
AS
138192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13820
13821 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13822
b322f63a
LMI
138232011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13824
39d7fed6
LMI
13825 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13826 so don't mention it (bug#9301).
ba5a81f1 13827 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13828
ee0e9f11
LMI
13829 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13830 match `x', `w32' and `ns', like the manual says (bug#9029).
13831
0b1c89c1 13832 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13833 (process-kill-buffer-query-function): Mention the buffer name in
13834 the query.
0b1c89c1 13835
77549ea8
LMI
13836 * image-mode.el (image-next-line): The line parameter is mandatory
13837 (bug#9258).
13838
803ef892
LMI
13839 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13840 which can be useful (bug#9301).
13841
12980837
LMI
13842 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13843
91054f8f
LMI
13844 * subr.el (match-string): Mention that the current buffer should
13845 be the same as the search was done in (bug#9282).
13846
b322f63a
LMI
13847 * facemenu.el: Disable the remove-* commands if the mark isn't
13848 active (bug#9162).
13849
3199b96f
CY
138502011-09-10 Chong Yidong <cyd@stupidchicken.com>
13851
13852 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13853 of display-buffer.
13854 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13855
13856 * replace.el (occur-mode-goto-occurrence)
13857 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13858 and display-buffer.
13859
13860 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13861 display-buffer.
13862
13863 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13864 special-display and same-window variables.
13865 (mail-other-window): Use switch-to-buffer-other-window.
13866 (mail-other-frame): USe switch-to-buffer-other-frame.
13867
393a301e
SM
13868 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13869 Use display-buffer-other-frame.
3199b96f
CY
13870 (gdb-display-gdb-buffer): Use pop-to-buffer.
13871
13872 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13873
13874 * progmodes/python.el: Don't set same-window-buffer-names.
13875
13876 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13877
13878 * window.el (display-buffer-alist): Add *Python*.
13879
8319e0bf
CY
138802011-09-10 Chong Yidong <cyd@stupidchicken.com>
13881
13882 * window.el (display-buffer-alist): Add entry for buffers
13883 previously handled same-window-*.
13884 (display-buffer-alist, display-buffer-default-action)
13885 (display-buffer-overriding-action): Mark as risky.
13886 (display-buffer-alist): Document action function changes.
13887 (display-buffer--same-window-action)
13888 (display-buffer--other-frame-action): New variables.
13889 (switch-to-buffer, display-buffer-other-frame): Use them.
13890 (display-buffer): Rename reuse-frame entry to reusable-frames.
13891 (display-buffer-reuse-selected-window): Function deleted.
13892 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13893 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13894 (display-buffer-special): New function.
13895 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13896 display-buffer-reuse-or-pop-window. Split off special-display
13897 part into display-buffer-special.
13898 (display-buffer-use-some-window): Don't perform any special
13899 pop-up-frames handling.
13900 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13901 (display-buffer--maybe-same-window): Rename from
0d3ff375 13902 display-buffer-maybe-same-window.
8319e0bf 13903
919a69aa
CY
13904 * info.el: Don't set same-window-regexps.
13905 (info-setup): New function.
13906 (info-other-window, info): Call it.
13907
13908 * cus-edit.el: Don't set same-window-regexps.
13909 (customize-group): New argument.
13910 (customize-group-other-window): Use it.
13911 (customize-face, customize-face-other-window): Likewise.
13912 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13913
8319e0bf
CY
13914 * net/rlogin.el:
13915 * net/telnet.el:
13916 * progmodes/gud.el: Don't set same-window-regexps.
13917
13918 * cmuscheme.el:
13919 * ielm.el:
13920 * shell.el:
13921 * mail/sendmail.el:
13922 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13923
25173000
JL
139242011-09-10 Juri Linkov <juri@jurta.org>
13925
13926 * isearch.el (isearch-edit-string): Remove obsolete mention of
13927 `C-w' (`isearch-yank-word-or-char') from docstring.
13928 (isearch-query-replace): Fix typo in docstring (bug#9466).
13929
056e44ef
JL
139302011-09-10 Juri Linkov <juri@jurta.org>
13931
13932 * paren.el (show-paren-function): Don't show escaped parens.
13933 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13934
c3760c17
EZ
139352011-09-10 Eli Zaretskii <eliz@gnu.org>
13936
13937 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13938 (mm-default-file-encoding): Remove autoload forms, they are
13939 replaced with autoload cookies in mml.el and mm-encode.el.
13940 (mail-add-attachment): New command.
13941 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13942 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13943 the doc string.
13944 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13945
fece895e
RT
139462011-09-10 Reuben Thomas <rrt@sc3d.org>
13947
e69df516
SM
13948 * simple.el (count-words-region): Use buffer if there's no region
13949 (bug#9429).
fece895e 13950
5e68ce4a
JL
139512011-09-09 Juri Linkov <juri@jurta.org>
13952
13953 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13954 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13955 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13956
0a6b9622
AM
139572011-09-09 Alan Mackenzie <acm@muc.de>
13958
13959 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13960 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13961
14a29deb
EZ
139622011-09-09 Eli Zaretskii <eliz@gnu.org>
13963
13964 Fix for Savannah bug#9392.
13965 * simple.el (mail-encode-mml): New defvar.
13966
13967 * mail/rmail.el (mail-encode-mml): Add a defvar.
13968 (rmail-enable-mime-composing): Default to t.
13969 (rmail-forward): Use MIME method of forwarding only if both
13970 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13971 Set mail-encode-mml non-nil if the MIME method was used.
13972
13973 * mail/sendmail.el (mml-to-mime): Add autoload form.
13974 (mail-encode-mml): Add a defvar.
13975 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13976 to nil.
13977 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13978 message through mml-to-mime, and reset mail-encode-mml to nil.
13979
28c45130
GM
139802011-09-09 Glenn Morris <rgm@gnu.org>
13981
13982 * woman.el (woman-if-body): When processing an .el block,
13983 do not delete the next .el block as well. (Bug#9447)
69f4b618 13984 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13985
9b1c252e
MR
139862011-09-08 Martin Rudalics <rudalics@gmx.at>
13987
13988 * window.el (window-deletable-p): Make sure window is live before
13989 invoking window-prev-buffers.
13990
567457e3
LL
139912011-09-08 Leo Liu <sdl.web@gmail.com>
13992
13993 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13994
97f05794
JL
139952011-09-08 Juri Linkov <juri@jurta.org>
13996
13997 * progmodes/compile.el (compilation-environment): Make it
13998 a defcustom (bug#8340).
13999
8b0874b5
MR
140002011-09-08 Martin Rudalics <rudalics@gmx.at>
14001
14002 * window.el (frame-auto-delete): Rename to window-auto-delete.
14003 Make it control auto-deletion of windows and/or frames.
14004 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14005 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14006 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14007 Rewrite handling of case when window/frame can be deleted.
14008 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14009 argument t. (Bug#9456)
8b0874b5 14010
4feb6e73
CY
140112011-09-07 Chong Yidong <cyd@stupidchicken.com>
14012
14013 * help-mode.el (help-mode): Restore autoload.
14014
91ab9c13
JL
140152011-09-07 Juri Linkov <juri@jurta.org>
14016
14017 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14018 `compilation-environment'. Set buffer-local
14019 `compilation-environment' to `thisenv' later after (funcall mode).
14020 (Bug#8340)
14021
14022 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14023 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14024 instead of replacing its value. (Bug#8340)
14025
0527e251
JL
140262011-09-07 Juri Linkov <juri@jurta.org>
14027
14028 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14029 based on text properties put by `grep-filter' instead of matching
14030 escape sequences.
14031 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14032 to the value of `grep-error-screen-columns' (bug#9438).
14033
249f792c
JL
140342011-09-07 Juri Linkov <juri@jurta.org>
14035
14036 * simple.el (next-error-highlight, next-error-highlight-no-select):
14037 Doc fix (bug#9432).
14038
ff7271b9
OT
140392011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14040
14041 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14042 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14043
183fc730
LL
140442011-09-07 Leo Liu <sdl.web@gmail.com>
14045
14046 * net/rcirc.el (rcirc-mode): Conditionally initialize
14047 rcirc-input-ring.
14048
77694924
SM
140492011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14050
14051 * emacs-lisp/find-func.el (find-function-C-source): Only set
14052 find-function-C-source-directory after checking that we found a source
14053 file there (bug#9440).
14054
d809b8eb
AM
140552011-09-06 Alan Mackenzie <acm@muc.de>
14056
14057 * isearch.el (isearch-other-meta-char): Wherever a key list is
14058 unread, "unread" the prefix arg, too. This fixes bug #8901.
14059
453de99f
OG
140602011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14061
14062 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14063
90439906
JL
140642011-09-05 Juri Linkov <juri@jurta.org>
14065
14066 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14067
f62bd846
JL
140682011-09-05 Juri Linkov <juri@jurta.org>
14069
14070 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14071 keeping point where processing of grep matches begins, and
14072 continue to delete remaining escape sequences from the same point.
14073 (grep-filter): Make leading zero optional in "0?1;31m" because
14074 git-grep emits "\033[1;31m" escape sequences unlike expected
14075 "\033[01;31m" as GNU Grep does (bug#9408).
14076 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14077
045820ec
JL
140782011-09-05 Juri Linkov <juri@jurta.org>
14079
14080 * subr.el (y-or-n-p): Capitalize "yes".
14081
f5e29b9b
MA
140822011-09-04 Michael Albinus <michael.albinus@gmx.de>
14083
14084 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14085 `tramp-cache-unload-hook' where appropriate.
14086 (tramp-methods): Rename `tramp-remote-sh' to
14087 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14088 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14089
14090 * net/tramp-sh.el (top): Don't require 'shell.
14091 (tramp-methods): Add `tramp-remote-shell' and
14092 `tramp-remote-shell-args' entries.
14093 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14094 (tramp-sh-handle-shell-command): Remove.
14095 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14096 Use `tramp-remote-shell'.
14097
2784c434
CY
140982011-09-03 Chong Yidong <cyd@stupidchicken.com>
14099
393a301e 14100 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14101 (sendmail-query-once): Save directly to send-mail-function.
14102 Update message-send-mail-function too.
14103
14104 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14105
464cdf56
CS
141062011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14107
14108 * progmodes/python.el (python-mode-map): Use correct function to
14109 start python interpreter from menu-bar (as reported by Geert
14110 Kloosterman).
14111 (inferior-python-mode-map): Fix typo.
393a301e 14112 (python-shell-map): Remove.
464cdf56 14113
d37e5c87
DD
141142011-09-03 Deniz Dogan <deniz@dogan.se>
14115
14116 * net/rcirc.el (rcirc-print): Simplify code for
14117 rcirc-scroll-show-maximum-output. There is no need to walk
14118 through all windows to find the right one.
14119
f3ada0ee
CS
141202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14121
14122 * help.el (help-return-method): Doc fix.
14123
1f3c99ca
MR
141242011-09-03 Martin Rudalics <rudalics@gmx.at>
14125
14126 * window.el (window-deletable-p): Don't return a non-nil value
14127 when there's a buffer that was shown in the window before.
14128 (Bug#9419)
393a301e
SM
14129 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14130 Set window's previous buffers to nil.
1f3c99ca 14131
a3cf097f
EZ
141322011-09-03 Eli Zaretskii <eliz@gnu.org>
14133
14134 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14135 newline before and after the tag line, so it doesn't interfere
14136 with determining the paragraph direction of bidirectional text.
14137
3d03de90
LL
141382011-09-03 Leo Liu <sdl.web@gmail.com>
14139
14140 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14141
c3313451
CY
141422011-09-02 Chong Yidong <cyd@stupidchicken.com>
14143
393a301e 14144 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14145 (pop-to-buffer): Change interactive spec. Pass second argument
14146 directly to display-buffer.
14147 (display-buffer): Fix interactive spec. Use functionp to
14148 distinguish between a function and a list of functions.
14149
14150 * abbrev.el (edit-abbrevs):
14151 * arc-mode.el (archive-extract):
14152 * autoinsert.el (auto-insert):
14153 * bookmark.el (bookmark-bmenu-list):
14154 * files.el (find-file):
14155 * view.el (view-buffer):
14156 * progmodes/compile.el (compilation-goto-locus):
14157 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14158
89894cd8
CY
141592011-09-02 Chong Yidong <cyd@stupidchicken.com>
14160
14161 * window.el (display-buffer-alist): Doc fix.
14162 (display-buffer): Add docstring. Don't treat
14163 display-buffer-default specially.
14164 (display-buffer-reuse-selected-window)
14165 (display-buffer-same-window, display-buffer-maybe-same-window)
14166 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14167 (display-buffer-pop-up-window)
14168 (display-buffer-reuse-or-pop-window)
14169 (display-buffer-use-some-window): New functions.
14170 (display-buffer-default-action): Use them.
393a301e 14171 (display-buffer-default): Delete.
89894cd8
CY
14172 (pop-to-buffer-1): Fix choice of actions.
14173
ae0bc9fb
SM
141742011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14175
14176 * minibuffer.el (completion--insert-strings): Don't get confused by
14177 completion entries that end with an LF char.
14178
e9d90883
EZ
141792011-09-01 Eli Zaretskii <eliz@gnu.org>
14180
14181 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14182
437014c8
CY
141832011-09-01 Chong Yidong <cyd@stupidchicken.com>
14184
14185 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14186 (display-buffer-same-window, display-buffer-other-window):
14187 New functions.
437014c8
CY
14188 (pop-to-buffer-1): New function. Use the above.
14189 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14190 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14191
14192 * view.el (view-buffer-other-window, view-buffer-other-frame):
14193 Just use pop-to-buffer.
14194
a5e063d5
TV
141952011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14196
14197 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14198
793d32bb
WH
141992011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14200
14201 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14202
d65e4c15
RS
142032011-08-31 Richard Stallman <rms@gnu.org>
14204
14205 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14206 of the separation of rmail-view-buffer from rmail-buffer.
14207 If you say no to "replace original", the decrypt is in the
14208 view buffer. If you say yes, the decrypt goes into the
14209 rmail buffer also.
14210
f818cd2a
MR
142112011-08-31 Martin Rudalics <rudalics@gmx.at>
14212
14213 * window.el (display-buffer-window): Rewrite doc-string.
14214 (display-buffer-record-window): New function.
14215 (display-buffer-macro-specifiers)
14216 (display-buffer-even-window-sizes, display-buffer-set-height)
14217 (display-buffer-set-width, display-buffer-in-window)
14218 (display-buffer-reuse-window, display-buffer-split-specifiers)
14219 (display-buffer-side-specifiers, display-buffer-split-window-1)
14220 (display-buffer-split-window, display-buffer-split-atom-window)
14221 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14222 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14223 (display-buffer-other-window-means-other-frame)
14224 (display-buffer-normalize-special)
14225 (display-buffer-normalize-default)
14226 (display-buffer-normalize-argument)
14227 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14228 (display-buffer-normalize-specifiers, display-buffer-frame)
14229 (display-buffer-same-window, display-buffer-same-frame)
14230 (display-buffer-other-window)
14231 (display-buffer-same-frame-other-window)
14232 (display-buffer-other-frame, pop-to-buffer-same-window)
14233 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14234 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14235 (switch-to-buffer-same-frame)
14236 (switch-to-buffer-other-window-same-frame)
14237 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14238 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14239 (display-buffer-alist-set): Remove.
14240 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14241 (special-display-regexps, special-display-function):
14242 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14243 parameter.
14244 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14245 (special-display-frame-alist, special-display-popup-frame)
14246 (same-window-buffer-names, same-window-regexps, same-window-p)
14247 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14248 (split-window-preferred-function, split-height-threshold)
14249 (split-width-threshold, window-splittable-p)
14250 (split-window-sensibly, window--try-to-split-window)
14251 (window--frame-usable-p, even-window-heights)
14252 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14253 (window--display-buffer-2, display-buffer-other-frame):
14254 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14255 (display-buffer-default, display-buffer-assq-regexp): New functions.
14256 (display-buffer-alist): Rewrite doc-string.
14257 (display-buffer-default-action)
14258 (display-buffer-overriding-action): New variables.
14259 (display-buffer, switch-to-buffer): Rewrite.
14260 (pop-to-buffer): Restore Emacs 23 behavior but use
14261 window-normalize-buffer-to-display.
14262 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14263 Restore Emacs 23 behavior but use
14264 window-normalize-buffer-to-switch-to.
14265 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14266 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14267 Rewrite using Emacs 23 options.
f818cd2a 14268
5bc3b51d
MA
142692011-08-31 Michael Albinus <michael.albinus@gmx.de>
14270
14271 * net/tramp.el (tramp-root-regexp): Remove.
14272 (tramp-completion-file-name-regexp-unified)
14273 (tramp-completion-file-name-regexp-separate)
14274 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14275 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14276 (tramp-drop-volume-letter): Simplify definition.
14277 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14278
b1a4f8e1
SM
142792011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14280
14281 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14282 (bug#9356).
14283
5664fa7b
RT
142842011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14285
b1a4f8e1 14286 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14287
9a45d6c3
JL
142882011-08-29 Juri Linkov <juri@jurta.org>
14289
14290 * isearch.el (isearch-done): Don't display message "Mark saved"
14291 when arg `edit' is non-nil to prevent its flicker in the echo area.
14292
fb87e0fb
CY
142932011-08-28 Chong Yidong <cyd@stupidchicken.com>
14294
14295 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14296 obsolete packages for deletion.
14297
09ac1c2a
CS
142982011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14299
14300 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14301 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14302 view-mode from help-mode.
14303 (help-xref-override-view-map): Remove.
14304 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14305 view-mode is not used anymore.
14306
7a1ff57f
CY
143072011-08-28 Chong Yidong <cyd@stupidchicken.com>
14308
14309 * server.el (server-port): Doc fix.
14310
b9696605
CY
14311 * cus-theme.el (custom-theme-choose-mode): Inherit from
14312 special-mode (Bug#9124).
14313 (custom-theme-choose-mode-map): Add special-mode to parent.
14314
ef8cdf8c
AM
143152011-08-28 Alan Mackenzie <acm@muc.de>
14316
14317 * progmodes/cc-fonts.el
14318 (c-make-font-lock-BO-decl-search-function): New function.
14319 (c-basic-matchers-after - "Fontify the clauses after various
14320 keywords"): Extract the three keyword lists for the 3 erroneous
14321 constructs from the list of four, and use the new function above
14322 in place of an old one.
14323
27de4e20
DD
143242011-08-28 Deniz Dogan <deniz@dogan.se>
14325
14326 * net/rcirc.el (rcirc-insert-prev-input)
14327 (rcirc-insert-next-input): Remove unused argument.
14328
356a3681
SM
143292011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14330
14331 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14332
3fc9b218
AM
143332011-08-27 Alan Mackenzie <acm@muc.de>
14334
14335 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14336 handle function pointer parameters properly.
14337
538a061c
MR
143382011-08-27 Martin Rudalics <rudalics@gmx.at>
14339
14340 * window.el (display-buffer-reuse-window): Fix case where
14341 selected window was reused with non-nil OTHER-WINDOW argument.
14342 (Bug#9381)
14343
35b1c40c
DD
143442011-08-27 Deniz Dogan <deniz@dogan.se>
14345
14346 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14347 oftc's NickServ messages.
14348
2f6a3e79
GM
143492011-08-27 Glenn Morris <rgm@gnu.org>
14350
14351 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14352
7254299e
CY
143532011-08-26 Chong Yidong <cyd@stupidchicken.com>
14354
14355 * emacs-lisp/package.el (package-install): Call package-initialize
14356 if called interactively.
14357
f8ccf167
LL
143582011-08-26 Leo Liu <sdl.web@gmail.com>
14359
14360 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14361
3e8cd5ce
JL
143622011-08-25 Juri Linkov <juri@jurta.org>
14363
14364 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14365 `search-whitespace-regexp' (bug#9364).
14366
93eb7113
JL
143672011-08-25 Juri Linkov <juri@jurta.org>
14368
14369 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14370 `regexp-search-ring' to their global values to protect from
14371 updating by `read-from-minibuffer' (bug#9185).
14372
f65d1611
JL
143732011-08-25 Juri Linkov <juri@jurta.org>
14374
14375 * textmodes/ispell.el (ispell-command-loop): Add newline
14376 at the end of the "Use option `i'..." line.
14377
f1cf7a31
JL
143782011-08-25 Juri Linkov <juri@jurta.org>
14379
14380 * battery.el (display-battery-mode): If `battery-status-function'
14381 or `battery-mode-line-format' is nil, display the message and set
14382 `display-battery-mode' to nil (bug#9363).
14383
0c95fcf7
EZ
143842011-08-25 Eli Zaretskii <eliz@gnu.org>
14385
14386 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14387 bidi-string-mark-left-to-right; they are unnecessary now.
14388
a2ebe600
DD
143892011-08-25 Deniz Dogan <deniz@dogan.se>
14390
14391 * net/quickurl.el: Documentation typo fixes.
14392
e4ed06f1
CY
143932011-08-25 Chong Yidong <cyd@stupidchicken.com>
14394
14395 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14396
e5f1c99e
GM
143972011-08-25 Glenn Morris <rgm@gnu.org>
14398
b2948976
GM
14399 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14400
e5f1c99e
GM
14401 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14402 (smtpmail-via-smtp): Handle nil response from smtp.
14403
f22f4808
JL
144042011-08-24 Juri Linkov <juri@jurta.org>
14405
14406 * proced.el (proced-marked): Inherit from `error' instead of
14407 `font-lock-warning-face'.
14408
14409 * ibuffer.el (ibuffer-marked-face): Change default face from
14410 `font-lock-warning-face' to `warning'.
14411 (ibuffer-deletion-face): Change default face from
14412 `font-lock-type-face' to `error'.
14413
14414 * battery.el (battery-update): Use the face `error' instead of
14415 `font-lock-warning-face' (bug#6117).
14416
6a93965e
JL
144172011-08-24 Juri Linkov <juri@jurta.org>
14418
14419 * faces.el (success): Change face color from "Green3" to
14420 "ForestGreen" on light background (bug#9353).
14421
1ed43b09
CY
144222011-08-24 Chong Yidong <cyd@stupidchicken.com>
14423
5664fa7b
RT
14424 * window.el (quit-window): Rename from quit-restore-window.
14425 Use same arglist as old quit-window.
1ed43b09
CY
14426 (frame-auto-delete): Doc fix.
14427
14428 * view.el (view-mode-exit): Use quit-window.
14429
11dcdbb2
JL
144302011-08-24 Juri Linkov <juri@jurta.org>
14431
14432 * isearch.el (isearch-ring-adjust1): Start visiting previous
14433 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14434 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14435 for empty search string (when the last search string is reused
14436 automatically) to adjust the isearch ring to the last element and
14437 prepare the correct index for further M-p commands (bug#9185).
14438
de62b4df
KH
144392011-08-24 Kenichi Handa <handa@m17n.org>
14440
14441 * international/ucs-normalize.el: If decomposition property of
14442 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14443 nil.
14444 (nfd, nfkd): Likewise.
14445
963b492b
SM
144462011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14449 from process filters aren't reliably transmitted to the surrounding
14450 accept-process-output.
14451 (mpc-proc-check): New function.
14452 (mpc-proc-sync): Use it (bug#8293)
14453
93b6b5e1
SM
144542011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14455
14456 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14457 Add compatibility functions (bug#9313).
14458
bca633fb
EZ
144592011-08-23 Eli Zaretskii <eliz@gnu.org>
14460
b177498a
EZ
14461 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14462
6df6ae42 14463 * international/uni-bidi.el: Regenerate.
bca633fb 14464
0902a04e
KH
144652011-08-23 Kenichi Handa <handa@m17n.org>
14466
14467 * international/charprop.el:
14468 * international/uni-bidi.el:
14469 * international/uni-category.el:
14470 * international/uni-combining.el:
14471 * international/uni-comment.el:
14472 * international/uni-decimal.el:
14473 * international/uni-decomposition.el:
14474 * international/uni-digit.el:
14475 * international/uni-lowercase.el:
14476 * international/uni-mirrored.el:
14477 * international/uni-name.el:
14478 * international/uni-numeric.el:
14479 * international/uni-old-name.el:
14480 * international/uni-titlecase.el:
14481 * international/uni-uppercase.el: Regenerate.
14482
3bbf23bc
MR
144832011-08-23 Martin Rudalics <rudalics@gmx.at>
14484
14485 * help.el (help-window-setup): Fix message displayed when other
14486 window is reused. (Bug#9341)
14487
b3fd59bd
SM
144882011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14489
1802e444
SM
14490 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14491 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14492
b3fd59bd
SM
14493 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14494 Mark obsolete.
14495 * shell.el (shell-parse-pcomplete-arguments): New function.
14496 (shell-completion-vars): Use it instead (bug#9160).
14497
4eb61348
SM
144982011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14499
867cab74
SM
14500 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14501 strings and comments (bug#9333).
14502
4eb61348
SM
14503 * emacs-lisp/debug.el (debug-arglist): New function.
14504 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14505 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14506
262a1439
JL
145072011-08-22 Juri Linkov <juri@jurta.org>
14508
56ee679c
JL
14509 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14510 Revert regexp that highlights output switches to its old
14511 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14512
262a1439
JL
14513 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14514 to check for empty output (bug#9226).
14515
f13f86fb
CY
145162011-08-22 Chong Yidong <cyd@stupidchicken.com>
14517
14518 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14519 symbol-constituent as the default, as that stops font-lock from
14520 working properly (Bug#8843).
14521
c65c9622
LMI
145222011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14523
14524 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14525 `coding-system-for-*' around the process open call to avoid
14526 auth-source side effects.
e7f2c178 14527 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14528 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14529 probe hangs.
c65c9622 14530
23a8a5ab
CY
145312011-08-21 Chong Yidong <cyd@stupidchicken.com>
14532
ff98b2dd
CY
14533 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14534
23a8a5ab
CY
14535 * emacs-lisp/find-func.el (find-function-noselect): New arg
14536 lisp-only.
14537
14538 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14539 signal an error for built-in functions (Bug#6664).
14540
f5e3c598
LMI
145412011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14542
14543 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14544 (smtpmail-try-auth-methods): Use it.
14545
a3f2468a
CY
145462011-08-21 Chong Yidong <cyd@stupidchicken.com>
14547
2c34e8da
CY
14548 * font-lock.el (font-lock-fontify-region)
14549 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14550 (font-lock-default-unfontify-buffer)
14551 (font-lock-default-fontify-region)
14552 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14553
b3fd59bd
SM
14554 * progmodes/compile.el (compilation-error-properties):
14555 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14556 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14557 `ant' regexp.
ee31aabc 14558
a3f2468a
CY
14559 * net/browse-url.el (browse-url-firefox): Don't call
14560 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14561
8e999f70
GM
145622011-08-20 Glenn Morris <rgm@gnu.org>
14563
c21a496a
GM
14564 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14565
59ee0542
GM
14566 * tutorial.el (tutorial--default-keys): Update some default bindings.
14567
8e999f70
GM
14568 * files.el (hack-local-variables): Fully ignore case for "mode:".
14569
e3715033
AM
145702011-08-20 Alan Mackenzie <acm@muc.de>
14571
14572 Resolve invalid use of a regexp in regexp-opt.
14573
4d61f28d
JB
14574 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14575 detection for a java annotation.
e3715033 14576
4d61f28d 14577 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14578 detection for a java annotation.
14579
4d61f28d
JB
14580 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14581 handling for java.
e3715033
AM
14582 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14583
04ed2e9c
CY
145842011-08-20 Chong Yidong <cyd@stupidchicken.com>
14585
14586 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14587 (Bug#9274).
14588
826cee64
AM
145892011-08-20 Alan Mackenzie <acm@muc.de>
14590
58179cce 14591 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14592 such a construct. Mainly for when jit-lock etc. starts a chunk
14593 here.
14594
58179cce 14595 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14596 variable.
58179cce 14597 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14598 c-make-font-lock-search-function.
14599 (c-make-font-lock-search-function): Use the above function.
14600 (c-make-font-lock-context-search-function): New function.
14601 (c-cpp-matchers): Enhance the preprocessor expression case with
14602 the above function
14603 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14604 which takes an expression.
14605
14606 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14607
13009bd8
MR
146082011-08-20 Martin Rudalics <rudalics@gmx.at>
14609
14610 * window.el (display-buffer-reuse-window)
14611 (display-buffer-pop-up-window): Don't reuse or split a side
14612 window.
14613
9234ff7f
GM
146142011-08-19 Glenn Morris <rgm@gnu.org>
14615
14616 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14617 Downcase "Mode:". (Bug#9331)
9234ff7f 14618
f635daa1
CY
146192011-08-18 Chong Yidong <cyd@stupidchicken.com>
14620
14621 * international/characters.el: Add L and R categories.
14622
14623 * subr.el (bidi-string-mark-left-to-right): Rename from
14624 string-mark-left-to-right. Use category search.
14625
14626 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14627
bc987f8b
JL
146282011-08-18 Juri Linkov <juri@jurta.org>
14629
14630 * faces.el (error, warning, success): New faces with definitions
14631 copied from old default values of `font-lock-warning-face',
14632 `compilation-warning', `compilation-info' (bug#6117).
14633
14634 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14635
14636 * progmodes/compile.el (compilation-error): Inherit from `error'.
14637 (compilation-warning): Inherit from `warning'.
14638 (compilation-info): Inherit from `success'.
14639
14640 * dired.el (dired-marked): Inherit from `warning'.
14641 (dired-flagged): Inherit from `error'.
14642
57173b96
LMI
146432011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14644
3e79eb87
LMI
14645 * mail/smtpmail.el (auth-source): Require to avoid problems with
14646 binding variables (bug#9298). Also clean up some unused
14647 autoloads.
14648
b3fd59bd
SM
14649 * net/network-stream.el (network-stream-open-starttls):
14650 Support using starttls.el without using gnutls-cli.
57173b96 14651
02b404de
JL
146522011-08-17 Juri Linkov <juri@jurta.org>
14653
14654 * progmodes/grep.el (rgrep): Handle the case when
14655 `grep-find-command' is a cons cell (bug#9278).
14656
8c9177f2
MR
146572011-08-17 Martin Rudalics <rudalics@gmx.at>
14658
14659 * window.el (display-buffer-pop-up-frame): Run frame creation
14660 function with BUFFER current (as special-display-popup-frame
14661 does). Reported by Drew Adams.
14662
3644a0ab
DU
146632011-08-17 Daiki Ueno <ueno@unixuser.org>
14664
14665 * epa-mail.el: Simplify GnuPG group expansion using
14666 epg-expand-group.
14667 (epa-mail-group-alist, epa-mail-group-modtime)
14668 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14669 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14670 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14671 Remove.
14672
5e617bc2 146732011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14674
14675 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14676
9c4aeabf
AM
146772011-08-16 Alan Mackenzie <acm@muc.de>
14678
14679 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14680 Correct, to avoid the inside of macros.
14681
3a99bf64
RS
146822011-08-16 Richard Stallman <rms@gnu.org>
14683
04963aa8
RS
14684 * epa-mail.el: Handle GnuPG group definitions.
14685 (epa-mail-group-alist, epa-mail-group-modtime)
14686 (epa-mail-gnupg-conf-file): New variables.
14687 (epa-mail-parse-groups, epa-mail-sync-groups)
14688 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14689 (epa-mail-expand-recipients): New functions.
14690 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14691
177549d0
RS
14692 * mail/rmail.el (rmail-epa-decrypt): New command.
14693
fe38beef
RS
14694 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14695 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14696 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14697 (epa-decrypt-armor-in-region): Make error message clearer.
14698
934eacb9
SM
146992011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14700
14701 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14702 and "a2b" to "ab" for `prefix'.
14703
d024fb4e
CY
147042011-08-14 Chong Yidong <cyd@stupidchicken.com>
14705
14706 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14707 filter groups.
de148fee
CY
14708 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14709 Fourquet (Bug#8804).
d024fb4e 14710
62f1ca49
JB
147112011-08-12 Juanma Barranquero <lekktu@gmail.com>
14712
14713 * startup.el (argi): Declare as global variable (bug#9275).
14714
9ccaaa4b
CY
147152011-08-12 Chong Yidong <cyd@stupidchicken.com>
14716
14717 * subr.el (string-mark-left-to-right): Search the entire string
14718 for RTL script, not just the terminating character. Doc fix.
14719
a3dae87a
SM
147202011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14721
6cd18349
SM
14722 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14723 New function.
14724 (js--regexp-literal, js-syntax-propertize-function): Remove.
14725 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14726 (js-mode-map): Don't rebind electric keys.
14727 (js-insert-and-indent): Remove.
14728 (js-mode): Setup electric-layout and electric-indent instead.
14729
a3dae87a
SM
14730 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14731
9d5cb631
DU
147322011-08-12 Daiki Ueno <ueno@unixuser.org>
14733
14734 * epa.el (epa-progress-callback-function): Fix the logic of
14735 displaying progress.
14736 * epa-file.el (epa-file-insert-file-contents): Make progress
14737 display more user-friendly.
14738 (epa-file-write-region): Ditto.
14739
3e26a4a2
CY
147402011-08-10 Chong Yidong <cyd@stupidchicken.com>
14741
14742 * subr.el (string-mark-left-to-right): New function.
14743
14744 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14745 Use string-mark-left-to-right.
14746 (list-buffers-noselect): Caller changed.
14747
a3dae87a
SM
14748 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14749 Use string-mark-left-to-right.
3e26a4a2
CY
14750 (tabulated-list-print): Recenter after moving point.
14751
ac8cf6e6
JL
147522011-08-10 Juri Linkov <juri@jurta.org>
14753
14754 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14755 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14756 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14757
8d96c9a4
CY
147582011-08-09 Chong Yidong <cyd@stupidchicken.com>
14759
14760 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14761 (Bug#7554).
14762
7be1c708 147632011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14764
14765 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14766 character. (Bug#6594)
14767
37e11a63
CY
147682011-08-08 Chong Yidong <cyd@stupidchicken.com>
14769
839dde57
CY
14770 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14771 (image-dired--with-db-file): New macro.
14772 (image-dired-write-tags, image-dired-remove-tag)
14773 (image-dired-create-gallery-lists, image-dired-write-comments)
14774 (image-dired-get-comment, image-dired-mark-tagged-files)
14775 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14776 (image-dired-gallery-generate): Use insert-file-contents.
14777
37e11a63
CY
14778 * time.el (display-time-world-list, display-time-world-display):
14779 * time-stamp.el (time-stamp-string):
14780 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14781 set-time-zone-rule (Bug#7337).
14782
0b4946c4
DU
147832011-08-08 Daiki Ueno <ueno@unixuser.org>
14784
14785 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14786 (epg-error-to-string, epg-errors-to-string): New function.
14787 (epg-wait-for-completion): Reverse errors list.
14788 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14789 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14790 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14791 (epg-sign-keys, epg-generate-key-from-file)
14792 (epg-generate-key-from-string): Format errors by using
14793 epg-errors-to-string (bug#9255).
14794 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14795
75bfc667
JL
147962011-08-07 Juri Linkov <juri@jurta.org>
14797
14798 * faces.el (list-faces-display): Remove extra angle bracket
14799 from `help-mode-map'.
14800
14801 * info.el (Info-history-toc-nodes): Doc fix.
14802
14803 * longlines.el (longlines-mode): Doc fix.
14804
673e08bb
SM
148052011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14806
4640dd88
SM
14807 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14808 of statements and in a few more cases (bug#9183).
14809
673e08bb
SM
14810 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14811 New functions.
14812 (cl-transform-lambda): Use them (bug#9239).
14813
89b3f019
MR
148142011-08-05 Martin Rudalics <rudalics@gmx.at>
14815
14816 * window.el (display-buffer-same-window)
14817 (display-buffer-same-frame, display-buffer-other-window)
14818 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14819 (pop-to-buffer-other-window)
14820 (pop-to-buffer-same-frame-other-window)
14821 (pop-to-buffer-other-frame): Make them defuns.
14822 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14823
640c8776
SM
148242011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14825
14826 * subr.el (make-composed-keymap): Move from C. Change calling
14827 convention, and improve docstring to bring attention to a subtle point.
14828 * minibuffer.el (completing-read-default): Adjust accordingly.
14829
63648a95
MA
148302011-08-03 Michael Albinus <michael.albinus@gmx.de>
14831
14832 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14833 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14834
14835 * net/trampver.el: Update release number.
14836
b796c9b7
SM
148372011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14838
14839 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14840 "in" (bug#9190).
14841
2239d7d5
LMI
148422011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14843
e07dd7c3
LMI
14844 * mail/sendmail.el (sendmail-query-once): Restore the current
14845 buffer after querying (bug#9074).
14846
0e6a2bd7
LMI
14847 * dired.el (dired-flagged): Use different faces for marked and
14848 flagged files (bug#6117).
14849
ce887515
LMI
14850 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14851 (bug#4433).
14852
92f2affc
LMI
14853 * ido.el (ido-mode): Switch off the message if called
14854 non-interactively.
14855
57d5aff0
LMI
14856 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14857 before 587, since it appears that that's more likely to work for
14858 more people.
14859
98cd6c18 14860 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14861 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14862 exist.
14863
b96dec83
LMI
14864 * info.el: Remove the `Info-beginning-of-buffer' function
14865 (bug#8325).
14866
b796c9b7
SM
14867 * net/network-stream.el (network-stream-open-starttls):
14868 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14869
d90e2ea0
MR
148702011-08-01 Martin Rudalics <rudalics@gmx.at>
14871
14872 * window.el (display-buffer-in-window): Don't set dedicated status
14873 of window here (Bug#9215).
14874 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14875 (display-buffer-pop-up-side-window)
b796c9b7 14876 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14877
cca09170
SM
148782011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14879
14880 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14881 before binding generated-autoload-file.
14882
027b979c
DD
148832011-08-01 Deniz Dogan <deniz@dogan.se>
14884
14885 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14886
3c7ee4f3
MA
148872011-07-30 Michael Albinus <michael.albinus@gmx.de>
14888
14889 Sync with Tramp 2.2.2.
14890
14891 * net/trampver.el: Update release number.
14892
2cc8e51a
JL
148932011-07-30 Juri Linkov <juri@jurta.org>
14894
14895 * dired-aux.el (dired-touch-initial): Remove function.
14896 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14897 current time, and `default' to the last modification time of the
14898 current marked file (bug#6887).
14899
a514d856
JM
149002011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14901
14902 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14903 numeric argument to read-number (bug#9163).
a514d856 14904
8a7eddd7
MA
149052011-07-27 Michael Albinus <michael.albinus@gmx.de>
14906
14907 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14908 connection process, it could be nil.
14909
1ddd96f5
LL
149102011-07-27 Leo Liu <sdl.web@gmail.com>
14911
14912 Simplify url handling in rcirc-mode.
14913
14914 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14915 (rcirc-browse-url-at-mouse): Remove.
14916 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14917
b248a85d
AM
149182011-07-26 Alan Mackenzie <acm@muc.de>
14919
14920 Fontify bitfield declarations properly.
14921
14922 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14923 (c-symbol-chars): Now exported as a lang variable.
14924 (c-not-primitive-type-keywords): New lang variable.
14925
14926 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14927 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14928 parsed as a bitfield declaration.
b248a85d 14929
b796c9b7
SM
14930 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14931 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14932 (c-punctuation-in): New function.
14933 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14934 declarations properly.
14935
68575ab0
UJ
149362011-07-26 Ulf Jasper <ulf.jasper@web.de>
14937
14938 * calendar/icalendar.el (icalendar--all-events): Take care of
14939 multiple vcalendars in a single file.
b796c9b7 14940 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14941
0f0a88b9
DD
149422011-07-25 Deniz Dogan <deniz@dogan.se>
14943
14944 * image.el (insert-image): Clarifying docstring.
14945
0b3f36df
MA
149462011-07-24 Michael Albinus <michael.albinus@gmx.de>
14947
14948 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14949 `tramp-send-command-and-check' if there is no error.
14950 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14951
a9901f61
AM
149522011-07-22 Alan Mackenzie <acm@muc.de>
14953
14954 Prevent cc-langs.elc being loaded at run time.
14955
14956 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14957 cc-langs.
14958
4d61f28d 14959 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14960 "(require 'cc-langs)". Quote a form so it will evaluate at
14961 (cc-mode's) compilation time.
14962
11d074b2
MA
149632011-07-22 Michael Albinus <michael.albinus@gmx.de>
14964
14965 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14966 loading. (Bug#9114)
14967
938b94c8
MR
149682011-07-21 Martin Rudalics <rudalics@gmx.at>
14969
14970 * window.el (display-buffer-pop-up-window)
14971 (display-buffer-pop-up-side-window)
14972 (display-buffer-in-side-window): Call display-buffer-set-height
14973 and display-buffer-set-width after setting the new window's
b796c9b7 14974 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14975
bfa4f190
SS
149762011-07-20 Sam Steingold <sds@gnu.org>
14977
14978 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14979 (etags-tags-included-tables): Call `convert-standard-filename' on
14980 the file names contained in TAGS so that windows Emacs can handle
14981 TAGS files created by cygwin ctags.
14982
8ca42262
LMI
149832011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14984
14985 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14986 which apparently didn't work.
14987
5db2afd2 149882011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14989
5db2afd2
RW
14990 * proced.el (proced-send-signal): For *Marked Processes* buffer
14991 put point at beginning of buffer.
14992
92e15d10
SB
149932011-07-19 Stephen Berman <stephen.berman@gmx.net>
14994
14995 * proced.el (proced-format): Make header lines align with the text
14996 (bug#1779).
14997
1bfd59e5
LMI
149982011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14999
15000 * view.el (view-buffer): Allow running in `special' modes if we're
15001 visiting a file (bug#8615).
15002
f5aae37c
MR
150032011-07-19 Martin Rudalics <rudalics@gmx.at>
15004
15005 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15006 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15007 New functions.
f5aae37c
MR
15008 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15009 more accurately.
15010
bf2c1571
AM
150112011-07-18 Alan Mackenzie <acm@muc.de>
15012
15013 Fontify declarators properly when, e.g., a jit-lock chunk begins
15014 inside a declaration.
15015
15016 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15017
b796c9b7
SM
15018 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15019 New function.
bf2c1571
AM
15020 (c-complex-decl-matchers): Insert reference to
15021 c-font-lock-enclosing-decls.
15022
15023 * progmodes/cc-engine.el (c-backward-single-comment):
15024 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15025 to nil around calls to (forward-comment -1).
15026
4e190b80
LMI
150272011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15028
12dc863d
LMI
15029 * image.el (put-image): Doc typo fix.
15030
a762e966
LMI
15031 * progmodes/etags.el (tags-search): Doc typo fix.
15032
4e190b80
LMI
15033 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15034 password if we get errors 550 to 554.
15035
f019fb21
LMI
150362011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15037
b796c9b7 15038 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15039
81746738
LMI
15040 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15041 indentation character (bug#6380).
15042
3ee3a1b5
LMI
15043 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15044
c82f64de
LMI
15045 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15046 to clarify what the problem is (bug#4291).
15047
f019fb21
LMI
15048 * simple.el (current-kill): Clarify what
15049 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15050 (auto-fill-mode): Document `auto-fill-function' in relation to
15051 `auto-fill-mode' (bug#2470).
f019fb21 15052
0794775d
LM
150532011-07-16 Lawrence Mitchell <wence@gmx.li>
15054
15055 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15056 method if slot is read-only (bug#9035).
15057
be39b8cc
MR
150582011-07-16 Martin Rudalics <rudalics@gmx.at>
15059
b796c9b7 15060 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15061 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15062 selected before, see discussion of (Bug#8615), (Bug#6954).
15063 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15064
6ccf7859
GM
150652011-07-15 Glenn Morris <rgm@gnu.org>
15066
15067 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15068 Respect help-form.
6ccf7859 15069
87e86684
LM
150702011-07-09 Lawrence Mitchell <wence@gmx.li>
15071
15072 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15073 (gnutls-negotiate): Use it.
15074
d6066239
LMI
150752011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15076
b796c9b7
SM
15077 * net/gnutls.el (gnutls-negotiate):
15078 Upcase `gnutls-algorithm-priority'.
d6066239 15079
bd23ebc0
GM
150802011-07-15 Glenn Morris <rgm@gnu.org>
15081
c65bca65
GM
15082 * jka-compr.el (jka-compr-verbose): Move from here...
15083 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15084 Add missing :version tag.
15085 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15086
478615cc
LMI
150872011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15088
7b41decb
LMI
15089 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15090 (gnutls-negotiate): Use it.
15091
dbc44fcd
LMI
15092 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15093
06789f97
LMI
15094 * info.el (Info-beginning-of-buffer): New command.
15095 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15096 announcing `b' as the key (bug#8325).
ab896c37 15097 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15098
c39da690
LMI
15099 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15100
3aa5f34b
LMI
15101 * international/mule-cmds.el
15102 (describe-specified-language-support): Make the error message
15103 clearer (bug#8905).
15104
4bf0979f
LMI
15105 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15106
478615cc
LMI
15107 * isearch.el (isearch-barrier): Add a doc string, since it's
15108 mentioned in a function doc string (bug#8678).
15109
75c68aa1
MR
151102011-07-15 Martin Rudalics <rudalics@gmx.at>
15111
15112 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15113 buffer argument (Bug#9083) and self-identifying label argument.
15114
a7c33da2
GM
151152011-07-15 Glenn Morris <rgm@gnu.org>
15116
15117 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15118
2f5c6024
LMI
151192011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15120
15121 * man.el (Man-fontify-manpage): Fix message when formatting the
15122 man page (bug#7929).
15123
0bb23927 151242011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15125
15126 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15127 argument LRM; if non-nil, append an invisible LRM character to the
15128 buffer name.
15129 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15130 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15131 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15132 paragraph direction.
cce4b0a7 15133
621ef9ab
LMI
151342011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15135
d1583c48
LMI
15136 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15137 the man page name (bug#7929).
15138
6a57fb5f
LMI
15139 * image.el (put-image): Mention the `put-image' overlay property
15140 (bug#7834).
15141
d7956b14
LMI
15142 * scroll-bar.el (set-scroll-bar-mode): Mention that
15143 `scroll-bar-mode' lists the values (bug#7772).
15144
5b2d4a66
LMI
15145 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15146 command (bug#7729).
15147
7509a874
LMI
15148 * rect.el (apply-on-rectangle): Return the point after the last
15149 operation.
15150 (string-rectangle): Go to the point after the last operation
15151 (bug#7522).
15152
4fe74b19
LMI
15153 * printing.el (pr-toggle-region): Clarify the documentation
15154 slightly (bug#7493).
15155
b796c9b7
SM
15156 * time.el (display-time-update):
15157 Allow `display-time-mail-function' to return nil (bug#7158).
15158 Fix suggested by Detlev Zundel.
ab283561 15159
fc233c9d
LMI
15160 * vc/diff.el (diff): Clarify the order the file names are read
15161 (bug#7111).
15162
43f5740b
LMI
15163 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15164 the doc string (bug#7015).
15165
f2182a76
LMI
15166 * font-lock.el (font-lock-maximum-decoration): Mention what
15167 numeric levels mean (bug#6935).
15168
621ef9ab
LMI
15169 * startup.el (initial-buffer-choice): Don't mention the `none'
15170 selection, which is against policy.
15171
adc47434
MR
151722011-07-14 Martin Rudalics <rudalics@gmx.at>
15173
b796c9b7
SM
15174 * window.el (display-buffer-normalize-special):
15175 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15176
7e5bfb8f
EZ
151772011-07-14 Eli Zaretskii <eliz@gnu.org>
15178
15179 * subr.el (version<, version<=, version=): Mention "-CVS" and
15180 "-12345" alpha version numbers.
15181
27fa387a
CY
151822011-07-14 Chong Yidong <cyd@stupidchicken.com>
15183
15184 * bindings.el: Add advertised binding for set-mark-command
15185 (Bug#5772).
15186
8bdfa064
CY
151872011-07-14 Chong Yidong <cyd@stupidchicken.com>
15188
15189 * bindings.el (mode-line-other-buffer):
15190 * bookmark.el (bookmark-bmenu-2-window):
15191 * bs.el (bs-cycle-next, bs-cycle-previous):
15192 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15193 switch-to-buffer.
15194
15195 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15196 Delete.
8bdfa064 15197
5eba16a3
JB
151982011-07-14 Juanma Barranquero <lekktu@gmail.com>
15199
15200 * follow.el (follow-debug-message, follow-redisplay):
15201 * jka-cmpr-hook.el (with-auto-compression-mode):
15202 Fix typos in docstrings.
15203
15853710
LMI
152042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15205
a28e4607
LMI
15206 * subr.el (with-silent-modifications): Clarify somewhat what the
15207 macro inhibits (bug#6525).
15208
15853710
LMI
15209 * simple.el (eval-expression): Note what it does if called
15210 interactively (bug#6495).
15211
bee0fcef
CY
152122011-07-13 Chong Yidong <cyd@stupidchicken.com>
15213
b796c9b7
SM
15214 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15215 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15216
15217 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15218 Remove switch-to-buffer.
15219
58274504
LMI
152202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15221
bd2fcc8d
LMI
15222 * files.el (make-directory): Clarify that an error will be raised
15223 if there's an error (bug#6397).
15224
0f04b32c
LMI
15225 * startup.el (initial-buffer-choice): Add `none' as a choice
15226 (bug#6234).
15227
465c5fc8
LMI
15228 * subr.el (add-hook): Clarify section about buffer-local hooks
15229 (bug#6218).
15230
58274504
LMI
15231 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15232
bead9a43
JB
152332011-07-13 Juanma Barranquero <lekktu@gmail.com>
15234
15235 * tabify.el (untabify): Preserve the current column so that point
15236 doesn't move (bug#6032).
15237
3af98a7b
LMI
152382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15239
b796c9b7
SM
15240 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15241 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15242
6240145a
GM
152432011-07-13 Glenn Morris <rgm@gnu.org>
15244
15245 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15246 (dired-insert-directory): Give a message the first time
15247 if ls is found not to support --dired.
15248
1d8c2ccc
LMI
152492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15250
15251 * simple.el (toggle-truncate-lines): Clarify what is toggled
15252 (bug#5580). Text by Drew Adams.
15253
5fc4038e
CY
152542011-07-13 Chong Yidong <cyd@stupidchicken.com>
15255
15256 * simple.el (blink-matching-open): Make the error message from the
15257 last change less verbose.
15258
bf6012e5
DN
152592011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15260
15261 * font-lock.el (font-lock-comment-face): Use the high contrast
15262 "yellow" color for font-lock-comment-face on low color terminals
15263 using a dark background color (bug#4221).
15264
343c3b5a
LMI
152652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15266
7e9505c5
LMI
15267 * dired.el (dired-insert-set-properties): Make the doc string
15268 reflect what it does now (bug#5325).
15269
c26fdcf5
LMI
15270 * simple.el (blink-matching-open): Say that we were unable to find
15271 the match within the limit, if we're limited (bug#5122).
15272
bb388cc5
LMI
15273 * international/mule-cmds.el (prefer-coding-system): Add an
15274 example (bug#4869).
15275
343c3b5a
LMI
15276 * progmodes/etags.el (tags-search): Document `file-list-form'
15277 (bug#4731).
15278
2a517d45
LM
152792011-07-13 Lawrence Mitchell <wence@gmx.li>
15280
15281 * net/browse-url.el (browse-url-default-browser)
15282 (browse-url-browser-function): Make the default browser choice a
15283 bit more logical (bug#4300). Also clean up the doc string.
15284
b6c78ef2
JB
152852011-07-13 Juanma Barranquero <lekktu@gmail.com>
15286
15287 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15288 binary endings (bug#4440).
15289
1c4dd947
LMI
152902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15291
a2014063
LMI
15292 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15293 which can be pretty annoying (bug#8971).
15294
9c9c2d88
LMI
15295 * jka-compr.el (jka-compr-verbose): New variable, and use
15296 throughout (bug#8971).
15297
1c4dd947
LMI
15298 * info.el (Info-find-file): Fall back on the installation
15299 directory if we can't find the info node anywhere else.
15300
a1c9f41b
SO
153012011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15302
15303 * vc/vc.el (vc-revert-file):
15304 Don't set file time-stamp in the past. (Bug#5181)
15305
536f3d36
LMI
153062011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15307
7152b011
LMI
15308 * files.el (after-find-file): Give a better error message when
15309 trying to find a symlink that points to a file that doesn't exist
15310 (bug#4398).
15311
536f3d36
LMI
15312 * progmodes/cc-vars.el: Remove (probably) misleading comment
15313 (bug#4396).
15314
460c0fba
JB
153152011-07-12 Johan Bockgård <bojohan@gnu.org>
15316
15317 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15318
7a6bda45
CY
153192011-07-12 Chong Yidong <cyd@stupidchicken.com>
15320
15321 * mouse-sel.el: Hack restoring functionality, while keeping
15322 compatibility with 2010-07-03 changes to mouse selection.
15323 (mouse-sel-primary-overlay): New var.
15324 (mouse-sel-selection-alist): Use it.
15325 (mouse-sel-mode): Doc fix; remove points that are default features
15326 of mouse.el.
15327
c79598ef
JB
153282011-07-12 Johan Bockgård <bojohan@gnu.org>
15329
15330 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15331 Fix previous fix (bug#2490).
15332
ff8be6ef
RW
153332011-07-12 Roland Winkler <winkler@gnu.org>
15334
b796c9b7
SM
15335 * textmodes/bibtex.el (bibtex-initialize):
15336 Use pop-to-buffer-same-window.
ff8be6ef
RW
15337 (bibtex-search-entries): Fix interactive call.
15338
296ba3ee
LMI
153392011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15340
f5242a02 15341 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15342 Fontise bytecomp Error lines more correctly (bug#2490).
15343 Fix suggested by Johan Bockgård.
f5242a02 15344
296ba3ee
LMI
15345 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15346
15347 * dired-x.el (dired-guess-default): Use `delete-dups'.
15348
f69fd0d2
CY
153492011-07-12 Chong Yidong <cyd@stupidchicken.com>
15350
15351 * dired.el (dired-mark-prompt):
15352 * dired-aux.el (dired-read-shell-command): Doc fix.
15353
eab5dc07
LMI
153542011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15355
b796c9b7
SM
15356 * mail/sendmail.el (sendmail-query-once):
15357 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15358 emacs -Q.
15359
15360 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15361
eab5dc07
LMI
15362 * cus-edit.el (custom-file): Take an optional no-error variable.
15363 (customize-save-variable): Set the variable, and give a warning if
15364 running under "emacs -q".
15365
a1e65d42
JB
153662011-07-11 Juanma Barranquero <lekktu@gmail.com>
15367
15368 * loadhist.el (unload-feature-special-hooks):
15369 Add `auto-coding-functions', `fill-nobreak-predicate' and
15370 `find-directory-functions' (bug#5327).
15371
1d52da10
LMI
153722011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15373
be958f1d
LMI
15374 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15375
5bedb26c
LMI
15376 * cus-edit.el (custom-guess-name-alist): -alist variables should
15377 use the `alist' type (bug#3120). Suggested by Drew Adams.
15378
1d52da10
LMI
15379 * printing.el: Add documentation to all the `pr-toggle-' commands.
15380
cd394be1 153812011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15382
15383 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15384 backends where it makes sense (bug#2623).
15385
dcc88d8a
LMI
153862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15387
c3de9feb
LMI
15388 * dired-x.el (dired-guess-default): Remove duplicate shell command
15389 entries (bug#2028).
8a93078b 15390 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15391 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15392
dcc88d8a
LMI
15393 * subr.el (remove-duplicates): New conveniency function.
15394
505e3645
LMI
153952011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15396
15397 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15398 (bug#1526).
15399
154002011-07-10 Martin Rudalics <rudalics@gmx.at>
15401
15402 * window.el (display-buffer-normalize-default): Don't invert
15403 meaning of even-window-heights. Reported by Eli Zaretskii
15404 <eliz@gnu.org>.
15405
455e4fa1
BR
154062011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15407
15408 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15409
8e0bc3e9
CY
154102011-07-10 Chong Yidong <cyd@stupidchicken.com>
15411
15412 * window.el (display-buffer): Fix arguments to
15413 display-buffer-reuse-window in last change.
15414
fa7c3228
CY
15415 * faces.el (link): Use a less saturated blue on light backgrounds.
15416
15417 * startup.el (fancy-startup-text, fancy-about-text)
15418 (fancy-startup-tail): Use font-lock faces, for background safety.
15419
c0a7f300
BN
154202011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15421
b796c9b7
SM
15422 * emulation/viper-cmd.el (viper-change-state-to-vi):
15423 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15424
4dc2a129
MR
154252011-07-09 Martin Rudalics <rudalics@gmx.at>
15426
15427 * window.el (display-buffer-default-specifiers): Remove.
15428 (display-buffer-macro-specifiers): Remove default specifiers.
15429 (display-buffer-alist): Default to nil.
b796c9b7 15430 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15431 (display-buffer-pop-up-window): Allow splitting internal
15432 windows. Check whether a live window was created.
15433 (display-buffer-other-window-means-other-frame)
15434 (display-buffer-normalize-arguments): Rename to
15435 display-buffer-normalize-argument and rewrite. Set the
15436 other-window specifier.
15437 (display-buffer-normalize-special): New function.
15438 (display-buffer-normalize-options): Rename to
15439 display-buffer-normalize-default and rewrite.
15440 (display-buffer-normalize-options-inhibit): Remove.
15441 (display-buffer-normalize-specifiers): Rewrite.
15442 (display-buffer): Process other-window specifier and call
15443 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15444 more faithfully.
b796c9b7 15445 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15446 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15447 (display-buffer-in-window, display-buffer-alist-set):
15448 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15449 <tassilo@member.fsf.org>.
15450
2d43b8c9
LL
154512011-07-09 Leo Liu <sdl.web@gmail.com>
15452
15453 * register.el (insert-register): Restore accidental change on
15454 2011-06-26. (Bug#9028)
15455
7f9b7c53
GM
154562011-07-09 Glenn Morris <rgm@gnu.org>
15457
15458 * subr.el (remq): Handle the empty list. (Bug#9024)
15459
f042cfd8
AS
154602011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15461
15462 * mail/sendmail.el (send-mail-function): No longer delay custom
15463 initialization.
15464 * custom.el (custom-initialize-delay): Doc fix.
15465
856b2f11
SM
154662011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15467
15468 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15469
afae1d68
MA
154702011-07-08 Michael Albinus <michael.albinus@gmx.de>
15471
15472 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15473 human-friendly prompt.
15474
0757af94
SM
154752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15478 provided by a particular plugin.
15479
d760b731
LMI
154802011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15481
15482 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15483 save customizations (with "emacs -Q"), just set the variable
15484 instead of erroring out.
15485
15486 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15487
cd79ce90
JL
154882011-07-08 Juri Linkov <juri@jurta.org>
15489
15490 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15491 (archive-zip-update-case): Use 7z if found by `executable-find'.
15492 The order of searching the available programs is the same as in
15493 `archive-zip-extract' (bug#8968).
15494
14cc04aa
CY
154952011-07-07 Chong Yidong <cyd@stupidchicken.com>
15496
15497 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15498 (menu-bar-options-menu): Tweak descriptions.
15499
0a1848ec
LMI
155002011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15501
15502 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15503 menu items into verb phrases (bug#1421). Also refill to fit under
15504 80 columns.
15505
f5bd0689
CY
155062011-07-07 Chong Yidong <cyd@stupidchicken.com>
15507
538e85c6
CY
15508 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15509 (Info-read-node-name): Doc fix (Bug#1084).
15510
f5bd0689
CY
15511 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15512 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15513 (end-of-sexp, beginning-of-sexp)
15514 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15515 (forward-symbol, forward-same-syntax, word-at-point)
15516 (sentence-at-point): Doc fix (Bug#1144).
15517
56ec5115
LMI
155182011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15519
f3f8e37f
LMI
15520 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15521 should cover it (bug#1281).
15522
0757af94 15523 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15524
e9fce1ac 15525 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15526 negotiation fails, then possibly try again with a non-encrypted
15527 connection (bug#9017).
15528
56ec5115
LMI
15529 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15530 be used.
15531
c2f9aec8
RS
155322011-07-07 Richard Stallman <rms@gnu.org>
15533
15534 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15535 property, and handle its changed format.
15536 Look for the correct line number.
15537 Use file's line contents (but not past first =) to find
15538 correct line in message.
15539
ef7b981d 155402011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15541
15542 * international/characters.el (build-unicode-category-table):
15543 Delete it.
0757af94 15544 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15545
0757af94 15546 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15547 to src/chartab.c.
15548 (get-char-code-property): Call unicode-property-table-internal to
15549 load a file. Call get-unicode-property-internal where necessary.
15550 (put-char-code-property): Call unicode-property-table-internal to
15551 load a file. Call put-unicode-property-internal where necessary.
15552 put-unicode-property-internal where necessary.
0757af94
SM
15553 (char-code-property-description):
15554 Call unicode-property-table-internal to load a file.
c805dec0
KH
15555
15556 * international/charprop.el:
15557 * international/uni-bidi.el:
15558 * international/uni-category.el:
15559 * international/uni-combining.el:
15560 * international/uni-comment.el:
15561 * international/uni-decimal.el:
15562 * international/uni-decomposition.el:
15563 * international/uni-digit.el:
15564 * international/uni-lowercase.el:
15565 * international/uni-mirrored.el:
15566 * international/uni-name.el:
15567 * international/uni-numeric.el:
15568 * international/uni-old-name.el:
15569 * international/uni-titlecase.el:
15570 * international/uni-uppercase.el: Regenerate.
15571
15572 * loadup.el: Load international/charprop.el before
15573 international/characters.
15574
e14b388a
CY
155752011-07-07 Chong Yidong <cyd@stupidchicken.com>
15576
15577 * window.el (next-buffer, previous-buffer): Signal an error if
15578 called from a minibuffer window.
15579
15580 * bindings.el: Revert 2011-07-04 change.
15581
354cf0ba
RS
155822011-07-06 Richard Stallman <rms@gnu.org>
15583
15584 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15585 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15586 Treat markers like ints.
15587 (rmail-mime-entity): Doc fix.
15588
a48868a7
LMI
155892011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15590
4906cd3d
LMI
15591 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15592 defcustom again for backwards compatibility.
15593
e0457abe
LMI
15594 * simple.el (shell-command-on-region): Fill.
15595
d67f7e1f
LMI
15596 * dired-aux.el (dired-kill-line): Add a doc string.
15597
fe204702
LMI
15598 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15599 to "\\sw\\|\\s_" (bug#358).
15600
a48868a7
LMI
15601 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15602 (dired-unmark-backward): Ditto.
15603 (dired-flag-backup-files): Ditto.
15604
15605 * dired-x.el (dired-mark-sexp): Ditto.
15606
aa8a705c
RS
156072011-07-06 Richard Stallman <rms@gnu.org>
15608
15609 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15610 (rmail-mime-entity): New arg TRUNCATED.
15611 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15612 New functions.
15613 (rmail-mime-save): Warn if entity is truncated.
15614 (rmail-mime-toggle-hidden): Likewise, for showing.
15615 (rmail-mime-process-multipart): Record when an entity is truncated.
15616
a9a936b9
RS
15617 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15618 if ENTITY is a string.
15619
1f2b92cb
LMI
156202011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15621
f4f73198 15622 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15623 of faces when `M-C-x'-ing their definitions (bug#8378).
15624 Also clean up the code slightly.
f4f73198 15625
12b16734 15626 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15627 because that makes the colors go away.
12b16734 15628
f0691d22
LMI
15629 * mail/sendmail.el (send-mail-function): Change the default to
15630 `sendmail-query-once'.
9e87df06 15631 (sendmail-query-once): Add an autoload cookie.
f0691d22 15632
1f2b92cb
LMI
15633 * net/network-stream.el (network-stream-open-starttls): Try using
15634 a plain connection even if the server offered STARTTLS, and we
15635 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15636 capability. This should make smtpmail.el work in slightly more
15637 configurations.
15638
1cdd2a1b
MA
156392011-07-06 Michael Albinus <michael.albinus@gmx.de>
15640
15641 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15642 New defun.
15643 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15644
fbcc67e2
MM
156452011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15646
15647 * progmodes/sql.el: Version 3.0
0757af94 15648 (sql-product-alist): Add product :completion-object,
fbcc67e2 15649 :completion-column, and :statement attributes.
0757af94 15650 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15651 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15652 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15653 ansi keywords.
15654 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15655 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15656 (sql-oracle-show-reserved-words): New function for development.
15657 (sql-product-font-lock): Simplify for source code buffers.
15658 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15659 New functions.
15660 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15661 (sql-mode-map): Add statement movement functions.
15662 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15663 New variable.
fbcc67e2
MM
15664 (sql-statement-regexp, sql-beginning-of-statement)
15665 (sql-end-of-statement, sql-signum): New functions.
0757af94 15666 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15667 (sql-show-sqli-buffer): Bug fix.
15668 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15669 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15670 with sql-interactive-mode.
15671 (sql-save-connection): Save buffer local settings.
0757af94 15672 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15673 (sql-product-interactive): Bug fix.
15674 (sql-preoutput-hold): New variable.
15675 (sql-interactive-remove-continuation-prompt): Bug fixes.
15676 (sql-debug-redirect): New variable.
15677 (sql-str-literal): New function.
15678 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15679 Redesign.
fbcc67e2
MM
15680 (sql-oracle-save-settings, sql-oracle-restore-settings)
15681 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15682 (sql-completion-object, sql-completion-column)
15683 (sql-completion-sqlbuf): New variables.
15684 (sql-build-completions-1, sql-build-completions)
15685 (sql-try-completion): New functions.
15686 (sql-read-table-name): Use them.
15687 (sql-contains-names): New buffer local variable.
15688 (sql-list-all, sql-list-table): Use it.
15689 (sql-oracle-completion-types): New variable.
15690 (sql-oracle-completion-object, sql-sqlite-completion-object)
15691 (sql-postgres-completion-object): New functions.
15692
d4eaeab1
GM
156932011-07-06 Glenn Morris <rgm@gnu.org>
15694
15695 * window.el (pop-to-buffer): Doc fix.
15696
322b7dab 156972011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15698
15699 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15700
322b7dab 157012011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15702
322b7dab 15703 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15704
322b7dab 15705 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15706
605dd5bf
CY
157072011-07-05 Chong Yidong <cyd@stupidchicken.com>
15708
15709 * button.el (button): Inherit from link face. Suggested by Dan
15710 Nicolaescu.
15711
7dbfa719
SM
157122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15713
3db614b0
SM
15714 * progmodes/gdb-mi.el: Fit in 80 columns.
15715 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15716 switch-to-buffer.
15717
7dbfa719
SM
15718 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15719 if imenu is simply not configured (bug#8941).
15720
919d884a
KM
157212011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15722
15723 * allout.el (allout-post-undo-hook): New allout outline-change
15724 event hook to signal undo activity.
15725 (allout-post-command-business): Run allout-post-undo-hook if an
15726 undo just occurred.
7dbfa719
SM
15727 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15728 * allout-widgets.el (allout-widgets-after-undo-function):
15729 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15730 in the vicinity of an undo.
15731 (allout-widgets-mode): Include allout-widgets-after-undo-function
15732 on the new allout-post-undo-hook.
15733
450a0f09
SM
157342011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15737 Let define-derived-mode define it.
15738 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15739 cycles of abbrev-table inheritance (bug#8998).
15740
2de69e00
RW
157412011-07-05 Roland Winkler <winkler@gnu.org>
15742
15743 * textmodes/bibtex.el: Add support for biblatex.
15744 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15745 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15746 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15747 (bibtex-entry-alist, bibtex-field-alist): New variables.
15748 (bibtex-entry-field-alist): Obsolete alias for
15749 bibtex-BibTeX-entry-alist.
15750 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15751 (bibtex-set-dialect): New command.
15752 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15753 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15754 Bind via bibtex-set-dialect.
2de69e00
RW
15755 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15756 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15757 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15758 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15759 Define via bibtex-set-dialect.
450a0f09
SM
15760 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15761 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15762 (bibtex-vec-push, bibtex-vec-incr): New functions.
15763 (bibtex-format-entry, bibtex-field-list)
15764 (bibtex-print-help-message, bibtex-validate)
15765 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15766
2dcdbdd9
SM
157672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15768
15769 * progmodes/compile.el (compilation-goto-locus):
15770 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15771 * bs.el (bs-cycle-next, bs-cycle-previous):
15772 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15773 * bindings.el (mode-line-other-buffer):
15774 * autoinsert.el (auto-insert):
15775 * arc-mode.el (archive-extract):
15776 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15777
b27640fe
JB
157782011-07-05 Juanma Barranquero <lekktu@gmail.com>
15779
15780 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15781 Fix check of `emacs-lock-unlockable-modes'.
15782 Coerce true values of `emacs-lock--try-unlocking' to t.
15783
53bbe3ad
JB
157842011-07-05 Juanma Barranquero <lekktu@gmail.com>
15785
15786 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15787 * emacs-lock.el: New file.
15788
1d3cdbc7
JD
157892011-07-05 Julien Danjou <julien@danjou.info>
15790
15791 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15792 than `boundp' to check if face is set.
15793
9173deec
JB
157942011-07-05 Juanma Barranquero <lekktu@gmail.com>
15795
15796 * register.el (registerv-make):
15797 * window.el (window-min-height): Fix typos in docstrings.
15798
869795d6
JD
157992011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15800
9173deec 15801 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15802 Update doc string.
15803
b768cdcd
JB
158042011-07-04 Juanma Barranquero <lekktu@gmail.com>
15805
15806 * server.el (server-execute): Catch quit and call
15807 `server-return-error' to pass the error back to emacsclient and
15808 close the connection (bug#8942).
15809
13aa217b
KM
158102011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15811
15812 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15813 insecure exception for current topic. Also note that auto-saves
15814 are handled differently.
15815
5d3385a0 15816 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15817 State variables for tracking auto-save inhibition situation.
15818
15819 (allout-write-contents-hook-handler): Rename from
15820 'allout-write-file-hook-handler', and describe how it depends on
15821 write-contents-functions sensitivity to non-nil value to prevent
15822 file write.
15823
15824 (allout-auto-save-hook-handler): Remove. auto-save does not check
15825 this in individual buffers, only in the starting buffer, so this
15826 is not the right way for us to inhibit auto-save in a buffer
15827 according to its condition.
15828
15829 (allout-mode): Use new allout-write-contents-hook-handler, and
15830 only with write-contents-functions. Remove auto-save provisions -
15831 they're implemented elsewhere.
15832
15833 (allout-before-change-handler): If undo is in progress, note that
15834 for attention of allout-post-command-business.
15835
15836 (allout-post-command-business): If the command we're following was
15837 an undo, check for change in the status of encrypted items and
15838 adjust auto-save inhibitions accordingly.
15839
15840 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15841 according to whether there are or aren't any plain-text topics
15842 pending encryption.
15843
2dcdbdd9 15844 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15845 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15846 if there are plain-text topics pending encryption.
13aa217b
KM
15847
15848 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15849 buffer-saved-size and some allout state to not inhibit auto-saves
15850 if there are no longer any plain-text topics pending encryption.
15851
0757af94
SM
15852 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15853 No longer provide for exemption of the current topic.
13aa217b 15854
ac89b32c
JL
158552011-07-04 Juri Linkov <juri@jurta.org>
15856
15857 Add 7z operations to delete and save changed members (bug#8968).
15858 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15859 New defcustoms.
15860 (archive-7z-write-file-member): New function.
15861 (archive-7z-summarize): Fix the number of dashes in the
15862 listing output.
15863
8fa39615
SM
158642011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15865
15866 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15867 (bug#8958).
15868
2f11b3f1
CY
158692011-07-04 Chong Yidong <cyd@stupidchicken.com>
15870
d66fef2b
CY
15871 * bindings.el: Ignore next-buffer and previous-buffer in
15872 minibuffer-local-map.
15873
2f11b3f1
CY
15874 * font-lock.el (font-lock-builtin-face): Change light background
15875 color to dark slate blue (Bug#6693).
15876
f932a347
WD
158772011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15878
15879 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15880
c8af70e1
SM
158812011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15882
15883 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15884 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15885 Add switch-to-buffer.
15886
f158badc
LMI
158872011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15888
15889 * isearch.el (isearch-search-fun-function): Clarify further the
15890 meaning of the function returned.
15891
6d95bd46
MA
158922011-07-04 Michael Albinus <michael.albinus@gmx.de>
15893
15894 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15895
15896 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15897 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15898 Use it.
15899 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15900 `tramp-default-remote-path' does not exist.
15901 (tramp-send-command-and-read): New optional argument NOERROR.
15902 (tramp-open-connection-setup-interactive-shell)
15903 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15904 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15905 (tramp-process-sentinel): Flush also process' connection property.
15906 (tramp-sh-handle-start-file-process): Do not set process
15907 sentinel. It is done now ...
15908 (tramp-maybe-open-connection): ... here. (Bug#8929)
15909
909e6b67
MK
159102011-07-04 MON KEY <monkey@sandpframing.com>
15911
15912 * play/animate.el (animate-string): Doc fixes and allow changing
15913 the buffer name (bug#5417).
15914
159152011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15916
c8af70e1 15917 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15918
f34755dc
PE
159192011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15920
396cec72
PE
15921 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15922 This is simpler and helps future-proof the code.
15923 (timer-until): Use time-subtract and float-time.
08235028 15924 (timer--time-less-p): Use time-less-p.
f34755dc 15925
56e6cc31
JB
159262011-07-04 Juanma Barranquero <lekktu@gmail.com>
15927
3abb79e5
JB
15928 * type-break.el (timep): Use the value of `float-time' to avoid a
15929 byte-compiler warning.
15930
56e6cc31
JB
15931 * server.el (server-eval-and-print): Return any result, even nil.
15932
7b9430b4
PE
159332011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15934
15935 * type-break.el: Accept time formats that the builtins accept.
15936 (timep, type-break-time-difference): Accept any format that
15937 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15938 This is simpler and helps future-proof the code.
15939 (type-break-time-difference): Round rather than ignoring
15940 subseconds components.
15941
3034e9e7
LMI
159422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15943
15944 * info.el (Info-apropos-matches): Make non-interactive, since it
15945 doesn't seem to do anything useful as a command (bug#8829).
15946
1485f4c0
CY
159472011-07-03 Chong Yidong <cyd@stupidchicken.com>
15948
15949 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15950 Move from faces.el.
1485f4c0
CY
15951 (frame-default-terminal-background): New function.
15952
15953 * custom.el (custom-push-theme): Don't record faces in `changed'
15954 theme; this doesn't work correctly for per-frame face settings.
15955 (disable-theme): Use face-set-after-frame-default to reset faces.
15956 (custom--frame-color-default): New function.
15957
9fa3dd45
LMI
159582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15959
c8af70e1 15960 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15961 (bug#8769).
15962
6cbbc20c
KR
159632011-03-29 Kevin Ryde <user42@zip.com.au>
15964
15965 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15966 `perl-Test2' extend to match possible "fail #N" rep count
15967 (bug#8377).
15968
c7f98048
LMI
159692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15970
65676592
LMI
15971 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15972 `smtpmail-via-smtp' now returns the error instead of nil.
15973
c7f98048
LMI
15974 * isearch.el (isearch-search-fun-function): Clarify the doc string
15975 (bug#8101).
15976
56e6cc31 159772011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15978
15979 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15980 unnecessary spaces (bug#8987).
15981
2b216704
LMI
159822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15983
15984 * net/network-stream.el (open-network-stream): Use the
15985 :end-of-capability command thoughout.
15986
159872011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15988
15989 * net/network-stream.el (open-network-stream): Add the
15990 :end-of-capability command parameter, used by pop3.el.
15991
36adf6ce
LMI
159922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15993
1ca0da0e
LMI
15994 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15995
fc00f69c
LMI
15996 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15997 for list)" (bug#6475).
15998
28fd8759 15999 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16000 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16001 an error (bug#6297).
16002
0dd8b6da
LMI
16003 * man.el (Man-reference-regexp): Allow matching possible
16004 word-wrapped references (bug#6289).
16005
ce1438d6
LMI
16006 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16007 for consistency with the other vc buffers (bug#6197).
16008 (vc-checkin): Ditto.
16009
16010 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16011
36adf6ce
LMI
16012 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16013
e83cc1f7
LMI
160142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16015
8a20ca4c
LMI
16016 * custom.el (defcustom): Clarify that :set is only used in the
16017 Customize user interface (bug#6089).
16018
83319045
LMI
16019 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16020 associated with a file, refuse to run instead of erroring out
16021 (bug#6084).
16022
a8392169
LMI
16023 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16024 the doc string, since it appears that using `fill-column' always
16025 controls the width (bug#7845).
16026
e83cc1f7
LMI
16027 * simple.el (shell-command-on-region): Say where the error output
16028 went if `shell-command-default-error-buffer' is set (bug#6857).
16029
e47ca23b
KM
160302011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16031
16032 * allout.el (allout-yank-processing): Adjust cursor position for
16033 backwards-deleted space.
16034
16035 (allout-rebullet-heading): Register changes with
16036 allout-exposure-changed-hook, so the modified topic is properly
16037 decorated.
16038
5cf56143
LMI
160392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16040
08549772
LMI
16041 * minibuffer.el (completion-in-region): Document PREDICATE
16042 (bug#7136).
16043
48e96771
LMI
16044 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16045 of keyword/argument pairs (bug#6904).
16046
c8af70e1
SM
16047 * replace.el (multi-occur):
16048 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16049
e17d05e2
LMI
160502011-07-02 Drew Adams <drew.adams@oracle.com>
16051
16052 * dired.el (dired-mark-if): Make the message about whether it's
16053 marking or unmarking clearer (bug#8523).
16054
063b0e45
LMI
160552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16056
16057 * disp-table.el (display-table-print-array): New function.
16058 (describe-display-table): Use it to print the vectors more pretty
16059 (Bug#8859).
16060
28545e04
MR
160612011-07-02 Martin Rudalics <rudalics@gmx.at>
16062
16063 * window.el (window-state-get-1): Don't assign clone numbers.
16064 Add clone-of item to list of window parameters.
16065 (window-state-put-2): Don't process clone numbers.
16066 (display-buffer-alist): Fix doc-string.
16067
3349e122
SM
160682011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16069
16070 * subr.el (remq): Don't allocate if it's not needed.
16071 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16072 (keymap--merge-bindings): New functions.
16073 (keymap-canonicalize): Use them to refine the canonicalization.
16074 * minibuffer.el (minibuffer-local-completion-map)
16075 (minibuffer-local-must-match-map): Move initialization from C.
16076 (minibuffer-local-filename-completion-map): Move initialization from C;
16077 don't inherit from anything here.
16078 (minibuffer-local-filename-must-match-map): Make obsolete.
16079 (completing-read-default): Use make-composed-keymap to combine
16080 minibuffer-local-filename-completion-map with either
16081 minibuffer-local-must-match-map or
16082 minibuffer-local-filename-completion-map.
16083
d224ac83
GM
160842011-07-01 Glenn Morris <rgm@gnu.org>
16085
3de63bf8
GM
16086 * type-break.el (type-break-time-sum): Use dolist.
16087
d224ac83
GM
16088 * textmodes/flyspell.el (flyspell-word-search-backward):
16089 Replace CL function.
16090
1a1e3f32
SM
160912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16092
fe3f64d5
SM
16093 * mouse.el (mouse--strip-first-event): New function.
16094 (function-key-map): Use it to map fringe clicks to normal clicks
16095 by default.
16096
eb604e34
SM
16097 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16098 (vc-bzr-revision-completion-table): Add support for annotate and date.
16099
1a1e3f32
SM
16100 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16101 inherit from parent.
16102
5bd35902
LMI
161032011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16104
ace6c69c 16105 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16106 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16107
191e2bed
LMI
16108 * dired.el (dired-mode): Fix up the doc string as suggested by
16109 Drew Adams (bug#8817).
16110
5bd35902
LMI
16111 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16112 cookie, since the manual says that it should be possible to add
16113 this function to `find-file-hook' (bug#8709).
16114
eee8207a
TZ
161152011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16116
16117 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16118 here. Noted Ted Zlatanov as the maintainer.
16119 (cfengine-common-settings, cfengine-common-syntax): New functions
16120 to set up common things between `cfengine-mode' and
16121 `cfengine3-mode'.
16122 (cfengine3-mode): New mode.
16123 (cfengine3-defuns cfengine3-defuns-regex
16124 (cfengine3-class-selector-regex cfengine3-category-regex)
16125 (cfengine3-vartypes cfengine3-font-lock-keywords)
16126 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16127 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16128
36b148cf
MA
161292011-07-01 Michael Albinus <michael.albinus@gmx.de>
16130
16131 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16132
16133 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16134
0bf4ba9a
MR
161352011-07-01 Martin Rudalics <rudalics@gmx.at>
16136
16137 * window.el (same-window-buffer-names, same-window-regexps)
16138 (same-window-p, special-display-frame-alist)
16139 (special-display-popup-frame, special-display-function)
16140 (special-display-buffer-names, special-display-regexps)
16141 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16142 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16143 (split-window-preferred-function, split-height-threshold)
16144 (split-width-threshold, even-window-heights)
16145 (display-buffer-mark-dedicated, window-splittable-p)
16146 (split-window-sensibly, window-safely-shrinkable-p):
16147 Un-obsolete.
16148 (display-buffer): Don't spread args with function specifier
16149 because special-display-popup-frame won't like it.
16150
35837f51
PE
161512011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16152
d0672f86
PE
16153 Time-stamp simplifications and fixes.
16154 These improve accuracy slightly, and future-proof the code
16155 against some potential changes to current-time format.
16156
b9444d97
PE
16157 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16158 by using time-since and float-time.
16159
0ef923dc
PE
16160 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16161 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16162 + NNN microseconds".
16163
2f81380d
PE
16164 * type-break.el (type-break-time-sum): Rewrite using time-add.
16165
845b5c3e
PE
16166 * play/hanoi.el (hanoi-current-time-float): Remove.
16167 All uses replaced by float-time.
16168
ee6f1be0
PE
16169 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16170 This yields a more-accurate answer.
16171 (rng-time-to-float): Remove; no longer needed.
16172
fe955043
PE
16173 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16174
5777162a
PE
16175 * calendar/timeclock.el (timeclock-seconds-to-time):
16176 Defalias to seconds-to-time, since they're the same thing.
16177
3103f8b6 16178 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16179 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16180 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16181
0e61a35f
SM
161822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16183
16184 * window.el (bury-buffer): Don't iconify the only frame.
16185 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16186 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16187
ddd63a1e
CY
161882011-07-01 Chong Yidong <cyd@stupidchicken.com>
16189
0e61a35f
SM
16190 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16191 Add mouse-yank-primary.
ddd63a1e 16192
055f4923
TZ
161932011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16194
16195 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16196
6a2fb145
SM
161972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16198
16199 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16200 (find-library-name): Use it to find relative load names when provided
16201 absolute file name (bug#8803).
16202
fd4983f2
LMI
162032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16204
887d14ad
LMI
16205 * textmodes/flyspell.el (flyspell-word): Consider words that
16206 differ only in case as potential doublons (bug#5687).
16207
c53dc7fc
LMI
16208 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16209 Remove two rather uninteresting debugging-like messages to make
16210 debbugs.el more silent.
16211
fd4983f2
LMI
16212 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16213 a password-like phrase.
16214
7a71b18d 162152011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16216
16217 * progmodes/cc-guess.el: New file.
16218
6a2fb145 16219 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16220
16221 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16222 derived from `c-basic-common-init'.
16223
16224 * progmodes/cc-mode.el (top-level): Require cc-guess.
16225 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16226
1fa280a3
LM
162272011-06-30 Lawrence Mitchell <wence@gmx.li>
16228
16229 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16230
e6597158
AM
162312011-06-30 Alan Mackenzie <acm@muc.de>
16232
1fa280a3
LM
16233 * progmodes/cc-engine.el (c-guess-continued-construct):
16234 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16235 lock is disabled. Name this case as "CASE G".
16236
68ba37fb
KM
162372011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16238
16239 * allout.el (allout-yank-processing): Fix injection of extra space
16240 between bullet and non-whitespace character in first topic when
16241 pasting, ensuring that the actual spacing in the pasted topic
16242 following the bullet char is preserved. This extra space was
16243 causing pasted encrypted topics to get a decrypted status even
16244 when the content was actually still encrypted. Now the decryption
16245 status from before the paste is preserved.
16246
16247 (allout-flag-region): Set all allout overlays so they evaporate
16248 when reduced to zero length (evanescent), to prevent overlay
16249 leakage.
16250
887a0b34
GM
162512011-06-30 Glenn Morris <rgm@gnu.org>
16252
94b9acce
GM
16253 * w32-fns.el (w32-charset-info-alist): Declare.
16254
1d9b46d4
GM
16255 * find-dired.el (find-grep-options): Simplify.
16256
cc232200
GM
16257 * term/ns-win.el (ns-set-resource): Declare.
16258
28e77c46
GM
16259 * ses.el (row, col): Declare dynamic variables honestly.
16260
887a0b34
GM
16261 * textmodes/reftex-parse.el (index-tags): Declare.
16262
658d8eb8
CY
162632011-06-30 Chong Yidong <cyd@stupidchicken.com>
16264
16265 * cus-edit.el (customize-push-and-save): New function.
16266
16267 * files.el (hack-local-variables-confirm): Use it.
16268
1fa280a3
LM
16269 * custom.el (load-theme): New arg NO-CONFIRM.
16270 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16271 (custom-enabled-themes): Doc fix.
16272
16273 * cus-theme.el (customize-create-theme)
16274 (custom-theme-merge-theme): Callers to load-theme changed.
16275
bb617717
LMI
162762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16277
d61bdd5d
LMI
16278 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16279 short URLs have at least one dot in them (bug #7614).
16280
bb617717
LMI
16281 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16282 nil, because using a pty is apparently too slow (bug #895).
16283
2f31f37a
LMI
162842011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16285
16286 * mail/sendmail.el (sendmail-query-once): New function.
16287 (sendmail-query-once-function): New variable.
16288
3076b24e
GM
162892011-06-29 Glenn Morris <rgm@gnu.org>
16290
faf2a174
GM
16291 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16292
3076b24e
GM
16293 * ses.el (top-level): Require cl when compiling.
16294 (ses-set-localvars): Fix error statement.
16295 Call it at compile time to silence a storm of warnings.
16296
5386012d
MR
162972011-06-29 Martin Rudalics <rudalics@gmx.at>
16298
16299 * window.el (normalize-live-buffer): Rename to
16300 window-normalize-buffer.
16301 (normalize-live-frame): Rename to window-normalize-frame.
16302 (normalize-any-window): Rename to window-normalize-any-window.
16303 (normalize-live-window): Rename to window-normalize-live-window.
16304 (make-window-atom): Rename to window-make-atom.
16305 (window-resize-reset): Rename to window--resize-reset.
16306 (window-resize-reset-1): Rename to window--resize-reset-1.
16307 (resize-mini-window): Rename to window--resize-mini-window.
16308 (resize-subwindows-skip-p): Rename to
16309 window--resize-subwindows-skip-p.
16310 (resize-subwindows-normal): Rename to
16311 window--resize-subwindows-normal.
16312 (resize-subwindows): Rename to window--resize-subwindows.
16313 (resize-other-windows): Rename to window--resize-siblings.
16314 (resize-this-window): Rename to window--resize-this-window.
16315 (resize-root-window): Rename to window--resize-root-window.
16316 (resize-root-window-vertically): Rename to
16317 window--resize-root-window-vertically.
16318 (normalize-buffer-to-display): Rename to
16319 window-normalize-buffer-to-display.
16320 (normalize-buffer-to-switch-to): Rename to
16321 window-normalize-buffer-to-switch-to.
16322 Correspondingly update all callers of the functions listed
16323 above.
16324 (display-buffer-alist, display-buffer-normalize-arguments)
16325 (display-buffer-normalize-options, display-buffer)
16326 (display-buffer-alist-set): Use "function" instead of
16327 "fun-with-args".
16328
1176868d
CY
163292011-06-28 Chong Yidong <cyd@stupidchicken.com>
16330
16331 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16332 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16333 debbugs.gnu.org. Mention acknowledgment email.
16334
20a7a65f
LMI
163352011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16336
16337 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16338 buffer multibyteness, since it shouldn't matter.
16339
5f45cca5
MR
163402011-06-28 Martin Rudalics <rudalics@gmx.at>
16341
16342 * window.el (display-buffer-in-side-window): Handle dedicated
16343 windows as in display-buffer-reuse-window.
16344 (display-buffer-normalize-alist): Use value of override
16345 specifier.
16346 (display-buffer-normalize-specifiers): Use value of
16347 other-window-means-other-frame specifier.
16348 (display-buffer-alist): Rewrite some texts in widgets.
16349 (display-buffer): Spread arguments when calling function
16350 specified by fun-with-args.
16351
ad85fe1f
DD
163522011-06-28 Deniz Dogan <deniz@dogan.se>
16353
1fa280a3
LM
16354 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16355 Unnest `let'.
da68c4c8 16356
ad85fe1f
DD
16357 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16358 selectors (Bug#5732).
ec49bd31 16359 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16360
a08cc025
JA
163612011-06-27 Jari Aalto <jari.aalto@cante.net>
16362
16363 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16364 (eshell-ls-date-format): New defcustom.
16365 (eshell-ls-file): Use it.
16366
e2b551c5
SM
163672011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16368
16369 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16370
8982b231
KY
163712011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16372
16373 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16374 (ange-ftp-make-tmp-name): New arg.
16375 (ange-ftp-file-local-copy): Use it.
16376
36c9fa27
J
163772011-06-27 Jambunathan K <kjambunathan@gmail.com>
16378
16379 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16380 no-conversion (Bug#8870).
16381
d68443dc
MR
163822011-06-27 Martin Rudalics <rudalics@gmx.at>
16383
16384 * window.el (window-right, window-left, window-child)
16385 (window-child-count, window-last-child)
16386 (window-iso-combination-p, walk-window-tree-1)
16387 (window-atom-check-1, window-tree-1, delete-window)
16388 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16389 new naming conventions - window-vchild, window-hchild,
16390 window-next and window-prev are now called window-top-child,
16391 window-left-child, window-next-sibling and window-prev-sibling
16392 respectively.
d615d6d2
MR
16393 (resize-window-reset): Rename to window-resize-reset.
16394 (resize-window-reset-1): Rename to window-resize-reset-1.
16395 (resize-window): Rename to window-resize.
16396 (window-min-height, window-min-width)
16397 (resize-mini-window, resize-this-window, resize-root-window)
16398 (resize-root-window-vertically, adjust-window-trailing-edge)
16399 (enlarge-window, shrink-window, maximize-window)
16400 (minimize-window, delete-window, quit-restore-window)
16401 (split-window, balance-windows, balance-windows-area-adjust)
16402 (balance-windows-area, window-state-put-2)
16403 (display-buffer-even-window-sizes, display-buffer-set-height)
16404 (display-buffer-set-width, set-window-text-height)
16405 (fit-window-to-buffer): Rename all "resize-window" prefixed
16406 calls to use the "window-resize" prefix convention.
16407 (display-buffer-alist): Fix symbol for label specifier.
16408 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16409 corresponding specifier.
16410 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16411
b6458526
VB
164122011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16413
16414 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16415 convention.
16416 (ses-call-printer): Does not pass an empty string to formatter when the
16417 cell is empty to keep from barking printer Calc math-format-value.
16418
d31fd9ac
RS
164192011-06-27 Richard Stallman <rms@gnu.org>
16420
43d5bf84
RS
16421 * battery.el (battery-mode-line-limit): New variable.
16422 (battery-update): Handle it.
16423
d31fd9ac
RS
16424 * mail/rmailmm.el (rmail-mime-process-multipart):
16425 Handle truncated messages.
16426
819a6054
GM
164272011-06-27 Glenn Morris <rgm@gnu.org>
16428
16429 * progmodes/flymake.el (flymake-err-line-patterns):
16430 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16431
cedc73f2
VB
164322011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16433
819a6054 16434 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16435 (ses--clean-!, ses--clean-_): New functions.
16436 (ses-range): Add configurability of readout order, and conversion
16437 to Calc vector.
16438
5e5d49b6
VB
16439 * ses.el (ses-repair-cell-reference-all): New function.
16440 (ses-cell-symbol): Set macro as safe, so that it can be used in
16441 formulas.
16442
56e6cc31 16443 * ses.el: Update cycle detection algorithm.
90ca8b49 16444 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16445 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16446 (ses-set-localvars): New function.
16447 (ses-make-cell): Add property-list as a cell element.
16448 (ses-cell-property-get-fun, ses-cell-property-get)
16449 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16450 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16451 New functions.
90ca8b49
VB
16452 (ses-cell-property-set, ses-cell-property-pop)
16453 (ses-cell-property-get-handle): New macro.
16454 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16455 New aliases, used for code readability.
16456 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16457 cycle detection.
16458 (ses-self-reference-early-detection): New defcustom.
fac916bf 16459 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16460 (ses-mode): Use ses-set-localvars.
16461 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16462 before lauching the update processing.
16463 (ses-initialize-Dijkstra-attempt): New function.
16464 (ses-recalculate-cell): Update for cycle detection based on
16465 Dijkstra algorithm.
16466
2bb63e81
VB
16467 * ses.el: Fix commenting and indenting convention.
16468
c9d29fb8
SM
164692011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16470
16471 * bs.el (bs-cycle-next): Complete last change.
16472
d8e4b68b
JB
164732011-06-27 Drew Adams <drew.adams@oracle.com>
16474
16475 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16476
40098786
LMI
164772011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16478
c9d29fb8
SM
16479 * net/network-stream.el (network-stream-open-starttls):
16480 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16481 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16482
40098786
LMI
16483 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16484 to binary to possibly avoid line encoding issues on Windows (among
16485 other things).
16486
468d09d4
LMI
164872011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16488
16489 * net/network-stream.el (open-network-stream): Return an :error
16490 saying what the problem was, if possible.
16491
16492 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16493 server.
16494
16495 * net/network-stream.el (network-stream-open-starttls): If we
16496 wanted to use STARTTLS, and the server offered it, but we weren't
16497 able to because we had no STARTTLS support, then close the connection.
16498 (open-network-stream): Return an :error element, if present.
16499
16f07dd7
CY
165002011-06-26 Chong Yidong <cyd@stupidchicken.com>
16501
88821ca0
CY
16502 * hl-line.el (hl-line-sticky-flag): Doc fix.
16503 (global-hl-line-sticky-flag): New option (Bug#8323).
16504 (global-hl-line-highlight): Obey it.
16505
16f07dd7
CY
16506 * vc/vc.el (vc-revert-show-diff): Default to t.
16507
6b5ccddf
KM
165082011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16509
c9d29fb8
SM
16510 * allout-widgets.el (allout-widgets-post-command-business):
16511 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16512 undecorated when an isearch is continued past, and isearch
16513 automatically collapses them. This leads to "widget leaks", where
16514 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16515 hidden widgets can slow down cursor travel, substantially.
16516 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16517 so we're doing without this nicety.
16518
16519 (allout-widgets-tally-string): Don't try to do a hash-table-count
16520 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16521 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16522 *Messages* when allout-widgets-maintain-tally is t.
16523
355f2e07
MR
165242011-06-26 Martin Rudalics <rudalics@gmx.at>
16525
16526 * window.el (display-buffer-normalize-argument): Rename to
16527 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16528 LABEL argument. Respect special-display-function when popping up
16529 a new frame. Fix code searching for a window showing the buffer
16530 on another frame.
c9d29fb8
SM
16531 (display-buffer-normalize-specifiers):
16532 Call display-buffer-normalize-arguments.
355f2e07
MR
16533 (display-buffer-in-window): Don't undedicate the window if its
16534 buffer remains the same.
16535 Reported by Drew Adams <drew.adams@oracle.com>.
16536 (display-buffer-alist): Add choice for same-window macro
16537 specfier.
16538 (display-buffer): Mention special meaning of LABEL argument in
16539 doc-string. Fix quoting. Don't pop up a new frame even as
16540 fallback.
16541
7ca8fc42
JB
165422011-06-26 Juanma Barranquero <lekktu@gmail.com>
16543
16544 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16545 avoid deleting the current window in some cases (bug#8911).
16546
bc312254
AS
165472011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16548
16549 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16550 (Bug#8934)
16551
2db18f3f
LMI
165522011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16553
c9d29fb8
SM
16554 * net/network-stream.el (network-stream-open-starttls):
16555 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16556 (network-stream-open-tls): Ditto.
16557
6302e0d3
LL
165582011-06-26 Leo Liu <sdl.web@gmail.com>
16559
16560 * register.el (registerv): New struct.
16561 (registerv-make): New function.
c9d29fb8
SM
16562 (jump-to-register, describe-register-1, insert-register):
16563 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16564 struct. (Bug#8415)
16565
5fdd4046
CY
165662011-06-26 Chong Yidong <cyd@stupidchicken.com>
16567
2afef60a
CY
16568 * vc/vc.el (vc-revert-show-diff): New defcustom.
16569 (vc-diff-internal): New arg specifying diff buffer.
16570 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16571 reuse an existing *vc-diff* buffer (Bug#8927).
16572
5fdd4046
CY
16573 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16574
e93db24a
GM
165752011-06-26 Glenn Morris <rgm@gnu.org>
16576
16577 * progmodes/f90.el (f90-critical-indent): New option.
16578 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16579 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16580 (f90-mode): Doc fix.
16581 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16582 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16583 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16584 (f90-match-end): Handle block, critical.
16585
eefff499
GM
165862011-06-25 Glenn Morris <rgm@gnu.org>
16587
f6ba4cc9
GM
16588 * calendar/diary-lib.el (diary-included-files): Doc fix.
16589 (diary-include-files): New function, extracted from
16590 diary-include-other-diary-files and diary-mark-included-diary-files.
16591 (diary-include-other-diary-files, diary-mark-included-diary-files):
16592 Just call diary-include-files.
16593 (diary-mark-entries): Reset diary-included-files on first call.
16594
16712304
GM
16595 * calendar/diary-lib.el (diary-mark-entries)
16596 (diary-mark-included-diary-files):
16597 Visit included diary-files in temp buffers.
16598
5d8e0d43
GM
16599 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16600 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16601 (f90-start-block-re, f90-imenu-generic-expression)
16602 (f90-looking-at-program-block-start, f90-no-block-limit):
16603 Add support for submodules.
16604
ccf7a5d5
GM
16605 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16606 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16607
11fdef7d 166082011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16609
16610 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16611 buffer-file-type before setting its value, to avoid disastrous
eefff499 16612 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16613
74f53697
JB
166142011-06-25 Juanma Barranquero <lekktu@gmail.com>
16615
16616 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16617
16618 * ses.el (ses-unload-function):
16619 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16620
16621 * proced.el (proced-unload-function):
16622 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16623
18a4ce5e
AR
166242011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16625
16626 * server.el (server-create-window-system-frame): Add parameters arg.
16627 (server-process-filter): Doc fix. Handle frame-parameters.
16628
519d22cc
JB
166292011-06-25 Juanma Barranquero <lekktu@gmail.com>
16630
16631 Fix bug#8730, bug#8781.
16632
16633 * loadhist.el (unload--set-major-mode): New function.
16634 (unload-feature): Use it.
16635
16636 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16637 (python-unload-function): New function.
16638
c206f5b0
SM
166392011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16640
16641 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16642
f9ad64f3
GS
166432011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16644
16645 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16646 the candidates list.
16647
7d0da90e
JB
166482011-06-24 Juanma Barranquero <lekktu@gmail.com>
16649
16650 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16651
14b4e83d
RS
166522011-06-23 Richard Stallman <rms@gnu.org>
16653
16654 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16655 (rmail-variables): Set next-error-move-function.
16656 (rmail-what-message): Take argument POS.
16657 (rmail-next-error-move): New function.
16658
273d2baf
SM
166592011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16660
16661 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16662 messages for adjacent non-terminals.
16663
56c2cc9a
RS
166642011-06-23 Richard Stallman <rms@gnu.org>
16665
16666 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16667 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16668 (rmail-start-mail): Don't specify use of rmail-mail-return;
16669 that's done by mail-bury now.
16670 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16671
d59eb518
MA
166722011-06-23 Michael Albinus <michael.albinus@gmx.de>
16673
16674 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16675 SIZE is a number.
16676
02cfc6d6
MR
166772011-06-23 Martin Rudalics <rudalics@gmx.at>
16678
16679 * window.el (get-lru-window, get-mru-window)
16680 (get-largest-window): Never return a minibuffer window.
16681 (display-buffer-pop-up-window): Fix a bug that could lead to
16682 reusing the minibuffer window.
16683 (display-buffer): Pass original specifier argument to
16684 display-buffer-function instead of the normalized one.
16685 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16686
4e323265
LL
166872011-06-22 Leo Liu <sdl.web@gmail.com>
16688
16689 * minibuffer.el (completing-read-function)
1f9f395d 16690 (completing-read-default): Move from minibuf.c.
4e323265 16691
7a70468f
RS
166922011-06-22 Richard Stallman <rms@gnu.org>
16693
50718fc2
RS
16694 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16695 to Rmail even if not started by a special Rmail command.
16696
7a70468f
RS
16697 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16698 Copy the buffer currently showing just one message.
16699
297dde5a
RW
167002011-06-22 Roland Winkler <winkler@gnu.org>
16701
16702 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16703 (bibtex-clean-entry): First delete the old key so that a
16704 customized algorithm for generating the new key does not get
16705 confused by the old key.
16706 (bibtex-url): Obey regexp of first step.
16707 (bibtex-search-entries): Do not use add-to-list with local
16708 list-var.
16709
97bb1093
LMI
167102011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16711
16712 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16713 stored a user name, then query for the password first, instead of
16714 waiting for SMTP to give an error message and the trying again.
16715
1c0f1a19
JD
167162011-06-22 Lawrence Mitchell <wence@gmx.li>
16717
16718 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16719 BUFFER in call-process.
16720
396f7c9d
LMI
167212011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16722
16723 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16724 QUIT twice.
ddb7ffee
LMI
16725 (smtpmail-try-auth-methods): Require user name and password from
16726 auth-source.
396f7c9d 16727
8998d1b3
MR
167282011-06-22 Martin Rudalics <rudalics@gmx.at>
16729
16730 * window.el (display-buffer-default-specifiers)
16731 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16732 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16733 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16734
16735 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16736 (special-display-frame-alist, special-display-popup-frame):
16737 Remove duplicate declarations. These are now in window.el.
16738
4ea31e07
LMI
167392011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16740
c9d29fb8
SM
16741 * mail/smtpmail.el (smtpmail-via-smtp):
16742 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16743 server supports it. SMTP servers that support STARTTLS commonly
16744 require it.
16745
16746 * net/network-stream.el (network-stream-open-starttls): Support
16747 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16748 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16749
95f41d9a
LMI
16750 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16751 upgrades with `open-network-stream', and rely solely on
16752 auth-source for all credentials. Big changes throughout the file,
16753 but in particular:
c9d29fb8
SM
16754 (smtpmail-auth-credentials): Remove.
16755 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16756 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16757 MAIL FROM, too.
95f41d9a 16758
c9d29fb8
SM
16759 * net/network-stream.el (network-stream-open-starttls):
16760 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16761 STARTTLS.
16762 (auth-source): Require.
16763 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16764 (network-stream-certificate): Change cert-cert to cert and
16765 cert-key to key.
4ea31e07 16766
065ec2c7
MA
167672011-06-21 Michael Albinus <michael.albinus@gmx.de>
16768
16769 * net/tramp-cache.el (top): Don't load the persistency file when
16770 "emacs -Q" has been called.
16771
cd93b359
DR
167722011-06-21 Tim Harper <timcharper@gmail.com>
16773
d8e4b68b
JB
16774 * term/ns-win.el (ns-initialize-window-system):
16775 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16776 resource to NO as it is not yet supported by the NS port.
16777
ae9c0411
JB
167782011-06-21 Juanma Barranquero <lekktu@gmail.com>
16779
16780 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16781 (list-dynamic-libraries): ...not here.
16782
7f3f739f
LL
167832011-06-21 Leo Liu <sdl.web@gmail.com>
16784
16785 * subr.el (sha1): Implement sha1 using secure-hash.
16786
327c8fb1
MR
167872011-06-21 Martin Rudalics <rudalics@gmx.at>
16788
16789 * window.el (display-buffer-alist): In default value do not
16790 enforce searching a window on any but the selected frame.
16791 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16792 (display-buffer-select-window): Remove function.
16793 (display-buffer-in-window): When a window on another frame gets
16794 reused, do not select it any more but just raise its frame if
16795 necessary (Bug#8851) and (Bug#8856).
16796 (display-buffer-normalize-options): Handle pop-up-frames related
16797 options more faithfully.
16798 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16799 window if it is on another frame.
c9d29fb8
SM
16800 (display-buffer-alist, display-buffer-default-specifiers):
16801 Don't make new frame unsplittable by default.
9e9de014
MR
16802 (display-buffer-normalize-argument): Fix doc-string typo and use
16803 'same-frame-other-window instead of 'other-window when associating
16804 with display-buffer-macro-specifiers.
327c8fb1 16805
7cf3f556
VB
168062011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16807
16808 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16809 New functions.
16810 (5x5-mode-map, 5x5-mode-menu): Bind them.
16811 (5x5-draw-grid): Tweak the solver's rendering.
16812
60a406cf
SM
168132011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16814
16815 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16816 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16817
d8e4b68b 168182011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16819
16820 * menu-bar.el: Use function variable instead of switch-to-buffer.
16821 (menu-bar-select-buffer-function): New variable.
60a406cf 16822 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16823
478d6f95
SM
168242011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16825
16826 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16827 variable's status.
16828
ca530739
JD
168292011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16830
16831 * x-dnd.el (x-dnd-version-from-flags)
16832 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16833 and long as number (Bug#8899).
16834 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16835
bcd70d97
SM
168362011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16837
60a406cf 16838 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16839 (completion-try-completion, completion-all-completions): Compute the
16840 metadata argument if it's missing; make it optional (bug#8795).
16841
60a406cf 16842 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16843 (widget-complete): Use new :completion-function property.
16844 (widget-completions-at-point): New function.
16845 (default): Use :completion-function instead of :complete.
60a406cf
SM
16846 (widget-default-completions): Rename from widget-default-complete;
16847 Rewrite.
bcd70d97
SM
16848 (widget-string-complete, widget-file-complete, widget-color-complete):
16849 Remove functions.
16850 (file, symbol, function, variable, coding-system, color):
16851 * international/mule-cmds.el (default-input-method, charset)
16852 (language-info-custom-alist):
16853 * cus-edit.el (face): Use new property :completions.
16854
16855 * progmodes/pascal.el (pascal-completions-at-point): New function.
16856 (pascal-mode): Use it.
16857 (pascal-mode-map): Use completion-at-point.
16858 (pascal-toggle-completions): Make obsolete.
16859 (pascal-complete-word, pascal-show-completions):
16860 * progmodes/octave-mod.el (octave-complete-symbol):
16861 Redefine as obsolete alias.
16862 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16863 Signal absence of completion info for old Octave,
16864 (inferior-octave-complete): Redefine as obsolete alias.
16865 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16866 (meta-completions-at-point): Rename from meta-complete-symbol and
16867 adapt it for use on completion-at-point-functions.
16868 (meta-common-mode): Use it.
16869 (meta-looking-at-backward, meta-match-buffer): Remove.
16870 (meta-complete-symbol): Redefine as obsolete alias.
16871 (meta-common-mode-map): Use completion-at-point.
16872 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16873 (makefile-mode-map): Use completion-at-point.
16874 (makefile-completions-at-point): Rename from makefile-complete and
16875 adapt it for use on completion-at-point-functions.
16876 (makefile-mode): Use it.
16877 (makefile-complete): Redefine as obsolete alias.
16878
aebf69c8
DD
168792011-06-20 Deniz Dogan <deniz@dogan.se>
16880
16881 * net/rcirc.el: Delete trailing whitespaces once and for all.
16882
bfbbb27d
DC
168832011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16884
16885 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16886
d264a46b
CY
168872011-06-19 Chong Yidong <cyd@stupidchicken.com>
16888
4ca009e5
CY
16889 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16890
d264a46b
CY
16891 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16892
fbf5b3ce
MR
168932011-06-19 Martin Rudalics <rudalics@gmx.at>
16894
16895 * window.el (display-buffer-other-window-means-other-frame):
16896 Call display-buffer-normalize-alist.
16897 (display-buffer-normalize-specifiers-1): Rename to
16898 display-buffer-normalize-argument. New argument other-frame.
16899 Rewrite.
16900 (display-buffer-normalize-specifiers-2): Rename to
16901 display-buffer-normalize-options.
16902 (display-buffer-normalize-alist-1): New function.
16903 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16904 display-buffer-normalize-alist.
16905 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16906 (display-buffer-normalize-options-inhibit): New variable.
16907 (display-buffer-normalize-specifiers): Rewrite calling
16908 display-buffer-normalize-alist,
16909 display-buffer-normalize-argument, and
16910 display-buffer-normalize-options. Don't call the latter if
16911 display-buffer-normalize-options-inhibit is non-nil.
16912 (frame-auto-delete): New option.
16913 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16914 (window-list-no-nils, window-state-ignored-parameters)
16915 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16916 (window-state-put-1, window-state-put-2, window-state-put):
16917 New functions.
9a028c23
MR
16918 (display-buffer-normalize-options): Move special-display-p group
16919 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16920
6d10d800
CY
169212011-06-18 Chong Yidong <cyd@stupidchicken.com>
16922
6420d28b
CY
16923 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16924 groups (Bug#8776).
16925 (rx-submatch-n): New function.
16926 (rx): Document it.
16927
ddb8b596
CY
16928 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16929 (Bug#8768).
16930
16931 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16932
77080289
CY
16933 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16934
61dfb316
CY
16935 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16936 anytime existing face settings are present (Bug#8889).
16937
6d10d800
CY
16938 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16939 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16940 Remove unused argument.
16941
be3fb2b8
MR
169422011-06-18 Martin Rudalics <rudalics@gmx.at>
16943
bcd70d97
SM
16944 * window.el (display-buffer-default-specifiers):
16945 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16946 pop-up-window-min-width, and another reuse-window specifier
16947 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16948 (display-buffer-normalize-specifiers-2):
16949 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16950 pop-up-windows is unset. Add a reuse-window specifier for the
16951 case popping up a new window fails.
16952 (special-display-popup-frame): Remove double quoting.
28dec25a 16953 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16954
1c6d8c76
SM
169552011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16956
16957 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16958 according to comint-completion-addsuffix.
16959
16960 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16961 (pcomplete-suffix-list): Mark as obsolete.
16962 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16963 pcomplete-seen in the closure.
16964 (pcomplete-comint-setup): Setup completion-at-point as well.
16965 (pcomplete--entries): New function.
16966 (pcomplete--env-regexp): New var.
16967 (pcomplete-entries): Rewrite to work with partial-completion and
16968 without relying on pcomplete-suffix-list.
16969 (pcomplete-pare-list): Remove, unused.
16970
25aef8b8
MR
169712011-06-17 Martin Rudalics <rudalics@gmx.at>
16972
16973 * window.el (display-buffer-alist): Set pop-up-window-min-height
16974 and pop-up-window-min-width in default value. Reported by
16975 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16976 other-window-means-other-frame.
16977 (display-buffer-macro-specifiers): Comment out entry for
16978 other-window specifier.
16979 (display-buffer-other-window-means-other-frame): New function.
16980 (display-buffer-normalize-specifiers-1): New arguments
16981 buffer-name and label. Treat other-window case specially.
16982 (display-buffer-normalize-specifiers-2): Treat other-window case
16983 specially.
16984 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16985 (display-buffer-normalize-specifiers):
16986 Call display-buffer-normalize-specifiers-3.
25aef8b8 16987
dbad4f69
MR
169882011-06-17 Martin Rudalics <rudalics@gmx.at>
16989
16990 * window.el (same-window-p): Fix two typos introduced when
16991 adding with-no-warnings.
d1067961
MR
16992 (display-buffer-normalize-specifiers-1): Don't check
16993 pop-up-frames for 'unset initialization.
16994 (display-buffer-normalize-specifiers-2): Major rewrite using
16995 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16996 (pop-up-frames, display-buffer-reuse-frames)
16997 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16998 Suggested by David Engster <deng@randomsample.de>.
16999 (even-window-heights): Initialize to 'unset.
17000 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17001 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17002 other window case.
dbad4f69 17003
9b9c9e3a
MR
170042011-06-16 Martin Rudalics <rudalics@gmx.at>
17005
bcd70d97
SM
17006 * window.el (display-buffer-normalize-specifiers-1):
17007 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17008 second argument of display-buffer (Bug#8865).
981d5c09
MR
17009 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17010 (switch-to-buffer-other-window-same-frame)
17011 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17012 Adams (Bug#8875).
9c2755e9
MR
17013 (display-buffer): Don't check noninteractive when calling
17014 display-buffer-pop-up-frame.
17015 (display-buffer-pop-up-frame): Never pop up a frame in
17016 noninteractive mode (Bug#8857).
67222e1d
MR
17017 (enlarge-window, shrink-window): Don't report an error when the
17018 window can't be resized as requested (Bug#8862).
9b9c9e3a 17019
2b75be67
SM
170202011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17021
9ffdd3ba
SM
17022 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17023
cb581a67
SM
17024 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17025
2b75be67
SM
17026 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17027
8c0e3589
AM
170282011-06-15 Alan Mackenzie <acm@muc.de>
17029
cb581a67
SM
17030 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17031 for declarators, disable knr checking to speed up for normal files.
17032 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17033
b96e6cde
LMI
170342011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17035
4bba86e6
LMI
17036 * net/network-stream.el (open-network-stream): Add the keyword
17037 :always-query-capabilities for the case where you want to force a
17038 `plain' network connection, but the protocol still requires the
17039 capabilitiy command (i.e., SMTP and EHLO).
17040
2b75be67 17041 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17042 consistency with other `-live-p' functions.
17043
efdcdbf8
SM
170442011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17045
17046 * window.el (same-window-buffer-names, same-window-regexps)
17047 (special-display-frame-alist, special-display-popup-frame)
17048 (special-display-function, special-display-buffer-names)
17049 (special-display-regexps, pop-up-frame-alist)
17050 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17051 (pop-up-windows, split-window-preferred-function)
17052 (split-height-threshold, split-width-threshold, even-window-heights)
17053 (display-buffer-mark-dedicated): Don't encourage the use of
17054 display-buffer-alist from Elisp code.
17055
c5cde042
DN
170562011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17057
17058 * progmodes/python.el (python-mode): Derive from prog-mode.
17059 * progmodes/ps-mode.el (ps-mode):
17060 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17061 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17062 * progmodes/ld-script.el (ld-script-mode): Likewise.
17063
baa1c9ab
MR
170642011-06-15 Martin Rudalics <rudalics@gmx.at>
17065
17066 * window.el (display-buffer-alist): Trim default value to avoid
17067 popping up a new frame (Bug#8857) or reusing an arbitrary window
17068 on another frame.
17069 (display-buffer): Do not fall back on popping up a new frame in
17070 batch mode (Bug#8857).
17071
c5dd5a51
CY
170722011-06-14 Chong Yidong <cyd@stupidchicken.com>
17073
17074 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17075 (custom-theme-summary): New function.
17076 (customize-themes): Use it.
17077
d647b7c4
GM
170782011-06-13 Glenn Morris <rgm@gnu.org>
17079
17080 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17081
9481c002
MR
170822011-06-13 Martin Rudalics <rudalics@gmx.at>
17083
357f93d2
MR
17084 * help.el (help-window): Remove variable.
17085 (help-window-point-marker, temp-buffer-max-height)
17086 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17087 (help-print-return-message): Don't set help-window.
17088 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17089 (help-window-setup-finish): Remove.
17090 (help-window-display-message, help-window-setup)
17091 (with-help-window): Major rewrite based on new
17092 display-buffer-window variable.
17093
17094 * help-mode.el (help-mode-finish): Remove help-window related
17095 code.
17096
17097 * view.el (view-exits-all-viewing-windows): Remove reference to
17098 view-return-to-alist in doc-string.
17099 (view-return-to-alist): Make obsolete.
17100 (view-buffer): Call pop-to-buffer-same-window and remove
17101 undo-window code.
17102 (view-buffer-other-window): Call pop-to-buffer-other-window and
17103 simplify code. Ignore second argument.
17104 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17105 simplify code. Ignore second argument.
17106 (view-return-to-alist-update): Make obsolete.
17107 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17108 Rewrite using quit-restore window parameters.
2b75be67
SM
17109 (view-mode-exit): Rename second argument to EXIT-ONLY.
17110 Rewrite using quit-restore-window.
357f93d2
MR
17111 (View-exit, View-exit-and-edit, View-leave, View-quit)
17112 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17113 appropriate arguments.
17114 (view-end-message): Use quit-restore window parameter.
17115
9481c002
MR
17116 * window.el (display-buffer-function): Rewrite doc-string.
17117 (display-buffer-window, display-buffer-alist): New variables.
17118 (display-buffer-split-specifiers)
17119 (display-buffer-side-specifiers)
17120 (display-buffer-macro-specifiers): New constants.
17121 (display-buffer-even-window-sizes, display-buffer-set-height)
17122 (display-buffer-set-width, display-buffer-select-window)
17123 (display-buffer-in-window, display-buffer-reuse-window)
17124 (display-buffer-split-window-1, display-buffer-split-window)
17125 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17126 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17127 (display-buffer-in-side-window, normalize-buffer-to-display)
17128 (display-buffer-normalize-specifiers-1)
17129 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17130 (display-buffer-normalize-specifiers, display-buffer-frame):
17131 New functions.
9481c002
MR
17132 (display-buffer): Major rewrite.
17133 (display-buffer-other-window, display-buffer-other-frame)
17134 (pop-to-buffer, switch-to-buffer-other-window)
17135 (switch-to-buffer-other-frame): Rewrite.
17136 (display-buffer-same-window, display-buffer-same-frame)
17137 (display-buffer-same-frame-other-window)
17138 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17139 (pop-to-buffer-other-window)
17140 (pop-to-buffer-same-frame-other-window)
17141 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17142 (switch-to-buffer-other-window-same-frame): New functions.
17143 (same-window-p, special-display-p): Rewrite disabling warnings.
17144 Make obsolete.
17145 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17146 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17147 Make obsolete
17148 (same-window-buffer-names, same-window-regexps)
17149 (special-display-frame-alist, special-display-popup-frame)
17150 (special-display-function, special-display-buffer-names)
17151 (special-display-regexps, pop-up-frame-alist)
17152 (pop-up-frame-function, split-window-preferred-function)
17153 (split-height-threshold, split-width-threshold)
17154 (even-window-heights): Make obsolete.
17155
9db51aca
GM
171562011-06-12 Glenn Morris <rgm@gnu.org>
17157
17158 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17159 Misc simplifications.
9db51aca 17160
39cffb44
MR
171612011-06-12 Martin Rudalics <rudalics@gmx.at>
17162
17163 * window.el (window-safely-shrinkable-p): Restore function which
17164 was inadvertently removed in change from 2011-06-11. Declare as
17165 obsolete.
17166
2b75be67
SM
17167 * calendar/calendar.el (calendar-generate-window):
17168 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17169 window-safely-shrinkable-p.
17170
a8955be7
GM
171712011-06-12 Glenn Morris <rgm@gnu.org>
17172
17173 * progmodes/fortran.el (fortran-mode-syntax-table):
17174 * progmodes/f90.el (f90-mode-syntax-table):
17175 Set % to punctuation. (Bug#8820)
17176 (f90-find-tag-default): Remove, no longer needed.
17177
f0d4059d
DC
171782011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17179
17180 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17181
1100a63c
CY
171822011-06-11 Chong Yidong <cyd@stupidchicken.com>
17183
17184 * image.el (image-animated-p): Return animation delay in seconds.
17185 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17186 (image-animate-timeout): Remove DELAY argument. Don't assume
17187 every subimage has the same delay; get it from image-animated-p.
17188 (image-animate): Caller changed.
17189
def722bf
MA
171902011-06-11 Michael Albinus <michael.albinus@gmx.de>
17191
17192 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17193 to ignored backtrace functions.
17194
0a2bb1a9
GM
171952011-06-11 Glenn Morris <rgm@gnu.org>
17196
17197 * calendar/appt.el (appt-disp-window-function): Doc fix.
17198 (appt-check): Handle overlapping appointments. (Bug#8337)
17199
6198ccd0
MR
172002011-06-11 Martin Rudalics <rudalics@gmx.at>
17201
17202 * window.el (window-tree-1, window-tree): New functions, moving
17203 the latter to window.el.
17204 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17205 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17206 (bw-refresh-edges): Remove.
17207 (balance-windows-1, balance-windows-2): New functions.
17208 (balance-windows): Rewrite in terms of window tree functions,
17209 balance-windows-1 and balance-windows-2.
17210 (bw-adjust-window): Remove.
17211 (balance-windows-area-adjust): New function with functionality of
17212 bw-adjust-window but using resize-window.
2b75be67
SM
17213 (set-window-text-height): Rewrite doc-string.
17214 Use normalize-live-window and resize-window.
17215 (enlarge-window-horizontally, shrink-window-horizontally):
17216 Rename argument to DELTA.
6198ccd0
MR
17217 (window-buffer-height): New function.
17218 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17219 Rewrite using new window resize routines.
2b75be67
SM
17220 (kill-buffer-and-window, mouse-autoselect-window-select):
17221 Use ignore-errors instead of condition-case.
6198ccd0
MR
17222 (quit-window): Call delete-frame instead of delete-windows-on
17223 for the only buffer on frame.
17224
9397e56f
MR
172252011-06-10 Martin Rudalics <rudalics@gmx.at>
17226
17227 * loadup.el (top-level): Load window before files for the sake
17228 of replace-buffer-in-windows.
17229
17230 * files.el (read-buffer-to-switch)
17231 (switch-to-buffer-other-window)
2b75be67
SM
17232 (switch-to-buffer-other-frame, display-buffer-other-frame):
17233 Move to window.el.
9397e56f
MR
17234
17235 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17236 (previous-buffer): Move to window.el.
17237
17238 * bindings.el (unbury-buffer): Move to window.el.
17239
17240 * window.el (delete-other-windows-vertically): Move after
17241 definition of delete-other-windows.
17242 (other-window, delete-windows-on, replace-buffer-in-windows):
17243 Move here from window.c.
17244 (record-window-buffer, unrecord-window-buffer)
17245 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17246 (switch-to-next-buffer): New functions.
17247 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17248 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17249 (previous-buffer): Move here from simple.el.
17250 Call switch-to-prev-buffer.
9397e56f
MR
17251 (bury-buffer): Move here from buffer.c. Switch to previous
17252 buffer when window cannot be deleted.
17253 (unbury-buffer): Move here from bindings.el.
17254 (ctl-x-map): Move binding for other-window from window.c to
17255 here.
17256 (read-buffer-to-switch, switch-to-buffer-other-window)
17257 (switch-to-buffer-other-frame): Move here from files.el.
17258 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17259 (switch-to-buffer): Move here from buffer.c.
17260 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17261
562dd5e9
MR
172622011-06-10 Martin Rudalics <rudalics@gmx.at>
17263
17264 * window.el (window-min-height, window-min-width): Move here
17265 from window.c. Add defcustoms and rewrite doc-strings.
17266 (resize-mini-window, resize-window): New functions.
17267 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17268 Move here from window.c.
17269 (maximize-window, minimize-window): New functions.
17270 (delete-window, delete-other-windows, split-window): Move here
17271 from window.c.
17272 (window-split-min-size): New function.
17273 (split-window-keep-point): Mention split-window-above-each-other
17274 instead of split-window-vertically.
2b75be67 17275 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17276 Rename split-window-vertically to split-window-above-each-other
17277 and provide defalias for old definition.
17278 (split-window-side-by-side, split-window-horizontally):
17279 Rename split-window-horizontally to split-window-side-by-side
17280 and provide defalias for the old definition.
562dd5e9
MR
17281 (ctl-x-map): Move bindings for delete-window,
17282 delete-other-windows and enlarge-window here from window.c.
17283 Replace bindings for split-window-vertically and
17284 split-window-horizontally by bindings for
17285 split-window-above-each-other and split-window-side-by-side.
17286
17287 * cus-start.el (all): Remove entries for window-min-height and
17288 window-min-width. Add entries for window-splits and
17289 window-nest.
17290
f0da764a
GM
172912011-06-09 Glenn Morris <rgm@gnu.org>
17292
80675c21
GM
17293 * calendar/appt.el (appt-mode-line): New function.
17294 (appt-check, appt-disp-window): Use it.
17295
f0da764a
GM
17296 * files.el (hack-one-local-variable-eval-safep):
17297 Allow minor-modes with explicit +/-1 arguments.
17298
59f623b7
TZ
172992011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17300
17301 * term/xterm.el (xterm): Add defgroup.
17302 (xterm-extra-capabilities): Add defcustom to supply known xterm
17303 capabilities, skip querying them, or query them (default).
17304 (terminal-init-xterm): Use it.
17305 (terminal-init-xterm-modify-other-keys): New function to set up
17306 modifyOtherKeys support to simplify `terminal-init-xterm'.
17307
9aab8e0d
MR
173082011-06-09 Martin Rudalics <rudalics@gmx.at>
17309
17310 * window.el (resize-window-reset, resize-window-reset-1)
17311 (resize-subwindows-skip-p, resize-subwindows-normal)
17312 (resize-subwindows, resize-other-windows, resize-this-window)
17313 (resize-root-window, resize-root-window-vertically)
17314 (window-deletable-p, window-or-subwindow-p)
17315 (frame-root-window-p): New functions.
17316
e8b08aee
GM
173172011-06-09 Glenn Morris <rgm@gnu.org>
17318
17319 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17320 (ange-ftp-get-files): Use it.
17321
254c37a5
AK
173222011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17323
17324 * mail/sendmail.el (mail-recover-1, mail-recover):
17325 * files.el (recover-file, recover-session):
17326 Handle dired-listing-switches not being just a single short option.
17327
35d7dbd3
GM
173282011-06-09 Glenn Morris <rgm@gnu.org>
17329
17330 * calendar/appt.el (appt-display-message, appt-disp-window):
17331 Handle lists of appointments.
17332
387522b2
MR
173332011-06-08 Martin Rudalics <rudalics@gmx.at>
17334
2b75be67
SM
17335 * window.el (one-window-p): Move down in code.
17336 Rewrite doc-string.
17337 (window-current-scroll-bars): Rewrite doc-string.
17338 Normalize live window argument.
387522b2
MR
17339 (walk-windows, get-window-with-predicate, count-windows):
17340 Rewrite doc-string. Use window-list-1.
17341 (window-in-direction-2, window-in-direction, get-mru-window):
17342 New functions.
17343
d8e4b68b 173442011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17345
17346 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17347 Doc fix (Bug#8713).
17348
173492011-06-08 Chong Yidong <cyd@stupidchicken.com>
17350
17351 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17352
173532011-06-08 Juanma Barranquero <lekktu@gmail.com>
17354
17355 * loadhist.el (unload-feature-special-hooks):
17356 Add `comint-output-filter-functions'.
17357
0de12c52
IK
173582011-06-08 Ivan Kanis <gnu@kanis.fr>
17359
17360 * calendar/appt.el (appt-check): Move some initializations into the let.
17361
f3d1777e
MR
173622011-06-08 Martin Rudalics <rudalics@gmx.at>
17363
17364 * window.el (window-height): Defalias to window-total-height.
17365 (window-width): Defalias to window-body-width.
17366
18af70d0
CY
173672011-06-07 Chong Yidong <cyd@stupidchicken.com>
17368
17369 * image-mode.el (image-toggle-animation): New command.
17370 (image-mode-map): Bind it to RET.
17371 (image-mode): Update message.
17372 (image-toggle-display-image): Avoid a spurious cache flush.
17373 (image-transform-rotation): Doc fix.
17374 (image-transform-properties): Return quickly in the normal case.
17375 (image-animate-loop): Rename from image-animate-max-time.
17376
2b75be67 17377 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17378 (create-animated-image): Remove unnecessary function.
17379 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17380 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17381 (image-animate-timer): Use car-safe.
17382 (image-animate-timeout): Rename argument.
17383
190b47e6
MR
173842011-06-07 Martin Rudalics <rudalics@gmx.at>
17385
17386 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17387 window.c. Rename first argument to ALL-FRAMES.
17388 Rephrase doc-strings.
17389 (get-buffer-window-list): Rewrite using window-list-1.
17390 Rephrase doc-string.
a1511caf
MR
17391 (window-safe-min-height, window-safe-min-width): New constants.
17392 (window-size-ignore, window-min-size, window-min-size-1)
17393 (window-sizable, window-sizable-p, window-size-fixed-1)
17394 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17395 (window-max-delta-1, window-max-delta, window-resizable)
17396 (window-resizable-p, window-total-height, window-total-width)
17397 (window-body-width): New functions.
17398 (window-full-height-p, window-full-width-p): Rewrite using
17399 window-total-size.
17400 (window-body-height): Rewrite using window-body-size.
190b47e6 17401
85cc1f11
MR
174022011-06-06 Martin Rudalics <rudalics@gmx.at>
17403
17404 * window.el (window-right, window-left, window-child)
17405 (window-child-count, window-last-child, window-any-p)
17406 (normalize-live-buffer, normalize-live-frame)
17407 (normalize-any-window, normalize-live-window)
17408 (window-iso-combination-p, window-iso-combined-p)
17409 (window-iso-combinations)
17410 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17411 (windows-with-parameter, window-with-parameter)
17412 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17413 (window-atom-check, window-side-check, window-check):
17414 New functions.
85cc1f11
MR
17415 (ignore-window-parameters, window-sides, window-sides-vertical)
17416 (window-sides-slots): New variables.
17417 (window-size-fixed): Move down in code. Minor doc-string fix.
17418
e7156492
AS
174192011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17420
17421 * comint.el (comint-dynamic-complete-as-filename)
17422 (comint-dynamic-complete-filename): Correctly call
17423 completion-in-region.
17424
7e821d0d
DD
174252011-06-05 Deniz Dogan <deniz@dogan.se>
17426
17427 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17428 in last change.
17429
ac09b8a1
DD
174302011-06-05 Deniz Dogan <deniz@dogan.se>
17431
17432 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17433 (rcirc): Use it to prompt for encryption.
17434
34699b85
RW
174352011-06-05 Roland Winkler <winkler@gnu.org>
17436
17437 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17438 (bibtex-search-entries): New command bound to C-c C-a.
17439 (bibtex-display-entries): New function.
17440
004dedd3
RW
174412011-06-05 Roland Winkler <winkler@gnu.org>
17442
17443 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17444 (bibtex-insert-kill): After yanking insert newline if necessary.
17445 (bibtex-initialize): Call bibtex-string-files-init only once.
17446 (bibtex-mode): Do not call easy-menu-add.
17447 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17448 (bibtex-yank): Set arg properly if nil.
17449
022fe7ce
RW
174502011-06-05 Roland Winkler <winkler@gnu.org>
17451
2b75be67
SM
17452 * textmodes/bibtex.el (bibtex-search-entry-globally):
17453 New variable.
022fe7ce
RW
17454 (bibtex-search-entry): Use it.
17455
b7c3692a
RW
174562011-06-05 Roland Winkler <winkler@gnu.org>
17457
17458 * textmodes/bibtex.el (bibtex-entry-format): New option
17459 sort-fields.
17460 (bibtex-format-entry, bibtex-reformat): Honor this option.
17461 (bibtex-parse-entry): Return fields in proper order.
17462
8eda563d
JB
174632011-06-05 Juanma Barranquero <lekktu@gmail.com>
17464
17465 * doc-view.el (doc-view-remove-if): Move computation of result out
17466 of `dolist' to silence misleading lexical-binding warning.
17467
7dbe3dbc
CY
174682011-06-04 Chong Yidong <cyd@stupidchicken.com>
17469
17470 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17471 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17472
0c33dd17
MA
174732011-06-04 Michael Albinus <michael.albinus@gmx.de>
17474
17475 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17476 "SunOS 5.10".
17477
f8f91c2b
MA
174782011-06-04 Michael Albinus <michael.albinus@gmx.de>
17479
17480 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17481 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17482 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17483 (tramp-parse-putty):
17484 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17485 (tramp-completion-function-alist-ssh)
17486 (tramp-completion-function-alist-telnet)
17487 (tramp-completion-function-alist-su)
17488 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17489 cookie.
17490
17491 * net/tramp-ftp.el:
17492 * net/tramp-sh.el:
17493 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17494 load "tramp.el" `tramp-set-completion-function'.
17495
e17d9003
SM
174962011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17497
17498 * shell.el: Require and use pcomplete.
17499 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17500 (shell-completion-vars): Set pcomplete-default-completion-function.
17501
6c4cab03
DD
175022011-06-04 Deniz Dogan <deniz@dogan.se>
17503
17504 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17505 `memq' (Bug#8799).
17506
ea9fafe0
SM
175072011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17508
17509 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17510
b3e945d3
JB
175112011-06-02 Juanma Barranquero <lekktu@gmail.com>
17512
17513 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17514 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17515 * vc/log-view.el (log-view-beginning-of-defun):
17516 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17517 (smerge-refine-forward, smerge-refine-chopup-region):
17518 Silence warning for unused `dotimes' counter variables.
17519
7d520089
SM
175202011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17521
17522 * net/tramp.el (tramp-with-progress-reporter): Rename from
17523 with-progress-reporter. Use `declare'.
17524 * net/tramp-smb.el:
17525 * net/tramp-sh.el:
17526 * net/tramp-gvfs.el: Update all uses.
17527
a1c2400f
JB
175282011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17529
17530 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17531 buffer isn't killed before making it current.
17532
2403c841
SM
175332011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17534
17535 Silence various byte-compiler warnings.
17536 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17537 `access-type' and new obsolescence format.
17538 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17539 new format.
17540 (byte-compile-check-variable): New `access-type' argument.
17541 Only warn if the access-type is obsolete.
17542 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17543 (byte-compile-variable-set): Adjust callers.
17544 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17545 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17546 setting it as obsolete.
17547 * simple.el (minibuffer-completing-symbol):
17548 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17549 access as obsolete.
17550 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17551 obsolete yet.
17552 * international/quail.el (quail-mouse-choose-completion): Remove unused
17553 code referring to obsolete var.
17554 (quail-choose-completion-string): Remove.
17555 * server.el (server-clients-with, server-kill-buffer-query-function)
17556 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17557 * proced.el (proced-send-signal):
17558 * emacs-lisp/lisp.el (lisp-complete-symbol):
17559 Replace completion-annotate-function with completion-extra-properties.
17560
2462470b
SM
175612011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17562
fb5b2591
SM
17563 * simple.el (goto-line): Use read-number.
17564 (overriding-map-is-bound): Remove.
17565 (saved-overriding-map): Change default.
17566 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17567 Take the map as argument.
17568 (universal-argument, negative-argument, digit-argument): Use it.
17569 (restore-overriding-map): Adjust.
17570 (do-auto-fill): Use fill-forward-paragraph.
17571 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17572
fd6fa53f
SM
17573 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17574 (minibuffer-inactive-mode): New major mode.
17575 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17576 the *Messages* buffer" hack.
17577 (mouse-popup-menubar): Don't burp if the event is a normal key.
17578
2462470b
SM
17579 Miscellaneous tweaks.
17580 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17581 lexical scoping as in subr.el's dolist and dotimes.
17582 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17583 Silence compiler warning.
17584 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17585 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17586 * international/ccl.el (ccl-compile): Trivial simplification.
17587 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17588 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17589 `printflag' argument.
17590 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17591 Purecopy the whole obsolescence data.
17592
108bf785
LL
175932011-06-01 Leo Liu <sdl.web@gmail.com>
17594
17595 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17596 improve doc-string as suggested by Marco Pessotto
17597 <melmothx@gmail.com>.
17598 (rcirc-print): Fix last change.
17599
30a23501
SM
176002011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17601
17602 * minibuffer.el (complete-with-action): Return nil for the metadata and
17603 boundaries of non-functional tables.
17604 (completion-table-dynamic): Return nil for the metadata.
17605 (completion-table-with-terminator): Add default case, using
17606 complete-with-action.
17607 (completion--metadata): New function.
17608 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17609 to try and avoid pathological performance problems.
17610 (completion--embedded-envvar-table): Return `category' metadata.
17611
bcd54f83
LMI
176122011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17613
17614 * subr.el (process-alive-p): New tiny convenience function.
17615
e227544d
SM
176162011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17619 content but also its previous major mode.
17620
e8296fdc
HE
176212011-05-31 Helmut Eller <eller.helmut@gmail.com>
17622
4d61f28d 17623 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17624 *Backtrace* buffer when we exit with C-M-c.
17625
620c53a6
SM
176262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * minibuffer.el: Add metadata method to completion tables.
17629 (completion-category-overrides): New defcustom.
17630 (completion-metadata, completion--field-metadata)
17631 (completion-metadata-get, completion--styles)
17632 (completion--cycle-threshold): New functions.
17633 (completion-try-completion, completion-all-completions):
17634 Add `metadata' argument to choose completion-styles.
17635 (completion--do-completion): Use metadata to choose cycling.
17636 (completion-all-sorted-completions): Use metadata for sorting.
17637 Remove :completion-cycle-penalty which is not needed any more.
17638 (completion--try-word-completion): Add `metadata' argument.
17639 (minibuffer-completion-help): Check metadata for annotation function
17640 and sorting.
17641 (completion-file-name-table): Return `category' metadata.
17642 (minibuffer-completing-file-name): Make obsolete.
17643 * simple.el (minibuffer-completing-symbol): Make obsolete.
17644 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17645 completion-try-completion.
17646
1257e755
SM
176472011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17648
17649 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17650
3767e706
LL
176512011-05-30 Leo Liu <sdl.web@gmail.com>
17652
17653 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17654 (rcirc-print): Decode all incoming messages (bug#8744).
17655 (rcirc-decode-coding-system): Allow value nil for automatic coding
17656 system detection.
3767e706 17657
d1a5d56a
GM
176582011-06-01 Glenn Morris <rgm@gnu.org>
17659
17660 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17661
e8cbec34
CY
176622011-05-29 Chong Yidong <cyd@stupidchicken.com>
17663
17664 * image.el (image-animate-max-time): Allow nil and t values.
17665 Default to nil.
17666 (create-animated-image): Doc fix.
17667 (image-animate-start): Remove second arg; just use
17668 image-animate-max-time.
17669 (image-animate-timeout): Doc fix. Args changed.
17670
17671 * image-mode.el (image-toggle-display-image): Ensure that the
17672 image spec passed to the animate timer is the same object as in
58179cce 17673 the buffer's display property (Bug#6981).
e8cbec34
CY
17674 (image-transform-properties): Doc fix.
17675
17676 * image.el (image-animate-max-time): Default to nil.
17677
159daf87
MR
176782011-05-29 Martin Rudalics <rudalics@gmx.at>
17679
17680 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17681 entire buffer list (Bug#8184).
17682
d66c4c7c
CY
176832011-05-29 Chong Yidong <cyd@stupidchicken.com>
17684
17685 * image.el (imagemagick-types-inhibit)
17686 (imagemagick-register-types): Doc fix.
17687
80aec780
DD
176882011-05-29 Deniz Dogan <deniz@dogan.se>
17689
17690 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17691 default.
17692
1dd3c2d9
CY
176932011-05-29 Chong Yidong <cyd@stupidchicken.com>
17694
17695 * select.el: Don't perform clipboard-manager saving in hooks;
17696 leave the hooks empty.
17697
60e56523
LL
176982011-05-28 Leo Liu <sdl.web@gmail.com>
17699
17700 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17701 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17702 (occur-edit-mode): New major mode (Bug#8463).
17703 (occur-after-change-function): New function.
17704 (occur-engine): Give Occur tags a read-only property.
17705
2b1e1a22
KR
177062011-05-28 Kevin Ryde <user42@zip.com.au>
17707
17708 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17709
5d344e88
CY
177102011-05-28 Chong Yidong <cyd@stupidchicken.com>
17711
8e6ca83d
CY
17712 * bindings.el (help-echo): Make the initial non-indicator dash
17713 empty on graphical terminals (Bug#7295).
17714
5d344e88
CY
17715 * files.el (auto-mode-alist): Move config rule after the
17716 in-stripping one (Bug#8547).
17717
bfbbace7
CY
17718 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17719
fbeba6e2
CY
17720 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17721 setting (Bug#8740).
17722
60ed8c72
AA
177232011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17724
4ac619f0
AA
17725 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17726 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17727 (Bug#8539).
60ed8c72 17728
23db196e
CY
177292011-05-28 Chong Yidong <cyd@stupidchicken.com>
17730
17731 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17732
5012f24c
DK
177332011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17734
17735 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17736 (hs-hide-block-at-point, hs-find-block-beginning)
17737 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17738 (Bug#8279).
17739
6a639b16
GM
177402011-05-28 Glenn Morris <rgm@gnu.org>
17741
17742 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17743
d43eaf2c
CY
177442011-05-28 Chong Yidong <cyd@stupidchicken.com>
17745
5199bde1
CY
17746 * help-fns.el (describe-function-1): If the function is a derived
17747 major mode, print the parent mode.
17748
d43eaf2c
CY
17749 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17750 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17751
423428a8
SM
177522011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17753
0ff8e1ba 17754 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17755 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17756 * progmodes/etags.el (tags-completion-at-point-function):
17757 * info-look.el (info-lookup-completions-at-point): Mark as
17758 non-exclusive.
17759 (info-complete): Adjust accordingly.
17760
423428a8
SM
17761 * info-look.el: Convert to lexical-binding and completion-at-point.
17762 (info-lookup-completions-at-point): New function.
17763 (info-complete): Use it and completion-in-region.
17764
b74aa22b
DA
177652011-05-28 Drew Adams <drew.adams@oracle.com>
17766
17767 * isearch.el: Let M-e start with point at the first mismatched char.
17768 (isearch-fail-pos): New function.
17769 (isearch-edit-string): Use it.
17770
66e2e71d
DK
177712011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17772
17773 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17774
b1890b0f 177752011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17776
17777 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17778 traversal functions for avl-trees.
17779 (avl-tree--stack): New struct.
17780 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17781 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17782 (avl-tree--do-enter): Add optional `updatefun' arg.
17783 Change return value.
eb95d01d 17784 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17785 (avl-tree--do-delete): Add `test' and `nilflag' args.
17786 Change return value.
eb95d01d
TC
17787 (avl-tree-member): Add optional `nilflag'
17788 (avl-tree-member-p): New function.
17789 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17790 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17791 (avl-tree-stack-empty-p): New functions.
17792
3769ddcf
TC
17793 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17794 avl-tree--del-balance1 and make it work both ways.
17795 (avl-tree--del-balance2): Remove.
17796 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17797 make it work both ways.
17798 (avl-tree--enter-balance2): Remove.
17799 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17800 New macros.
17801 (avl-tree--mapc, avl-tree-map): Add direction argument.
17802
eb95d01d 178032011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17804
17805 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17806
a9f737ee
CY
178072011-05-27 Chong Yidong <cyd@stupidchicken.com>
17808
17809 * select.el: Support clipboard managers with built-in function
17810 x-clipboard-manager-save, via delete-frame-functions and
17811 kill-emacs-hook.
17812 (xselect-convert-to-targets): Add MULTIPLE target to list.
17813 (xselect-convert-to-save-targets): New function.
17814
c92a1e54
KH
178152011-05-27 Kenichi Handa <handa@m17n.org>
17816
17817 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17818 let-binding rfc2047-encode-encoded-words to nil.
17819
e145f188
GM
178202011-05-27 Glenn Morris <rgm@gnu.org>
17821
5ec8a862
GM
17822 * mail/emacsbug.el: Don't require url-util.
17823
4b29d9fb
GM
17824 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17825
e145f188
GM
17826 * files.el (set-auto-mode):
17827 Also respect mode: entries at the end of the file. (Bug#8586)
17828
7d15102b
GM
178292011-05-26 Glenn Morris <rgm@gnu.org>
17830
98f593b8
GM
17831 * files.el (hack-local-variables-prop-line, hack-local-variables):
17832 Downcase mode names, as seems to be traditional.
27b48e63 17833 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17834
7d15102b
GM
17835 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17836 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17837
51d5b4ec
JD
178382011-05-25 Julien Danjou <julien@danjou.info>
17839
17840 * textmodes/rst.el (rst-define-level-faces): Do not define face
17841 symbol if it is already defined.
17842
91513f63
VB
178432011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17844
17845 * play/5x5.el (5x5-new-game, 5x5-randomize):
17846 Reset 5x5-solver-output to nil when a new grid is cast.
17847 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17848 these debugging traces, as defmacro breaks the compiled code.
17849
4d90d6d0
DK
178502011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17851
17852 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17853
e1b90ef6
LL
178542011-05-24 Leo Liu <sdl.web@gmail.com>
17855
17856 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17857 (vc-bzr-sha1): Adapt.
17858
d8e4b68b 17859 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17860
17861 * bindings.el: Provide sha1 feature.
17862
db0406bb 178632011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17864
17865 * mail/sendmail.el: Require `rfc2047'.
17866 (mail-insert-from-field): Do not perform RFC2047 encoding.
17867 (mail-encode-header): New function.
17868 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17869 buffer to the return value of select-message-coding-system.
17870 Call mail-encode-header.
b8d747b9
KH
17871
17872 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17873
db0406bb 178742011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17875
4d90d6d0
DK
17876 * mail/supercite.el (sc-default-cite-frame):
17877 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17878
eb8a5e9b
GM
178792011-05-24 Glenn Morris <rgm@gnu.org>
17880
f8630703
GM
17881 * progmodes/python.el (brm-menu): Declare.
17882
8831bbed
GM
17883 * emulation/viper.el (viper-set-hooks): Declare.
17884
eb8a5e9b
GM
17885 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17886 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17887 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17888 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17889 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17890 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17891
a2a25d24
SM
178922011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17893
17894 Add an :exit-function for completion-at-point.
17895
17896 * minibuffer.el (completion--done): New fun.
17897 (completion--do-completion): Use it. New arg `expect-exact'.
17898 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17899 since completion--do-completion does it for us now.
17900 (minibuffer-force-complete): Use completion--done and
17901 completion--replace. Handle sole-completion case with more care.
17902 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17903 (completion-extra-properties): New var.
17904 (completion-annotate-function): Make obsolete.
17905 (minibuffer-completion-help): Adjust accordingly.
17906 Use completion-list-insert-choice-function.
17907 (completion-at-point, completion-help-at-point):
17908 Bind completion-extra-properties.
17909 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17910 * simple.el (completion-list-insert-choice-function): New var.
17911 (completion-setup-function): Preserve it.
17912 (choose-completion): Pay attention to it, shuffle the code a bit.
17913 (choose-completion-string): New arg `insert-function'.
17914
17915 * textmodes/bibtex.el: Convert to lexical binding.
17916 (bibtex-mode-map): Use completion-at-point.
17917 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17918 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17919 (bibtex-complete): Define as obsolete alias.
17920 (bibtex-complete-internal): Remove.
17921 (bibtex-format-entry): Remove unused sub-group in regexp.
17922 * shell.el (shell--command-completion-data)
17923 (shell-environment-variable-completion):
17924 * pcomplete.el (pcomplete-completions-at-point):
17925 * comint.el (comint--complete-file-name-data): Use :exit-function
17926 instead of completion-table-with-terminator so it also works for
17927 choose-completion.
17928
e44e373d
SM
179292011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17930
4f91a816
SM
17931 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17932
782fc819
SM
17933 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17934 (bug#8710).
17935
e44e373d
SM
17936 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17937
381987c3
KM
179382011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17939
17940 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17941 customization variable and implement: If non-nil, auto-fill will
17942 be inhibited while on topic's header line.
17943
b776bc70
VB
179442011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17945
17946 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17947 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17948 always have a solution in grid size = 5 cases.
17949 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17950 (5x5-solver-output, 5x5-log-buffer): New vars.
17951 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17952 Make these variables buffer local to achieve 5x5 multi-session-ness.
17953 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17954 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17955 (5x5-solve-suggest): New funs.
17956 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17957 randomize a grid so that we ensure that there is always a solution.
17958 (5x5-make-random-grid): Allow other movement than flipping.
17959
7de88b6e
KR
179602011-05-23 Kevin Ryde <user42@zip.com.au>
17961
17962 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17963 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17964 advice and passes PREDICATE.
17965
b1ef1257
SM
179662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17967
bbca48fe
SM
17968 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17969 byte-compile-lambda if it's actually a lambda.
17970
b1ef1257
SM
17971 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17972 Fix function quoting. Use backquote better.
17973
92a9cc65
YS
179742011-05-22 Yuanle Song <sylecn@gmail.com>
17975
17976 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17977 matching (Bug#8516).
17978
f0fb8059
JA
179792011-01-22 Jari Aalto <jari.aalto@cante.net>
17980
17981 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17982 different face (Bug#8178).
17983
d5b44c93
CY
179842011-05-22 Chong Yidong <cyd@stupidchicken.com>
17985
17986 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17987 defface (Bug#8144).
17988
79106a44
SM
179892011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17990
9c848d8a
SM
17991 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17992 funcall as well (bug#8712). Warn when performing those conversions.
17993 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17994
79106a44
SM
17995 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17996
88dfa756
GM
179972011-05-22 Glenn Morris <rgm@gnu.org>
17998
17999 * files.el (hack-local-variables-prop-line): Small simplifications.
18000 (hack-local-variables, hack-local-variables-prop-line):
18001 If MODE-ONLY, return the mode, rather than just `t'.
18002
b7cf2c79
SM
180032011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18004
18005 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18006
3f1a8558
GM
180072011-05-21 Glenn Morris <rgm@gnu.org>
18008
7e4ccca3
GM
18009 * files.el (hack-local-variables-prop-line, hack-local-variables):
18010 If only interested in the mode, don't bother doing the other stuff.
18011
637d46ca
GM
18012 * image-mode.el (image-after-revert-hook):
18013 Redraw all frames on which the image is visible. (Bug#8567)
18014
973d955b
GM
18015 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18016
3f1a8558
GM
18017 * wid-edit.el (widget-checklist-match-inline):
18018 Fix 2011-04-19 change. (Bug#8649)
18019
96479927
SM
180202011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18021
1dcf791f
SM
18022 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18023 Also allow singlespace after single-letter capitals followed by a dot.
18024
96479927
SM
18025 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18026 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18027
35fd0881
N
180282011-05-20 Nix <nix@esperi.org.uk>
18029
18030 * files.el (basic-save-buffer-2):
18031 Fix handling of break-hardlink-on-save with non-existent files.
18032
82745640
DD
180332011-05-19 Deniz Dogan <deniz@dogan.se>
18034
18035 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18036 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18037
4a720484
GM
180382011-05-19 Glenn Morris <rgm@gnu.org>
18039
d1f21341
GM
18040 * progmodes/f90.el (f90-type-def-re):
18041 Handle "type, bind(c)". (Bug#8691)
18042
4a720484
GM
18043 * emacs-lisp/autoload.el (batch-update-autoloads):
18044 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18045
2fb0a219
MA
180462011-05-18 Michael Albinus <michael.albinus@gmx.de>
18047
18048 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18049 property for the correct connection in case of multihops.
18050
e565dd37
GM
180512011-05-18 Glenn Morris <rgm@gnu.org>
18052
c2571358 18053 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18054 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18055
e565dd37
GM
18056 Rationalize calendar handling of day and month abbrev-arrays.
18057 * calendar/calendar.el (calendar-customized-p): New function.
18058 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18059 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18060 Add :set function.
18061 (calendar-abbrev-length, calendar-day-abbrev-array)
18062 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18063 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18064 Elements may no longer be nil.
18065 (calendar-day-name, calendar-month-name):
18066 Update for changed nature of abbrev arrays.
18067 * calendar/diary-lib.el (diary-name-pattern):
18068 Update for changed nature of abbrev arrays.
18069 (diary-mark-entries-1): Update calendar-make-alist calls.
18070 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18071 * calendar/cal-html.el (cal-html-day-abbrev-array):
18072 Simply inherit from calendar-day-abbrev-array.
18073
1d99a745
SM
180742011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18075
18076 * progmodes/grep.el (grep-mode): Disable default
18077 compilation-directory-matcher setting (bug#8684).
18078
7c1d9aa0
MA
180792011-05-17 Michael Albinus <michael.albinus@gmx.de>
18080
18081 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18082 instead of "head" and "tail". There were problems with SunOS 5.9,
18083 and it performs better.
18084
3952e9d8
GM
180852011-05-17 Glenn Morris <rgm@gnu.org>
18086
2dd12e7f
GM
18087 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18088
e4157b9c
GM
18089 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18090 Replace obsolete function.
18091
8e249bbd
GM
18092 * shell.el (pcomplete-parse-arguments-function): Declare.
18093
3952e9d8
GM
18094 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18095 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18096 (appt-check): Doc fixes.
18097 (appt-disp-window-function, appt-delete-window-function):
18098 Remove needless special case in custom :type.
18099 (appt-display-count): Default to 0, not nil.
18100 (appt-check): Reset appt-display-count to 0, not nil.
18101
c71a0d48 181022011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18103
c71a0d48
GM
18104 * progmodes/python.el (python-font-lock-keywords):
18105 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18106
31d55be9
SM
181072011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18108
18109 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18110
3bfacb2f
KR
181112011-05-16 Kevin Ryde <user42@zip.com.au>
18112
18113 * info-look.el (makefile-automake-mode): New setups, looking in
18114 automake manual, then makefile-mode.
18115 (makefile-mode): Remove automake manual, have it just in
18116 makefile-automake-mode since there's various things different or
18117 not relevant to plain make.
18118 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18119 believe a hypothetical automake-mode would go to makefile-mode,
18120 not the other way around.
18121
c8e83751
CY
181222011-05-15 Chong Yidong <cyd@stupidchicken.com>
18123
5e9e35cd
CY
18124 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18125 hunk-end tags (Bug#8672).
18126
c8e83751
CY
18127 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18128 vc-annotate-show-diff-revision-at-line (Bug#8671).
18129
50b23e5a
GM
181302011-05-14 Glenn Morris <rgm@gnu.org>
18131
7210a739
GM
18132 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18133 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18134 (change-log-font-lock-keywords): Also handle multiple author lines
18135 with leading tabs. (Bug#8644)
7210a739 18136
4691905a
GM
18137 * calendar/appt.el (appt-check): Rename some local variables.
18138 Some simplification/reordering.
18139
50b23e5a
GM
18140 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18141 (feedmail-sendmail-f-doesnt-sell-me-out)
18142 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18143 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18144 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18145 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18146 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18147 (feedmail-binmail-gnulinuxish-template):
18148 Rename from feedmail-binmail-linuxish-template.
18149 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18150 Use insert-buffer-substring.
18151
215cda7c
BC
181522011-05-14 Bill Carpenter <bill@carpenter.org>
18153
18154 * mail/feedmail.el (feedmail-patch-level): Increase.
18155 (feedmail-debug): New custom group.
18156 (feedmail-confirm-outgoing-timeout)
18157 (feedmail-sendmail-f-doesnt-sell-me-out)
18158 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18159 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18160 (feedmail-sender-line, feedmail-from-line)
18161 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18162 (feedmail-spray-this-address)
215cda7c
BC
18163 (feedmail-spray-address-fiddle-plex-list)
18164 (feedmail-queue-use-send-time-for-date)
18165 (feedmail-queue-use-send-time-for-message-id)
18166 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18167 (feedmail-buffer-eating-function):
18168 Doc fixes.
18169 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18170 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18171 (feedmail-message-action-scroll-down): New functions.
18172 (feedmail-queue-directory, feedmail-queue-draft-directory):
18173 Use expand-file-name.
18174 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18175 Remove C-v help entry.
18176 (feedmail-queue-buffer-file-name): New variable.
18177 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18178 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18179 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18180 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18181 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18182 (feedmail-message-action-toggle-spray)
18183 (feedmail-run-the-queue-no-prompts)
18184 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18185 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18186 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18187 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18188 (feedmail-envelope-deducer, feedmail-fiddle-from)
18189 (feedmail-fiddle-sender, feedmail-default-date-generator)
18190 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18191 (feedmail-fiddle-spray-address)
18192 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18193 (feedmail-fiddle-list-of-fiddle-plexes)
18194 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18195 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18196 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18197 Change default. Doc fix.
18198 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18199 (feedmail-binmail-linuxish-template): New constant.
18200 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18201 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18202 (feedmail-send-it): Add debug call.
18203 Use feedmail-queue-buffer-file-name, and
18204 feedmail-send-it-immediately-wrapper.
18205 (feedmail-message-action-send): Add debug call.
18206 Use feedmail-send-it-immediately-wrapper.
18207 (feedmail-queue-express-to-queue): Add debug call.
18208 Run feedmail-queue-express-hook.
18209 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18210 (feedmail-message-action-help-blat):
18211 Rename from feedmail-queue-send-edit-prompt-help-first.
18212 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18213 Check line-endings. Handle errors better.
18214 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18215 Doc fix. Add debug call.
18216 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18217 Use feedmail-queue-send-edit-prompt-inner.
18218 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18219 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18220 from feedmail-queue-send-edit-prompt.
18221 (feedmail-queue-send-edit-prompt-help)
18222 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18223 (feedmail-tidy-up-slug): Add debug call.
18224 Respect feedmail-queue-slug-suspect-regexp.
18225 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18226 (feedmail-dump-message-to-queue): Add debug call.
18227 Expand queue-directory.
18228 (feedmail-dump-message-to-queue): Change message slightly.
18229 Use feedmail-say-chatter.
18230 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18231 (feedmail-send-it-immediately-wrapper): New function.
18232 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18233 Insert empty string rather than newline. Handle full-frame case.
18234 Use catch/throw. Use feedmail-say-chatter.
18235 (feedmail-fiddle-from): Try mail-host-address.
18236 (feedmail-default-message-id-generator): Doc fix.
18237 Bind system-time-locale. Handle missing end.
18238 (feedmail-fiddle-x-mailer): Add debug call.
18239 Handle feedmail-x-mailer-line being nil.
18240 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18241 Add debug call. Use buffer-substring-no-properties.
18242 (feedmail-say-debug, feedmail-say-chatter): New functions.
18243 (feedmail-find-eoh): Give an explicit error.
18244
42c7e61e
UJ
182452011-05-13 Ulf Jasper <ulf.jasper@web.de>
18246
c2571358 18247 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18248 family from helvetica to sans.
c2571358 18249 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18250 etc/images/newsticker.
18251
c2571358 18252 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18253 family from helvetica to sans.
18254
18255 * net/newst-plainview.el (newsticker-new-item-face)
18256 (newsticker-old-item-face, newsticker-immortal-item-face)
18257 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18258 (newsticker-statistics-face): Change default family from
42c7e61e 18259 helvetica to sans.
c2571358 18260 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18261 etc/images/newsticker.
18262
5d3385a0
JB
18263 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18264 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18265 auto-marking.
18266
8497a297
DV
182672011-05-13 Didier Verna <didier@xemacs.org>
18268
18269 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18270 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18271 TODO entries.
8497a297
DV
18272 (lisp-lambda-list-keyword-parameter-indentation)
18273 (lisp-lambda-list-keyword-parameter-alignment)
18274 (lisp-lambda-list-keyword-alignment): New customizable user options.
18275 (lisp-indent-defun-method): Improve docstring.
18276 (extended-loop-p): Fix comment.
18277 (lisp-indent-lambda-list-keywords-regexp): New variable.
18278 (lisp-indent-lambda-list): New function.
18279 (lisp-indent-259): Use it.
18280 (lisp-indent-defmethod): Support for more than one
18281 method qualifier and properly indent methods lambda-lists.
18282 (defgeneric): Provide a missing common-lisp-indent-function property.
18283
f278f87f
SM
182842011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18285
18286 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18287 bounds for the empty string (bug#8667).
18288
5233edd7
GM
182892011-05-13 Glenn Morris <rgm@gnu.org>
18290
5237a44f
GM
18291 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18292
8340026c 18293 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18294 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18295
5233edd7 18296 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18297 (appt-time-msg-list): Doc fix.
a5464014 18298 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18299
92d10796
AS
183002011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18301
18302 * progmodes/ld-script.el (ld-script-keywords)
18303 (ld-script-builtins): Update keywords list.
18304
914a0ae1
SM
183052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18306
c89be45f
SM
18307 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18308
914a0ae1
SM
18309 * shell.el (shell-completion-vars): New function.
18310 (shell-mode):
18311 * simple.el (read-shell-command): Use it.
18312 (blink-matching-open): No need for " [...]" in minibuffer-message.
18313
98dc3df3
GM
183142011-05-12 Glenn Morris <rgm@gnu.org>
18315
18316 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18317 (appt-check): Simplify.
18318
d2fc7e3d 183192011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18320
4d61f28d 18321 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18322 literal "/dev/null".
18323
d2fc7e3d 183242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18325
18326 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18327 Fix typo.
18328
d2fc7e3d 183292011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18330
3f254caa
SM
18331 * progmodes/which-func.el (which-function):
18332 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18333 which might not be defined (Bug#8260).
18334
d45885f7
GM
183352011-05-12 Glenn Morris <rgm@gnu.org>
18336
18337 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18338 Let byte-compile-initial-macro-environment always take precedence.
18339
488086f4
SM
183402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18341
18342 * net/rcirc.el: Add support for SSL/TLS connections.
18343 (rcirc-server-alist): New field `encryption'.
18344 (rcirc): Check `encryption' settings.
18345 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18346 Merge make-local-variable into `set'.
18347 (rcirc--connection-open-p): New function.
18348 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18349 the process is not a network process (e.g. running gnutls-cli).
18350 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18351 Make rcirc-(en|de)code-coding-system local here.
18352 (rcirc-mode): Merge make-local-variable into `set'.
18353 (rcirc-parent-buffer): Make permanent buffer-local.
18354 (rcirc-multiline-minor-mode): Don't do it here.
18355 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18356 there's no server buffer.
18357
7d3b9d44
GM
183582011-05-11 Glenn Morris <rgm@gnu.org>
18359
f64049c6
GM
18360 * newcomment.el (comment-kill): Prefix "unused" local.
18361
93c9df73
GM
18362 * term/w32console.el (get-screen-color): Declare.
18363
7d3b9d44
GM
18364 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18365 Handle symbol elements of byte-compile-initial-macro-environment.
18366
9e2dd53f
LL
183672011-05-10 Leo Liu <sdl.web@gmail.com>
18368
488086f4
SM
18369 * bookmark.el (bookmark-bmenu-mode-map):
18370 Bind bookmark-bmenu-search to `/'.
8b340240 18371
9e2dd53f 18372 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18373 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18374 (Footnote-unicode): New function.
18375 (footnote-style-alist): Add unicode style to the list.
18376 (footnote-style): Doc fix.
9e2dd53f 18377
79b70037
GM
183782011-05-10 Jim Meyering <meyering@redhat.com>
18379
18380 Fix doubled-word typos.
18381 * international/quail.el (quail-insert-kbd-layout): and and -> and
18382 * kermit.el: and and -> and
18383 * net/ldap.el (ldap-search-internal): to to -> to
18384 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18385 * progmodes/js.el (js-mode): and and -> and
18386 * textmodes/artist.el (artist-move-to-xy): at at -> at
18387 (artist-draw-region-trim-line-endings): if if -> if
18388 And Safetyc -> Safety.
18389 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18390
b8f82dc1 183912011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18392 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18393
18394 * files.el (hack-one-local-variable-eval-safep):
18395 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18396
4f99f44b
GM
183972011-05-10 Glenn Morris <rgm@gnu.org>
18398
18399 * calendar/diary-lib.el (diary-list-entries-hook)
18400 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18401 (diary-nongregorian-marking-hook, diary-list-entries)
18402 (diary-include-other-diary-files, diary-mark-entries)
18403 (diary-mark-included-diary-files): Doc fixes.
18404
84f29e6b
JB
184052011-05-09 Juanma Barranquero <lekktu@gmail.com>
18406
18407 * misc.el: Require tabulated-list.el during compilation.
18408
9bedd73a
CY
184092011-05-09 Chong Yidong <cyd@stupidchicken.com>
18410
488086f4
SM
18411 * progmodes/compile.el (compilation-start):
18412 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18413 (compilation-filter-hook): Doc fix.
18414
797c735c
DD
184152011-05-09 Deniz Dogan <deniz@dogan.se>
18416
18417 * wdired.el: Remove outdated installation comment. Fix usage
18418 comment.
18419
5f4b1dfe
JB
184202011-05-09 Juanma Barranquero <lekktu@gmail.com>
18421
18422 * misc.el: Implement new command `list-dynamic-libraries'.
18423 (list-dynamic-libraries--loaded-only-p): New variable.
18424 (list-dynamic-libraries--refresh): New function.
18425 (list-dynamic-libraries): New command.
18426
4c44026c
CY
184272011-05-09 Chong Yidong <cyd@stupidchicken.com>
18428
488086f4
SM
18429 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18430 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18431 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18432 higher priority to avoid clobbering by gnu.
18433
027f966d
CY
184342011-05-08 Chong Yidong <cyd@stupidchicken.com>
18435
18436 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18437 if the face has existing theme settings (Bug#8454).
18438
085f5d7d
CY
184392011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18440
488086f4
SM
18441 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18442 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18443
2a86a00c
RS
18444 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18445 special file names `.' and `..' (Bug#8259).
18446
d9c54a06
CY
184472011-05-08 Chong Yidong <cyd@stupidchicken.com>
18448
488086f4
SM
18449 * progmodes/grep.el (grep-mode-font-lock-keywords):
18450 Remove buffer-changing entries.
d9c54a06
CY
18451 (grep-filter): New function.
18452 (grep-mode): Add it to compilation-filter-hook.
18453
18454 * progmodes/compile.el (compilation-filter-hook)
18455 (compilation-filter-start): New defvars.
18456 (compilation-filter): Call compilation-filter-hook prior to
18457 updating the process mark.
18458
c4662635
SM
184592011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18460
18461 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18462
b0512a1d
EZ
184632011-05-07 Eli Zaretskii <eliz@gnu.org>
18464
605c9376
EZ
18465 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18466 mailclient-send-it even if window-system is nil. (Bug#8595)
18467
c4662635
SM
18468 * term/w32console.el (terminal-init-w32console):
18469 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18470 background-mode. (Bug#8597)
18471
d1dc2cc2
SM
184722011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18473
18474 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18475 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18476 New functions.
18477 (defgeneric, eieio--defmethod): Use them.
18478 (eieio-defgeneric): Remove.
18479 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18480
915d1300
GM
184812011-05-07 Glenn Morris <rgm@gnu.org>
18482
a3961c3e
GM
18483 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18484 Use let rather than let*.
18485 (timeclock-find-discrep): Remove unused local.
18486
314347b9
GM
18487 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18488
915d1300
GM
18489 * calendar/appt.el (appt-time-msg-list): Doc fix.
18490
275b59b0
NF
184912011-05-06 Noah Friedman <friedman@splode.com>
18492
18493 * apropos.el (apropos-print-doc): Only use
18494 emacs-lisp-docstring-fill-column when it is bound to an integer,
18495 per that variable's documentation.
18496
6c19f744
SM
184972011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18498
18499 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18500 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18501
60f884b2
GM
185022011-05-06 Glenn Morris <rgm@gnu.org>
18503
5006e634
GM
18504 * calendar/appt.el (appt-message-warning-time): Doc fix.
18505 (appt-warning-time-regexp): New option.
18506 (appt-make-list): Respect appt-message-warning-time.
18507
548d0a63
GM
18508 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18509 New options.
18510 (diary-add-to-list): Strip comments from the displayed string.
18511 (diary-mode): Set comment-start and comment-end.
18512
60f884b2
GM
18513 * vc/diff-mode.el (smerge-refine-subst): Declare.
18514 (diff-refine-hunk): Don't require smerge-mode when compiling.
18515
989681bb
JB
185162011-05-06 Juanma Barranquero <lekktu@gmail.com>
18517
18518 * simple.el (list-processes): Return nil as the docstring says.
18519
a6bc05e1
MA
185202011-05-05 Michael Albinus <michael.albinus@gmx.de>
18521
18522 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18523 to "".
18524 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18525 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18526 determining of binary transfer. (Bug#7383)
18527
23c22e9a
MA
185282011-05-05 Michael Albinus <michael.albinus@gmx.de>
18529
c4662635
SM
18530 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18531 Fix port computation bug. (Bug#8618)
23c22e9a 18532
0bff894f
GM
185332011-05-05 Glenn Morris <rgm@gnu.org>
18534
b8296902
GM
18535 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18536
1f522ce8
GM
18537 * simple.el (shell-dynamic-complete-functions)
18538 (comint-dynamic-complete-functions): Declare.
18539
cf5bee67
GM
18540 * net/network-stream.el (gnutls-negotiate):
18541 * simple.el (tabulated-list-print): Fix declarations.
18542
18543 * progmodes/gud.el (syntax-symbol, syntax-point):
18544 Remove unnecessary and incorrect declarations.
18545
0bff894f 18546 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18547 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18548
9869b3ae
SM
185492011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18550
18551 Fix earlier half-done eieio-defmethod change (bug#8338).
18552 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18553 Streamline and change calling convention.
18554 (defmethod): Adjust accordingly and simplify.
18555 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18556 new eieio--defmethod.
18557 (slot-boundp): Minor CSE simplification.
18558
9c1d5ac5
MZ
185592011-05-05 Milan Zamazal <pdm@zamazal.org>
18560
18561 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18562 (glasses-make-readable): Use glasses-separate-capital-groups.
18563
455c834e
JB
185642011-05-05 Juanma Barranquero <lekktu@gmail.com>
18565
18566 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18567 (warning-series): Doc fix.
18568 (display-warning): Don't try to create the buffer if we just found it.
18569
9ed7c8cb
CY
185702011-05-04 Chong Yidong <cyd@stupidchicken.com>
18571
18572 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18573 (autoload-find-generated-file): New function.
18574 (generate-file-autoloads): Bind generated-autoload-file to
18575 buffer-file-name.
9869b3ae
SM
18576 (update-file-autoloads, update-directory-autoloads):
18577 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18578 output file (Bug#7989).
18579 (batch-update-autoloads): Doc fix.
18580
0898ca10
JB
185812011-05-04 Juanma Barranquero <lekktu@gmail.com>
18582
18583 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18584
31dfb76c
GM
185852011-05-04 Glenn Morris <rgm@gnu.org>
18586
f330b642
GM
18587 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18588 function, so it follows changes in calendar-date-style.
18589 (diary-fancy-date-matcher): New function.
18590 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18591 (diary-fancy-font-lock-fontify-region-function):
18592 Use diary-fancy-date-pattern as a function.
18593
31dfb76c
GM
18594 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18595 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18596
48e79d6a
TZ
185972011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18598
18599 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18600 instead of positional arguments. Allow :keylist and :crlfiles
18601 arguments.
18602 (open-gnutls-stream): Call it.
18603
18604 * net/network-stream.el (network-stream-open-starttls): Adjust to
18605 call `gnutls-negotiate' with :process and :hostname arguments.
18606
dd5a5ee0
SM
186072011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18608
ef80fc09
SM
18609 * minibuffer.el (completion--message): New function.
18610 (completion--do-completion, minibuffer-complete)
18611 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18612 (completion--do-completion): Don't ignore completion-auto-help when in
18613 icomplete-mode.
18614
dd5a5ee0
SM
18615 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18616 internal encoding (e.g. tibetan zero is not whitespace).
18617 (global-whitespace-mode): Prefer save-current-buffer.
18618 (whitespace-trailing-regexp): Remove useless save-match-data.
18619 (whitespace-empty-at-bob-regexp): Minor simplification.
18620
b7d22a83
CY
186212011-05-03 Chong Yidong <cyd@stupidchicken.com>
18622
18623 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18624
5192af46
AM
186252011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18626
18627 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18628 Use `concat' to create string for insertion.
5192af46 18629
5767d190
SM
186302011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18631
18632 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18633 Avoid open-line which runs post-self-insert-hook.
18634 (bibtex-fill-entry): Remove unused `end' var.
18635
bf242939
AM
186362011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18637
5767d190
SM
18638 * textmodes/ispell.el (ispell-add-per-file-word-list):
18639 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18640
25666126
LL
186412011-05-03 Leo Liu <sdl.web@gmail.com>
18642
18643 * isearch.el (isearch-yank-pop): New command.
5767d190 18644 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18645 (isearch-forward): Mention it.
18646
52d3c2d0
SM
186472011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18648
1bcace58
SM
18649 * simple.el (minibuffer-complete-shell-command): Remove.
18650 (minibuffer-local-shell-command-map): Use completion-at-point.
18651 (read-shell-command): Setup completion vars here instead.
18652 (read-expression-map): Bind TAB to symbol completion.
18653
52d3c2d0
SM
18654 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18655 error directly rather via storing it into `results'.
18656
35813471
LL
186572011-05-02 Leo Liu <sdl.web@gmail.com>
18658
18659 * vc/diff.el: Fix description.
18660
e793a940
LMI
186612011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18662
18663 * server.el (server-eval-at): New function.
18664
8de66e05
LMI
186652011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18666
18667 * net/network-stream.el (open-network-stream): Take a :nowait
18668 parameter and pass it on to `make-network-process'.
18669 (network-stream-open-plain): Ditto.
18670
dcb79f20
AS
186712011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18672
18673 * faces.el (face-spec-set-match-display): Don't match toolkit
18674 options on terminal frames.
18675
14a7fbd8
SM
186762011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18677
7eabc1be
SM
18678 * progmodes/pascal.el: Use lexical binding.
18679 (pascal-mode-map): Remove author preferences.
18680
14a7fbd8
SM
18681 * pcomplete.el (pcomplete-std-complete): Don't abuse
18682 completion-at-point.
18683
50f84510
JB
186842011-04-28 Juanma Barranquero <lekktu@gmail.com>
18685
6e087a44
JB
18686 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18687 removing code that has been dead since 1991 or so.
18688
50f84510
JB
18689 * startup.el (command-line): When warning about "_emacs", use a
18690 delayed warning to allow the user to filter it out.
18691
0ba690bd
DD
186922011-04-28 Deniz Dogan <deniz@dogan.se>
18693
18694 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18695 user has not joined.
18696
08abfaad
SM
186972011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18698
18699 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18700 aren't any completions at point.
18701
638f053a
JB
187022011-04-28 Juanma Barranquero <lekktu@gmail.com>
18703
18704 * subr.el (display-delayed-warnings): New function.
18705 (delayed-warnings-hook): New variable.
18706
8fff8daa
SM
187072011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18708
08abfaad
SM
18709 * minibuffer.el (completion-at-point, completion-help-at-point):
18710 Don't presume that a given completion-at-point-function will always
18711 use the same calling convention.
18712
8fff8daa
SM
18713 * pcomplete.el (pcomplete-completions-at-point):
18714 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18715 pcomplete-seen is non-nil.
18716 (pcomplete-comint-setup): Also recognize the new comint/shell
18717 completion functions.
18718 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18719 pcomplete-seen is non-nil.
18720
841a1577 187212011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18722
841a1577 18723 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18724 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18725 the first character in the entry. This allows for code to add its
211ec907
UJ
18726 own uid to the entry.
18727 (icalendar--convert-float-to-ical): Add export of
18728 `diary-float'-entries save for those with the optional DAY
18729 argument.
18730
2a782793
DC
187312011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18732
18733 * subr.el (shell-quote-argument): Use alternate escaping strategy
18734 when we spot a variable reference in a string.
18735
0438ce91
DC
187362011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18737
18738 * cus-start.el (all): Define customization for debug-on-event.
18739
841a1577 187402011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18741
18742 * subr.el (shell-quote-argument): Escape correctly under Windows.
18743
d090ed6c
SM
187442011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18745
18746 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18747
bfd31217
MA
187482011-04-25 Michael Albinus <michael.albinus@gmx.de>
18749
d090ed6c
SM
18750 * net/tramp.el (tramp-process-actions): Add POS argument.
18751 Delete region between POS and (pos).
bfd31217 18752
d090ed6c
SM
18753 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18754 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18755 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18756
18757 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18758 position in `tramp-process-actions' call.
18759
18760 * net/trampver.el: Update release number.
18761
e92f3bd3
SM
187622011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18763
850256b5
SM
18764 * custom.el (defcustom): Obey lexical-binding.
18765
e92f3bd3
SM
18766 Fix octave-inf completion problems reported by Alexander Klimov.
18767 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18768 Inherit from octave-mode-syntax-table.
18769 (inferior-octave-mode): Set info-lookup-mode.
18770 (inferior-octave-completion-at-point): New function.
18771 (inferior-octave-complete): Use it and completion-in-region.
18772 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18773 comint-filename-completion.
18774 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18775 symbol elements which shouldn't be word elements.
18776 (octave-font-lock-keywords, octave-beginning-of-defun)
18777 (octave-function-header-regexp): Adjust regexps accordingly.
18778 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18779
cd22b309
JB
187802011-04-25 Juanma Barranquero <lekktu@gmail.com>
18781
18782 * net/gnutls.el (gnutls-errorp): Declare before first use.
18783
8b492194
TZ
187842011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18785
18786 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18787 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18788 default trustfile exists before going to use it. Add missing
5a5fa834 18789 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18790 Reported by Claudio Bley <claudio.bley@gmail.com>.
18791 (open-gnutls-stream): Add usage example.
18792
18793 * net/network-stream.el (network-stream-open-starttls): Give host
18794 parameter to `gnutls-negotiate'.
18795 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18796 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18797
841a1577 187982011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18799
cd22b309
JB
18800 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18801 Use correct match group (bug#8438).
05842630 18802
3ba7869c
CY
188032011-04-24 Chong Yidong <cyd@stupidchicken.com>
18804
512e3ae1
CY
18805 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18806 (package-menu--generate): New arg specifying packages to show.
18807 (package-menu-refresh, package-menu-execute, list-packages):
18808 Callers changed.
18809 (package-show-package-list): New function, replacing deleted
18810 package--list-packages (renamed because it is non-internal).
18811
18812 * finder.el (finder-list-matches): Use package-show-package-list
18813 instead of deleted package--list-packages.
18814
e92f3bd3
SM
18815 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18816 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18817 (vc-annotate-mode-map): Bind it to RET.
18818
7031be6d
UR
188192011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18820
18821 * progmodes/etags.el (next-file): Don't use set-buffer to change
18822 buffers (Bug#8478).
18823
4ef177aa
CY
188242011-04-24 Chong Yidong <cyd@stupidchicken.com>
18825
c8d173eb
CY
18826 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18827
4ef177aa
CY
18828 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18829 (apropos-accumulator): Doc fix.
18830 (apropos-function, apropos-macro, apropos-command)
18831 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18832 (apropos-plist): Add face property.
18833 (apropos-symbols-internal): Fix indentation.
18834 (apropos-print): Simplify help, and recognize apropos-multi-type.
18835 (apropos-print-doc): Use button-type-get to extract the button's
18836 face property. Fill docstring (Bug#8352).
18837
4ffd0d6b 188382011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18839
18840 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18841
c6c32125 18842 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18843 (mpuz-mode-map): Use mapc.
c6c32125
JB
18844 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18845 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18846 Fix typos in docstrings.
18847
58d468b4
JB
18848 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18849 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18850
6470c3c6
JB
18851 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18852
4ffd0d6b 188532011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18854
18855 * minibuffer.el (completion--do-completion): Avoid the "Next char
18856 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18857
3ad8bad0
CY
18858 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18859 mouse-2 into unread-command-events, it is interpreted correctly.
18860
71d73c9c 18861 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18862 (image-toggle-display): Doc fix.
71d73c9c 18863
841a1577 188642011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18865
4ffd0d6b
GM
18866 * textmodes/page.el (what-page): Use line-number-at-pos to
18867 calculate line number (Bug#6825).
6e1dbaa9 18868
c2fb1b60
JB
188692011-04-22 Juanma Barranquero <lekktu@gmail.com>
18870
18871 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18872 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18873 Pass argument NO-DEFAULT to `find-tag-interactive'.
18874
e02f48d7
JB
188752011-04-22 Juanma Barranquero <lekktu@gmail.com>
18876
18877 Lexical-binding cleanup.
18878
18879 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18880 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18881 * progmodes/ada-prj.el (ada-prj-initialize-values)
18882 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18883 (ada-prj-show-value):
18884 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18885 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18886 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18887 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18888 * progmodes/bug-reference.el (bug-reference-push-button):
18889 * progmodes/fortran.el (fortran-line-length):
18890 * progmodes/glasses.el (glasses-change):
18891 * progmodes/octave-mod.el (octave-fill-paragraph):
18892 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18893 (python-pdbtrack-grub-for-buffer, python-sentinel):
18894 * progmodes/sql.el (sql-save-connection):
18895 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18896 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18897 Mark unused parameters.
18898
18899 * progmodes/compile.el (compilation--flush-directory-cache)
18900 (compilation--flush-parse, compile-internal): Mark unused parameters.
18901 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18902 (compilation-next-error-function): Remove unused variable `timestamp'.
18903
18904 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18905 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18906
18907 * progmodes/dcl-mode.el (dcl-end-of-command):
18908 Remove unused variable `start'.
18909 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18910 (dcl-option-value-basic, dcl-option-value-offset)
18911 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18912 Mark unused parameters.
18913 (dcl-save-local-variable): Remove unused variable `val'.
18914 (mode): Declare.
18915
18916 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18917 Mark unused parameters.
18918 (delphi-ignore-changes): Move before first use.
18919 (delphi-charset-token-at): Remove unused variable `start'.
18920 (delphi-else-start): Remove unused variable `if-count'.
18921 (delphi-comment-block-start, delphi-comment-block-end):
18922 Remove unused variable `kind'.
18923 (delphi-indent-line): Remove unused variable `new-point'.
18924
18925 * progmodes/ebrowse.el (ebrowse-files-list)
18926 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18927 Mark unused parameters. Don't quote `lambda'.
18928 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18929 Don't quote `lambda'.
18930 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18931 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18932 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18933 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18934 Use `ignore-errors'.
18935 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18936 (ebrowse-view/find-file-and-search-pattern)
18937 (ebrowse-view/find-member-declaration/definition):
18938 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18939 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18940 Rename parameter PREFIX-ARG to PREFIX.
18941 (ebrowse-tags-read-name): Remove unused variables `start' and
18942 `member-info'.
18943 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18944 to `tags-file'.
18945
18946 * progmodes/etags.el (local-find-tag-hook): Declare.
18947 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18948 Mark unused parameters.
18949
18950 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18951 (executable-interpret): Mark unused parameter.
18952
18953 * progmodes/flymake.el (flymake-process-sentinel)
18954 (flymake-after-change-function)
18955 (flymake-create-temp-with-folder-structure)
18956 (flymake-get-include-dirs-dot): Mark unused parameters.
18957 (flymake-safe-delete-directory): Remove unused variable `err'.
18958
18959 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18960 (speedbar-timer-fn, speedbar-line-text)
18961 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18962 (speedbar-center-buffer-smartly): Declare functions.
18963 (gdb-find-watch-expression): Remove unused variable `array'.
18964 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18965 (gdb-starting): Mark unused parameters.
18966 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18967 (gdb-table-string): Remove unused variable `res'.
18968 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18969 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18970 (gdb-display-buffer): Remove unused variable `cur-size'.
18971
18972 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18973 allow lexical-binding compilation.
18974 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18975 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18976 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18977 Mark unused parameters.
18978 (gud-gdb-marker-filter): Remove unused variable `match'.
18979 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18980 lambda expressions and funcall them, instead of using `fset'.
18981
18982 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18983 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18984
18985 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18986 variable `header-beg'; use `let'.
18987
18988 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18989 `restart', `last-sexp' and `at-do'.
18990
18991 * progmodes/js.el (js--debug): Mark unused parameter.
18992 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18993 (js--splice-into-items): Remove unused variable `item'.
18994 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18995
18996 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18997 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18998 (makefile-complete): Remove unused variable `try'.
18999 (makefile-fill-paragraph, makefile-match-function-end):
19000 Mark unused parameters.
19001
19002 * progmodes/octave-inf.el (inferior-octave-complete):
19003 Remove unused variable `proc'.
19004 (inferior-octave-output-digest): Mark unused parameter.
19005
19006 * progmodes/perl-mode.el (perl-calculate-indent):
19007 Remove unused variable `err'.
19008
19009 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19010 (prolog-indent-line): Mark unused parameters.
19011 (prolog-indent-line): Remove unused variable `beg'.
19012
19013 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19014 (reporter-dont-compact-list): Declare.
19015
19016 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19017 Remove unused variable `char'.
19018 (sh-debug): Mark unused parameter.
19019 (sh-get-indent-info): Remove unused variable `start'.
19020 (sh-calculate-indent): Remove unused variable `var'.
19021
19022 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19023 (simula-electric-keyword): Remove unused variable `null'.
19024 (simula-search-backward, simula-search-forward): Remove unused
19025 variables `begin' and `end'.
19026
19027 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19028 Remove unused variable `pos'.
19029 (vera-electric-tab, vera-comment-uncomment-region):
19030 Mark unused parameters.
19031 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19032
7ede3b65
CY
190332011-04-22 Chong Yidong <cyd@stupidchicken.com>
19034
19035 * emacs-lisp/package.el (package--builtins, package-alist)
19036 (package-load-descriptor, package-built-in-p, package-activate)
19037 (define-package, package-installed-p)
19038 (package-compute-transaction, package-buffer-info)
19039 (package--push): Doc fix. Distinguish more clearly between
19040 version strings and version lists.
19041
121656e9
JB
190422011-04-21 Juanma Barranquero <lekktu@gmail.com>
19043
19044 Lexical-binding cleanup.
19045
19046 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19047 (5x5-make-mutate-best):
19048 * play/fortune.el (fortune-in-buffer):
19049 * play/gomoku.el (gomoku-init-display):
19050 * play/solitaire.el (solitaire, solitaire-do-check):
19051 * play/tetris.el (tetris-default-update-speed-function):
19052 Mark unused parameters.
19053
19054 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19055 (bubbles--shift): Remove unused variable `char-org'.
19056 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19057 (bubbles--show-images): Remove unused variable `char'.
19058
19059 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19060 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19061 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19062 (decipher-analyze-buffer): Use ?\s.
19063 (decipher-make-checkpoint): Remove unused variable `mapping'.
19064
19065 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19066
19067 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19068 Remove unused variable `result'; use `let'.
19069
19070 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19071 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19072 (gametree-children-shown-p, gametree-compute-reduced-score):
19073 Use `ignore-errors'.
19074
19075 * play/handwrite.el (ps-lpr-switches): Declare.
19076 (handwrite): Remove unused variables `pmin' and `lastp'.
19077
19078 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19079
19080 * play/landmark.el (landmark-init-display)
19081 (landmark-update-naught-weights): Mark unused parameters.
19082 (landmark-y): Remove unused variable `noise'. Simplify.
19083 (landmark-human-plays): Remove unused variable `score'.
19084
19085 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19086 (mpuz-try-proposal): Remove unused variable `game'.
19087
19088 * play/zone.el (life-patterns): Declare.
19089
80f499c7
JB
190902011-04-20 Juanma Barranquero <lekktu@gmail.com>
19091
19092 * vc/vc.el (ediff-vc-internal): Declare function.
19093
024ff170
SM
190942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19095
c0a193ea
SM
19096 * shell.el: Use lexical-binding and std completion UI.
19097 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19098 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19099 comint-preoutput-filter-functions rather than on
19100 comint-output-filter-functions.
19101 (shell-command-completion, shell--command-completion-data)
19102 (shell-filename-completion, shell-environment-variable-completion)
19103 (shell-c-a-p-replace-by-expanded-directory): New functions.
19104 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19105 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19106 (shell-dynamic-complete-environment-variable): Use them.
19107 (shell-dynamic-complete-as-environment-variable)
19108 (shell-dynamic-complete-as-command): Remove.
19109 (shell-match-partial-variable): Match past point.
19110 * comint.el: Clean up use of completion-at-point-functions.
19111 (comint-completion-at-point): New function.
19112 (comint-mode): Use it completion-at-point-functions.
19113 (comint-dynamic-complete): Make it obsolete.
19114 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19115 (comint-c-a-p-replace-by-expanded-history): New function.
19116 (comint-dynamic-complete-functions)
19117 (comint-replace-by-expanded-history): Use it.
19118 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19119 termination strings. Try harder to avoid second try-completion.
19120 (completion-in-region-mode-map): Disable bindings that don't work yet.
19121
2dbaa080
SM
19122 * comint.el: Use lexical-binding. Require CL.
19123 (comint-dynamic-complete-functions): Use comint-filename-completion.
19124 (comint-completion-addsuffix): Tweak custom type.
19125 (comint-filename-completion, comint--common-suffix)
19126 (comint--common-quoted-suffix, comint--table-subvert)
19127 (comint--complete-file-name-data): New functions.
19128 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19129 (comint-dynamic-list-filename-completions): Use them.
19130 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19131
2dbaa080
SM
19132 * minibuffer.el (completion-in-region-mode):
19133 Keep completion-in-region-mode--predicate global.
19134 (completion-in-region--postch):
19135 Assume completion-in-region-mode--predicate is not null.
19136
c79a6f38
SM
19137 * progmodes/flymake.el (flymake-start-syntax-check-process):
19138 Obey `dir'. Simplify.
19139
024ff170
SM
19140 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19141 we're in VC after all.
19142
1c6c854e
CS
191432011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19144
19145 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19146 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19147 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19148
bed7f140
SM
191492011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19150
332e62ab
SM
19151 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19152 add sanity check.
19153
bed7f140
SM
19154 * obsolete/erc-hecomplete.el: Make obsolete.
19155 * obsolete/: Standardize obsolescence info in the header.
19156
f195c582
GM
191572011-04-20 Glenn Morris <rgm@gnu.org>
19158
19159 * calendar/solar.el (solar-horizontal-coordinates):
19160 Use the longitude argument rather than `calendar-longitude'.
19161 (solar-date-next-longitude): Remove unused locals.
19162
cb79b8c0
VJL
191632011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19164
19165 * whitespace.el: New version 13.2.1.
19166
191672011-04-20 felix <EmacsWiki> (tiny change)
19168
d8e4b68b 19169 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19170 switching between major modes on a file.
19171
602ea69d
SM
191722011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19173
19174 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19175 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19176 multi-line comments as well.
19177
06b60517
JB
191782011-04-19 Juanma Barranquero <lekktu@gmail.com>
19179
19180 Lexical-binding cleanup.
19181
19182 * arc-mode.el (archive-mode-revert):
19183 * cmuscheme.el (scheme-interactively-start-process):
19184 * custom.el (custom-initialize-delay):
19185 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19186 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19187 * emacs-lock.el (emacs-lock-clear-sentinel):
19188 * ezimage.el (defezimage):
19189 * follow.el (follow-avoid-tail-recenter):
19190 * fringe.el (set-fringe-mode-1):
19191 * generic-x.el (bat-generic-mode-compile):
19192 * help-mode.el (help-info-variable, help-do-xref)
19193 (help-mode-revert-buffer):
19194 * help.el (view-emacs-todo):
19195 * iswitchb.el (iswitchb-completion-help):
19196 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19197 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19198 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19199 * locate.el (locate-update):
19200 * longlines.el (longlines-encode-region)
19201 (longlines-after-change-function):
19202 * outline.el (outline-isearch-open-invisible):
19203 * ps-def.el (declare-function, charset-dimension, char-width)
19204 (encode-char):
19205 * ps-mule.el (ps-mule-plot-string):
19206 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19207 (recentf-edit-list-select, recentf-edit-list-validate)
19208 (recentf-open-files-action):
19209 * rect.el (delete-whitespace-rectangle-line)
19210 (rectangle-number-line-callback):
19211 * register.el (window-configuration-to-register)
19212 (frame-configuration-to-register):
19213 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19214 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19215 (xselect-convert-to-targets, xselect-convert-to-delete)
19216 (xselect-convert-to-filename, xselect-convert-to-charpos)
19217 (xselect-convert-to-lineno, xselect-convert-to-colno)
19218 (xselect-convert-to-os, xselect-convert-to-host)
19219 (xselect-convert-to-user, xselect-convert-to-class)
19220 (xselect-convert-to-name, xselect-convert-to-integer)
19221 (xselect-convert-to-atom, xselect-convert-to-identity):
19222 * subr.el (declare, ignore, process-kill-without-query)
19223 (text-clone-maintain):
19224 * terminal.el (te-get-char, te-tic-sentinel):
19225 * tool-bar.el (tool-bar-make-keymap):
19226 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19227 * type-break.el (type-break-mode, type-break-noninteractive-query):
19228 * view.el (View-back-to-mark):
19229 * wid-browse.el (widget-browse-action, widget-browse-widget)
19230 (widget-browse-widgets, widget-browse-sexp):
19231 * widget.el (define-widget-keywords):
19232 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19233 Mark unused parameters.
19234
19235 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19236 (align-areas): Remove unused variable `look'.
19237 (align-region): Remove unused variables `real-end' and `pos-list'.
19238
19239 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19240
19241 * bindings.el (mode-line-modified, mode-line-remote):
19242 Mark unused parameters.
19243 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19244
19245 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19246 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19247
19248 * comint.el (comint-history-isearch-pop-state)
19249 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19250 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19251 (comint-substitute-in-file-name): Doc fix.
19252
19253 * completion.el (cmpl-statistics-block): Mark unused parameter.
19254 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19255 (save-completions-to-file, load-completions-from-file):
19256 Remove unused local variable `e'.
19257
19258 * composite.el (compose-chars): Remove unused variable `len'.
19259 (lgstring-insert-glyph): Remove unused variable `g'.
19260 (compose-glyph-string): Remove unused variables `ascent',
19261 `descent', `lbearing' and `rbearing'.
19262 (compose-glyph-string-relative): Remove unused variables
19263 `lbearing', `rbearing' and `wadjust'.
19264 (compose-gstring-for-graphic): Remove unused variables `header',
19265 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19266 (compose-gstring-for-terminal): Remove unused variables `header'
19267 and `nchars'. Use `let', not `let*'.
19268
19269 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19270 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19271 (Custom-buffer-done, custom-buffer-create-internal)
19272 (custom-browse-visibility-action, custom-browse-group-tag-action)
19273 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19274 (widget-magic-mouse-down-action, custom-toggle-parent)
19275 (custom-add-parent-links, custom-toggle-hide-variable)
19276 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19277 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19278 (custom-face-menu-create, custom-variable-menu-create, get)
19279 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19280 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19281 (customize-apropos): Remove unused variable `tests'.
19282 (custom-group-value-create): Remove unused variable `hidden-p'.
19283 (sort-fold-case): Declare.
19284
19285 * cus-theme.el (custom-reset-standard-faces-list)
19286 (custom-reset-standard-variables-list): Declare.
19287 (customize-create-theme, custom-theme-revert, custom-theme-write)
19288 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19289 Mark unused parameters.
19290
19291 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19292
19293 * delim-col.el (delimit-columns-max): Move defvar before first use.
19294
19295 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19296 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19297
19298 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19299 (auto-insert): Declare.
19300 (desktop-restore-file-buffer): Rename desktop-* parameters;
19301 mark unused ones.
19302 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19303 (desktop-buffer): Rename desktop-* parameters.
19304
19305 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19306 (dframe-reposition-frame-xemacs, dframe-help-echo)
19307 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19308 Mark unused parameters.
19309
19310 * dired-aux.el (backup-extract-version-start, overwrite-query)
19311 (overwrite-backup-query, rename-regexp-query)
19312 (rename-non-directory-query): Declare.
19313 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19314 (dired-add-entry): Remove unused variable `orig-file-name'.
19315 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19316 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19317 `dired-copy-preserve-time' directly.
19318 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19319 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19320
19321 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19322 (dired-virtual-revert, dired-make-relative-symlink):
19323 Mark unused parameters.
19324 (manual-program): Declare.
19325 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19326 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19327 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19328
19329 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19330
19331 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19332
19333 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19334 Declare.
19335
19336 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19337
19338 * electric.el (Electric-command-loop): Rename parameter
19339 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19340
19341 * expand.el (expand-in-literal): Remove unused variable `here'.
19342
19343 * facemenu.el (facemenu-add-new-color):
19344 Remove unused variable `docstring'.
19345
19346 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19347 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19348 (face-attr-construct): Mark unused parameter. Doc fix.
19349 (read-color): Remove unused variable `hex-string'.
19350
19351 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19352 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19353 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19354 (display-buffer-other-frame): Remove unused variable `old-window'.
19355 (kill-buffer-hook): Declare.
19356 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19357 Mark unused parameters.
19358 (after-find-file): Pass 1 to `auto-save-mode', not t.
19359
19360 * files-x.el (auto-insert): Declare.
19361 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19362
19363 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19364 variable `buf'. Mark unused parameter.
06b60517
JB
19365 (find-lisp-insert-directory): Mark unused parameter.
19366
19367 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19368 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19369 (format-common-tail): Remove, unused.
19370 (format-deannotate-region): Remove unused variable `loc'.
19371 (format-annotate-region): Remove unused variable `p'.
19372 (format-annotate-single-property-change): Remove unused variables
19373 `default' and `tail'.
19374
19375 * forms.el (read-file-filter): Declare.
19376 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19377
19378 * frame.el (frame-creation-function-alist): Mark unused parameter.
19379 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19380
19381 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19382 Remove unused parameters.
19383 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19384 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19385
19386 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19387 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19388 (hfy-prepare-tag-map): Mark unused parameters.
19389 (htmlfontify-buffer): Use `called-interactively-p'.
19390
19391 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19392 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19393 (ibuffer-do-occur): Mark unused parameters.
19394 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19395 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19396
19397 * ibuffer.el: Don't quote `lambda'.
19398 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19399 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19400 Mark unused parameters.
19401
19402 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19403 (ido-completing-read): Mark unused parameters.
19404 (ido-copy-current-word): Mark unused parameters;
19405 remove unused variable `name'.
19406 (ido-sort-merged-list): Remove unused parameter `dirs'.
19407
19408 * ielm.el (ielm-input-sender): Mark unused parameter.
19409 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19410 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19411 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19412 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19413 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19414
19415 * image-dired.el (image-dired-display-thumbs): Remove unused
19416 variables `curr-file' and `count'.
19417 (image-dired-remove-tag): Remove unused variable `start'.
19418 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19419 variable `curr-file'
19420 (image-dired-rotate-original): Remove unused variable `temp-file'.
19421 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19422 Remove unused variable `file'.
19423 (image-dired-gallery-generate): Remove unused variable `curr'.
19424 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19425
19426 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19427
19428 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19429
19430 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19431
19432 * isearch.el (minibuffer-history-symbol): Declare.
19433 (isearch-edit-string): Remove unused variable `err'.
19434 (isearch-message-prefix, isearch-message-suffix):
19435 Mark unused parameters.
19436
19437 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19438
19439 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19440
19441 * makesum.el (double-column): Remove unused variable `cnt'.
19442
19443 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19444 (ido-ignore-item-temp-list): Declare.
19445
19446 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19447 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19448 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19449 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19450 `mouse-col-delta'.
19451
19452 * mouse-sel.el (mouse-extend-internal):
19453 Remove unused variable `orig-window-frame'.
19454
19455 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19456 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19457 Move declarations before first use.
19458 (pcomplete-opt): Mark unused parameters; doc fix.
19459
19460 * proced.el (proced-revert): Mark unused parameter.
19461 (proced-send-signal): Remove unused variable `err'.
19462
19463 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19464 Rename parameter PREFIX-ARG to ARG.
19465 (ps-basic-plot-string, ps-basic-plot-whitespace):
19466 Mark unused parameters.
19467
19468 * replace.el (replace-count): Define.
19469 (occur-revert-function): Mark unused parameters.
19470 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19471 (isearch-case-fold-search, isearch-string): Declare.
19472 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19473 bind `case-fold-search'. Remove unused variables `beg' and `end',
19474 and simplify.
19475 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19476 COUNT and bind `replace-count'.
19477 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19478 to COUNT.
19479
19480 * savehist.el (print-readably, print-string-length): Declare.
19481
19482 * shadowfile.el (shadow-expand-cluster-in-file-name):
19483 Remove unused variable `cluster'.
19484 (shadow-copy-file): Remove unused variable `i'.
19485 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19486 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19487 (shadow-define-literal-group, shadow-define-regexp-group)
19488 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19489
19490 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19491 (shell): Use `called-interactively-p'.
19492 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19493
19494 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19495 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19496 (delete-backward-char): Remove unused variable `ocol'.
19497 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19498 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19499 (event-apply-hyper-modifier, event-apply-shift-modifier)
19500 (event-apply-control-modifier, event-apply-meta-modifier):
19501 Mark unused parameters.
19502 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19503 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19504
19505 * speedbar.el (speedbar-ignored-directory-expressions)
19506 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19507 (speedbar-find-file, speedbar-dir-follow)
19508 (speedbar-directory-buttons-follow, speedbar-tag-find)
19509 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19510 (speedbar-buffers-line-directory, speedbar-buffer-click):
19511 Mark unused parameters.
19512 (speedbar-tag-file): Remove unused variable `mode'.
19513 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19514
19515 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19516
19517 * talk.el (talk): Remove unused variable `display'.
19518
19519 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19520 (tar-write-region-annotate): Mark unused parameter.
19521
19522 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19523 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19524 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19525 warning by another.
19526
19527 * time-stamp.el (time-stamp-string-preprocess):
19528 Remove unused variable `require-padding'.
19529
19530 * tree-widget.el (widget-glyph-enable): Declare.
19531 (tree-widget-action): Mark unused parameter.
19532
19533 * w32-fns.el (x-get-selection): Mark unused parameter.
19534 (autoload-make-program, generated-autoload-file): Declare.
19535
19536 * wdired.el (wdired-revert): Mark unused parameters.
19537 (wdired-xcase-word): Remove unused variable `err'.
19538
19539 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19540 (whitespace-help-scroll): Remove unused variable `data-help'.
19541
19542 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19543 (widget-image-insert, widget-after-change, default)
19544 (widget-default-format-handler, widget-default-notify)
19545 (widget-default-prompt-value, widget-info-link-action)
19546 (widget-url-link-action, widget-function-link-action)
19547 (widget-variable-link-action, widget-file-link-action)
19548 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19549 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19550 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19551 (widget-insert-button-action, widget-delete-button-action, visibility)
19552 (widget-documentation-link-action, widget-documentation-string-action)
19553 (widget-const-prompt-value, widget-regexp-match, symbol)
19554 (widget-coding-system-prompt-value)
19555 (widget-key-sequence-value-to-external, sexp)
19556 (widget-sexp-value-to-internal, character, vector, cons)
19557 (widget-choice-prompt-value, widget-boolean-prompt-value)
19558 (widget-color--choose-action): Mark unused parameters.
19559 (widget-item-match-inline, widget-choice-match-inline)
19560 (widget-checklist-match, widget-checklist-match-inline)
19561 (widget-group-match): Rename parameter VALUES to VALS.
19562 (widget-field-value-set): Remove unused variable `size'.
19563 (widget-color-action): Remove unused variables `value' and `start'.
19564
19565 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19566 variable `dir'. Doc fix.
06b60517
JB
19567 (windmove-find-other-window): Don't pass it.
19568
19569 * window.el (count-windows): Mark unused parameter.
19570 (bw-adjust-window): Remove unused variable `err'.
19571
19572 * woman.el (woman-file-name): Remove unused variable `default'.
19573 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19574 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19575 (global-font-lock-mode): Declare.
19576 (woman-decode-region): Mark unused parameter.
19577 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19578
19579 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19580 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19581 (x-dnd-handle-moz-url): Remove unused variable `title'.
19582 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19583
19584 * xml.el (xml-parse-tag, xml-parse-attlist):
19585 Remove unused variable `pos'.
19586
bc4f7f3d
GM
195872011-04-19 Glenn Morris <rgm@gnu.org>
19588
19589 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19590 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19591 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19592 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19593 * calendar/cal-html.el (cal-html-insert-minical):
19594 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19595 (calendar-mark-date-pattern):
19596 Prefix "unused" locals.
19597
19598 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19599 optional argument `style'.
19600
19601 * calendar/appt.el (appt-make-list):
19602 * calendar/cal-china.el (calendar-chinese-date-string):
19603 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19604 (diary-hebrew-yahrzeit):
19605 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19606 * calendar/calendar.el (calendar-generate-window):
19607 * calendar/time-date.el (time-to-days):
19608 Remove unused local variables.
19609
16a43933
CY
196102011-04-18 Chong Yidong <cyd@stupidchicken.com>
19611
19612 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19613 glyphless-char-display table.
19614 (tabulated-list-glyphless-char-display): New var.
19615
7eed1860
SS
196162011-04-18 Sam Steingold <sds@gnu.org>
19617
19618 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19619 to acknowledgments.
19620
4d2d1ccd
GM
196212011-04-17 Glenn Morris <rgm@gnu.org>
19622
19623 * calendar/diary-lib.el (diary-sexp-entry):
19624 * calendar/holidays.el (holiday-sexp):
19625 Set debug-on-error rather than the removed stack-trace-on-error.
19626
239da61d
GM
196272011-04-16 Glenn Morris <rgm@gnu.org>
19628
19629 * progmodes/f90.el: Use lexical-binding.
19630 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19631
8b05752a
SM
196322011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19633
daca8ba5
SM
19634 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19635 (mail-mode): Setup mailalias completion here instead.
19636 * mail/mailalias.el: Use lexical-binding.
19637 (pattern, mailalias-done): Declare dynamic.
19638 (mail-completion-at-point-function): New function, from mail-complete.
19639 (mail-complete): Use it.
19640 (mail-completion-expand): New function.
19641 (mail-get-names): Use it.
19642 (mail-directory, mail-directory-process, mail-directory-stream):
19643 Don't use `pattern' for lexically bound arg.
19644
6f542485
SM
19645 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19646
037e7c3f
SM
19647 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19648 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19649 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19650
8b05752a
SM
19651 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19652 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19653 (byte-interactive-p): Define them again, for use when inlining
19654 old code.
19655
49093f60
JB
196562011-04-15 Juanma Barranquero <lekktu@gmail.com>
19657
19658 * loadup.el: Use `string-to-number', not `string-to-int'.
19659
b5b8e7de
SM
196602011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19661
19662 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19663 gud-gdb-complete-command.
19664 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19665 (gud-gdb-completion-at-point): New function.
19666 (gud-gdb-completions): Remove.
19667
f42efeb5
MA
196682011-04-14 Michael Albinus <michael.albinus@gmx.de>
19669
49093f60
JB
19670 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19671 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19672 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19673 whether `executable-find' is bound.
f42efeb5
MA
19674
19675 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19676
e240cc21
SM
196772011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19678
19679 * minibuffer.el (completion-in-region-mode-predicate)
19680 (completion-in-region-mode--predicate): New vars.
19681 (completion-in-region, completion-in-region--postch)
19682 (completion-in-region-mode): Use them.
19683 (completion--capf-wrapper): Also return the hook function.
19684 (completion-at-point, completion-help-at-point):
19685 Adjust and provide a predicate.
c2bd2ab0
SM
19686
19687 Preserve arg names for advice of subr and lexical functions (bug#8457).
19688 * help-fns.el (help-function-arglist): Consolidate the subr and
19689 new-byte-code cases. Add argument `preserve-names' to extract names
19690 from the docstring when needed.
19691 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19692 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19693 (ad-arglist): Use help-function-arglist's new arg.
19694 (ad-definition-type): Use cond.
19695
c183f693
JB
196962011-04-13 Juanma Barranquero <lekktu@gmail.com>
19697
06641a47
JB
19698 * autorevert.el (auto-revert-handler):
19699 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19700 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19701 Don't quote lambda.
19702
c183f693
JB
19703 * image-mode.el (image-transform-set-scale):
19704 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19705
1e3b6001
G
197062011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19707
19708 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19709 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19710 Upgrades via gnutls-cli are too slow to be done opportunistically.
19711
2d6af8dd
JB
197122011-04-12 Juanma Barranquero <lekktu@gmail.com>
19713
19714 * dframe.el (dframe-current-frame): Remove spurious quote.
19715
c0749a51
GM
197162011-04-12 Glenn Morris <rgm@gnu.org>
19717
088d0d61
GM
19718 * calendar/cal-tex.el (cal-tex-end-document):
19719 Try to automatically use latin1 input if needed.
19720
c0749a51
GM
19721 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19722 Don't try to cons a mark onto an empty element.
19723
5c90fde0
LL
197242011-04-11 Leo Liu <sdl.web@gmail.com>
19725
19726 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19727 buffers.
19728 (ido-kill-buffer-at-head): Support killing virtual buffers.
19729
369e974d
CY
197302011-04-10 Chong Yidong <cyd@stupidchicken.com>
19731
19732 * minibuffer.el (completion-show-inline-help): New var.
19733 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19734 (minibuffer-force-complete, minibuffer-complete-word):
19735 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19736
19737 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19738 to avoid interference from inline help (Bug#5849).
19739
37f1c930
LL
197402011-04-10 Leo Liu <sdl.web@gmail.com>
19741
099c39a4
JB
19742 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19743 Fix typo.
37f1c930 19744
a32d4040
CY
197452011-04-09 Chong Yidong <cyd@stupidchicken.com>
19746
19747 * image-mode.el (image-toggle-display-image): Signal an error if
19748 not in Image mode.
19749 (image-transform-mode, image-transform-resize)
19750 (image-transform-set-rotation): Doc fix.
daca8ba5 19751 (image-transform-set-resize): Delete.
a32d4040
CY
19752 (image-transform-set-scale, image-transform-fit-to-height)
19753 (image-transform-fit-to-width): Handle image-toggle-display-image
19754 and image-transform-resize directly.
19755
099c39a4 197562011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19757
19758 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19759 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19760 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19761 (doc-view-mode-map): Add bindings for the new functions.
19762
099c39a4 197632011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19764
4d61f28d 19765 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19766 Fix typo in docstring.
19767
3726838a
EZ
197682011-04-08 Eli Zaretskii <eliz@gnu.org>
19769
04f33f1e
EZ
19770 * files.el (file-size-human-readable): Produce one digit after
19771 decimal, like "ls -lh" does.
19772
19773 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19774 the file size representation.
19775
3726838a
EZ
19776 * simple.el (list-processes): If async subprocesses are not
19777 available, error out with a clear error message.
19778
cbb59342
CY
197792011-04-08 Chong Yidong <cyd@stupidchicken.com>
19780
19781 * help.el (help-form-show): New function, to be called from C.
19782 Put help-form output in a buffer named differently than *Help*.
19783
e3971c44
EZ
197842011-04-08 Eli Zaretskii <eliz@gnu.org>
19785
19786 * files.el (file-size-human-readable): New function.
19787
19788 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19789 computing the representation inline. Don't require `cl'.
19790
12544bbe
GM
197912011-04-08 Glenn Morris <rgm@gnu.org>
19792
a1de6c6a
GM
19793 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19794
3c4671f4
GM
19795 * net/browse-url.el (browse-url-firefox):
19796 Test system-type, not system-configuration.
19797
b605679c
GM
19798 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19799 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19800 Use log-edit-empty-buffer-p. (Bug#7598)
19801
56442f0c
GM
19802 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19803 (rlogin-mode-map): Initialize in the defvar.
19804 (rlogin): Use ignore-errors.
19805
12544bbe
GM
19806 * replace.el (occur-mode-map): Some fixes for menu items.
19807
eb237b0f
AH
198082011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19809
19810 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19811
7d668f2c
CY
198122011-04-06 Chong Yidong <cyd@stupidchicken.com>
19813
e67a13ab
CY
19814 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19815 issuing unused warnings.
19816
19817 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19818 macro directly.
19819
7d668f2c
CY
19820 * simple.el: Lisp reimplement of list-processes. Based on an
19821 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19822 (process-menu-mode): New major mode.
19823 (list-processes--refresh, list-processes):
19824 (process-menu-visit-buffer): New functions.
19825
19826 * files.el (save-buffers-kill-emacs): Don't assume any return
19827 value of list-processes, which is undocumented anyway.
19828
a83ec3c9
CY
198292011-04-06 Chong Yidong <cyd@stupidchicken.com>
19830
19831 * emacs-lisp/tabulated-list.el: New file.
19832
e91a96fe
CY
19833 * emacs-lisp/package.el: Use Tabulated List mode.
19834 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19835 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19836 table format using Tabulated List mode variables.
19837 (package--push): New macro, replacing package-list-maybe-add.
19838 (package-menu--generate): Use package--push. Renamed from
19839 package--generate-package-list.
19840 (package-menu-refresh, list-packages): Use it.
daca8ba5 19841 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19842 Return insertion data instead of inserting it directly.
099c39a4
JB
19843 (package-menu-describe-package, package-menu-execute):
19844 Use tabulated-list-get-id.
e91a96fe
CY
19845 (package-menu-mark-delete, package-menu-mark-install)
19846 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19847 (package-menu-mark-obsolete-for-deletion):
19848 Use tabulated-list-put-tag.
e91a96fe
CY
19849 (package--list-packages, package-menu-revert)
19850 (package-menu-get-package, package-menu-get-version)
19851 (package-menu-sort-by-column): Functions deleted.
19852 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19853 (package-menu--status-predicate, package-menu--version-predicate)
19854 (package-menu--name-predicate)
19855 (package-menu--description-predicate): Handle arguments in the
19856 Tabulated List format.
19857 (package-list-packages-no-fetch): Call list-packages.
19858
3e214b50
JB
198592011-04-06 Juanma Barranquero <lekktu@gmail.com>
19860
19861 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19862 (after-find-file): Don't bind it.
3e214b50
JB
19863 (revert-buffer-in-progress-p): New variable.
19864 (revert-buffer): Bind it.
19865 Pass nil for `after-find-file-from-revert-buffer'.
19866
19867 * saveplace.el (save-place-find-file-hook): Use new variable
19868 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19869
3f0f1700
GM
198702011-04-06 Glenn Morris <rgm@gnu.org>
19871
c0274801
GM
19872 * Makefile.in (AUTOGEN_VCS): New variable.
19873 (autoloads): Use $AUTOGEN_VCS.
19874
3f0f1700
GM
19875 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19876 * calendar/calendar.el (calendar-mode-map):
19877 Check for toolkit scroll bars. (Bug#8305)
19878
41ea9e48
CY
198792011-04-05 Chong Yidong <cyd@stupidchicken.com>
19880
19881 * minibuffer.el (completion-in-region--postch)
19882 (completion-in-region-mode): Remove unnecessary messages.
19883
6194c800
JB
198842011-04-05 Juanma Barranquero <lekktu@gmail.com>
19885
33256f14
JB
19886 * font-lock.el (font-lock-refresh-defaults):
19887 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19888 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19889
6194c800
JB
19890 * info.el (Info-directory-list, Info-read-node-name-2)
19891 (Info-split-parameter-string): Doc fixes.
19892 (Info-virtual-nodes): Reflow docstring.
19893 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19894 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19895 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19896 Fix typos in docstrings.
19897 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19898 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19899 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19900 (Info-restore-desktop-buffer): Mark unused parameters.
19901 (Info-directory-find-file, Info-directory-find-node)
19902 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19903 (Info-virtual-index-find-node, Info-apropos-find-file)
19904 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19905 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19906 (Info-virtual-index): Remove unused local variable `nodename'.
19907
b87a8200 199082011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19909
b87a8200
DD
19910 * net/rcirc.el: Update my e-mail address.
19911 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19912
3b2ff876
CY
199132011-04-05 Chong Yidong <cyd@stupidchicken.com>
19914
19915 * startup.el (command-line): Save the cursor's theme-face
19916 directly, instead of using face-override-spec.
19917
19918 * custom.el (load-theme): Minor optimization in assigning faces.
19919
8d17e7ca
JB
199202011-04-04 Juanma Barranquero <lekktu@gmail.com>
19921
19922 * help-fns.el (describe-variable): Complete all variables having
19923 documentation, including keywords.
19924 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19925
2fbc1934
JB
199262011-04-04 Juanma Barranquero <lekktu@gmail.com>
19927
19928 Convert to lexical-binding.
19929
19930 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19931 (bs--get-marked-string, bs--get-modified-string)
19932 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19933 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19934 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19935
19936 * ehelp.el (electric-help-execute-extended)
19937 (electric-help-ctrl-x-prefix):
19938 * hexl.el (hexl-revert-buffer-function):
19939 * linum.el (linum-after-change, linum-after-scroll):
19940 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19941
19942 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19943
74f50695
DU
199442011-04-04 Daiki Ueno <ueno@unixuser.org>
19945
19946 * epa-dired.el:
19947 * epa-mail.el:
19948 * epa-hook.el:
19949 * epa-file.el:
19950 * epa.el:
19951 * epg.el: Use lexical binding.
19952
c11325f7
CY
199532011-04-03 Chong Yidong <cyd@stupidchicken.com>
19954
0d9e9a12
CY
19955 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19956
c11325f7 19957 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19958 dictionary case for flyspell-mark-duplications-exceptions.
19959 Use regexp matching for languages.
c11325f7
CY
19960 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19961 default dictionary (Bug#7926).
19962
da91b5f2
CY
199632011-04-02 Chong Yidong <cyd@stupidchicken.com>
19964
099c39a4
JB
19965 * emacs-lisp/package.el (package--with-work-buffer):
19966 Recognize https URLs.
da91b5f2 19967
099c39a4
JB
19968 * net/network-stream.el: Move from gnus/proto-stream.el.
19969 Change prefix to network-stream throughout.
da91b5f2
CY
19970 (open-protocol-stream): Merge into open-network-stream, leaving
19971 open-protocol-stream as an alias. Handle nil BUFFER args.
19972
19973 * subr.el (open-network-stream): Move to net/network-stream.el.
19974
afa8e9f6
GM
199752011-04-02 Glenn Morris <rgm@gnu.org>
19976
1d2e369d
GM
19977 * find-dired.el (find-exec-terminator): New option.
19978 (find-ls-option): Test for -ls support.
19979 (find-ls-subdir-switches): Test for -b in find-ls-option.
19980 (find-dired, find-grep-dired): Doc fixes.
19981 (find-dired): Use find-exec-terminator.
19982
8abb7da8 19983 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19984 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19985 (find-name-arg): Remove purecopy.
8abb7da8 19986
f3ca7378
GM
19987 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19988 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19989 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19990 accordingly. Don't add the null-device if not needed.
19991
afa8e9f6
GM
19992 * files.el (save-some-buffers): Doc fix.
19993
35eae264
EZ
199942011-04-02 Eli Zaretskii <eliz@gnu.org>
19995
19996 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19997
26b51db5
JB
199982011-04-01 Juanma Barranquero <lekktu@gmail.com>
19999
20000 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20001 Use `dolist' rather than `mapcar'.
20002
7200d79c
SM
200032011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20004
03408648 20005 Add lexical binding.
7200d79c 20006
03408648
SM
20007 * subr.el (apply-partially): Use new closures rather than CL.
20008 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20009 (dolist, dotimes): Use slightly different expansion for lexical code.
20010 (functionp): Move to C.
20011 (letrec): New macro.
20012 (with-wrapper-hook): Use it and apply-partially instead of CL.
20013 (eval-after-load): Preserve lexical-binding.
20014 (save-window-excursion, with-output-to-temp-buffer): Turn them
20015 into macros.
7200d79c 20016
03408648
SM
20017 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20018
20019 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20020 than the arglist.
20021 (help-add-fundoc-usage): Don't add `Not documented'.
20022 (help-function-arglist): Handle closures, subroutines, and new
20023 byte-code-functions.
20024 (help-make-usage): Remove leading underscores.
20025 (describe-function-1): Handle closures.
20026 (describe-variable): Use special-variable-p for completion.
20027
20028 * files.el (lexical-binding): Declare safe.
f488fb65 20029
03408648
SM
20030 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20031 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20032 (pcase): Add `let' pattern.
20033 Change memoization so it actually works.
20034 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20035 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20036 <let>: New case.
f488fb65 20037
03408648
SM
20038 * emacs-lisp/macroexp.el: Use lexical binding.
20039 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20040 Don't convert ' to #' without checking that it's indeed quoting
20041 a lambda.
20042
20043 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20044 Use eval-sexp-add-defvars.
03408648
SM
20045 (eval-sexp-add-defvars): New fun.
20046
20047 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20048
20049 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20050 Don't autoload.
20051 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20052 than the internal `byte-compile-lambda'.
20053 (defmethod): Don't hide code under quotes.
20054 (eieio-defmethod): New `code' argument.
20055
20056 * emacs-lisp/eieio-comp.el: Remove.
20057
20058 * emacs-lisp/edebug.el (edebug-eval-defun)
20059 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20060 (edebug-toggle): Avoid `eval'.
20061
20062 * emacs-lisp/disass.el (disassemble-internal): Handle new
20063 `closure' objects.
20064 (disassemble-1): Handle new byte codes.
20065
20066 * emacs-lisp/cl.el (pushnew): Silence warning.
20067
20068 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20069 (cl-byte-compile-throw): Remove.
20070 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20071
20072 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20073 closures.
20074
20075 * emacs-lisp/cconv.el: New file.
20076
20077 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20078 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20079 (byte-compile-initial-macro-environment):
20080 Handle declare-function here.
20081 (byte-compile--lexical-environment): New var.
20082 (byte-stack-ref, byte-stack-set, byte-discardN)
20083 (byte-discardN-preserve-tos): New lap codes.
20084 (byte-interactive-p): Don't use any more.
20085 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20086 New macros.
20087 (byte-compile-lapcode): Use them and handle new lap codes.
20088 (byte-compile-obsolete): Remove.
20089 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20090 (byte-compile-arglist-warn): Check late def of inlinable funs.
20091 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20092 since they should have been expanded by now.
20093 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20094 (byte-compile-from-buffer): Remove unused second arg.
20095 (byte-compile-preprocess): New function.
20096 (byte-compile-toplevel-file-form): New function to distinguish
20097 file-form calls from outside from file-form calls from hunk-handlers.
20098 (byte-compile-file-form): Simplify.
20099 (byte-compile-file-form-defsubst): Remove.
20100 (byte-compile-file-form-defmumble): Simplify now that
20101 byte-compile-lambda always returns a byte-code-function.
20102 (byte-compile): Preprocess.
20103 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20104 Remove, not used any more.
20105 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20106 (byte-compile-make-args-desc): New funs.
20107 (byte-compile-lambda): Handle lexical functions. Always return
20108 a byte-code-function.
20109 (byte-compile-reserved-constants): New var, to make up room for
20110 closed-over variables.
20111 (byte-compile-constants-vector): Obey it.
20112 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20113 (byte-compile-macroexpand-declare-function): New function.
20114 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20115 byte-code-functions.
20116 (byte-compile-form): Check obsolescence here.
20117 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20118 (byte-compile-variable-ref): Remove.
20119 (byte-compile-dynamic-variable-op): New fun.
20120 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20121 (byte-compile-variable-set): New funs.
20122 (byte-compile-discard): Add 2 args.
20123 (byte-compile-stack-ref, byte-compile-stack-set)
20124 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20125 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20126 macroexpand-all instead.
20127 (byte-compile-quote-form): Remove.
20128 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20129 (byte-compile-bind, byte-compile-unbind): New funs.
20130 (byte-compile-let): Handle let* and lexical binding.
20131 (byte-compile-let*): Remove.
20132 (byte-compile-catch, byte-compile-unwind-protect)
20133 (byte-compile-track-mouse, byte-compile-condition-case):
20134 Handle a new :fun-body form, used for lexical scoping.
20135 (byte-compile-save-window-excursion)
20136 (byte-compile-with-output-to-temp-buffer): Remove.
20137 (byte-compile-defun): Simplify.
20138 (byte-compile-stack-adjustment): New fun.
20139 (byte-compile-out): Use it.
20140 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20141
20142 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20143 handler any more.
20144
20145 * emacs-lisp/byte-opt.el: Use lexical binding.
20146 (byte-inline-lapcode): Remove (to bytecomp).
20147 (byte-compile-inline-expand): Pay attention to inlining to/from
20148 lexically bound code.
20149 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20150 any more.
20151 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20152 any more and don't call compiler-macros.
20153 (byte-compile-splice-in-already-compiled-code): Remove.
20154 (byte-code): Don't inline any more.
20155 (disassemble-offset): Receive `bytes' as argument rather than via
20156 dynamic scoping.
20157 (byte-compile-tag-number): Declare before first use.
20158 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20159 `return' even if make-spliceable.
20160 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20161 obsolete interactive-p.
20162 (byte-optimize-lapcode): Optimize new lap-codes.
20163 Don't trip up on new form of `byte-constant' lap code.
20164
20165 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20166
20167 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20168
20169 * custom.el (custom-initialize-default, custom-declare-variable):
20170 Use `defvar'.
20171
20172 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20173 New variables.
20174 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20175 (COMPILE_FIRST): Add macroexp and cconv.
20176 * makefile.w32-in: Mirror changes in Makefile.in.
20177
20178 * vc/cvs-status.el:
20179 * vc/diff-mode.el:
20180 * vc/log-edit.el:
20181 * vc/log-view.el:
20182 * vc/smerge-mode.el:
20183 * textmodes/bibtex-style.el:
090bd7cb 20184 * textmodes/css-mode.el:
03408648
SM
20185 * startup.el:
20186 * uniquify.el:
da91b5f2
CY
20187 * minibuffer.el:
20188 * newcomment.el:
20189 * reveal.el:
20190 * server.el:
20191 * mpc.el:
20192 * emacs-lisp/smie.el:
20193 * doc-view.el:
20194 * dired.el:
03408648
SM
20195 * abbrev.el: Use lexical binding.
20196
0f0c1f27
EZ
201972011-04-01 Eli Zaretskii <eliz@gnu.org>
20198
20199 * info.el (info-display-manual): New function.
20200
c82b2579
SM
202012011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20202
20203 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20204
221ddf68
TH
202052011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20206
20207 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20208 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20209
cba6e77e
GM
202102011-03-31 Glenn Morris <rgm@gnu.org>
20211
e040639f
GM
20212 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20213
cba6e77e
GM
20214 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20215
6d0f1c9e
CS
202162011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20217
20218 * progmodes/python.el (python-default-interpreter)
20219 (python-python-command-args, python-jython-command-args)
20220 (python-which-shell, python-which-args, python-which-bufname)
20221 (python-file-queue, python-comint-output-filter-function)
20222 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20223 variables and functions.
20224
3e2d70fd
SM
202252011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20226
20227 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20228 (completion-in-region-mode): New minor mode.
20229 (completion-in-region): Use it.
20230 (completion-in-region--data, completion-in-region-mode-map): New vars.
20231 (completion-in-region--postch): New function.
20232 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20233 New vars.
20234 (completion--capf-wrapper): New function.
20235 (completion-at-point): Use it to track well-behavedness of
20236 hook functions.
20237 (completion-help-at-point): New command.
20238
f3e4086c
JM
202392011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20240
20241 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20242 syntax class to search for whitespace on a single line
20243 (Message-ID: <4D938140.4030905@redhat.com>).
20244
eb7ffc14
LL
202452011-03-30 Leo Liu <sdl.web@gmail.com>
20246
20247 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20248 New commands.
20249 (edit-abbrevs-map): Bind them here.
20250 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20251
d806ab68
KM
202522011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20253
20254 * allout.el (allout-hide-by-annotation, allout-flag-region):
20255 Reduce possibility of overlay leakage by making them volatile.
20256
20257 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20258 hash is not shared between buffers. Mode initialization is
20259 responsible for giving it a useful starting value.
20260 (allout-item-span): Reduce possibility of overlay leakage by
20261 making them volatile.
20262 (allout-widgets-count-buttons-in-region): Add diagnostic function
20263 for tracking down button overlay leaks.
20264
ea622834
LL
202652011-03-29 Leo Liu <sdl.web@gmail.com>
20266
20267 * ido.el (ido-read-internal): Use the default history var
20268 minibuffer-history if no HISTORY is specified.
20269
b62f8267
G
202702011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20271
03408648
SM
20272 * net/imap.el (imap-shell-open, imap-process-connection-type):
20273 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20274 Kerberos, SSL, other subprocesses.
20275
947b6566
LL
202762011-03-28 Leo Liu <sdl.web@gmail.com>
20277
20278 * abbrev.el (abbrev-table-empty-p): New function.
20279 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20280 nonempty ones. (Bug#5937)
20281
5ffb62aa
JD
202822011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20283
20284 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20285
7a097943
LL
202862011-03-27 Leo Liu <sdl.web@gmail.com>
20287
20288 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20289 for foreground and background colors.
20290 (ansi-color-make-color-map): Adapt.
20291
c5b40130
LL
202922011-03-25 Leo Liu <sdl.web@gmail.com>
20293
1f48f7d2
LL
20294 * midnight.el (midnight-time-float): Remove. Note it calculates
20295 the microsecond component incorrectly and seconds-to-time does the
20296 same job.
625897ec 20297 Remove redundant (require 'timer).
1f48f7d2 20298
c5b40130
LL
20299 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20300 (ido-completions): Remove unused arguments. (Bug#8329)
20301
d86d2721
SM
203022011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20303
20304 * minibuffer.el (completion--flush-all-sorted-completions):
20305 Remove itself from hook.
20306 (completion-at-point): Let the functions perform the completion
20307 immediately and return nil or t.
20308 * comint.el (comint-dynamic-complete-functions): Now identical to
20309 completion-at-point-functions.
20310 (comint-dynamic-list-input-ring): Remove unused var `index'.
20311 (comint--match-partial-filename, comint--unquote&expand-filename):
20312 New funs, split from comint-match-partial-filename.
20313 (comint-dynamic-complete): Use completion-at-point.
20314 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20315
e8974c48
DA
203162011-03-24 Drew Adams <drew.adams@oracle.com>
20317
20318 * thingatpt.el: Support `defun'.
20319
def71b5e
LL
203202011-03-23 Leo Liu <sdl.web@gmail.com>
20321
cb5af48e
LL
20322 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20323
def71b5e
LL
20324 * help-mode.el (help-mode-finish): Tweak regexp.
20325
927c53e7
GM
203262011-03-23 Glenn Morris <rgm@gnu.org>
20327
18d05bed
GM
20328 * eshell/esh-opt.el (eshell-eval-using-options):
20329 Do not bind unused local variable `eshell-option-stub'.
20330
927c53e7
GM
20331 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20332
9d0da923
JB
203332011-03-22 Juanma Barranquero <lekktu@gmail.com>
20334
20335 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20336 keymap variable in `with-no-warnings' to avoid a warning when the
20337 keymap has been already `defconst'ed.
20338
4b978a67
LL
203392011-03-22 Leo Liu <sdl.web@gmail.com>
20340
20341 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20342 encode all chars in abbrevs; otherwise use emacs-mule or
20343 utf-8-emacs. (Bug#8308)
20344
5fd62452
JB
203452011-03-22 Juanma Barranquero <lekktu@gmail.com>
20346
0b1596c6
JB
20347 * simple.el (backward-delete-char-untabify):
20348 Avoid warning about using `delete-backward-char'.
20349
5fd62452
JB
20350 * image.el (image-type-file-name-regexps): Make it variable.
20351 `imagemagick-register-types' modifies it, and the user may want
20352 to add new extensions for known image types.
20353 (imagemagick-register-types): Throw error if not using ImageMagick.
20354
0b4e93f1
LL
203552011-03-22 Leo Liu <sdl.web@gmail.com>
20356
20357 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20358 located before rcirc-prompt-end-marker.
20359 (rcirc-complete): Error if point is not after rcirc prompt.
20360 Handle the case when table is nil.
9882e214 20361 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20362
fccee4ab
CY
203632011-03-22 Chong Yidong <cyd@stupidchicken.com>
20364
20365 * custom.el (custom--inhibit-theme-enable): Make it affect only
20366 custom-theme-set-variables and custom-theme-set-faces.
20367 (provide-theme): Ignore custom--inhibit-theme-enable.
20368 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20369 (custom-enabling-themes): Delete variable.
d86d2721
SM
20370 (enable-theme): Accept only loaded themes as arguments.
20371 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20372 (custom-enabled-themes): Forbid themes from setting this.
20373 Eliminate use of custom-enabling-themes.
20374 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20375
af896da6
LL
203762011-03-21 Leo Liu <sdl.web@gmail.com>
20377
20378 * ido.el (ido-read-internal): Add ido-selected to history instead
20379 of user input.
20380
78f64af0
SM
203812011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20382
20383 * subr.el (deferred-action-list, deferred-action-function):
20384 Mark obsolete.
20385
b16ac1ec
LL
203862011-03-21 Leo Liu <sdl.web@gmail.com>
20387
810f7698
LL
20388 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20389 change on 2011-02-13 (bug#8309).
20390
b16ac1ec
LL
20391 * minibuffer.el (read-file-name-function): Change default value.
20392 (read-file-name--defaults): Rename from read-file-name-defaults.
20393 (read-file-name-default): Rename from read-file-name.
20394 (read-file-name): Call read-file-name-function.
20395
4e05e67e
GM
203962011-03-21 Glenn Morris <rgm@gnu.org>
20397
20398 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20399 Doc fixes.
20400
4359915b
CY
204012011-03-21 Chong Yidong <cyd@stupidchicken.com>
20402
20403 * cus-theme.el: Add missing provide statement.
20404 (customize-create-theme): Extract theme value correctly.
20405 (custom-theme-visit-theme): Autoload.
20406 (customize-create-theme): Prompt before inserting default faces.
20407
1fe275ee
JB
204082011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20409
20410 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20411 units and musical notes.
20412
cd394be1 204132011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20414
20415 * ido.el (ido-read-internal): Use completing-read-default.
20416 (ido-completing-read): Fix compatibility with completing-read.
20417
7d476bde
CO
204182011-03-20 Christian Ohler <ohler@gnu.org>
20419
20420 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20421 (ert-delete-all-tests): Use `called-interactively-p' rather than
20422 `interactive-p'.
20423 (ert--make-xrefs-region): Respect END.
20424
fe0fb33e
CY
204252011-03-19 Chong Yidong <cyd@stupidchicken.com>
20426
ff854b0b
CY
20427 * dired-aux.el (dired-create-directory): Signal an error if the
20428 directory already exists (Bug#8246).
20429
fe0fb33e
CY
20430 * facemenu.el (list-colors-display): Call list-faces-display
20431 inside with-help-window.
20432 (list-colors-print): Use display property to align the final
20433 column, instead of checking window-width.
20434
576bce32
EZ
204352011-03-19 Eli Zaretskii <eliz@gnu.org>
20436
4d61f28d 20437 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20438 windows-nt systems.
20439 (emerge-protect-metachars): Quote correctly for ms-dos and
20440 windows-nt systems.
20441
89c41d68 204422011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20443
20444 * info.el (info-initialize): Replace all uses of `:' with
20445 path-separator for compatibility with non-Unix systems.
20446 Cache quoting of path-separator. (Bug#8258)
20447
b14e3e21 204482011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20449
20450 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20451 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20452 (mouse-avoidance-mode): Fix typos in docstrings.
20453
4525ce3e
CY
204542011-03-19 Chong Yidong <cyd@stupidchicken.com>
20455
20456 * startup.el (package-subdirectory-regexp): Move from package.el.
20457 Omit \\` and \\', and let callers add them.
20458
20459 * emacs-lisp/package.el (package-strip-version)
20460 (package-load-all-descriptors): Add \\` and \\' to
20461 package-subdirectory-regexp before using it.
20462 (package-untar-buffer): New arg DIR; ensure that file untars only
20463 into this expected directory. Remove superfluous delete-region.
20464 (package-unpack): Caller changed.
20465 (package-tar-file-info): Use package-subdirectory-regexp.
20466
a904a09a 204672011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20468
a904a09a
SM
20469 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20470 diff-mode-shared-map (bug#8284).
20471 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20472
204732011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20474
20475 * calendar/time-date.el (format-seconds): Use assoc instead of
20476 assoc-string, since assoc-string doesn't exist in XEmacs.
20477
171fc304
JB
204782011-03-17 Juanma Barranquero <lekktu@gmail.com>
20479
20480 * custom.el (custom-known-themes): Reflow docstring.
20481 (custom-theme-load-path): Fix typo in docstring.
20482 (load-theme): Fix typo in error message.
20483 (custom-available-themes, custom-variable-theme-value):
20484 Use `let', not `let*'.
20485
d71990a1
JB
204862011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20487
20488 * calc/README: Mention inclusion of musical notes.
20489
20490 * calc/calc-units.el (calc-lu-quant): Rename from
20491 `calc-logunits-quantity'.
20492 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20493 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20494 (calc-db): Rename from `calc-dblevel'.
20495 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20496 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20497 (calc-np): Rename from `calc-nplevel'.
20498 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20499 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20500 (calc-lu-plus): Rename from `calc-logunits-add'.
20501 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20502 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20503 (calc-lu-minus): Rename from `calc-logunits-sub'.
20504 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20505 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20506 (calc-lu-times): Rename from `calc-logunits-mul'.
20507 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20508 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20509 (calc-lu-divide): Rename from `calc-logunits-div'.
20510 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20511 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20512
20513 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20514 functions being autoloaded.
20515
20516 * calc/calc.el (calc-lu-power-reference): Rename from
20517 `calc-logunits-power-reference'.
20518 (calc-lu-field-reference): Rename from
20519 `calc-logunits-field-reference'.
20520
7a71b18d
GM
20521 * calc/calc-help.el (calc-l-prefix-help):
20522 Mention musical note functions.
d71990a1 20523
40c2934b
SM
205242011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20525
20526 * minibuffer.el (completion-all-sorted-completions):
20527 Use :completion-cycle-penalty text property if present.
20528
b0911414
KM
205292011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20530
20531 * allout.el (allout-yank-processing): Adjust for new rebulleting
20532 regime so bullet being yanked is used without prompting the user
20533 for a choice.
20534
8a05b668
JB
205352011-03-16 Juanma Barranquero <lekktu@gmail.com>
20536
20537 * startup.el (command-line): Warn the user that _emacs is deprecated.
20538
5ba5fb81
JB
205392011-03-16 Juanma Barranquero <lekktu@gmail.com>
20540
20541 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20542 (delphi-verbose, delphi-comment-face, delphi-string-face)
20543 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20544 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20545 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20546 (delphi-new-comment-line, delphi-font-lock-defaults)
20547 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20548 Fix typos in docstrings.
20549
2dab465b
KM
205502011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20551
5ba5fb81 20552 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20553 Invert the roles of character and string values for INSTEAD, so a
20554 string is used for the more common case of a defaulting prompt.
20555
0adf5618
SM
205562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20557
20558 * progmodes/ruby-mode.el (ruby-backward-sexp):
20559 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20560 * play/gamegrid.el (gamegrid-make-face):
20561 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20562 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20563 * notifications.el (notifications-notify):
20564 * net/xesam.el (xesam-search-engines):
20565 * net/quickurl.el (quickurl-list-insert):
20566 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20567
d72700e5
CY
205682011-03-15 Chong Yidong <cyd@stupidchicken.com>
20569
20570 * startup.el (command-line): Update package subdirectory regexp.
20571
49c5410a
SM
205722011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20573
c6eee9aa
SM
20574 * allout.el (allout-abbreviate-flattened-numbering)
20575 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20576
49c5410a
SM
20577 * subr.el (read-char-choice): Only show the cursor after the prompt,
20578 not after the answer.
20579
047b2bb9
KR
205802011-03-15 Kevin Ryde <user42@zip.com.au>
20581
20582 * help-fns.el (variable-at-point): Skip leading quotes, if any
20583 (bug#8253).
20584
0a57d256
SM
205852011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20586
20587 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20588 warning message.
20589
77c992bc
MA
205902011-03-14 Michael Albinus <michael.albinus@gmx.de>
20591
20592 * shell.el (shell): When called interactively, offer to change the
20593 shell file name on remote hosts.
20594
eebc475d
TZ
205952011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20596
20597 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20598 integration for LDAP parameters. The host, base, user or binddn,
20599 and secret tokens can be specified in a netrc file, for instance.
20600 This is optional because an `auth-source' parameter must be
20601 specified in the search attributes.
20602
9d05d1ba
JB
206032011-03-13 Juanma Barranquero <lekktu@gmail.com>
20604
20605 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20606
09d9db2c
GM
206072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20608
20609 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20610 into declaration. Remove redundant and harmful binding.
20611
206122011-03-12 Eli Zaretskii <eliz@gnu.org>
20613
20614 * files.el (file-ownership-preserved-p): Pass `integer' as an
20615 explicit 2nd argument to `file-attributes'. If the file's owner
20616 is the Administrators group on Windows, and the current user is
20617 Administrator, consider that a match.
20618
20619 * server.el (server-ensure-safe-dir): Consider server directory
20620 safe on MS-Windows if its owner is the Administrators group while
20621 the current Emacs user is Administrator. Use `=' to compare
20622 numerical UIDs, since they could be integers or floats.
20623
219bd536
JB
206242011-03-12 Juanma Barranquero <lekktu@gmail.com>
20625
20626 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20627
f3afd36b
MA
206282011-03-12 Michael Albinus <michael.albinus@gmx.de>
20629
20630 Sync with Tramp 2.2.1.
20631
20632 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20633
20634 * net/trampver.el: Update release number.
20635
3aaaa6f1
SM
206362011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20637
94642599
SM
20638 * progmodes/compile.el (compilation--previous-directory): Fix up
20639 various nil/dead-marker mismatches (bug#8014).
20640 (compilation-directory-properties, compilation-error-properties):
20641 Don't call it at a position past the one we're about to change.
20642
3aaaa6f1
SM
20643 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20644 Disable obsolescence warnings in the file that declares it.
20645
14239447
KM
206462011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20647
099c39a4
JB
20648 * allout-widgets.el (allout-widgets-tally):
20649 Initialize allout-widgets-tally as a hash table rather than nil to
20650 prevent mode-line redisplay warnings. Also, clarify the module
20651 description and fix a comment typo.
14239447 20652
135e287c
JB
206532011-03-11 Juanma Barranquero <lekktu@gmail.com>
20654
20655 * help-fns.el (describe-variable): Don't complete keywords.
20656 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20657
ffbf300e
CY
206582011-03-10 Chong Yidong <cyd@stupidchicken.com>
20659
ba08b241
CY
20660 * emacs-lisp/package.el (package-version-join): Impose a standard
20661 string representation for pre/alpha/beta version lists.
20662 (package-unpack-single): Standardize the directory name by passing
20663 it through package-version-join.
20664 (package-strip-rcs-id): Accept any version string that does not
20665 signal an error in version-to-list.
ffbf300e 20666
f346fd6b
MA
206672011-03-10 Michael Albinus <michael.albinus@gmx.de>
20668
20669 * simple.el (delete-trailing-whitespace): Return nil for the
20670 benefit of `write-file-functions'.
20671
ccb55d27
GM
206722011-03-10 Glenn Morris <rgm@gnu.org>
20673
5ceaac0c
GM
20674 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20675
02da65ff
GM
20676 * vc/vc-git.el (vc-git-program): New option.
20677 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20678 (vc-git--call): Use it.
20679
b2f603cc
GM
20680 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20681
5772caab
GM
20682 * cus-edit.el (Custom-newline): If no button at point, look
20683 for a subgroup button at start-of-line. (Bug#2298)
20684
ccb55d27
GM
20685 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20686
ec6ecaed
JD
206872011-03-10 Julien Danjou <julien@danjou.info>
20688
20689 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20690 `cursor-type' is nil.
20691
9d5aa01d
JB
206922011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20693
20694 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20695
b6a5875b
KM
206962011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20697
7a71b18d 20698 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20699 preserves the existing header prefix, rebulleting it if necessary,
20700 rather than replacing it. This is necessary for proper operation
20701 of cooperative addons like allout-widgets.
1154d12e
JB
20702 (allout-make-topic-prefix, allout-rebullet-heading):
20703 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20704 value as alternate bullet to be used, instead of prompting the user
20705 for a bullet character.
b6a5875b 20706
ee545c35
MA
207072011-03-09 Michael Albinus <michael.albinus@gmx.de>
20708
d86d2721
SM
20709 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20710 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20711 `tramp-default-port'.
20712
c47971d7
DD
207132011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20714
20715 * net/rcirc.el (rcirc-handler-001): Remove useless
20716 with-rcirc-process-buffer.
20717 (rcirc-check-auth-status): Swap arguments to string-match.
20718
13522cb4
GM
207192011-03-09 Glenn Morris <rgm@gnu.org>
20720
0be6f4f1
GM
20721 * shell.el (shell-mode):
20722 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20723
13522cb4
GM
20724 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20725 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20726
515de2e3
CY
207272011-03-08 Chong Yidong <cyd@stupidchicken.com>
20728
20729 * emacs-lisp/package.el (package-refresh-contents)
20730 (package-menu-execute): Use condition-case-no-debug.
20731
b511b994
MA
207322011-03-08 Michael Albinus <michael.albinus@gmx.de>
20733
20734 * simple.el (shell-command-to-string): Use `process-file'.
20735
20736 * emacs-lisp/package.el (package-tar-file-info): Handle also
20737 remote files.
20738
d86d2721
SM
20739 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20740 Use `equal' for upload base check.
b511b994 20741
25bbfb31
AM
207422011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20743
20744 * textmodes/texinfo.el (texinfo-environments):
20745 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20746
be996521
GM
207472011-03-08 Glenn Morris <rgm@gnu.org>
20748
e9c8529f
GM
20749 * cus-start.el (cursor-in-non-selected-windows):
20750 Fix :set quoting oddness. (Bug#8192)
20751
be996521
GM
20752 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20753 in some setf expressions. (Bug#2159)
20754
2bb5649e
CY
207552011-03-08 Chong Yidong <cyd@stupidchicken.com>
20756
20757 * custom.el (custom-available-themes): Return themes in
20758 alphabetical order.
20759
33383987 20760See ChangeLog.15 for earlier changes.
e3d51b27
MR
20761
20762;; Local Variables:
20763;; coding: utf-8
e3d51b27
MR
20764;; End:
20765
acaf905b 20766 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20767
20768 This file is part of GNU Emacs.
20769
20770 GNU Emacs is free software: you can redistribute it and/or modify
20771 it under the terms of the GNU General Public License as published by
20772 the Free Software Foundation, either version 3 of the License, or
20773 (at your option) any later version.
20774
20775 GNU Emacs is distributed in the hope that it will be useful,
20776 but WITHOUT ANY WARRANTY; without even the implied warranty of
20777 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20778 GNU General Public License for more details.
20779
20780 You should have received a copy of the GNU General Public License
20781 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.