* lisp/progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b08b6da7
SM
12012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4 (sh-font-lock-open-heredoc): Use it (bug#12770).
5
4ddedf94
GM
62012-10-30 Glenn Morris <rgm@gnu.org>
7
f43a5263
GM
8 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
9
4ddedf94
GM
10 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
11
748b0d84
CY
122012-10-29 Chong Yidong <cyd@gnu.org>
13
b5dd9a77
CY
14 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
15 function key is stored in a keyboard macro (Bug#4894).
16
748b0d84
CY
17 * thingatpt.el (number-at-point): Apply a thing-at-point property.
18
e07fcbdc
SM
192012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
20
d7f9cc85
SM
21 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
22 header comments".
23 (diff-unified->context, diff-context->unified)
24 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
25
c606253c
SM
26 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
27
e07fcbdc
SM
28 * files.el (find-alternate-file): Only ask one question (bug#12487).
29
894b9dd9
CY
302012-10-29 Chong Yidong <cyd@gnu.org>
31
1dc2755a
CY
32 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
33 Suggested by Dan Nicolaescu (Bug#6326).
34
329c48d8
CY
35 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
36
2230fa5b 37 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 38
e84cad57
CY
39 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
40
1913c5f5
CY
41 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
42
894b9dd9
CY
43 * face-remap.el (face-remap-add-relative): Handle the case where a
44 face-remapping-alist entry is a cons cell (Bug#12762).
45
329c48d8
CY
462012-10-29 Kevin Ryde <user42@zip.com.au>
47
48 * woman.el (woman-parse-numeric-value): Handle picas correctly
49 (Bug#12639).
50
a0ccbcbd
GM
512012-10-29 Glenn Morris <rgm@gnu.org>
52
53 * emacs-lisp/cl.el (defsetf): Doc fix.
54
b3871e59
SM
552012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
58 syntax to the matching opener, if any (bug#12547).
59 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
60 matching open as a "case-(".
61 (sh-smie-rc-grammar): Add a corresponding rule for it.
62
cd44022c
DH
632012-10-28 Daniel Hackney <dan@haxney.org>
64
65 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
66 "PKGNAME-autoloads.el" in case we created it.
67
70edffb1
SM
682012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
69
86957a0c
SM
70 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
71 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 72 (completion--twq-all): Disable too-strict assertions.
86957a0c 73
70edffb1
SM
74 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
75
d069271c
EZ
762012-10-27 Eli Zaretskii <eliz@gnu.org>
77
78 * profiler.el (profiler-report-make-entry-part): Fix help-echo
79 text to match the real keybindings.
80
e2f022a3
JL
812012-10-27 Juri Linkov <juri@jurta.org>
82
83 * wdired.el (wdired-keep-marker-rename): New defcustom.
84 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
85 (Bug#11795)
86
87 * dired.el (dired-keep-marker-rename): Add reference to
88 `wdired-keep-marker-rename' in the docstring.
89 Add default character value ?R to display initially in
90 Customization UI instead of ?@.
91
df171c23
MR
922012-10-27 Martin Rudalics <rudalics@gmx.at>
93
94 * window.el (display-buffer): In doc-string describe
95 window-height and window-width alist entries.
96
97 * time.el (display-time-world): Restore fit-window-to-buffer
98 behavior.
99
05b621a6
CY
1002012-10-27 Chong Yidong <cyd@gnu.org>
101
102 * subr.el (insert-buffer-substring-as-yank): Doc fix.
103
55f197b2
J
1042012-10-26 Jambunathan K <kjambunathan@gmail.com>
105
106 * minibuffer.el (completion-category-overrides): New completion
107 category `bookmark' (bug#11131).
108
372212df
SM
1092012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
110
150f809c
SM
111 * emacs-lisp/advice.el (ad-assemble-advised-definition):
112 Silence bogus compiler warnings for ad-do-it.
113
372212df
SM
114 * bookmark.el (bookmark-completing-read): Set the completion category
115 to `bookmark' (bug#11131).
116
c5772569
B
1172012-10-26 Bastien <bzg@altern.org>
118 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * face-remap.el: Use lexical-binding.
121 (text-scale-adjust): Improve docstring. Use itself for the temporary
122 overlay-map bindings, so as to repeat the "Use..." message each time.
123
a2be0357
SM
1242012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
125
63314e57
SM
126 * emacs-lisp/macroexp.el (macroexp--expand-all):
127 Obey byte-compile-warning-enabled-p (bug#12486).
128
a2be0357
SM
129 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
130 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
131
8c7727c3
MR
1322012-10-26 Martin Rudalics <rudalics@gmx.at>
133
134 * mouse.el (mouse-drag-line): Move last form into preceding when
135 clause (Bug#12731).
136
137 * help.el (resize-temp-buffer-window): Fix doc-string.
138
3f2a848d
DE
1392012-10-25 David Engster <deng@randomsample.de>
140
141 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 142 Remove. This feature is already integrated in imenu.
3f2a848d
DE
143
144 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
145 always loaded. Require `speedbar' unconditionally.
146
a7723be6
SM
1472012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
148
aaabfc8b
SM
149 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
150
414a8595
SM
151 * minibuffer.el (minibuffer-force-complete): Fix thinko.
152
fb5b9475
SM
153 * net/ldap.el (ldap-search-internal): The official ldif format starts
154 with a "version: 1" header (bug#12724).
155
a7723be6
SM
156 * emacs-lisp/package.el (package-installed-p): Warn if not ready
157 (bug#12721).
158
a05cb6e3
GM
1592012-10-25 Glenn Morris <rgm@gnu.org>
160
161 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
162
3c92de70
SM
1632012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * minibuffer.el (minibuffer-force-complete): Use one more marker
166 for the temporary-overlay-map command (bug#12619).
167
a4b6d7c6
CY
1682012-10-24 Chong Yidong <cyd@gnu.org>
169
170 * time.el (display-time-world-mode): Derive from special-mode.
171 (display-time-world): Use display-buffer (Bug#12708).
172 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
173 (display-time-world-display): Wrap the final delete-char inside
174 inhibit-read-only.
a4b6d7c6 175
75e8f9d2
CY
1762012-10-24 Chong Yidong <cyd@gnu.org>
177
cd996018
CY
178 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
179 Doc fix.
180
75e8f9d2
CY
181 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
182
d92df117
SM
1832012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * minibuffer.el (completion--all-sorted-completions-location): New var.
186 (completion--cache-all-sorted-completions)
187 (completion--flush-all-sorted-completions): Use it.
188 (completion-in-region, completion-in-region--postch)
189 (completion-at-point, completion-help-at-point): Use markers in
190 completion-in-region--data (bug#12619).
191
9c3e39f3
SM
1922012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
193
c79825bd
SM
194 * progmodes/compile.el (compilation-start): Try to handle common
195 quoting of `cd' argument (bug#12640).
196
9c3e39f3
SM
197 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
198 (bug#12671).
199
a6709bc7
GM
2002012-10-23 Glenn Morris <rgm@gnu.org>
201
202 * progmodes/gud.el (gud-menu-map):
203 Check gdb-active-process is bound. (Bug#12358)
204
d1069532
SM
2052012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
206
d20d69c0
SM
207 * repeat.el (repeat): Set real-this-command (bug#12232).
208
d1069532
SM
209 * htmlfontify.el (hfy-post-html-hook):
210 * filesets.el (filesets-cache-fill-content-hook):
211 * arc-mode.el (archive-extract-hook):
212 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
213 * net/rcirc.el (rcirc-sentinel-functions)
214 (rcirc-receive-message-functions, rcirc-activity-functions)
215 (rcirc-print-functions):
216 * net/dbus.el (dbus-event-error-functions):
217 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
218 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
219 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
220 * term/sun.el (sun-raw-prefix-hooks):
221 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
222
f7eac6d8
MA
2232012-10-23 Michael Albinus <michael.albinus@gmx.de>
224
d1069532
SM
225 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
226 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
227 (tramp-smb-wait-for-output): Add timeout to
228 `tramp-accept-process-output' calls.
229
608d9d7c
CY
2302012-10-23 Chong Yidong <cyd@gnu.org>
231
49238e7f
CY
232 * faces.el (font-list-limit): Define as an obsolete variable.
233
234 * startup.el (command-line):
235 * cus-start.el: Don't refer to font-list-limit.
236
608d9d7c
CY
237 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
238
4ff5b1b2
SM
2392012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * subr.el (internal-temp-output-buffer-show): Rename from
242 temp-output-buffer-show, since previously compiled files expect this name.
243
ea1d4aac
GM
2442012-10-23 Glenn Morris <rgm@gnu.org>
245
246 * image.el (image-type-from-file-name): If multiple types match,
247 return the first one that is supported. (Bug#9045)
248
eda82a31
GM
2492012-10-22 Glenn Morris <rgm@gnu.org>
250
251 * image.el (imagemagick-enabled-types): Doc fix.
252
4f020bec
TA
2532012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
254
255 * progmodes/which-func.el (which-func-current): The hash-table may have
256 an explicit nil (bug#12338).
257
c77d37e2
SM
2582012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * electric.el (electric-pair-delete-selection-self-insert-function):
261 Rename to electric-pair-will-use-region, return a boolean.
262 (electric-pair-mode): Adjust accordingly. Don't require delsel.
263
264 * delsel.el (delete-selection-helper): Use a function instead of a hook.
265 (delete-selection-pre-hook): Use use-region-p.
266 (delete-selection-self-insert-function): Remove.
267 (self-insert-command): Obey self-insert-uses-region-functions.
268 (self-insert-iso): Revert to previous setting, since we don't actually
269 know what that command does.
270 (delete-selection-self-insert-hooks): Remove.
271
b1d39ccc
SL
2722012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
273
274 * delsel.el (delete-selection-helper): New function, extracted from
275 delete-selection-pre-hook.
276 (delete-selection-pre-hook): Use it.
277 (delete-selection-self-insert-function): New function.
278 (delete-selection-self-insert-hooks): New hook.
279 (self-insert-command, self-insert-iso): Use it.
280 * electric.el (electric-pair-syntax): New function, extracted from
281 electric-pair-post-self-insert-function.
282 (electric-pair-post-self-insert-function): Use it.
283 (electric-pair-delete-selection-self-insert-function): New function.
284 (electric-pair-mode): Require delsel and setup
285 delete-selection-self-insert-hooks (bug#11520).
286
045ef729
CY
2872012-10-20 Chong Yidong <cyd@gnu.org>
288
4c5d08a8
CY
289 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
290 no changes to show (Bug#12586).
291
045ef729
CY
292 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
293 list explicitly (Bug#12571).
294
3503c798 2952012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 296
b1d39ccc
SL
297 * progmodes/flymake.el (flymake-create-temp-inplace):
298 Use file-truename.
79e1997a 299
2068905b
EZ
3002012-10-20 Eli Zaretskii <eliz@gnu.org>
301
302 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
303
4c9e9550
JB
3042012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
305
306 * calc/calc-units.el (math-extract-units): Properly extract powers
307 of units.
308
1a6e7e38
DC
3092012-10-20 Daniel Colascione <dancol@dancol.org>
310
311 * frame.el (make-frame): Set x-display-name as we used to in order
312 to unbreak creating an X11 frame from an Emacs daemon started
313 without a display.
314
8e808318
SM
3152012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * minibuffer.el (minibuffer-force-complete): Make the next completion use
318 the same completion-field (bug@12221).
319
fb0104da
MR
3202012-10-19 Martin Rudalics <rudalics@gmx.at>
321
322 * emacs-lisp/debug.el (debug): Record height of debugger window
323 also when debugger will be back (Bug#8789).
324
8c27235e
CY
3252012-10-18 Chong Yidong <cyd@gnu.org>
326
327 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
328 Convert to defcustom.
329 (gdb-get-source-file): Don't bind pop-up-windows.
330
331 * progmodes/gud.el (gud-display-line): Don't specially re-use
332 other frames for the gdb-mi case (Bug#12648).
333
90eacf99
SM
3342012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
335
aaf0c300
SM
336 * emacs-lisp/advice.el: Clean up commentary a bit.
337 (ad-do-advised-functions, ad-with-originals): Use `declare'.
338 (byte-code-function-p): Never redefine.
339
90eacf99
SM
340 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
341
281c9d2b
GM
3422012-10-18 Glenn Morris <rgm@gnu.org>
343
40714e3d
GM
344 * dired.el (dired-sort-toggle): Some ls implementations only allow
345 a single option string. (Bug#12666)
346
281c9d2b
GM
347 * minibuffer.el (completion-cycle-threshold): Doc fix.
348
b278604e
KH
3492012-10-17 Kenichi Handa <handa@gnu.org>
350
90eacf99
SM
351 * international/mule.el (set-keyboard-coding-system):
352 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
353 Supply TERMINAL arg to set-input-meta-mode.
354
df171c23 3552012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
356
357 * wdired.el (wdired-old-marks): New variable.
358 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
359 (wdired-do-renames): Move point with renamed file and don't lose
360 mark status (Bug#11795).
361
e5a94ec4
JL
3622012-10-16 Juri Linkov <juri@jurta.org>
363
364 * replace.el (query-replace-help): Mention multi-buffer replacement
365 keys in the Help message. (Bug#12655)
366
d18a0d24
CY
3672012-10-15 Chong Yidong <cyd@gnu.org>
368
369 * emacs-lisp/byte-run.el (defsubst): Doc fix.
370
8111f5e6
EZ
3712012-10-14 Eli Zaretskii <eliz@gnu.org>
372
7b9abf24
EZ
373 * window.el (display-buffer): Doc fix.
374
8111f5e6
EZ
375 * progmodes/compile.el (compilation-error-regexp-alist-alist):
376 Adjust the msft regexp to the output of Studio 2010, and move msft
377 before edg-1. See the discussion on emacs-devel,
378 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
379 for the details.
380
5046ef67
SM
3812012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
382
9760c73c
SM
383 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
384 (oset): Move uses of object-class-fast macro after its definition.
385
5046ef67
SM
386 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
387
0d11ff1c
CY
3882012-10-13 Chong Yidong <cyd@gnu.org>
389
390 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
391 enabled, re-enable it (Bug#11963).
392
88ded8ac
MR
3932012-10-13 Martin Rudalics <rudalics@gmx.at>
394
395 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
396 non-nil, restore window configuration (Bug#12623).
397
bd0ffffd
SM
3982012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
399
06485aa8
SM
400 * help-fns.el (describe-variable, describe-function-1):
401 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
402
bd0ffffd
SM
403 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
404
3a989246
GM
4052012-10-12 Glenn Morris <rgm@gnu.org>
406
407 * mail/rmailsum.el (rmail-header-summary):
408 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
409
55cd00c8
FEG
4102012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
411
bd0ffffd
SM
412 * progmodes/python.el (python-mode-map):
413 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
414 (python-nav--up-list): Fix behavior for blocks on the same level.
415
ac9fc2c7
SM
4162012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
417
d8cc4c00 418 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 419
5253a5fd
SM
420 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
421 changes to the format of load-history.
422
ac9fc2c7
SM
423 * international/mule-cmds.el (read-char-by-name): Move let-binding of
424 completion-ignore-case in case that var is buffer-local (bug#12615).
425
cde44a77
KH
4262012-10-11 Kenichi Handa <handa@gnu.org>
427
428 * international/eucjp-ms.el: Re-generated.
429
4ef4a10d
KH
4302012-10-10 Kenichi Handa <handa@gnu.org>
431
432 * select.el (xselect--encode-string): If a coding is specified for
433 selection, and that is compatible with COMPOUND_TEXT, use it.
434
9d7f027b
MR
4352012-10-10 Martin Rudalics <rudalics@gmx.at>
436
437 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
438 (switch-to-buffer):
439 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 440
238f3a58
SM
4412012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
444 Don't document nil as a useful value (bug#12583).
445
1d51f99c
MA
4462012-10-09 Michael Albinus <michael.albinus@gmx.de>
447
238f3a58
SM
448 * net/tramp.el (tramp-debug-message):
449 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
450 (with-tramp-progress-reporter): Rename from
451 `tramp-with-progress-reporter'.
238f3a58
SM
452 (with-tramp-file-property, with-tramp-connection-property):
453 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
454 `with-connection-property', respectively.
455
456 * net/tramp-cache.el: Remove `with-file-property' and
457 `with-connection-property'.
458
459 * net/tramp.el:
460 * net/tramp-gvfs.el:
461 * net/tramp-sh.el:
462 * net/tramp-smb.el: Adapt callees.
463
464 * net/trampver.el: Update release number.
465
26b77251
GM
4662012-10-09 Glenn Morris <rgm@gnu.org>
467
9a5f296f
GM
468 * w32-fns.el (set-message-beep):
469 * term/w32-win.el (set-message-beep): Update declarations.
470
94c66ce5
SM
4712012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
472
10766e9e
SM
473 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
474 (mode-line-widen, mode-line-input-method-map)
475 (mode-line-coding-system-map, mode-line-remote)
476 (mode-line-unbury-buffer, mode-line-bury-buffer)
477 (mode-line-next-buffer, mode-line-previous-buffer):
478 Replace save-selected-window+select-window => with-selected-window.
479
f754db08
SM
480 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
481 * progmodes/cc-vars.el (bq-process): Remove, unused.
482
94c66ce5
SM
483 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
484
a4ff7fe1
FEG
4852012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
486
487 Implemented `backward-up-list'-like navigation.
488 * progmodes/python.el (python-nav-up-list)
489 (python-nav-backward-up-list): New functions.
490 (python-mode-map): Define substitute key for backward-up-list to
491 python-nav-backward-up-list.
492
24517d82
FEG
4932012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
494
495 * progmodes/python.el (python-fill-paragraph): Rename from
496 python-fill-paragraph-function. Fixed fill-paragraph for
497 decorators (Bug#12605).
498
51867ae2
FEG
4992012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
500
501 * progmodes/python.el (python-shell-output-filter): Handle extra
502 carriage return in OSX (Bug#12409).
503
a5b773c4
FEG
5042012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
505
506 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 507 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
508 (python-syntax-propertize-function): Use it.
509 (python-shell-output-syntax-table): New var.
510 (inferior-python-mode): Prevent unbalanced parens/quotes from
511 previous output mess with current input context.
512
13373538
JB
5132012-10-08 Juanma Barranquero <lekktu@gmail.com>
514
515 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
516 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
517
775a132d
MA
5182012-10-08 Michael Albinus <michael.albinus@gmx.de>
519
520 * ffap.el (ffap-replace-file-component): Support Tramp file name
521 syntax, not only ange-ftp's one.
522
3ab44929
GM
5232012-10-08 Glenn Morris <rgm@gnu.org>
524
57f1dee4
GM
525 * cus-start.el (message-log-max): Set :version.
526
3ab44929
GM
527 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
528
6a088630
MR
5292012-10-08 Martin Rudalics <rudalics@gmx.at>
530
531 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
532 the minibuffer window (Bug#10851).
533
8dbce54c
FEG
5342012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
535
536 Enhancements on forward-sexp movement.
537 * progmodes/python.el (python-nav-beginning-of-statement)
538 (python-nav-end-of-statement): Return point-marker.
539 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
540 (python-info-current-symbol)
541 (python-info-statement-starts-block-p): Rename from
542 python-info-beginning-of-block-p.
543 (python-info-statement-ends-block-p): Rename from
544 python-info-end-of-block-p.
545 (python-info-beginning-of-statement-p)
546 (python-info-end-of-statement-p)
547 (python-info-beginning-of-block-p, python-info-end-of-block-p):
548 New functions.
549
5acd2b3e
SM
5502012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
553 frame-selected-windows.
554
e08348a0
DC
5552012-10-08 Daniel Colascione <dancol@dancol.org>
556
557 * battery.el (battery-status-function): Check for
558 w32-battery-status itself, not system-time windows-nt.
559
560 * frame.el: Require cl-lib.
561 (display-format-alist): New variable mapping frame types to
562 functions that initialize them.
563 (window-system-for-display): New function: interprets
564 display-format-alist.
565 (make-frame-on-display): Remove existing display-selection logic
566 and just forward to make-frame, which will now DTRT.
567 (make-frame): Restructure to use window-system-for-display to
568 figure out how to create a frame on a given display.
569 (display-mouse-p): Look for frame-type w32, not a particular
570 system-type.
571
572 * loadup.el: Load w32 lisp code when we have the w32 feature.
573
574 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
575 system-type windows-nt.
576
577 * server.el (server-create-window-system-frame): Look for window
578 type.
579 (server-proces-filter): Only force a window system when windows-nt
580 _and_ w32. Explain why.
581
582 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
583 of window systems we configure for the mode.
584
585 * startup.el (command-line): Mark window system is initialized
586 after we've done it.
587
588 * common-win.el (x-select-text): Look for w32, not windows-nt.
589
590 * ns-win.el: Require cl-lib. Add ourselves to
591 display-format-alist.
592 (ns-initialize-window-system): Assert we're not initialized twice.
593
594 * w32-win.el: Enable lexical binding; require cl-lib; add
595 ourselves to display-format-alist.
596 (w32-handle-dropped-file): Convert incoming dropped files from
597 Windows paths to Cygwin ones before passing them on to the rest of
598 Emacs.
599 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
600 (w32-initialize-window-system): Assert we're not initialized twice.
601
602 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
603 (x-initialize-window-system): Assert we're not initialized twice.
604
605 * w32-common-fns.el: New File.
606 (w32-version, w32-using-nt, w32-get-clipboard-data)
607 (w32-set-clipboard-data, x-set-selection, x-get-selection)
608 (w32-charset-info-alist, x-last-selected, text)
609 (x-get-selection-value, x-selection-value): Move here.
610
611 * w32-fns.el: Require w32-common-fns.
612 (w32-version, w32-using-nt, w32-get-clipboard-data)
613 (w32-set-clipboard-data, x-set-selection, x-get-selection)
614 (w32-charset-info-alist, x-last-selected, text)
615 (x-get-selection-value, x-selection-value): Move to
616 w32-common-fns.
617
618 * w32-vars.el:
619 (w32-allow-system-shell, w32-system-shells): Define only in
620 non-cygwin case.
621
795b1482
SM
6222012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
625 (read-passwd): Remove a few more potential sources of leaks.
626
f27c99dc
FEG
6272012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
628
629 * progmodes/python.el (inferior-python-mode)
795b1482 630 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
631 variables copied from parent buffer.
632
fcacb558
JD
6332012-10-07 Jan Djärv <jan.h.d@swipnet.se>
634
635 * term/ns-win.el (ns-read-file-name): Update declaration to match
636 nsfns.m.
637 (ns-respond-to-change-font): Change fontsize separatly so we are sure
638 it is set when font is acted upon.
639
be0d5bae
FEG
6402012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
641
642 Enhancements to indentation.
643 * progmodes/python.el (python-indent-context): Give priority to
644 inside-string context. Make comments indentation markers.
645 (python-indent-region): Do not mess with strings, unless it's the
646 enclosing set of quotes.
647
13af0d10
SM
6482012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
649
662a9d0e
SM
650 * window.el (internal--before-save-selected-window)
651 (internal--after-save-selected-window): New functions extracted from
652 save-selected-window. Make sure we return the `alist' we construct.
653 (save-selected-window): Use them.
654
655 * textmodes/tex-mode.el (tex-recenter-output-buffer):
656 Use with-selected-window.
657
13af0d10
SM
658 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
659 forms that define macros (bug#12593).
660
6aa75fb6
KH
6612012-10-07 Kenichi Handa <handa@gnu.org>
662
13af0d10
SM
663 * international/mule-conf.el (compound-text-with-extensions):
664 Add :mime-charset property as x-ctext.
6aa75fb6 665
78d876b9
SM
6662012-10-07 Stefan Merten <smerten@oekonux.de>
667
668 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
669 (rst-indent-literal-normal, rst-indent-literal-minimized)
670 (rst-indent-comment): Correct :version tag.
557337e9 671 (rst-official-cvs-rev): Correct version string.
78d876b9 672
99a1e701
GM
6732012-10-07 Glenn Morris <rgm@gnu.org>
674
675 * mail/rmailmm.el (rmail-mime-process-multipart):
676 Do not confuse a multipart message with an epilogue
677 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
678
08f18c3d
FEG
6792012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
680
681 Fix shell output retrieval and comint-prompt-regexp init.
682 * progmodes/python.el (inferior-python-mode):
683 (python-shell-make-comint): Fix initialization of
684 comint-prompt-regexp from copied file local variables.
685 (python-shell-fetched-lines): Remove var.
686 (python-shell-output-filter-in-progress): Rename from
687 python-shell-fetch-lines-in-progress.
688 (python-shell-output-filter-buffer): Rename from
689 python-shell-fetch-lines-string.
690 (python-shell-fetch-lines-filter): Delete function.
691 (python-shell-output-filter): New function.
692 (python-shell-send-string-no-output): Use them.
693
82ed3ab4
GM
6942012-10-07 Glenn Morris <rgm@gnu.org>
695
1595ecfa
GM
696 * hi-lock.el (hi-lock-process-phrase):
697 Try to make it less fragile. (Bug#7161)
698
82ed3ab4
GM
699 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
700
f1f4dba0
GM
7012012-10-06 Glenn Morris <rgm@gnu.org>
702
addc11ed 703 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
704 non-existent mode `help'.
705 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 706
460042b8
GM
707 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
708 (reftex-create-bibtex-footer): Fix custom types.
709
67667c70
GM
710 * progmodes/sh-script.el (sh-indent-after-continuation):
711 Add explicit :group.
712
18dec750
GM
713 * textmodes/rst.el (rst-preferred-decorations)
714 (rst-shift-basic-offset): Clarify obsolescence versions.
715
d1a1c7e6
GM
716 * profiler.el (profiler): Add missing group :version tag.
717 * avoid.el (mouse-avoidance-banish-position):
718 * proced.el (proced-renice-command):
719 * calc/calc.el (calc-ensure-consistent-units):
720 * calendar/icalendar.el (icalendar-import-format-uid):
721 * net/tramp.el (tramp-save-ad-hoc-proxies):
722 * progmodes/bug-reference.el (bug-reference-bug-regexp):
723 * progmodes/flymake.el (flymake-error-bitmap)
724 (flymake-warning-bitmap, flymake-fringe-indicator-position):
725 * progmodes/sh-script.el (sh-indent-after-continuation):
726 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
727 (verilog-before-save-font-hook, verilog-after-save-font-hook):
728 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
729 (vhdl-array-index-record-field-in-sensitivity-list)
730 (vhdl-indent-comment-like-next-code-line):
731 * textmodes/reftex-vars.el (reftex-ref-style-alist)
732 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
733 (reftex-cite-key-separator, reftex-create-bibtex-header)
734 (reftex-create-bibtex-footer):
735 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
736 (rst-indent-literal-normal, rst-indent-literal-minimized)
737 (rst-indent-comment): Add missing custom :version tags.
738
ef35abb4
GM
739 * calendar/timeclock.el (timeclock-modeline-display):
740 Add missing obsolete alias for renamed user option.
741
d1aae614
GM
742 * strokes.el (strokes-modeline-string):
743 * emulation/crisp.el (crisp-mode-modeline-string):
744 * eshell/esh-mode.el (eshell-status-in-modeline):
745 Aliases to defcustoms must come before the defcustom.
746
f1f4dba0
GM
747 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
748 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
749 (cal-tex-cursor-week-monday): Doc fixes.
750 (cal-tex-cursor-week2-summary): Doc fix.
751 Rename from cal-tex-cursor-week-at-a-glance.
752
753 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
754 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
755
756 * calendar/calendar.el (calendar-mode-map):
757 Add cal-tex-cursor-week2-summary.
758
d39109c3
SM
7592012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
760
685f87b0
SM
761 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
762
d39109c3
SM
763 * subr.el (read-passwd-map): New var.
764 (read-passwd): Use `read-string' again.
765 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
766
5694896d
J
7672012-10-06 Jambunathan K <kjambunathan@gmail.com>
768
769 * register.el (append-to-register, prepend-to-register):
770 Deactivate mark, as does `copy-to-register' (bug#12389).
771
9414dd8d
CY
7722012-10-06 Chong Yidong <cyd@gnu.org>
773
774 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
775
2b89bca4
KH
7762012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
777
778 * international/characters.el: Fix simple mistake ((car chars) ->
779 elt), delete duplicated code.
780
d5acb99a
GM
7812012-10-06 Glenn Morris <rgm@gnu.org>
782
783 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
784
123ec157
JS
7852012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
786
787 * color.el (color-hsl-to-rgb): Fix incorrect results for
788 small and large hue values. (Bug#12559)
789
7fa36ccb
FEG
7902012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
791
792 Enhancements to docstring formatting when filling paragraphs.
793 * progmodes/python.el (python-fill-docstring-style): Rename from
794 python-fill-string-style. Added new style.
795 (python-fill-string): Use new style. Better checks for
796 docstrings.
797
d8788e1e
GM
7982012-10-05 Glenn Morris <rgm@gnu.org>
799
204f3953
GM
800 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
801
d8788e1e
GM
802 * color.el (color-name-to-rgb, color-rgb-to-hex)
803 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
804 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
805 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
806 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
807
8d956cef
GM
808 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
809
e8757f09 8102012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
811
812 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
813 to get the correct size across symlinks.
814
e8757f09
GM
815 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
816
0e2ae83d
JL
8172012-10-04 Juri Linkov <juri@jurta.org>
818
819 * replace.el (query-replace-interactive): Declare obsolete.
820 (query-replace-read-from): Add the last incremental search string
821 to the list of default values accessible via M-n.
822 (map-query-replace-regexp): Use `read-regexp'.
823 (query-replace, query-replace-regexp, query-replace-regexp-eval)
824 (map-query-replace-regexp, replace-string, replace-regexp):
825 Fix docstrings to replace mentions of `query-replace-interactive'
826 with alternatives. (Bug#12526)
827
93cacb6d
JL
8282012-10-04 Juri Linkov <juri@jurta.org>
829
830 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
831 (dired-pop-to-buffer): Declare obsolete.
832 (dired-mark-pop-up): Doc fix.
833
fc345011
FEG
8342012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
835
836 Allow user to set docstring style for fill-paragraph.
837 * progmodes/python.el
838 (python-fill-comment-function, python-fill-string-function)
839 (python-fill-decorator-function, python-fill-paren-function):
840 Remove :safe for defcustoms.
841 (python-fill-string-style): New defcustom
5694896d 842 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
843 (python-fill-string): Honor python-fill-string-style settings.
844
6bab5d8b
MR
8452012-10-04 Martin Rudalics <rudalics@gmx.at>
846
847 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
848 after setting its buffer (Bug#10805).
849
a1a9f411
FEG
8502012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
851
852 Fix cornercase for string syntax.
853 * progmodes/python.el (python-syntax-propertize-function):
854 Simplify and enhance the regexp for unescaped quotes. Now it also
855 matches quotes in weird situations like the single quote in
856 "something\"'".
857 (python-syntax-stringify): Simplify num-quotes detecting code.
858
05e153a6
GM
8592012-10-03 Glenn Morris <rgm@gnu.org>
860
861 * help-macro.el (three-step-help):
862 Revert 2012-09-29 change. (Bug#12567)
863
2e566ecb
MR
8642012-10-03 Martin Rudalics <rudalics@gmx.at>
865
96ef9ccd
MR
866 * menu-bar.el (kill-this-buffer): Don't do anything when
867 `menu-frame' is not alive or visible (Bug#8184).
868
2e566ecb
MR
869 * emacs-lisp/debug.el (debug): When quitting the debugger window
870 restore current buffer (Bug#12502).
871
a96e1cb7
CY
8722012-10-02 Chong Yidong <cyd@gnu.org>
873
5694896d
J
874 * progmodes/hideif.el (hif-lookup, hif-defined):
875 Handle semantic-c-takeover-hideif.
a96e1cb7 876
b3ecad33
PE
8772012-10-02 Paul Eggert <eggert@cs.ucla.edu>
878
879 Change sampling interval units from ms to ns.
880 * profiler.el (profiler-sampling-interval): Change units
881 from ms to ns, multiplying the default by 1000000 so that
882 it remains 1 ms.
883 (profiler-report-cpu-line-format): Give enough room for
884 the maximum counters on 64-bit hosts.
885 (profiler-report-render-calltree-1): Call them "CPU samples",
886 not "Time (ms)", since they are not milliseconds now (and
887 never really were).
888
8cb51b66 8892012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 890
5694896d
J
891 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
892 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 893
fd795bf4
CY
8942012-10-02 Chong Yidong <cyd@gnu.org>
895
896 * emacs-lisp/eieio.el: Restore Version header.
897
fe0a74f9
SM
8982012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
899
6be9197e
SM
900 * vc/diff-mode.el (diff--auto-refine-data): New var.
901 (diff-hunk): Use it to delay refinement.
902 (diff-mode): Remove overlays when we turn off font-lock.
903
18486139
SM
904 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
905 (table-initialize-table-fixed-width-mode)
906 (table-set-table-fixed-width-mode): Remove functions.
907 (table-command-list): Move initialization into declaration.
908 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
909 (table-with-cache-buffer): Use `declare'.
910 (table-span-cell): Simplify via CSE.
911 (table-fixed-width-mode): Use define-minor-mode.
912 (table-call-interactively, table-funcall, table-apply): Remove.
913 (table-function): New function, to replace them.
914
d83ef976
SM
915 * bookmark.el (bookmark-search-pattern): Remove var.
916 (bookmark-read-search-input): Remove function.
917 (bookmark-bmenu-search): Reimplement using a minibuffer.
918
cd386662
SM
919 * faces.el (modeline): Remove obsolete face name.
920
fe0a74f9
SM
921 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
922 and give a non-nil default value.
923 (add-change-log-entry): Simplify accordingly.
924
9f7b98f8
DG
9252012-10-01 Dmitry Gutov <dgutov@yandex.ru>
926
927 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
928 (vc-git-log-edit-toggle-amend): New function.
929 (vc-git-log-edit-toggle-signoff): New function.
930 (vc-git-log-edit-mode): New major mode.
931 (vc-git-log-edit-mode-map): Keymap for it.
932 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
933
934 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
935 header names.
936 (log-edit-toggle-header): New function.
937 (log-edit-extract-headers): Accept function values in HEADERS alist.
938
62a81506
CY
9392012-10-01 David Engster <deng@randomsample.de>
940
941 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
942 from symbol property and change message to be more consistent with
943 Emacs proper.
944 (eieio-describe-generic): Add filename for each implementation.
945 Fix indices for generic and normal methods.
946 (eieio-method-def, eieio-class-def): New buttons.
947 (eieio-help-find-method-definition)
948 (eieio-help-find-class-definition): New functions.
949 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
950 class, constructor and method definitions.
951
952 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
953 information in symbol property.
954 (scoped-class): Remove.
955 (eieio-slot-name-index, call-next-method): Check if it is bound.
956
9572012-10-01 Leo P. White <lpw25@cam.ac.uk>
958
959 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
960 (eieio-custom-mode): New major mode.
961 (eieio-customize-object): Use it.
962
9632012-10-01 Eric Ludlam <zappo@gnu.org>
964
965 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
966 specifying the expected class, and whether subclassing is allowed.
967 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
968 (eieio-persistent-validate/fix-slot-value)
969 (eieio-persistent-slot-type-is-class-p): New functions.
970 (eieio-named::slot-missing): Doc fix.
62a81506
CY
971
972 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
973 Stop using unused publd variable.
974
975 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
976 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
977 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
978 (eieio-speedbar-handle-click): Do not specify a class for the
979 method. Fixes method invocation order problems with EDE.
980
375e49d4
SM
9812012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
984 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
985
16ce6ccd
KF
9862012-10-01 Karl Fogel <kfogel@red-bean.com>
987
988 * bookmark.el (bookmark-version-control): Give tags in the
989 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
990 (bookmark-write-file): Bind `print-circle' to `t' to allow
991 circular custom bookmark types. (Bug#12503)
16ce6ccd 992
19e54a4d
PE
9932012-10-01 Paul Eggert <eggert@cs.ucla.edu>
994
86ec63ba
PE
995 Revert the FOLLOW-SYMLINKS change for file-attributes.
996 * files.el (remote-file-name-inhibit-cache, after-find-file):
997 * time.el (display-time-file-nonempty-p): Undo last change.
998
19e54a4d
PE
999 * profiler.el (profiler-sampling-interval): Change default back to 1.
1000 See Stefan Monnier in
1001 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1002
0478776b
FEG
10032012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1004
1005 Shell output catching a la gud-gdb.
1006 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1007 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1008 New Vars.
0478776b
FEG
1009 (python-shell-fetch-lines-filter): New function.
1010 (python-shell-send-string-no-output): Use them.
1011
c22bac2c
TM
10122012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1013
1014 * profiler.el (profiler-sampling-interval): Rename from
1015 profiler-sample-interval.
1016 (profiler-sampling-interval): Default to 10.
1017 (profiler-find-profile): New command (was profiler-find-log).
1018 (profiler-find-profile-other-window): New command.
1019 (profiler-find-profile-other-frame): New command.
1020 (profiler-profile): Introduce API-level data structure.
1021
e7a2937b
PE
10222012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1023
1024 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1025 * files.el (remote-file-name-inhibit-cache):
1026 * time.el (display-time-file-nonempty-p): Use it.
1027 * files.el (after-find-file): Don't chase links before calling
1028 file-exists-p, as file-exists-p already does the right thing.
1029
4f595e15
RA
10302012-09-30 Ralf Angeli <angeli@caeruleus.net>
1031
1032 Merge from standalone RefTeX repository.
1033
1034 The following ChangeLog entries are shortened versions of the
1035 original ones with file paths adapted. A not so strongly edited
1036 version of the original ChangeLog can be found in the commit log.
1037
1038 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1039 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1040 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1041
1042 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1043 that entries with whitespace at various places are found.
1044 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1045 Include @String definitions in the resulting bib file. Add header
1046 and footer defined in `reftex-create-bibtex-header' and
1047 `reftex-create-bibtex-footer'.
1048 (reftex-do-citation): Make it possible again to insert
1049 non-existent entries. Save match data when asking for optional
1050 arguments. Return all keys, not just the first one.
1051 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1052 all citations in the same line.
1053 (reftex-parse-bibtex-entry): Accept additional optional argument
1054 `raw' and keep quotes or braces if it is non-nil. Match fields
1055 containing hyphens besides word constituents.
1056 (reftex-get-string-refs): New function.
1057 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1058 and ask if it should be reread in case it did.
1059 (reftex-pop-to-bibtex-entry)
1060 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1061 entries with spaces or tabs in front of arguments.
1062 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1063 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1064 Match entries containing numbers and symbol constituents.
1065 (reftex-do-citation, reftex-figure-out-cite-format):
1066 Use `reftex-cite-key-separator'.
4f595e15
RA
1067
1068 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1069 (reftex-mouse-view-crossref): Explain why point is set.
1070
1071 * textmodes/reftex-global.el: Whitespace changes.
1072
1073 * textmodes/reftex-index.el: Move provide statement to end of
1074 file.
1075 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1076 (reftex-index-visit-phrases-buffer): Set marker when visiting
1077 buffer. This allows for returning from the phrases file to the
1078 file one was just editing instead of the file where the last
1079 phrases was added from.
1080 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1081 punctuation syntax as it usually is not used as string quote in
1082 TeX-related modes and may occur unmatched. The change also
1083 prevents fontification of quoted content.
1084 (reftex-index-phrases-mode): Use it.
1085
375e49d4
SM
1086 * textmodes/reftex-parse.el (reftex-parse-from-file):
1087 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1088 (reftex-parse-from-file): Use beginning of match instead of end as
1089 bound.
1090
1091 * textmodes/reftex-ref.el: Adapt creation of
1092 `reftex-<package>-<macro>' functions to new structure of
1093 `reftex-ref-style-alist'.
375e49d4
SM
1094 (reftex-reference): Use `reftex-ref-style-list' function.
1095 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1096 reference macro if `reftex-ref-macro-prompt' is non-nil.
1097 (reftex-reference): Pass refstyle to `reftex-format-special'.
1098 Determine reference macro by looking at
375e49d4
SM
1099 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1100 Use only one special format function.
4f595e15
RA
1101 (reftex-varioref-vref, reftex-fancyref-fref)
1102 (reftex-fancyref-Fref): Remove definitions. The functions are now
1103 generated from `reftex-ref-style-alist'.
1104 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1105 Remove.
1106 (reftex-format-special): New function.
1107
1108 * textmodes/reftex-sel.el
1109 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1110 of `reftex-ref-style-alist'. Remove code for testing macro type.
1111 (reftex-select-toggle-varioref)
1112 (reftex-select-toggle-fancyref): Remove.
1113 (reftex-select-cycle-ref-style-internal)
1114 (reftex-select-cycle-ref-style-forward)
1115 (reftex-select-cycle-ref-style-backward): New functions.
1116 (reftex-select-label-map): Use `v' and `V' for general cycling
1117 through reference styles. Add `p' for switching between number
1118 and page reference types.
1119
375e49d4
SM
1120 * textmodes/reftex-toc.el (reftex-re-enlarge):
1121 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1122 the horizontal version throws an error even if the parameter is 0.
1123
1124 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1125 (reftex-plug-into-AUCTeX): Doc fix.
1126 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1127 string. Adapt to new name.
1128 (reftex-ref-style-alist): Change structure so that it is not
1129 possible to use multiple different package names within a style.
375e49d4
SM
1130 Remove the symbols for symbols for macro type distinction.
1131 Add characters for macro selection.
4f595e15
RA
1132 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1133 (reftex-create-bibtex-footer): New variables.
1134 (reftex-format-ref-function): Mention third argument of special
1135 format function.
375e49d4
SM
1136 (reftex-ref-style-alist, reftex-ref-style-default-list):
1137 New variables.
4f595e15
RA
1138 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1139 to new implementation. Mark as obsolete. Add compatibility code
1140 for honoring the variable values in case they are set.
375e49d4
SM
1141 (reftex-cite-format-builtin, reftex-bibliography-commands):
1142 Add support for ConTeXt.
1143 (reftex-format-ref-function, reftex-format-cite-function):
1144 Fix custom type.
4f595e15
RA
1145 (reftex-cite-key-separator): New variable.
1146
1147 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1148 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1149 `reftex-syntax-table' because parens have to retain their paren
1150 syntax in order for parsing of BibTeX entries like @book(...) to
1151 work.
1152 (reftex-in-comment): Do not error out if `comment-start-skip' is
1153 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1154 (reftex-tie-multifile-symbols): Add doc string.
1155 Initialize `reftex-ref-style-list'.
4f595e15
RA
1156 (reftex-untie-multifile-symbols): Add doc string.
1157 (reftex-add-index-macros): Doc fix.
1158 (reftex-ref-style-activate, reftex-ref-style-toggle)
1159 (reftex-ref-style-list): New functions.
1160 (reftex-mode-menu): Use them. Adapt to new structure of
1161 `reftex-ref-style-alist'.
1162 (reftex-select-with-char): Kill the RefTeX Select buffer when
1163 done.
1164 (reftex-remove-if): New function.
1165 (reftex-erase-all-selection-and-index-buffers)
1166 (reftex-mode-menu): Reference styles are now computed from
1167 `reftex-ref-style-alist'. Fix typo.
1168 (reftex-report-bug): New function.
1169 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1170 algorithms with O(n log n). Introduce optional argument SORT (not
1171 yet used).
1172
440ba395
FEG
11732012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1174
1175 Enhancements for triple-quote string syntax.
375e49d4
SM
1176 * progmodes/python.el (python-syntax-propertize-function):
1177 Match both quote cases in one regexp.
440ba395
FEG
1178 (python-syntax-stringify): Handle matches properly.
1179
4c478e6b
JL
11802012-09-30 Juri Linkov <juri@jurta.org>
1181
1182 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1183 to nil around the call to `insert' to prevent
4c478e6b
JL
1184 directory time modification by lock_file. (Bug#2295)
1185 * tar-mode.el (tar-summarize-buffer): Idem.
1186
d80d54b2
JL
11872012-09-30 Juri Linkov <juri@jurta.org>
1188
1189 * facemenu.el (list-colors-sort): Add option "Luminance".
1190 (list-colors-sort-key): Implement it.
1191
1192 * vc/diff-mode.el (diff-refine-removed):
1193 * vc/ediff-init.el (ediff-fine-diff-A):
1194 * vc/smerge-mode.el (smerge-refined-removed):
1195 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1196
d7e642cc
JD
11972012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1198
1199 * term/ns-win.el (x-file-dialog): New function.
1200
ee41332b
JB
12012012-09-30 Juanma Barranquero <lekktu@gmail.com>
1202
1203 * ido.el (ido-max-directory-size): Default to nil; the current
1204 default is small for POSIX systems, and impractical on Windows 7
1205 now that lstat returns directory sizes for NTFS.
1206
5938d519
MR
12072012-09-30 Martin Rudalics <rudalics@gmx.at>
1208
1209 In buffer display functions handle window-height/window-width
1210 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1211 * window.el (window--display-buffer): New argument ALIST.
1212 Obey window-height and window-width alist entries.
1213 (window--try-to-split-window): New argument ALIST.
1214 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1215 changed and window-combination-limit equals `window-size'.
1216 (display-buffer-in-atom-window)
1217 (display-buffer-in-major-side-window)
1218 (display-buffer-in-side-window, display-buffer-same-window)
1219 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1220 (display-buffer-pop-up-window, display-buffer-below-selected)
1221 (display-buffer-at-bottom, display-buffer-in-previous-window)
1222 (display-buffer-use-some-window): Adjust all callers of
1223 window--display-buffer and window--try-to-split-window.
1224 (fit-frame-to-buffer): New option.
1225 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1226 is non-nil.
1227 (display-buffer-in-major-side-window): Evaluate window-height /
1228 window-width alist entries.
1229
1230 * help.el (temp-buffer-resize-frames)
1231 (temp-buffer-resize-regexps): Remove options.
1232 (temp-buffer-resize-mode): Adjust doc-string.
1233 (resize-temp-buffer-window): Don't consult
1234 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1235 temp-buffer-resize-frames.
1236
375e49d4
SM
1237 * dired.el (dired-mark-pop-up):
1238 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1239 entry.
1240
c4c0c2df
CY
12412012-09-30 Chong Yidong <cyd@gnu.org>
1242
48de8b12
CY
1243 * server.el (server-host): Document the security implications.
1244 (server-auth-key): Doc fix.
1245
1246 * startup.el (initial-buffer-choice): Doc fix.
1247
1248 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1249
a97dc380
CY
1250 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1251 restriction change.
1252
d39d3c8e
CY
1253 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1254
c4c0c2df
CY
1255 * help-fns.el (help-fns--obsolete): Fix last change.
1256
98a5e33b
SM
12572012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1258
34cf6f39
SM
1259 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1260 (minor-mode-map-alist): Remove redundant code.
1261
e01c13fe
SM
1262 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1263 visited in a buffer.
1264 (cvs-insert-visited-file): New function.
1265 (find-file-hook): Use it.
1266
1267 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1268
02661b3a
SM
1269 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1270 chose face.
1271 (log-edit-empty-buffer-p): Don't require a space after a header.
1272
43711d4b
SM
1273 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1274
38a30d64
SM
1275 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1276
4ffb41a9
SM
1277 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1278 a proper minor-mode.
1279
98a5e33b
SM
1280 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1281
de82e29b
GM
12822012-09-29 Glenn Morris <rgm@gnu.org>
1283
5cc2e639
GM
1284 * winner.el (winner-mode): Remove variable (let define-minor-mode
1285 handle it).
1286 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1287 Doc fixes.
1288 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1289 (winner-mode): Use define-minor-mode.
1290
7bd302eb
GM
1291 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1292 the full definition in loaddefs, rather than duplicating it.
1293
2923922f 1294 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1295
0e3e4156
GM
1296 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1297 (inferior-lisp-program, inferior-lisp-load-command)
1298 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1299 No need to autoload defcustoms.
0e3e4156 1300
de82e29b
GM
1301 * hippie-exp.el (hippie-expand-try-functions-list)
1302 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1303 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1304 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1305 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1306 * progmodes/vhdl-mode.el (vhdl-line-expand):
1307 Explicitly load hippie-exp, so it does not get autoloaded
1308 while hippie-expand-try-functions-list is let-bound.
1309
e60b51ab
GM
13102012-09-28 Glenn Morris <rgm@gnu.org>
1311
277f0cfa
GM
1312 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1313
e60b51ab
GM
1314 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1315 Only "cl.el" counts as cl these days.
1316
53baf48a
JL
13172012-09-28 Juri Linkov <juri@jurta.org>
1318
1319 Display archive errors in the echo area instead of inserting
1320 to the file buffer.
1321
1322 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1323 to STDERR-TEST that can be a regexp matching a successful output.
1324 Create a temporary file and redirect stderr to it. Search for
1325 STDERR-TEST in the stderr output and display it in the echo area
1326 if no match is found.
1327 (archive-extract-by-file): New function like
1328 `archive-extract-by-stdout' but extracting archives to files
1329 and looking for successful matches in stdout. Function body is
1330 mostly copied from `archive-rar-extract'.
1331 (archive-rar-extract): Use `archive-extract-by-file'.
1332 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1333
9c1228c3
LL
13342012-09-28 Leo Liu <sdl.web@gmail.com>
1335
375e49d4
SM
1336 * pcomplete.el (pcomplete-show-completions):
1337 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1338
9c1228c3
LL
1339 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1340
7f457c06
SM
13412012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1342
3df749b0
SM
1343 * type-break.el: Use lexical-binding.
1344 (type-break-mode): Use define-minor-mode.
1345
7f457c06
SM
1346 * emacs-lisp/pcase.el (pcase--mark-used): New.
1347 (pcase--u1): Use it (bug#12512).
1348
1349 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1350 in load-history with the right file name.
1351
c00ebc98
TH
13522012-09-28 Tassilo Horn <tsdh@gnu.org>
1353
1354 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1355 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1356 (doc-view-get-bounding-box): Make bounding box slicing work for
1357 ODF and DVI documents.
1358
96fb7170
GM
13592012-09-28 Glenn Morris <rgm@gnu.org>
1360
1361 * type-break.el (type-break-mode, type-break-interval)
1362 (type-break-good-rest-interval, type-break-keystroke-threshold):
1363 No need to autoload.
1364 (type-break-good-rest-interval, type-break-keystroke-threshold):
1365 Add :set-after.
1366
5bc93c67
CY
13672012-09-28 Chong Yidong <cyd@gnu.org>
1368
1369 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1370 Add :version tag.
1371
9cad61d6
SM
13722012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1373
e28e67b3 1374 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1375
daee954c
GM
13762012-09-27 Glenn Morris <rgm@gnu.org>
1377
a88324d4
GM
1378 * faces.el (x-display-name): Declare (for without-x builds).
1379
8e5064e5
GM
1380 * linum.el (linum-format): Don't autoload it. Improve :type.
1381
cc1783c2
GM
1382 * progmodes/tcl.el: Don't require outline when compiling.
1383 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1384 * textmodes/sgml-mode.el: Don't require outline when compiling.
1385 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1386
48c339f2
GM
1387 * term.el (term-ansi-reset):
1388 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1389
daee954c
GM
1390 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1391 files for RCS and SCCS. (Bug#9781)
1392
b7f42161
CY
13932012-09-27 Chong Yidong <cyd@gnu.org>
1394
1395 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1396 change; value should be t.
1397
a2e770db
SM
13982012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1399
83600dc8
SM
1400 * image-mode.el: Use lexical-binding.
1401 (image-mode-winprops): Use t to stand for the window of
1402 a buffer that's not displayed.
1403 * doc-view.el (doc-view-new-window-function): Handle the new
1404 t in winprops.
1405 (doc-view-enlarge): Make it a real nop if the size is not changed.
1406 (doc-view-display): Handle the case where the buffer is not (yet?)
1407 displayed in any window.
1408 (doc-view-saved-settings): New var.
1409 (doc-view-mode): Use it.
1410 (doc-view-fallback-mode): Set it.
1411
a2e770db
SM
1412 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1413 Set lexical-binding.
1414 (minibuffer-eldef-shorten-default): New var.
1415 (minibuffer-default-in-prompt-regexps): Use it for new default.
1416 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1417
e3b60857
JB
14182012-09-26 Juanma Barranquero <lekktu@gmail.com>
1419
1420 * international/uni-bidi.el:
1421 * international/uni-category.el:
1422 * international/uni-name.el:
1423 * international/uni-numeric.el: Regenerate.
1424
3a880af4
SM
14252012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1426 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * profiler.el: New file.
1429
07b1a5fb
SM
14302012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1433 (testcover-reinstrument): Simplify with CSE.
1434
42019c2e
JB
14352012-09-26 Juanma Barranquero <lekktu@gmail.com>
1436
1437 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1438
179f044b
WS
14392012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1440
1441 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1442 (verilog-auto-input, verilog-auto-insert-lisp)
1443 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1444 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1445 (verilog-auto-unused, verilog-auto-wire)
1446 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1447 newline. Reported by Andrew Jones.
1448 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1449 Reported by Brad Dobbie.
07b1a5fb
SM
1450 (verilog-batch-delete-trailing-whitespace):
1451 Create verilog-batch-delete-trailing-whitespace.
1452 Reported by Brad Dobbie.
179f044b
WS
1453 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1454 parameters from another module. Reported by Dan Katz.
1455 (verilog-auto, verilog-auto-assign-modport)
1456 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1457 AUTOINOUTMODPORT for UVM interface module shell generation.
1458 Reported by Brad Dobbie.
1459 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1460 standard behavior.
1461 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1462 Reported by Matt Martin.
1463
9c52dd5a
MR
14642012-09-25 Martin Rudalics <rudalics@gmx.at>
1465
1466 * window.el (window--resize-child-windows): When resizing child
1467 windows proportionally, process them in reverse order to
1468 preserve the "when splitting a window the new one gets the odd
1469 line" behavior.
1470 (window--resize-root-window-vertically): When resizing the
1471 minibuffer window try to affect only windows at the bottom of the
1472 frame. (Bug#12419)
1473
863666eb
CY
14742012-09-25 Chong Yidong <cyd@gnu.org>
1475
1476 * subr.el (declare): Doc fix.
1477
1478 * help-fns.el (help-fns--obsolete): Handle macros properly.
1479
59f7af81
CY
14802012-09-25 Chong Yidong <cyd@gnu.org>
1481
1482 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1483 this function obsolete.
1484
1485 * calendar/cal-x.el (calendar-two-frame-setup)
1486 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1487 * calendar/calendar.el (american-calendar, european-calendar)
1488 (calendar-for-loop):
1489 * comint.el (comint-dynamic-simple-complete)
1490 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1491 * desktop.el (desktop-load-default):
1492 * dired-x.el (dired-omit-here-always)
1493 (dired-hack-local-variables, dired-default-directory):
1494 * emacs-lisp/derived.el (derived-mode-class):
1495 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1496 * emacs-lock.el (toggle-emacs-lock):
1497 * epa.el (epa-display-verify-result):
1498 * epg.el (epg-sign-keys, epg-start-sign-keys)
1499 (epg-passphrase-callback-function):
1500 * eshell/esh-util.el (eshell-for):
1501 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1502 (eshell-add-to-window-buffer-names):
1503 * files.el (locate-file-completion):
1504 * imenu.el (imenu-example--create-c-index)
1505 (imenu-example--create-lisp-index)
1506 (imenu-example--lisp-extract-index-name)
1507 (imenu-example--name-and-position):
1508 * international/mule-cmds.el (princ-list):
1509 * international/mule-diag.el (decode-codepage-char):
1510 * international/mule-util.el (detect-coding-with-priority):
1511 * iswitchb.el (iswitchb-read-buffer):
1512 * mail/mailalias.el (mail-complete):
1513 * mail/sendmail.el (mail-sent-via):
1514 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1515 (mouse-major-mode-menu):
1516 * password-cache.el (password-read-and-add):
1517 * pcomplete.el (pcomplete-parse-comint-arguments):
1518 * progmodes/sh-script.el (sh-maybe-here-document):
1519 * replace.el (query-replace-regexp-eval):
1520 * savehist.el (savehist-load):
1521 * simple.el (choose-completion-delete-max-match):
1522 * term.el (term-dynamic-simple-complete):
1523 * vc/ediff-init.el (ediff-check-version):
1524 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1525 * vc/vc.el (vc-diff-switches-list):
1526 * view.el (view-return-to-alist-update): Likewise.
1527
1528 * subr.el (eval-next-after-load, makehash, insert-string)
1529 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1530 mark obsolete.
1531 (mode-line-inverse-video): Variable deleted.
1532
1533 * international/mule-util.el (string-to-sequence): Remove.
1534
1535 * calendar/calendar.el (calendar-version):
1536 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1537 (icalendar-convert-diary-to-ical):
1538 * cus-edit.el (custom-mode):
1539 * ansi-color.el (ansi-color-unfontify-region):
1540 * international/latin1-disp.el (latin1-char-displayable-p):
1541 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1542 * progmodes/which-func.el (which-func-update-1):
1543 Use define-obsolete-function-alias.
59f7af81
CY
1544
1545 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1546 * net/newst-treeview.el (newsticker-groups-filename):
1547 Fix incorrect obsolescence declaration.
59f7af81
CY
1548
1549 * allout.el (allout-passphrase-hint-string): Likewise.
1550 (allout-init): Use a declare form to mark obsolete.
1551
1552 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1553 this applies to functions.
1554
1555 * iswitchb.el (iswitchb-read-buffer): Move code of
1556 iswitchb-define-mode-map here, and delete that obsolete function.
1557
1558 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1559 font-lock-reference-face.
1560
cca96c97
GM
15612012-09-25 Glenn Morris <rgm@gnu.org>
1562
b06eeda8
GM
1563 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1564 Doc fixes.
1565
cca96c97
GM
1566 * eshell/em-term.el (eshell-term-name):
1567 Default to term-term-name. (Bug#12485)
1568
dc4f818b
FEG
15692012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1570
cca96c97
GM
1571 * progmodes/python.el (python-shell-send-buffer): Better handling
1572 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1573
289c24bd
GM
15742012-09-24 Glenn Morris <rgm@gnu.org>
1575
1576 * eshell/esh-cmd.el (eshell-find-alias-function):
1577 Tighten up file-name regexp. (Bug#12499)
1578
8fb8b88f
FEG
15792012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1580
1581 Enhancements for triple-quote string syntax.
1582 * progmodes/python.el (python-quote-syntax): Remove.
1583 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1584 (python-syntax-count-quotes, python-syntax-stringify):
1585 New functions.
8fb8b88f 1586
6c27f0f8
CY
15872012-09-24 Chong Yidong <cyd@gnu.org>
1588
a5f2b6ec
CY
1589 * mail/supercite.el (sc-version): Remove obsolete function.
1590 (sc-describe): Don't mark as obsolete, since it is bound.
1591 (sc-submit-bug-report): Remove.
1592
1593 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1594 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1595 (log-edit-require-final-newline)
1596 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1597
1598 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1599 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1600 * vc/vc.el (vc-checkout-carefully): Likewise.
1601
1602 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1603 (emerge-version): Remove.
1604
1605 * progmodes/compile.el (compile-internal): Remove.
1606 (compilation-parse-errors-function): Fix typo.
1607
1608 * international/mule.el (set-char-table-default): Remove.
1609 (set-coding-priority, make-coding-system, generic-char-p)
1610 (charset-list, charset-bytes, charset-id): Use declare to mark
1611 functions as obsolete.
1612
1613 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1614 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1615 * vc/vc-hooks.el (vc-default-registered): Don't use
1616 vc-master-templates.
1617
07b1a5fb
SM
1618 * font-lock.el (font-lock-reference-face):
1619 Use define-obsolete-variable-alias.
6c27f0f8
CY
1620
1621 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1622 * calendar/calendar.el (calendar-font-lock-keywords):
1623 * calendar/diary-lib.el (diary-font-lock-keywords)
1624 (diary-fancy-font-lock-keywords):
1625 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1626 * textmodes/reftex-index.el (reftex-insert-index):
1627 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1628 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1629 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1630 * progmodes/prolog.el (prolog-font-lock-keywords):
1631 * progmodes/idlwave.el (idlwave-idl-keywords):
1632 * progmodes/ada-mode.el (ada-font-lock-keywords):
1633 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1634
bcc0adbf
GM
16352012-09-24 Glenn Morris <rgm@gnu.org>
1636
1637 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1638
095bb823
FEG
16392012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1640
1641 * progmodes/python.el (python-indent-line): More consistent cursor
1642 movement behavior.
1643
70efc5c9
SM
16442012-09-23 Stefan Merten <smerten@oekonux.de>
1645
1646 * textmodes/rst.el: Fix compiler warning.
1647
2f438239
RW
16482012-09-23 Roland Winkler <winkler@gnu.org>
1649
07b1a5fb
SM
1650 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1651 Transcribe also LaTeX hyphenation.
2f438239
RW
1652 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1653 bibtex-reformat-previous-options.
1654
936ad041
RW
16552012-09-23 Roland Winkler <winkler@gnu.org>
1656
1657 * proced.el (proced-renice-command): New variable.
1658 (proced-marked-processes): New function.
1659 (proced-with-processes-buffer): New macro.
1660 (proced-send-signal): Use them.
1661 (proced-renice): New command bound to r.
1662
6fab0274
RW
16632012-09-23 Roland Winkler <winkler@gnu.org>
1664
1665 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1666 ibuffer-saved-filter-groups has one element, shortcut the call of
1667 completing-read. (Bug#12331)
1668
9a930676
CY
16692012-09-23 Chong Yidong <cyd@gnu.org>
1670
1671 * bindings.el (mode-line-toggle-read-only):
1672 * bs.el (bs-toggle-readonly):
1673 * buff-menu.el (Buffer-menu-toggle-read-only):
1674 * dired.el (dired-toggle-read-only):
1675 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1676
d07ff9db
CY
16772012-09-23 Chong Yidong <cyd@gnu.org>
1678
1679 * image.el (image-type-available-p): Adapt to init-image-library
1680 argument changes.
1681
51c4474e
JL
16822012-09-22 Juri Linkov <juri@jurta.org>
1683
1684 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1685 `dired-toggle-read-only'. (Bug#12462)
1686
43bf5e8e
MR
16872012-09-22 Martin Rudalics <rudalics@gmx.at>
1688
1689 * subr.el (temp-output-buffer-show): New function.
1690 (with-output-to-temp-buffer): Call temp-output-buffer-show
1691 instead of internal-temp-output-buffer-show.
1692
c88b867f
CY
16932012-09-22 Chong Yidong <cyd@gnu.org>
1694
3df47cd5
CY
1695 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1696 (Bug#12462).
1697
c88b867f
CY
1698 * repeat.el (repeat): Doc fix (Bug#12348).
1699
1700 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1701 (Bug#10909).
1702
1703 * simple.el (shell-command-on-region): Doc fix.
3171e303 1704 (read-only-mode): Doc fix.
c88b867f 1705
df9685f3
EZ
17062012-09-22 Eli Zaretskii <eliz@gnu.org>
1707
1708 * emacs-lisp/timer.el (run-with-idle-timer)
1709 (timer-activate-when-idle): Warn against reinvoking an idle timer
1710 from within its own timer action. (Bug#12447)
1711
8e17c9ba
MR
17122012-09-22 Martin Rudalics <rudalics@gmx.at>
1713
1714 * cus-start.el (window-combination-limit): Add new optional
1715 values.
1716 * window.el (temp-buffer-window-show)
1717 (window--try-to-split-window): Handle new values of
1718 window-combination-limit (Bug#1806).
1719 (split-window): Test window-combination-limit for t instead of
1720 non-nil.
1721 (display-buffer-at-bottom): New buffer display action function.
1722 * help.el (temp-buffer-resize-regexps): New option.
1723 (temp-buffer-resize-mode): Rewrite doc-string.
1724 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1725 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1726
48a24920
SM
17272012-09-22 Stefan Merten <smerten@oekonux.de>
1728
70efc5c9 1729 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1730 (rst-official-version)
1731 (rst-package-emacs-version-alist): Sync with official version
1732 V1.4.0.
1733 (rst-faces-defaults, rst-set-level-default)
1734 (rst-level-face-max, rst-level-face-base-color)
1735 (rst-level-face-base-light, rst-level-face-format-light)
1736 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1737 (rst-adornment-faces-alist): Match new setup.
1738 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1739 (rst-level-5, rst-level-6): New faces.
1740
82f8cd94
CY
17412012-09-22 Chong Yidong <cyd@gnu.org>
1742
1743 * simple.el (undo): Handle indirect buffers (Bug#8207).
1744
acfa068f 17452012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1746
1747 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1748 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1749 (ido-set-matches-1): Use it. (Bug#2042)
1750
acfa068f 17512012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1752
1753 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1754 Fix 2011-05-17 change. (Bug#12418)
1755
acfa068f 17562012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1757
1758 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1759
acfa068f 17602012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1761
1762 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1763 Be more robust about locating simple.el.
1764
acfa068f 17652012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1766
1767 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1768
acfa068f
CY
17692012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1770
1771 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1772
41a97e6f
JL
17732012-09-20 Juri Linkov <juri@jurta.org>
1774
eb2deaff
JL
1775 * replace.el (query-replace-read-from): Use `read-regexp' instead
1776 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1777 (occur-read-primary-args): Use `read-regexp' instead of
1778 `read-string'.
1779 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1780 `read-from-minibuffer'.
1781 * isearch.el (isearch-occur): Use `read-regexp' instead of
1782 `read-string'.
1783 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1784 `read-from-minibuffer'.
1785 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1786 of `read-string'. (Bug#7567)
1787
5825610b
JL
1788 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1789 and allow accepting a list of strings prepended to a list of
1790 standard default values. Doc fix. (Bug#12321)
1791
eebbf404
JL
1792 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1793
41a97e6f
JL
1794 * replace.el (read-regexp): Don't add ": " when PROMPT already
1795 ends with a colon and space. (Bug#12321)
1796
c9e452d3
TH
17972012-09-20 Tassilo Horn <tsdh@gnu.org>
1798
1799 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1800 error.
1801
ee97deee
SM
18022012-09-20 Stefan Merten <smerten@oekonux.de>
1803
70efc5c9 1804 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1805 Fixes feature request bug#11711.
1806 (rst-mode): Create `imenu-create-index-function'.
1807 (rst-get-stripped-line): Delete after refactoring.
1808 (rst-section-tree, rst-section-tree-rec)
1809 (rst-section-tree-point): Refactor and document properly.
1810 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1811 (rst-imenu-convert-cell, rst-imenu-create-index):
1812 New function.
ee97deee 1813
f490dab9
SM
18142012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1815
95b9712e
SM
1816 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1817 (macroexp--expand-all): Use it.
1818 (macroexp--funcall-and-return): Remove by folding it into its sole
1819 caller (macroexp--warn-and-return).
1820 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1821 Use macroexp--obsolete-warning.
1822
f490dab9
SM
1823 * calc/calc.el: Fix last change by removing the whole chunk, since it
1824 was only needed back when Calc was not bundled.
1825
96e8d411
MR
18262012-09-20 Martin Rudalics <rudalics@gmx.at>
1827
1828 * emacs-lisp/debug.el (debug): Restore assignment to
1829 debugger-old-buffer removed on 2012-09-08.
1830
0876a82d
JL
18312012-09-20 Juri Linkov <juri@jurta.org>
1832
1833 * dired-aux.el (dired-diff): Remove (require 'diff) since
1834 `diff-latest-backup-file' is now autoloaded.
1835
9f7c28f0
CY
18362012-09-20 Chong Yidong <cyd@gnu.org>
1837
1838 * vc/diff.el (diff-latest-backup-file): Autoload.
1839
7a04bee9
SM
18402012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1841
e6f0a80d
SM
1842 * calc/calc.el: Remove redundant autoload shape check.
1843 (sel-mode): Don't defvar.
1844 (calc-get-stack-element): Add `sel-mode' arg instead.
1845 (calc-top, calc-top-list): Pass it this additional argument.
1846 * calc/calc-store.el (calc-store-map):
1847 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1848 (calc-map-equation, calc-outer-product, calc-inner-product):
1849 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1850
7a04bee9
SM
1851 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1852
12734222
JL
18532012-09-19 Juri Linkov <juri@jurta.org>
1854
1855 * dired-aux.el (dired-diff): Add (require 'diff) because
1856 `diff-latest-backup-file' is not autoloaded.
1857 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1858 of `dired-get-filename' to t to not report error when there is
1859 no default file on the current line.
1860
46624b4f
SM
18612012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1862
ce97595b
SM
1863 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1864 macroexp--eval-if-compile.
1865 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1866 (macroexp--expand-all): Use them (bug#12371).
1867
46624b4f
SM
1868 * doc-view.el (doc-view-guess-paper-size)
1869 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1870
db8a5a18
TH
18712012-09-19 Tassilo Horn <tsdh@gnu.org>
1872
1873 New feature: set optimal slice from BoundingBox information.
1874 * doc-view.el (doc-view-mode-map): Add keybinding.
1875 (doc-view-menu): Add menu entry.
1876 (doc-view-set-slice): Adapt docstring.
1877 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1878 (doc-view-scale-bounding-box)
1879 (doc-view-set-slice-from-bounding-box): New functions.
1880 (doc-view-paper-sizes): New defvar.
1881
69f6644c
GM
18822012-09-19 Glenn Morris <rgm@gnu.org>
1883
35f5b19d
GM
1884 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1885 (byte-compile-log-warning): Autoload. (Bug#12371)
1886
69f6644c
GM
1887 * calendar/calendar.el (calendar-american-month-header)
1888 (calendar-european-month-header, calendar-iso-month-header)
1889 (calendar-month-header): New options.
1890 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1891 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1892
e543ae91
JD
18932012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1894
1895 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1896
2fd5e67d
JL
18972012-09-18 Juri Linkov <juri@jurta.org>
1898
1899 * dired-aux.el (dired-diff): Restore original functionality of
1900 getting the default value, but keep new feature of using the
1901 latest existing backup file (`diff-latest-backup-file').
1902
42917e79
JL
19032012-09-18 Juri Linkov <juri@jurta.org>
1904
1905 * dired.el (dired-mark): If the region is active in Transient Mark
1906 mode, mark all files in the active region. Doc fix.
1907 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1908 Doc fix. (Bug#10624)
1909
20f70ede
JL
19102012-09-18 Juri Linkov <juri@jurta.org>
1911
1912 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1913 attributes for M-n are pulled from the file at point.
1914 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1915 Suggested by Drew Adams. (Bug#10624)
1916
32fb8162
DG
19172012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1918
1919 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1920 whitespace after "end".
1921 (ruby-do-end-to-brace): Collapse block to one line if it fits
1922 within fill-column.
1923
37ab5092
MR
19242012-09-18 Martin Rudalics <rudalics@gmx.at>
1925
1926 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1927 value.
1928 (debug): Don't remove debugger window when debugger is expected
1929 to be back.
1930
ed1f0bd3
CY
19312012-09-18 Chong Yidong <cyd@gnu.org>
1932
1933 * custom.el (defface): Doc fix.
1934
1935 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1936
a11035b8
MB
19372012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1938
1939 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1940 to initialize query-on-exit; then test that instead (bug#12288).
1941
64f6a736
SM
19422012-09-17 Stefan Merten <smerten@oekonux.de>
1943
70efc5c9 1944 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1945 (rst-defcustom-testcover, rst-testcover-add-compose)
1946 (rst-testcover-add-1value): New functions.
1947 (rst-portable-mark-active-p): Replace by `use-region-p'.
1948 (rst-update-section, rst-classify-adornment)
1949 (rst-find-title-line): Mark `1value' forms.
1950 (rst-classify-adornment): Remove superfluous form.
1951 (rst-update-section, rst-get-adornments-around)
1952 (rst-adornment-complete-p, rst-get-next-adornment)
1953 (rst-adjust, rst-promote-region)
1954 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1955 (rst-find-pfx-in-region, rst-section-tree-rec)
1956 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1957 (rst-toc-node, rst-toc, rst-forward-section)
1958 (rst-iterate-leftmost-paragraphs)
1959 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1960 (rst-bullet-list-region)
1961 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1962 (rst-compile-find-conf, rst-compile)
1963 (rst-repeat-last-character): Fix style.
1964
580bd868
CY
19652012-09-17 Chong Yidong <cyd@gnu.org>
1966
1967 * comint.el (comint--complete-file-name-data): Don't add a space
1968 if the status is `sole'; that adds a gratuitous space in the
1969 completion-cycling case (Bug#12092).
1970
1971 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1972
69de3ec6
RS
19732012-09-17 Richard Stallman <rms@gnu.org>
1974
0dee970c
RS
1975 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1976 only in the mime-shown mode, not in raw mode.
1977 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1978 mime processing. (Bug#12305)
0dee970c 1979
6b250df6
GM
1980 * mail/rmail.el (rmail-retry-failure):
1981 Turn off mime processing first. (Bug#12037)
acb1c47b 1982
69de3ec6
RS
1983 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1984
d079ee5f
CY
19852012-09-17 Chong Yidong <cyd@gnu.org>
1986
1987 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1988 (shell-dynamic-complete-functions): Convert to defcustom.
1989 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1990
865fe16f
CY
1991 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1992 * comint.el (comint-prompt-read-only):
1993 * custom.el (defcustom):
1994 * hi-lock.el (hi-lock-mode):
1995 * ibuffer.el (ibuffer-formats):
1996 * ielm.el (ielm-prompt-read-only):
1997 * novice.el (disable-command):
1998 * saveplace.el (toggle-save-place):
1999 * speedbar.el (speedbar-supported-extension-expressions):
2000 * startup.el (auto-save-list-file-prefix, init-file-user)
2001 (after-init-hook, inhibit-startup-echo-area-message):
2002 * strokes.el (strokes-help):
2003 * time-stamp.el (time-stamp):
2004 * calendar/calendar.el (calendar, diary-file):
2005 * calendar/diary-lib.el (diary-mail-entries, diary)
2006 (diary-list-entries-hook):
2007 * calendar/holidays.el (holidays, calendar-holidays):
2008 * calendar/lunar.el (lunar-phases):
2009 * calendar/solar.el (sunrise-sunset):
2010 * emulation/edt.el (edt-load-keys):
2011 * emulation/viper.el (viper-mode):
2012 * eshell/em-alias.el (eshell-command-aliases-list):
2013 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2014 * international/ogonek.el (ogonek-information):
2015 * net/tramp-cmds.el (tramp-bug):
2016 * net/quickurl.el (quickurl-reread-hook-postfix):
2017 * play/decipher.el (decipher-font-lock-keywords):
2018 * progmodes/cc-styles.el (c-set-style):
2019 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2020 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2021 * progmodes/octave-mod.el (octave-mode):
2022 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2023 * progmodes/verilog-mode.el (verilog-read-defines):
2024 * textmodes/two-column.el (2C-mode): Likewise.
2025
48093eb9
KY
20262012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2027
2028 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2029 that holds many addresses.
2030
c584eaf9
CY
20312012-09-16 Chong Yidong <cyd@gnu.org>
2032
40d70ecb
CY
2033 * align.el (align-areas): Call the indication function with
2034 positions instead of markers for arguments (Bug#12343).
2035
1667e065
CY
2036 * files.el (parse-colon-path): Use split-string (Bug#12351).
2037
fdc2806d 2038 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2039 (display-buffer-function): Mark as obsolete.
fdc2806d 2040
f1be615c 2041 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2042 values similar to font-lock-keywords (Bug#12136).
2043 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2044 (compilation-error-regexp-alist): Doc fix.
2045
f40a9709
GM
20462012-09-15 Glenn Morris <rgm@gnu.org>
2047
72aa16e1
GM
2048 * version.el (emacs-bzr-version-bzr): New function.
2049 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2050
82375160
GM
2051 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2052 checkouts, check the parent dirstate matches the branch.
2053 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2054 empty string.
2055
f40a9709
GM
2056 * version.el (emacs-bzr-version): Doc fix.
2057 (emacs-bzr-version-dirstate): New function.
2058 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2059 is local try and check that it matches the branch. If not, just
2060 use dirstate information. (Bug#12441)
2061
cb26b7f5
JL
20622012-09-14 Juri Linkov <juri@jurta.org>
2063
2064 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2065 (Bug#12399)
2066
2de39f08
SM
20672012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2068
0fb3cb7c
SM
2069 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2070
2de39f08
SM
2071 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2072 Remove obsolete byte-compiler hack that tried to silence some warnings.
2073 (edebug-submit-bug-report): Remove.
2074 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2075 Remove aliases, use the un-prefixed name instead.
2076 (edebug-pop-to-buffer): Consider other frames.
2077 (edebug-original-read):: Make it more obvious that it's always defined.
2078 (edebug--make-form-data-entry, edebug--form-data-name)
2079 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2080 single-dashed name, and implement with cl-defstruct.
2081 (edebug-set-form-data-entry): Use the standard accessors.
2082 (edebug-make-top-form-data-entry): Use push.
2083 (edebug-no-match): Drop useless `funcall'.
2084 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2085 to functions.
2086 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2087 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2088 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2089 (easy-menu-define, with-custom-print): Remove redundant specs.
2090 (edebug-outside-overriding-local-map)
2091 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2092 (edebug--display): Bind unread-command-events directly to nil rather
2093 than binding it to unread-command-events and later setting it to nil.
2094 (edebug--display): Kill edebug-eval-buffer here...
2095 (edebug--recursive-edit): ...rather than here.
2096 Bind standard-output and standard-input.
2097 (edebug-eval): Check cl-macroexpand-all is fboundp.
2098 (edebug-temp-display-freq-count): Fix last change.
2099
2100 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2101 * subr.el (noreturn, 1value): Add `debug' spec.
2102 * emacs-lisp/advice.el: Require cl-lib.
2103 (ad-copy-tree): Remove, use copy-tree instead.
2104 (ad-dolist): Remove use dolist or cl-dolist instead.
2105 (ad-do-return): Remove, use cl-return instead.
2106 (defadvice): Add `debug' spec.
2107
5b68b333
JL
21082012-09-13 Juri Linkov <juri@jurta.org>
2109
2110 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2111 (Bug#12399)
2112
b9800ec4
GM
21132012-09-13 Glenn Morris <rgm@gnu.org>
2114
6a2e6868
GM
2115 * calc/calc.el (math-compose-expr):
2116 * calc/calc-ext.el (math-compose-expr):
2117 * progmodes/cc-defs.el (cl-macroexpand-all):
2118 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2119 (cl-macroexpand-all): Update declarations.
2120
b9800ec4
GM
2121 * vc/vc.el: No need to require ediff.
2122 (ediff-load-version-control): Declare.
2123 (ediff-vc-internal): Fix declaration.
2124 (vc-version-ediff): Require ediff.
2125
c18e885b
PE
21262012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2127
2128 Use a more backwards-compatible timer format (Bug#12430).
2129 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2130 being right after USECS, as that better supports old code that
2131 inadvisedly looked directly at the timer vector.
2132
d607d303
KH
21332012-09-13 Kenichi Handa <handa@gnu.org>
2134
2135 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2136 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2137 `coding-priority' property of these language environment.
2138
72eac303
PE
21392012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2140
2141 Fix glitches caused by addition of psec to timers (Bug#12430).
2142 * image.el (image-animate-timer):
2143 * time.el (display-time-world-timer):
2144 Use timer--function and timer--args rather than raw access to
2145 timer vector.
2146
2168fe4f
GM
21472012-09-13 Glenn Morris <rgm@gnu.org>
2148
2149 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2150 If not compiling a file, try using load-file-name.
2151
bd8d6108
SM
21522012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2153
c0c54fbd
SM
2154 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2155 Fix last change.
2156 (edebug-update-eval-list): Use `push'.
2157
bd8d6108
SM
2158 * emacs-lisp/edebug.el: Use lexical-binding.
2159 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2160 Mark unused args with underscore.
2161 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2162 (edebug-form-data): Use defvar-local.
2163 (edebug-make-before-and-after-form, edebug-make-after-form):
2164 Use backquote.
2165 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2166 Not dynamically scoped any more.
2167 (edebug--enter-trace): Add arguments `function' and `args'.
2168 Rename from edebug-enter-trace.
2169 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2170 (edebug--update-coverage): Add `after-index' and `value' args.
2171 Rename from edebug-update-coverage.
2172 (edebug-slow-after): Call it accordingly.
2173 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2174 edebug-recursive-edit.
2175 (edebug--display): Call it accordingly. Add args `value',
2176 `offset-index', and `arg-mode'. Rename from edebug-display.
2177 (edebug-debugger, edebug): Call it accordingly.
2178 (edebug-eval-display-list): Use dolist.
2179
a9f9d9de
JL
21802012-09-12 Juri Linkov <juri@jurta.org>
2181
2182 * info.el (Info-search): Don't check for isearch-mode and
2183 isearch-regexp before let-binding search-spaces-regexp to
2184 Info-search-whitespace-regexp.
2185 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2186 search-whitespace-regexp if isearch-lax-whitespace or
2187 isearch-regexp-lax-whitespace is non-nil.
2188 (Info-mode): Don't set local variable search-whitespace-regexp.
2189 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2190
bfeae2cf
SM
21912012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2194 (debugger-env-macro): Remove support for unread-command-char.
2195
2196 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2197 the temporary map re-appearing on emulation-mode-map-alists.
2198
2199 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2200 since 22.1.
2201
2202 * ehelp.el (with-electric-help): Accept functions in
2203 electric-help-form-to-execute.
2204 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2205 And replace unread-command-char -> unread-command-events.
2206
fbbcaf1b
MA
22072012-09-12 Michael Albinus <michael.albinus@gmx.de>
2208
2209 Sync with Tramp 2.2.6.
2210
2211 * net/tramp.el (tramp-accept-process-output): Don't use
2212 JUST-THIS-ONE in the XEmacs case.
2213
2214 * net/trampver.el: Update release number.
2215
4dece104
MR
22162012-09-12 Martin Rudalics <rudalics@gmx.at>
2217
bfeae2cf
SM
2218 * emacs-lisp/debug.el (debugger-previous-window-height):
2219 New variable.
4dece104
MR
2220 (debug): When debugger-jumping-flag is non-nil try to restore
2221 height of debugger window. (Bug#8789)
2222
45b82ad0
SM
22232012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2224
60c49c0f
SM
2225 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2226 overriding-local-map and pre/post-command-hook here.
2227 (edebug-recursive-edit): Do it here instead (bug#12345).
2228 (edebug-outside-unread-command-char): Remove all uses of
2229 unread-command-char.
2230
45b82ad0
SM
2231 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2232 inhibit-debugger is bound instead.
2233
baa26ea0
BG
22342012-09-11 Bastien Guerry <bzg@gnu.org>
2235
2236 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2237 (Bug#12346)
baa26ea0 2238
04e8abfa
BG
22392012-09-11 Bastien Guerry <bzg@gnu.org>
2240
96d03571 2241 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2242 (Bug#12347)
96d03571
BG
2243
22442012-09-11 Bastien Guerry <bzg@gnu.org>
2245
fc0c31f8 2246 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2247
04e082b0
MM
22482012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2249
2250 * progmodes/sql.el: Version 3.1
2251 (sql-db2-escape-newlines): New variable.
2252 (sql-escape-newlines-filter): Use it.
2253
399a361b
JB
22542012-09-10 Juanma Barranquero <lekktu@gmail.com>
2255
2256 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2257
0780c517
DN
22582012-09-10 Dan Nicolaescu <dann@gnu.org>
2259
45b82ad0
SM
2260 * vc/diff-mode.el (diff-mode-menu):
2261 Bind diff-remove-trailing-whitespace.
0780c517 2262
9b851e25
SM
22632012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2266 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2267 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2268 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2269 (eval-defun-2): Remove bogus interactive spec.
2270 (lisp-indent-line): Remove redundant whole-exp code, now done in
2271 indent-according-to-mode.
2272 (save-match-data): Remove redundant indent data.
2273
2274 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2275 Use `declare'.
2276
3231d532
JL
22772012-09-09 Juri Linkov <juri@jurta.org>
2278
2279 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2280 (replace-lax-whitespace, query-replace-regexp)
2281 (query-replace-regexp-eval, replace-regexp): Doc fix.
2282 (perform-replace, replace-highlight): Let-bind
2283 isearch-lax-whitespace to replace-lax-whitespace and
2284 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2285
2286 * isearch.el (isearch-query-replace): Let-bind
2287 replace-lax-whitespace to isearch-lax-whitespace and
2288 replace-regexp-lax-whitespace to
2289 isearch-regexp-lax-whitespace. (Bug#10885)
2290
70fe8236
SM
22912012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2294
8ed43f15
AM
22952012-09-09 Alan Mackenzie <acm@muc.de>
2296
70fe8236
SM
2297 * progmodes/cc-engine.el (c-state-cache-init):
2298 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2299 (c-record-parse-state-state):
2300 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2301
bfabf70a
AS
23022012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2303
2304 * register.el (register-separator): Rename from
2305 separator-register. All uses changed. Doc fix.
2306 (register): Fix version.
2307
011474aa
CY
23082012-09-09 Chong Yidong <cyd@gnu.org>
2309
2310 * replace.el (query-replace-map): Bind four new symbols for
2311 requesting window scrolling.
2312
2313 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2314 query-replace-map (Bug#8948).
2315
2316 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2317
2318 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2319 since they are now in query-replace-map.
2320
2321 * window.el (scroll-other-window-down): Make the arg optional.
2322
a8b7cd8d
CY
23232012-09-09 Chong Yidong <cyd@gnu.org>
2324
2325 * files.el (hack-local-variables-confirm): Use quit-window to kill
2326 the *Local Variables* buffer.
2327
c3268831
DG
23282012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2329
2330 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2331 not just expect to be at its beginning. Adjust callees.
2332 Succeed when do-end block has no space before the pipe character.
2333 (ruby-brace-to-do-end): When the original block is one-liner,
2334 convert to multiline. Reindent the result.
2335
0979429b
J
23362012-09-08 Jambunathan K <kjambunathan@gmail.com>
2337
2338 * register.el (register): New group.
27359e99 2339 (separator-register): New user option.
0979429b
J
2340 (increment-register): Route it to `append-to-register', if
2341 register contains text. Implication is that `C-x r +' can now be
2342 used for appending to a text register (bug#12217).
2343 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2344 `separator-register'.
0979429b 2345
ace2989a
AM
23462012-09-08 Alan Mackenzie <acm@muc.de>
2347
2348 AWK Mode: make auto-newline work when there's "==" in the pattern.
2349 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2350 correctly.
0979429b
J
2351 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2352 Test more rigorously for "=" token.
ace2989a 2353
616c6c36
DG
23542012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2355
0979429b
J
2356 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2357 Only fail when reached LIMIT.
616c6c36 2358
35d98877
CY
23592012-09-08 Chong Yidong <cyd@gnu.org>
2360
2361 * dired.el (dired-mode-map): Don't bind M-=.
2362
2363 * dired-aux.el (dired-diff): Use backup file as default.
2364
1715f2db
DA
23652012-09-08 Drew Adams <drew.adams@oracle.com>
2366
2367 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2368
6dcef6ec
CY
23692012-09-08 Chong Yidong <cyd@gnu.org>
2370
2371 * subr.el (syntax-after, syntax-class): Doc fix.
2372
fa2bcf43
MR
23732012-09-08 Martin Rudalics <rudalics@gmx.at>
2374
2375 * window.el (display-buffer-in-previous-window): New buffer
2376 display action function.
2377
2378 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2379 (debugger-previous-window): New variable.
2380 (debug): Rewrite using display-buffer-in-previous-window,
2381 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2382
daac280a
SM
23832012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2384
2385 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2386
9dd40b00
MM
23872012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2388
daac280a
SM
2389 * progmodes/python.el (python-shell-send-string):
2390 When default-directory is remote, create temp file on remote
9dd40b00
MM
2391 filesystem.
2392 (python-shell-send-file): When file is remote, pass local view of
2393 file paths to remote Python interpreter. (Bug#12340)
2394
145823ec
CY
23952012-09-07 Chong Yidong <cyd@gnu.org>
2396
cee2e90d
CY
2397 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2398
0d7eb2ea
CY
2399 * files.el (after-find-file): Don't fail on a read-only buffer if
2400 require-final-newline is `visit' or `visit-save' (Bug#11156).
2401
145823ec
CY
2402 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2403
daac280a
SM
2404 * userlock.el (ask-user-about-supersession-threat):
2405 Use read-char-choice (Bug#12093).
145823ec 2406
74c582e6
CY
24072012-09-07 Chong Yidong <cyd@gnu.org>
2408
e5c2edf7
CY
2409 * subr.el (buffer-narrowed-p): New function.
2410
2411 * ses.el (ses-widen):
2412 * simple.el (count-words--buffer-message):
1f9f395d 2413 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2414
2415 * simple.el (count-words-region): Don't signal an error if there
2416 is a non-nil prefix arg and the mark is not set.
c640e87d 2417
74c582e6
CY
2418 * help.el (describe-key-briefly): Allow the message to be seen
2419 when invoked from the minibuffer (Bug#7014).
2420
d81ceaaf
DG
24212012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2422
2423 * progmodes/ruby-mode.el (ruby-end-of-defun)
2424 (ruby-beginning-of-defun): Simplify, allow indentation before
2425 block beginning and end keywords.
8f06acce
DG
2426 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2427 (ruby-end-of-defun): Expect that the point is at the beginning of
2428 the defun.
d81ceaaf 2429
d458ef98
SM
24302012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2431
2432 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2433 (bug#12367).
2434 (cl--make-usage-args): Strip _ from argument names.
2435
20367d28
RS
24362012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2437
2438 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2439 obsolete alias speedbar-key-map.
2440 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2441 (vhdl-index-menu-init): Don't use obsolete variable
2442 font-lock-maximum-size.
2443
3424a4f6
CY
24442012-09-06 Chong Yidong <cyd@gnu.org>
2445
2446 * frame.el (window-system-version): Mark as obsolete.
2447
fcbfbdea
CY
2448 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2449 of obsolete variable speedbar-key-map.
2450
826b3235
JL
24512012-09-06 Juri Linkov <juri@jurta.org>
2452
2453 * replace.el (replace-lax-whitespace): New defcustom.
2454 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2455 (replace-string, replace-regexp): Mention it in docstrings.
2456 (perform-replace, replace-highlight): Let-bind
2457 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2458 to the values of replace-lax-whitespace and regexp-flag.
2459 Don't let-bind search-whitespace-regexp. (Bug#10885)
2460
2461 * isearch.el (isearch-query-replace): Let-bind
2462 replace-lax-whitespace instead of let-binding
2463 replace-search-function and replace-re-search-function.
2464 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2465 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2466 (isearch-toggle-symbol): Set isearch-regexp to nil
2467 in isearch-word mode (like in isearch-toggle-word).
2468
1ec5e41d
JL
24692012-09-06 Juri Linkov <juri@jurta.org>
2470
2471 * replace.el (replace-search-function)
2472 (replace-re-search-function): Set default values to nil.
2473 (perform-replace): Let-bind isearch-related variables based on
2474 replace-related values, call `isearch-search-fun' and let-bind
2475 the result to `search-function'. Remove code that sets
2476 `search-function' and `search-string' separately for
2477 `delimited-flag'.
2478 (replace-highlight): Add new argument `delimited-flag' and
2479 rename other arguments to the names used in `perform-replace'.
2480 Let-bind `isearch-word' to the argument `delimited-flag'.
2481 (Bug#10885, bug#10887)
2482
0ba2d4b6
DG
24832012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2484
2485 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2486 ruby-beginning-of-indent, simplify, allow all keywords to have
2487 indentation before them.
2488 (ruby-beginning-of-indent): Adjust for above. Search until the
2489 found point is not inside a string or comment.
2490 (ruby-font-lock-keywords): Allow symbols to start with "@"
2491 character, give them higher priority than variables.
2492 (ruby-syntax-propertize-function)
2493 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2494 matchers. Expression expansions are not comments when inside a
2495 string, and there comment syntax status is irrelevant.
2496 (ruby-match-expression-expansion): New function. Check that
2497 expression expansion is inside a string, and it's not escaped.
2498 (ruby-font-lock-keywords): Use it.
2499
ef654460
MR
25002012-09-05 Martin Rudalics <rudalics@gmx.at>
2501
2502 * help.el (temp-buffer-max-height): New default value.
2503 (temp-buffer-resize-frames): New option.
2504 (resize-temp-buffer-window): Optionally resize frame.
2505
2506 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2507 (fit-frame-to-buffer): New function.
2508
7e570fbf 25092012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2510
2511 * emulation/cua-rect.el (cua--init-rectangles):
2512 * textmodes/picture.el (picture-mode-map):
2513 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2514 like forward-char and backward-char. (Bug#12317)
2515
7e570fbf 25162012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2517
2518 * progmodes/flymake.el (flymake-warning-re): New variable.
2519 (flymake-parse-line): Use it.
2520
7e570fbf 25212012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2522
2523 * calendar/holidays.el (holiday-christian-holidays):
2524 Rename an entry. (Bug#12289)
2525
7e570fbf 25262012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2527
2528 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2529 (bug#12222).
2530
972debf2
SM
25312012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * loadup.el: Load macroexp. Remove hack.
2534 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2535 (macroexp--expand-all): Use it to get better warnings.
2536 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2537 (internal-macroexpand-for-load): New functions.
2538 (macroexp--pending-eager-loads): New var.
2539 (emacs-startup-hook): New hack to replace one in loadup.el.
2540 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2541 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2542 (cl-psetf): Simplify.
2543 (cl-defstruct): Add indent rule.
2544
8ce192e3
LI
25452012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2546
2547 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2548 over `user-mail-address' for the SMTP MAIL FROM envelope.
2549 (smtpmail-via-smtp): Ditto.
2550
6578b4d8
DG
25512012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2552
2553 * progmodes/ruby-mode.el: Clean up keybindings.
2554 (ruby-mode-map): Don't bind ruby-electric-brace,
2555 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2556 backward-kill-word, reindent-then-newline-and-indent.
2557 (ruby-mark-defun): Remove.
2558 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2559 (ruby-mode): Set local beginning-of-defun-function and
2560 end-of-defun-function values.
2561
c5e28e39
MR
25622012-09-03 Martin Rudalics <rudalics@gmx.at>
2563
2564 * window.el (temp-buffer-window-setup-hook)
2565 (temp-buffer-window-show-hook): New hooks.
2566 (temp-buffer-window-setup, temp-buffer-window-show)
2567 (with-temp-buffer-window): New functions.
972debf2
SM
2568 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2569 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2570
2571 * help.el (temp-buffer-resize-mode): Fix doc-string.
2572 (resize-temp-buffer-window): New optional argument WINDOW.
2573
2574 * files.el (recover-file, save-buffers-kill-emacs):
2575 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2576
73406194
MA
25772012-09-02 Michael Albinus <michael.albinus@gmx.de>
2578
2579 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2580 remote definition of `default-directory', ensure we can connect.
2581
63dd1c6f
JL
25822012-09-02 Juri Linkov <juri@jurta.org>
2583
2584 Toggle whitespace matching mode with M-s SPC.
2585 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2586
2587 * isearch.el (search-whitespace-regexp): Doc fix.
2588 Remove cons cell customization.
2589 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2590 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2591 New variables.
2592 (isearch-forward, isearch-forward-regexp): Doc fix.
2593 (isearch-toggle-lax-whitespace): New command.
2594 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2595 (re-search-forward-lax-whitespace)
2596 (re-search-backward-lax-whitespace): New functions.
2597 (isearch-whitespace-regexp): Remove function.
2598 (isearch-query-replace): Let-bind replace-search-function and
2599 replace-re-search-function.
2600 (isearch-occur): Let-bind search-spaces-regexp according to the
2601 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2602 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2603 condition for C-q SPC.
2604 (isearch-search-fun-default): Use new functions mentioned above.
2605 (isearch-search-forward, isearch-search-backward): Remove functions.
2606 (isearch-search): Don't let-bind search-spaces-regexp.
2607 (isearch-lazy-highlight-space-regexp): Remove variable.
2608 (isearch-lazy-highlight-lax-whitespace)
2609 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2610 (isearch-lazy-highlight-new-loop): Use them.
2611 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2612
af7dda05
CY
26132012-09-02 Chong Yidong <cyd@gnu.org>
2614
2615 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2616
d67d3afd
GM
26172012-09-02 Glenn Morris <rgm@gnu.org>
2618
2619 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2620
69678719
GM
26212012-09-01 Glenn Morris <rgm@gnu.org>
2622
2623 * term.el: Tidy up menu definitions.
2624 (term-mode-map): Use easymenu for In/Out, Complete menus.
2625 (term-pager-break-map): Initialize in the defvar.
2626 (term-terminal-menu, term-signals-menu): Define with easymenu.
2627 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2628 (term-pager-menu): New, extracted from term-process-pager.
2629 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2630 (term-update-mode-line): Propertize line/char and page items.
2631 (term-process-pager): Move keymap initialization elsewhere.
2632
78dd6ab1
MR
26332012-09-01 Martin Rudalics <rudalics@gmx.at>
2634
2635 * window.el (switch-to-prev-buffer): Handle additional values of
2636 BURY-OR-KILL argument. Don't switch in minibuffer window.
2637 (switch-to-next-buffer): Don't switch in minibuffer window.
2638 (quit-restore-window): New function based on quit-window.
2639 Handle additional values of former KILL argument.
2640 (quit-window): Call quit-restore-window with appropriate
2641 interpretation of KILL argument.
2642 (display-buffer-below-selected): New buffer display action
2643 function.
2644
3d10e134
SM
26452012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * minibuffer.el (completion-at-point-functions): Complete docstring
2648 (bug#12254).
2649
0e23ef9d
PE
26502012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2651
2652 Better seed support for (random).
2653 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2654 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2655 * play/mpuz.el, play/tetris.el, play/zone.el:
2656 * calc/calc-comb.el (math-init-random-base):
2657 * play/blackbox.el (bb-init-board):
2658 * play/life.el (life):
2659 * server.el (server-use-tcp):
2660 * type-break.el (type-break):
2661 Remove unnecessary call to (random t).
2662 * net/sasl.el (sasl-unique-id-function):
2663 Change (random t) to (random), now that the latter is more random.
2664 * play/life.el (life-initialized): Remove no-longer-needed var.
2665
862382df
MR
26662012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2667
2668 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2669 Consider frame's buffer predicate when choosing the buffer.
2670 (Bug#12081)
2671
262a66e1
RS
26722012-08-30 Richard Stallman <rms@gnu.org>
2673
2674 * simple.el (special-mode-map): Delete binding for `z'.
2675
f17e1d00
AS
26762012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2677
2678 * progmodes/compile.el (compilation-always-kill): Doc fix.
2679
24777832
CY
26802012-08-30 Chong Yidong <cyd@gnu.org>
2681
2682 * window.el (display-buffer-reuse-frames): Make the obsolescence
2683 message more informative.
2684
69ba1f04
GM
26852012-08-30 Glenn Morris <rgm@gnu.org>
2686
2687 * paren.el (show-paren-delay):
2688 Add a :set function. Doc fix. (Bug#12297)
2689
f0019ede
MB
26902012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2691
2692 * progmodes/compile.el (compilation-always-kill): New var.
2693 (compilation-start): Use it.
2694
35e62fc9
SM
26952012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2696
af070a1c
SM
2697 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2698 * files.el (read-only-mode): Move to simple.el.
2699
35e62fc9
SM
2700 * files.el (read-only-mode): New minor mode.
2701 (toggle-read-only): Use it and mark obsolete.
2702 (find-file--read-only):
2703 * vc/vc.el (vc-next-action, vc-checkout):
2704 * vc/vc-cvs.el (vc-cvs-checkout):
2705 * obsolete/vc-mcvs.el (vc-mcvs-update):
2706 * ffap.el (ffap--toggle-read-only): Update callers.
2707
c2c43c23
MA
27082012-08-29 Michael Albinus <michael.albinus@gmx.de>
2709
2710 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2711 remote shell scripts.
2712 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2713
2714 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2715 "/usr/local/sbin".
2716
9fba804b
SM
27172012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2720
eada0861 27212012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2722
806f0cc7
LL
2723 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2724 completion-at-point. (Bug#12220)
2725
3bb213b9
LL
2726 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2727
22ab32ef
LL
2728 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2729
eada0861 27302012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2731
19c17fc1
CY
2732 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2733 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2734
eada0861 27352012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2736
2737 * progmodes/hideif.el (hif-compress-define-list):
2738 Fix typo. (Bug#11951)
2739
eada0861 27402012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2741
2742 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2743 buffer local setting.
2744
27d6c5a8
LL
2745 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2746 rcirc-encode-coding-system.
2747
eada0861 27482012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2749
2750 * net/rcirc.el (rcirc-split-message): New function.
2751 (rcirc-send-message): Use it. (Bug#12051)
2752
d44688e4
JL
27532012-08-28 Juri Linkov <juri@jurta.org>
2754
2755 * info.el (Info-fontify-node): Hide empty lines at the end of
2756 the node. (Bug#12272)
2757
34f10d41
MR
27582012-08-27 Drew Adams <drew.adams@oracle.com>
2759
2760 * dired.el (dired-pop-to-buffer): Make window start at beginning
2761 of buffer (Bug#12281).
2762
77f1f99c
CY
27632012-08-26 Chong Yidong <cyd@gnu.org>
2764
2765 * window.el (special-display-regexps, special-display-frame-alist)
2766 (special-display-buffer-names, special-display-function)
2767 (display-buffer-reuse-frames): Mark as obsolete.
2768
2769 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2770
2771 * help.el (help-print-return-message): Don't treat
2772 display-buffer-reuse-frames specially.
2773
d97af5a0
CY
27742012-08-26 Chong Yidong <cyd@gnu.org>
2775
9fba804b
SM
2776 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2777 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2778 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2779 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2780 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2781 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2782 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2783 the functions directly with gdb-display-buffer-other-frame-action.
2784 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2785 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2786 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2787 (gdb-display-registers-buffer): Define directly.
2788 (def-gdb-display-buffer): Macro deleted.
2789 (gdb-display-buffer): Remove second and third args, callers don't
2790 use them. Defer to the default display-buffer behavior, apart
2791 from making windows dedicated.
2792 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2793
2794 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2795
2796 * window.el (display-buffer-pop-up-frame): Handle a
2797 pop-up-frame-parameters alist entry.
2798 (display-buffer): Document it.
2799
dd7ffad6
CY
28002012-08-26 Chong Yidong <cyd@gnu.org>
2801
2802 * isearch.el (search-whitespace-regexp): Make string and nil
2803 values apply to both ordinary and regexp search. Allow a cons
2804 cell value to distinguish between the two.
2805 (isearch-whitespace-regexp, isearch-search-forward)
2806 (isearch-search-backward): New functions.
2807 (isearch-occur, isearch-search-fun-default, isearch-search)
2808 (isearch-lazy-highlight-new-loop): Use them.
2809 (isearch-forward, isearch-forward-regexp): Doc fix.
2810
4c47bd1e
CY
28112012-08-26 Chong Yidong <cyd@gnu.org>
2812
2813 * faces.el (help-argument-name): Always inherit from italic
2814 (Bug#12213).
2815
9aba119d
MR
28162012-08-25 Martin Rudalics <rudalics@gmx.at>
2817
2818 * window.el (window--even-window-heights): Even heights when
2819 WINDOW and the selected window form a vertical combination.
2820 (display-buffer-use-some-window): Provide that window used gets
2821 sized back by quit-window. (Bug#11880) and (Bug#12091)
2822
ca5256ad
PE
28232012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2824
2825 Fix file time stamp problem with bzr and CVS (Bug#12001).
2826 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2827 in the file's time stamp, since the version control system loses
2828 that information.
2829
d1c0d176
JL
28302012-08-22 Juri Linkov <juri@jurta.org>
2831
2832 * info.el (Info-fontify-node): Hide the suffix of the
2833 Info file name in the header line. (Bug#12187)
2834
141562ff
GM
28352012-08-22 Glenn Morris <rgm@gnu.org>
2836
2837 * calendar/cal-tex.el (cal-tex-weekly-common):
2838 Restore leading blank page.
2839
61a48e19 28402012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2841
2842 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2843 the region under `shift-select-mode'. (Bug#12231)
2844
28452012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2846
2847 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2848 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2849 gives details on why the space is never needed.
2850
ea95074e
MR
28512012-08-22 Martin Rudalics <rudalics@gmx.at>
2852
9fba804b
SM
2853 * window.el (walk-window-tree, window-with-parameter):
2854 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2855 should run on the minibuffer window.
2856 (window-at-side-list): Don't operate on minibuffer window.
2857 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2858 (window--size-ignore): Rename to window--size-ignore-p.
2859 Update callers.
caceae25
MR
2860 (display-buffer-in-atom-window, window--major-non-side-window)
2861 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2862 (delete-side-window, display-buffer-in-side-window):
2863 New functions.
caceae25
MR
2864 (window--side-check, window-deletable-p, delete-window)
2865 (delete-other-windows, split-window): Handle side windows and
2866 atomic windows appropriately.
2867 (window--display-buffer): Call display-buffer-record-window also
2868 when the window buffer did not change.
ea95074e 2869
80a51fa0
CS
28702012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2871
2872 * help-fns.el (help-fns--key-bindings):
2873 Abbreviate non-symbol remap targets. (Bug#12174)
2874
fbb6300b
MR
28752012-08-22 Martin Rudalics <rudalics@gmx.at>
2876
2877 * dired.el (dired-mark-remembered): Don't clobber point.
2878 (Bug#11795)
2879
2b2c0794
GM
28802012-08-22 Glenn Morris <rgm@gnu.org>
2881
2882 * progmodes/bug-reference.el (bug-reference): New custom group.
2883 (bug-reference-bug-regexp): Make it a defcustom.
2884
37219830
DU
28852012-08-22 Daiki Ueno <ueno@unixuser.org>
2886
2887 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2888 (js-paren-indent-offset, js-square-indent-offset)
2889 (js-curly-indent-offset): Add :safe (Bug#12257).
2890
94e0e559
EC
28912012-08-22 Edward O'Connor <hober0@gmail.com>
2892
2893 * json.el (json-key-format): Add error properties.
2894 (json-encode-key): New function.
2895 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2896 Use json-encode-key.
2897
da485f5e
GM
28982012-08-22 Glenn Morris <rgm@gnu.org>
2899
2900 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2901 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2902 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2903 Update for above change.
2904
c6cc78b8
AS
29052012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2906
2907 * cus-face.el (custom-face-attributes): Fix customize type for the
2908 :underline attribute. (Bug#11805)
2909
5481664a
MR
29102012-08-21 Martin Rudalics <rudalics@gmx.at>
2911
2912 * window.el (window-point-1, set-window-point-1): Remove.
2913 (window-in-direction, record-window-buffer)
2914 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2915 (window--state-get-1, display-buffer-record-window):
2916 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2917 window-point and set-window-point respectively.
2918
6d74698e
GM
29192012-08-21 Glenn Morris <rgm@gnu.org>
2920
b7fa2691
GM
2921 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2922 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2923 Use it.
2924
52f56d5a
GM
2925 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2926 (cal-tex-shortday): New function.
2927 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2928 (cal-tex-cursor-filofax-daily): Use the above.
2929
9f1ee09e
GM
2930 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2931 New functions.
2932 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2933 (cal-tex-cursor-filofax-week): Use them.
2934
79858159
GM
2935 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2936 New constants.
2937 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2938 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2939
d346b2b4
GM
2940 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2941 (cal-tex-end-document): Don't rely on buffer name.
2942
b2403709
GM
2943 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2944 Use cal-tex-vspace.
2945 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2946 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2947 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2948 Use cal-tex-arg.
b2403709 2949
1cebb5c0
GM
2950 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2951 (cal-tex-cursor-week, cal-tex-cursor-week2)
2952 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2953 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2954 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2955 (cal-tex-insert-preamble, cal-tex-b-document)
2956 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2957 Improve cal-tex-cmd usage.
2958
c68cd5d4
GM
2959 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2960 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2961 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2962 (cal-tex-weekly-paper): New function.
2963 (cal-tex-cursor-week, cal-tex-cursor-week2)
2964 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2965 (cal-tex-cursor-day): Use it.
2966
9dca4801
GM
2967 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2968 (cal-tex-cursor-filofax-week): Remove leading blank page.
2969
1941e134
GM
2970 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2971 Add autoload cookie. For now at least, don't use color, since
2972 no other cal-tex function does.
2973
6d74698e
GM
2974 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2975 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2976 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2977
64cde199
JL
29782012-08-21 Juri Linkov <juri@jurta.org>
2979
2980 * info.el (Info-file-attributes): New variable.
2981 (info-insert-file-contents): Add file attributes to
2982 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2983 `Info-toc-nodes' when previous modtime of the Info file is less
2984 than new modtime.
2985 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2986 of info.el. (Bug#12230)
2987
32757648
GM
29882012-08-20 Glenn Morris <rgm@gnu.org>
2989
2990 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2991 * calendar/holidays.el (calendar-holiday-list):
2992 Report errors with display-warning rather than beep'n'sleep.
2993
a32fbbcf
MA
29942012-08-20 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/tramp.el (tramp-accept-process-output): Accept only output
2997 from PROC. Otherwise, process filters and sentinels might be
2998 confused. (Bug#12145)
2999
a05731a0
CY
30002012-08-20 Chong Yidong <cyd@gnu.org>
3001
3002 * descr-text.el (describe-text-properties-1): Use overlays-in to
3003 report on empty overlays (Bug#3322).
3004
36e8d1eb
GM
30052012-08-20 Glenn Morris <rgm@gnu.org>
3006
3d300447
GM
3007 * mail/rmailout.el (rmail-output-read-file-name):
3008 Trap and report errors in rmail-output-file-alist elements.
3009
36e8d1eb
GM
3010 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3011 since most non-font-lock faces are not also variables).
3012
b96e5814
ER
30132012-08-20 Edward Reingold <reingold@iit.edu>
3014
3015 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3016 New function. (Bug12160)
3017
7cef3569
GM
30182012-08-19 Glenn Morris <rgm@gnu.org>
3019
3020 * mail/rmailout.el (rmail-output-read-file-name):
3021 Fix previous change (when the alist is nil or does not match).
3022
17975d7f
CY
30232012-08-19 Chong Yidong <cyd@gnu.org>
3024
3025 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3026 (Bug#12228).
3027
2170b1bd
CY
30282012-08-18 Chong Yidong <cyd@gnu.org>
3029
3030 * simple.el (yank-handled-properties): New defcustom.
3031 (yank-excluded-properties): Add font-lock-face and category.
3032 (yank): Doc fix.
3033
9fba804b
SM
3034 * subr.el (remove-yank-excluded-properties):
3035 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3036 and category is now done this way, instead of being hard-coded.
3037 (insert-for-yank-1): Remove font-lock-face handling.
3038 (yank-handle-font-lock-face-property)
3039 (yank-handle-category-property): New function.
3040
ee218151
GM
30412012-08-17 Glenn Morris <rgm@gnu.org>
3042
3043 * mail/rmailout.el (rmail-output-read-file-name):
3044 Check rmail-output-file-alist against the full message body
3045 in the correct rmail buffer. (Bug#12214)
3046
4a6bc3fd
MA
30472012-08-17 Michael Albinus <michael.albinus@gmx.de>
3048
9fba804b
SM
3049 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3050 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3051
383dcbf9
CY
30522012-08-17 Chong Yidong <cyd@gnu.org>
3053
3054 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3055 font spec, set the font directly (Bug#3228).
3056
998c4a6a
MR
30572012-08-17 Martin Rudalics <rudalics@gmx.at>
3058
3059 * window.el (delete-window): Fix last fix.
3060
52162052
MR
30612012-08-16 Martin Rudalics <rudalics@gmx.at>
3062
3063 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3064 (window-child, window-child-count, window-last-child)
3065 (window-normalize-window, window-combined-p)
3066 (window-combinations, window-atom-root, window-min-size)
3067 (window-sizable, window-sizable-p, window-size-fixed-p)
3068 (window-min-delta, window-max-delta, window--resizable)
3069 (window--resizable-p, window-resizable, window-total-size)
3070 (window-full-height-p, window-full-width-p, window-body-size)
3071 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3072 (minimize-window, window-deletable-p, delete-window)
3073 (delete-other-windows, set-window-buffer-start-and-point)
3074 (next-buffer, previous-buffer, split-window, balance-windows-2)
3075 (set-window-text-height, window-buffer-height)
3076 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3077 (truncated-partial-width-window-p): Minor code adjustments.
3078 In doc-strings state whether the argument window has to denote a
85c2386b 3079 live, valid or any window.
52162052 3080
1c308380
PS
30812012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3082
3083 * progmodes/subword.el (subword-forward-function)
3084 (subword-backward-function, subword-forward-regexp)
3085 (subword-backward-regexp): New variables.
3086 (subword-forward, subword-forward-internal, subword-backward-internal):
3087 Use new variables, eg so that different "word" definitions
3088 can be easily used. (Bug#11411)
3089
94c9ece1
SM
30902012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3093 for composite selectors.
3094 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3095 operation just because we can't find a previous revision.
3096
f2045622
CY
30972012-08-15 Chong Yidong <cyd@gnu.org>
3098
3099 * frame.el (set-frame-font): Accept font objects.
3100
582db660
SM
31012012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3104
2f29c200
WJ
31052012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3106
456e62c2
WJ
3107 * man.el (Man-overstrike-face, Man-underline-face)
3108 (Man-reverse-face): Remove variables.
3109 (Man-overstrike, Man-underline, Man-reverse): New faces.
3110 (Man-fontify-manpage): Use them instead of the variables.
3111 (Man-cleanup-manpage): Comment change.
3112 (Man-ansi-color-map): New variable.
3113 (Man-fontify-manpage): Use it.
3114 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3115
2f29c200
WJ
3116 Implement ANSI SGR parameters 22-27 (bug#12146).
3117 * ansi-color.el (ansi-colors): Doc fix.
3118 (ansi-color-context, ansi-color-context-region): Doc fix.
3119 (ansi-color--find-face): New function.
3120 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3121 Rename the local variable `face' to `codes' since it is now a list of
3122 ansi codes. Doc fix.
3123 (ansi-color-get-face): Remove.
3124 (ansi-color-parse-sequence): New function, derived from
3125 ansi-color-get-face.
3126 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3127 codes 22-27.
3128
b4f5e9df
SM
31292012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * subr.el (read-passwd): Allow use from a minibuffer.
3132
ba025fbd
EZ
31332012-08-14 Eli Zaretskii <eliz@gnu.org>
3134
3135 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3136 inside comments and strings as identifiers.
3137
3138 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3139 expression to evaluate. This allows to evaluate expressions with
3140 embedded whitespace.
3141 (gud-tooltip-tips): Add a blank before the newline in the
3142 message-box text, for the benefit of message-box emulation on
3143 MS-Windows.
3144
3145 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3146 messages from GDB, pop them up in a tooltip to give feedback to
3147 user.
b4f5e9df
SM
3148 (gdb-tooltip-print-1): Quote the expression to evaluate.
3149 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3150 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3151 if the TTY name is nil or empty (which happens when communicating
3152 with the inferior via pipes, e.g. on MS-Windows).
3153 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3154 don't send that to the GUD buffer.
3155
c548f821
GM
31562012-08-14 Glenn Morris <rgm@gnu.org>
3157
3158 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3159 Optimize away setq-default with no args, as for setq. (Bug#12195)
3160
55802e4a
CY
31612012-08-14 Chong Yidong <cyd@gnu.org>
3162
4abcdac8
CY
3163 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3164
55802e4a
CY
3165 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3166 (Bug#12085).
3167
3c3cda1a
GM
31682012-08-14 Glenn Morris <rgm@gnu.org>
3169
3170 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3171
e1873bd0
MA
31722012-08-14 Michael Albinus <michael.albinus@gmx.de>
3173
3174 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3175 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3176 Use cached shell name.
3177
925411b4
FEG
31782012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3179
3180 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3181 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3182
e636fafe
DG
31832012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3184
3185 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3186 (ruby-percent-literal-beg-re): New constant.
3187 (ruby-syntax-general-delimiters-goto-beg): Rename to
3188 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3189 (ruby-syntax-propertize-general-delimiters): Rename to
3190 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3191 popular term. Adjust comments everywhere.
3192 (ruby-syntax-propertize-percent-literal): Only propertize when not
3193 inside a simple string or comment. When the literal is unclosed,
3194 leave the text after it unpropertized.
f063063a
DG
3195 (ruby-syntax-methods-before-regexp): New constant.
3196 (ruby-syntax-propertize-function): Use it to recognize regexps.
3197 Don't look at the text after regexp, just use the whitelist.
e636fafe 3198
e5b19827
AS
31992012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3200
3201 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3202 non-nil always load the compiled file if it exists. (Bug#12197)
3203
a9f6f311
CY
32042012-08-14 Chong Yidong <cyd@gnu.org>
3205
3206 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3207 (hi-lock-set-pattern): When deciding whether to use font lock or
3208 overlays, look at font-lock-mode instead of font-lock-fontified
3209 (Bug#12168).
3210 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3211 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3212
7d806b1e
DU
32132012-08-14 Daiki Ueno <ueno@unixuser.org>
3214
3215 * subr.el (internal--after-with-selected-window): Fix typo
3216 (Bug#12193).
3217
5beed586
FEG
32182012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3219
3220 Use `completion-table-dynamic' for completion functions.
3221 * progmodes/python.el
3222 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3223 (python-shell-completion--get-completions):
3224 Remove functions.
5beed586
FEG
3225 (python-shell-completion-complete-at-point): New function.
3226 (python-completion-complete-at-point): Use it.
3227
92cb3b04
J
32282012-08-13 Jambunathan K <kjambunathan@gmail.com>
3229
3230 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3231 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3232
89660017
SM
32332012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3c98c962
SM
3235 * subr.el (function-get): Refine `autoload' arg so it can also
3236 autoload functions for gv.el (bug#12191).
3237 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3238 autoloads macros.
3239
aa7c6dbe
SM
3240 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3241 Prefer pcase-let over destructuring-bind.
3242 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3243 Also, remove whitespace as we go, rather than after accumulating the
3244 various places.
3245
89660017
SM
3246 * subr.el (internal--before-with-selected-window)
3247 (internal--after-with-selected-window): Fix typo seleted->selected.
3248 (with-selected-window): Adjust callers.
3249 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3250
31cd32c9
BG
32512012-08-13 Bastien Guerry <bzg@gnu.org>
3252
0fcd3d9f 3253 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3254 enhancement. (Bug#12172)
3255
1b15d8ad
AS
32562012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3257
31e54db0
AS
3258 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3259 type 1-6.
3260 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3261 extended headers.
3262
1b15d8ad
AS
3263 * files.el (hack-local-variables-filter): Remove useless eval.
3264
35cb9c06
MR
32652012-08-13 Martin Rudalics <rudalics@gmx.at>
3266
3267 * subr.el (with-selected-window): Fix last change.
3268
1439443b
SM
32692012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * subr.el (internal--before-with-seleted-window)
3272 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3273 (with-selected-window): Use them, to replace dependency on
3274 tty-top-frame.
1439443b 3275
0d9e2599
NN
32762012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3277
3278 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3279 binding for `newline'.
3280 (ruby-move-to-block): When moving backward, stop at block opening,
3281 not indentation.
3282 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3283 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3284 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3285 `ruby-toggle-block'.
3286
ba10c48c
SM
32872012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * ibuffer.el (ibuffer-do-toggle-read-only):
3290 * dired.el (dired-toggle-read-only):
3291 * buff-menu.el (Buffer-menu-toggle-read-only):
3292 * bindings.el (mode-line-toggle-read-only):
3293 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3294
9229c658
AS
32952012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3296
3297 * descr-text.el (describe-char): Put the overlays over the
3298 "displayed as" character.
3299
0fd09128
JB
33002012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3301
3302 * calc/calc-units.el (math-default-units-table): Give an
3303 initial value.
3304 (math-put-default-units): Add options to put composite units and
3305 unit systems in the default units table.
3306 (calc-convert-units): Send composite units to
3307 `math-put-default-units' when appropriate.
3308
9ff9402d 33092012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3310
fbb5e336
GM
3311 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3312
7aacaf15
GM
3313 * tutorial.el (help-with-tutorial):
3314 * emacs-lisp/copyright.el (copyright-update-directory):
3315 * emacs-lisp/autoload.el (autoload-find-generated-file)
3316 (autoload-find-file): Disable local eval: (for insurance).
3317
f40b9f10
GM
3318 * files.el (hack-local-variables-filter): If an eval: form is not
3319 known to be safe, and enable-local-variables is :safe, then ignore
3320 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3321 This is CVE-2012-3479.
f40b9f10 3322
daa9f1a6
SM
33232012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3326 (rx-form): Simplify.
3327
9cd80478
DG
33282012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3329
0d9e2599
NN
3330 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3331 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3332 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3333 (ruby-syntax-propertize-function): Adjust for changes in
3334 `ruby-syntax-propertize-heredoc'.
3335
33362012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3337
9cd80478
DG
3338 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3339 binding (use `M-;' instead).
9cd80478 3340 (ruby-singleton-class-p): New function.
0d9e2599 3341 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3342
d301b413
SM
33432012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3346
1530c98e
CY
33472012-08-10 Chong Yidong <cyd@gnu.org>
3348
3349 * progmodes/python.el (python-shell-get-process-name): Don't mess
3350 with same-window-buffer-names.
3351
3352 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3353 (eshell-remove-from-window-buffer-names): Make obsolete.
3354 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3355 (eshell): Just use pop-to-buffer-same-window instead.
3356
e1293765
CY
33572012-08-10 Chong Yidong <cyd@gnu.org>
3358
3359 * bindings.el: Bind M-= back to count-words-region.
3360
3361 * simple.el (count-words-region): Accept a prefix arg for acting
3362 on the entire buffer.
3363 (count-words--buffer-message): New helper function.
3364
e1894109
SM
33652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3368 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3369 (event-start, event-end): Use posn-at-point to return a more
3370 informative posn.
3371 (posnp): New function.
3372 * mouse.el (popup-menu-normalize-position): Use it.
3373
c69f56a2
MY
33742012-08-10 Masatake YAMATO <yamato@redhat.com>
3375
3376 * mouse.el (popup-menu-normalize-position): New function.
3377 (popup-menu): Use `popup-menu-normalize-position' to normalize
3378 the form for POSITION argument.
3379
3380 * term/x-win.el (x-menu-bar-open):
3381 Use the value returend from (posn-at-point) as position
3382 passed to `popup-menu'.
3383
31673780
JB
33842012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3385
3386 * calc/calccomp.el (math-compose-expr): Add extra argument
3387 indicating that parentheses should be put around products in
3388 denominators. Give multiplication precedence over division during
3389 composition.
3390
dab7711b
CY
33912012-08-09 Chong Yidong <cyd@gnu.org>
3392
dee4ef93
CY
3393 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3394 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3395 (Man-untabify-command, manual-program): Convert to defcustom
3396 (Bug#10429).
3397
73e2bbc5
CY
3398 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3399
3e861c8a
CY
3400 * descr-text.el (describe-char): Don't insert extra newlines
3401 (Bug#10127).
3402
a9f5a649
CY
3403 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3404 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3405
dab7711b
CY
3406 * align.el (align-region): Delete temporary markers (Bug#10047).
3407 Plus some code cleanups.
3408
e0cc4efa
FEG
34092012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3410
3411 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3412 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3413 (python-shell-internal-last-output): Use make-local-variable
3414 instead of make-variable-buffer-local.
3415
489af14f
FEG
34162012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3417
3418 * progmodes/python.el: Enhancements to forward-sexp.
3419 (python-nav-forward-sexp): Rename from
3420 python-nav-forward-sexp-function.
c69f56a2
MY
3421 (python-nav--forward-sexp, python-nav--backward-sexp):
3422 New functions.
489af14f 3423
0fc50303
JB
34242012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3425
3426 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3427 modes and simplification modes.
3428
5d65606a
SM
34292012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * delsel.el (delete-selection-pre-hook): Don't propagate the
3432 file-supersession signals (bug#12161).
3433
4250fdf5
SM
34342012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3435
3436 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3437 (cl-map-extents): Add compatibility aliases (bug#12135).
3438
d9f9b465
MA
34392012-08-08 Michael Albinus <michael.albinus@gmx.de>
3440
3441 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3442 tests by `ignore-error'.
3443 (tramp-find-shell): Open also a new shell, when cache is already
3444 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3445
ce0fcefa
JL
34462012-08-08 Juri Linkov <juri@jurta.org>
3447
3448 * bookmark.el: Add `defaults' property to the bookmark record.
3449 (bookmark-current-buffer): Doc fix.
3450 (bookmark-make-record): Add `defaults' property with default values
3451 to the bookmark record.
3452 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3453 with `bookmark-insert-current-bookmark'.
3454 (bookmark-set): Get `defaults' property from the bookmark record
3455 and use it in `read-from-minibuffer'.
3456 (bookmark-insert-current-bookmark): Remove function.
3457
3458 * info.el (Info-bookmark-make-record): Add `defaults' property
3459 with values of canonical Info node name, the current Info file
3460 name and the current Info node name. (Bug#12107)
3461
53fa8652
JL
34622012-08-08 Juri Linkov <juri@jurta.org>
3463
3464 * files.el (basic-save-buffer): Use `buffer-name' as the default
3465 of `read-file-name' when buffer is not visiting a file (bug#12128).
3466
242c0a95
JL
34672012-08-08 Juri Linkov <juri@jurta.org>
3468
3469 * info.el (Info-isearch-search): Doc fix.
3470 (Info-search): Change search-failed message from "initial node" to
3471 "end of node" (bug#12078).
3472 (Info-isearch-search): Change `isearch-string-state' to
3473 `isearch--state-string'.
3474
32ac3a6b
GM
34752012-08-08 Glenn Morris <rgm@gnu.org>
3476
3477 * language/persian.el: Remove file.
f8c1afd5 3478 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3479 * loadup.el: Remove language/persian.
3480
2c2d9c9c
OF
34812012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3482
3483 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3484
2d79ec42
FEG
34852012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3486
3487 * progmodes/python.el Fixed defsubst warning.
3488 (python-syntax-context) Rename from python-info-ppss-context.
3489 (python-syntax-context-type): Rename from
3490 python-info-ppss-context-type.
3491 (python-syntax-comment-or-string-p): Rename from
3492 python-info-ppss-comment-or-string-p.
3493
2bd255dd
JB
34942012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3495
3496 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3497
c395097f
AS
34982012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3499
6125983e
AS
3500 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3501 a defcustom that is quoted with backquote.
3502
4250fdf5
SM
3503 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3504 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3505 (math-do-arg-check, math-define-function-body): Use backquote forms.
3506 * calc/calc-ext.el (math-defcache): Likewise.
3507 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3508 * allout.el (allout-new-exposure): Likewise.
3509 * calc/calcalg2.el (math-tracing-integral): Likewise.
3510 * info.el (Info-last-menu-item): Likewise.
3511 * emulation/vip.el (vip-loop): Likewise.
3512 * textmodes/artist.el (artist-funcall): Likewise.
3513 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3514 Construct menu-item directly.
3515
4250fdf5
SM
3516 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3517 Don't declare.
c395097f 3518
5fb50dd3
CY
35192012-08-07 Chong Yidong <cyd@gnu.org>
3520
3521 * simple.el (deactivate-mark): Preserve text properties when
3522 saving the primary selection (Bug#8384).
3523
54eea618
KR
35242012-08-07 Kevin Ryde <user42@zip.com.au>
3525
3526 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3527 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3528 and continue processing (Bug#12110).
3529
638eaeb9
SM
35302012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3533 syntax-propertize-function (bug#10095).
3534
ea376861
SM
35352012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3536
f91b35be
SM
3537 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3538 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3539 describe-function-1.
3540 (describe-function-1): Use them. Move compiler macro after sig.
3541 (help-fns--compiler-macro): Use function-get. Assume we're already in
3542 standard-output. Adjust layout to new call order.
3543
ea376861
SM
3544 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3545 re-binding a symbol that has a symbol-macro (bug#12119).
3546
d5be7bd0
MB
35472012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3548
3549 * language/persian.el: New file. (Bug#11812)
3550 * loadup.el: Add language/persian.el.
3551
90749b53
CY
35522012-08-06 Chong Yidong <cyd@gnu.org>
3553
3554 * window.el (window--maybe-raise-frame): New function.
3555 (window--display-buffer): Split off from here.
3556 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3557 (display-buffer-pop-up-window, display-buffer-use-some-window):
3558 Obey an inhibit-switch-frame action alist entry.
3559 (display-buffer): Update doc.
3560
3561 * replace.el (occur-after-change-function): Avoid losing focus by
3562 using the inhibit-switch-frame display parameter (Bug#12139).
3563
ba7b0154
FEG
35642012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3565
3566 Make internal shell process buffer names start with space.
3567 * progmodes/python.el (python-shell-make-comint): Add optional
3568 argument INTERNAL.
3569 (run-python-internal): Use it.
3570 (python-shell-internal-get-or-create-process): Check for new
3571 internal buffer names.
3572
5eaeacb5
GM
35732012-08-06 Glenn Morris <rgm@gnu.org>
3574
e296d94b 3575 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3576 Do less getting and setting of environment variables.
3577
b7ccbdc2
CY
35782012-08-05 Chong Yidong <cyd@gnu.org>
3579
777fe95e
CY
3580 * proced.el (proced): Add substitution string to docstring to
3581 trigger autoloading of the proced library on C-h f (Bug#1768).
3582
4250fdf5
SM
3583 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3584 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3585
3586 * imenu.el (imenu-generic-expression): Move documentation here
3587 from imenu--generic-function.
3588 (imenu--generic-function): Refer to imenu-generic-expression.
3589
9e3b7800 35902012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
3591
3592 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3593 indentation declaration.
3594 (viper-loop): Add indentation declaration (Bug#7025).
3595
e5d9c0d1
CY
35962012-08-05 Chong Yidong <cyd@gnu.org>
3597
f0422feb
CY
3598 * help-fns.el (describe-variable): Add hyperlink for
3599 directory-local variables files. Improve buffer-local and
3600 permanent-local reporting; suggested by MON KEY (Bug#6644).
3601
3602 * help-mode.el (help-dir-local-var-def): New button type.
3603
e5d9c0d1
CY
3604 * files.el (kill-buffer-hook): Provide a defvar.
3605
a4f2deaa
GM
36062012-08-05 Glenn Morris <rgm@gnu.org>
3607
3608 * eshell/esh-ext.el (eshell/addpath):
3609 Also update eshell-path-env. (Bug#12013)
3610
a9dd5754
CY
36112012-08-05 Chong Yidong <cyd@gnu.org>
3612
a4f2deaa 3613 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3614
d014c740
CY
3615 * fringe.el (fringe-styles): Add docstring.
3616 (fringe--check-mode): New function.
3617 (set-fringe-mode, set-fringe-style): Use it.
3618 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3619
a9dd5754
CY
3620 * files.el (set-auto-mode): Fix invalid setq call.
3621
7c2dc8bd
SM
36222012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * isearch.el: Misc simplification; use defstruct.
3625 (isearch-mode-map): Dense maps now work like sparse ones.
3626 (isearch--state): New defstruct.
3627 (isearch-string-state, isearch-message-state, isearch-point-state)
3628 (isearch-success-state, isearch-forward-state)
3629 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3630 (isearch-wrapped-state, isearch-barrier-state)
3631 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3632 replaced by defstruct's accessors.
3633 (isearch--set-state): Rename from isearch-top-state and change
3634 calling convention.
3635 (isearch-push-state): Use new isearch--get-state.
3636 (isearch-toggle-word): Disable regexp when enabling word.
3637 (isearch-message-prefix): Remove unused arg _c-q-hack.
3638 (isearch-message-suffix): Remove unused arg _ellipsis.
3639
7fcc0070
AS
36402012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3641
3642 * simple.el (list-processes--refresh): For a server use :host or
3643 :local as the address.
97ad0769 3644 (list-processes): Doc fix.
7fcc0070 3645
a11035b8 36462012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3647
3648 * lisp/mpc.el: Support password in host argument.
3649 (mpc--proc-connect): Parse and use new password element.
3650 Set mpc-proc variable instead of returning process.
3651 (mpc-proc): Adjust accordingly.
3652
6dad7178
EZ
36532012-08-03 Eli Zaretskii <eliz@gnu.org>
3654
18949c2f
EZ
3655 * whitespace.el (whitespace-display-mappings): Use Unicode
3656 codepoints, instead of emacs-mule codepoints. See
3657 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3658 for the details.
3659
6dad7178
EZ
3660 * files.el (file-truename): Don't skip symlink-chasing part on
3661 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3662 Windows into the loop that recursively chases symlinks.
3663 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3664 MS-DOS.
3665
385b0198
CY
36662012-08-03 Chong Yidong <cyd@gnu.org>
3667
6200f3c4
CY
3668 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3669
385b0198
CY
3670 * sort.el (sort-regexp-fields): Doc fix.
3671
b9e74744
TH
36722012-08-03 Tassilo Horn <tsdh@gnu.org>
3673
3674 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3675 labels regex position point at the expected place.
3676
41013cb4
MK
36772012-08-03 MON KEY <monkey@sandpframing.com>
3678
3679 * net/imap.el (imap-interactive-login, imap-authenticate)
3680 (imap-mailbox-lsub, imap-mailbox-list)
3681 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3682 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3683 (imap-parse-response): Doc fix.
3684
0ffee616
JT
36852012-08-03 João Távora <joaotavora@gmail.com>
3686
3687 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3688 if sexp scanning does not move point (Bug#5734).
3689
cfcc9cc8
TH
36902012-08-02 Tassilo Horn <tsdh@gnu.org>
3691
3692 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3693 Add listings, minted, and ctable packages.
3694 (reftex-label-alist-builtin): Move listings, minted, and ctable
3695 entries before LaTeX.
a01bbb84 3696 (reftex-label-alist): Docfix.
cfcc9cc8 3697
66ec2442
BG
36982012-08-02 Bastien Guerry <bzg@gnu.org>
3699
3700 * replace.el (occur): Fix docstring (bug#12122).
3701
837b365b
GM
37022012-08-02 Glenn Morris <rgm@gnu.org>
3703
3704 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3705
e098de97
PE
37062012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3707
3708 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3709 * international/mule-cmds.el: Create
3710 inactivate-current-input-method-function as an obsolete alias for
3711 deactivate-current-input-method-function. See Katsumi Yamaoka in
3712 <http://bugs.gnu.org/10150#46>.
3713
a0f95636
JB
37142012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3715
3716 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3717 of nested `if's.
3718
0d26d7c4
GM
37192012-08-01 Glenn Morris <rgm@gnu.org>
3720
3721 * progmodes/autoconf.el (autoconf-definition-regexp):
3722 Add AH_TEMPLATE, adjust submatch numbering.
3723 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3724 (autoconf-current-defun-function): Update for above change.
3725 (autoconf-current-defun-function): First skip to end of current word.
3726
b686ba06
RS
37272012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3728
3729 * calendar/cal-html.el (cal-html-insert-agenda-days):
3730 Fix typo. (Bug#12018)
3731
0d49da68
FEG
37322012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3733
3734 Shell processes: enhancements to startup and CEDET compatibility.
3735 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3736 (python-shell-make-comint): accept-process-output at startup.
3737 (run-python-internal): Set inferior-python-mode-hook to nil.
3738 (python-shell-internal-get-or-create-process): call sit-for.
3739 (python-preoutput-result): Add obsolete alias.
3740 (python-shell-internal-send-string): Use it.
3741 (python-shell-send-setup-code): Remove call to
3742 accept-process-output.
3743
f1a71c6e
AS
37442012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3745
3746 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3747 (Bug#12108)
3748
d2605269
JB
37492012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3750
3751 * calc-mode.el (calc-basic-simplification-mode): Rename from
3752 `calc-limited-simplification-mode'.
3753 (calc-alg-simplification-mode): New function.
fc0c31f8 3754 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3755
d2605269
JB
3756 * calc.el (calc-set-mode-line): Adjust mode line display for
3757 basic simplification mode.
3758
3759 * calc-help.el (calc-m-prefix-help): Update help message.
3760
3761 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3762 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3763
a3827a43
BG
37642012-07-31 Bastien Guerry <bzg@gnu.org>
3765
3766 * man.el (man): Fix comment. (bug#12101)
3767
502e3f89
MR
37682012-07-31 Martin Rudalics <rudalics@gmx.at>
3769
3770 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3771 Don't return a non-nil value when no suitable buffer was found.
3772
d7714961
FEG
37732012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3774
3775 * progmodes/python.el (run-python-internal): Disable font lock for
3776 internal shells.
3777
1f45e27e
SM
37782012-07-30 Stefan Merten <smerten@oekonux.de>
3779
70efc5c9 3780 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3781 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3782 (rst-official-version, rst-official-cvs-rev)
3783 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3784 (rst-mode-map): New key binding.
3785
0aee6912
PE
37862012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3787
3788 Update .PHONY listings in makefiles.
3789 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3790 autoloads, update-subdirs, updates, bzr-update, update-authors,
3791 compile-onefile, compile-calc, backup-compiled-files,
3792 compile-after-backup, compile-one-process, mh-autoloads,
3793 bootstrap-clean, distclean, maintainer-clean.
3794
9052f9f0
JB
37952012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3796
1823ac5a
JB
3797 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3798 (calc-set-mode-line): Don't display "AlgSimp ".
3799
3800 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3801 (calc-lim-simplify-mode): New function.
3802 (calc-set-simplify-mode): Default to 'alg.
3803 (calc-default-simplify-mode): Make algebraic simplifications
3804 the default.
3805
3806 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3807 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3808
8d7c7eed 3809 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3810 indicate new simplification modes.
3811
1823ac5a
JB
3812 * calc/README: Mention new default simplification mode.
3813
9052f9f0
JB
3814 * calc/calc.el (math-normalize-error): New variable.
3815 (math-normalize): Set `math-normalize-error' to t
3816 when there's an error.
3817
3818 * calc/calc-alg.el (math-simplify): Don't simplify when
3819 `math-normalize' returns an error.
3820
20ba0cb4
EZ
38212012-07-29 Eli Zaretskii <eliz@gnu.org>
3822
3823 * international/mule-cmds.el (set-locale-environment): Revert last
3824 change, since display-graphic-p returns nil when this function is
3825 called during startup. Instead...
3826
3827 * term/w32console.el (terminal-init-w32console): ...setup the
3828 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3829
a5dcc929
JL
38302012-07-29 Juri Linkov <juri@jurta.org>
3831
3832 * simple.el (goto-line): Don't display default line number in the
3833 prompt because it should be displayed by `read-number' (bug#9952).
3834 Add the current line number to the defaults of `goto-line' to
3835 allow its easier modification by users with `M-n' (bug#9201).
3836
3837 * subr.el (read-number): Support multiple default values like in
3838 other minibuffer reading functions. Replace `read' with
3839 `string-to-number' for consistency with `number-to-string'.
3840
72b255c7
PE
38412012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3842
3843 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3844 * emulation/viper-init.el (viper-deactivate-input-method-action):
3845 Rename from viper-inactivate-input-method-action.
3846 (viper-deactivate-input-method):
3847 Rename from viper-inactivate-input-method.
3848 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3849 * international/mule-cmds.el (deactivate-input-method):
3850 Rename from inactivate-input-method.
3851 Also run input-method-deactivate-hook.
3852 (deactivate-current-input-method-function):
3853 Rename from inactivate-current-input-method-function.
3854 (input-method-deactivate-hook): New hook.
3855 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3856 (inactivate-input-method): Mark obsolete.
3857
72b255c7
PE
3858 * international/quail.el (quail-activate):
3859 Also run quail-deactivate-hook.
3860 (quail-deactivate): Rename from quail-inactivate.
3861 * international/robin.el (robin-activate):
3862 Also run robin-deactivate-hook.
3863 (robin-deactivate): Rename from robin-inactivate.
3864
2549c068
CY
38652012-07-29 Chong Yidong <cyd@gnu.org>
3866
3867 * simple.el (indicate-copied-region): New function.
3868 (kill-ring-save): Split off from here.
3869
3870 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3871 (kill-rectangle): Set deactivate-mark to t on read-only error.
3872
3873 * register.el (copy-to-register, copy-rectangle-to-register):
3874 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3875 (append-to-register, prepend-to-register): Call indicate-copied-region.
3876
38772012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3878
3879 * simple.el (async-shell-command-buffer): New defcustom.
3880 (shell-command): Use it. (Bug#4719)
3881
01bd1b0d
EZ
38822012-07-28 Eli Zaretskii <eliz@gnu.org>
3883
3884 * international/mule-cmds.el (set-locale-environment): In a
3885 console session on MS-Windows, set up keyboard and terminal
3886 encoding from the OEM codepage, not the ANSI codepage.
3887 (Bug#12055)
3888
a55739d3
CY
38892012-07-28 Chong Yidong <cyd@gnu.org>
3890
3891 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3892 gdb-get-location.
3893
0e1a094f 38942012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3895
3896 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3897 the alist (bug#12029).
3898
20329d73
EZ
38992012-07-28 Eli Zaretskii <eliz@gnu.org>
3900
3901 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3902 (compile-always, compile-first)
3903 ($(lisp)/calendar/cal-loaddefs.el)
3904 ($(lisp)/calendar/diary-loaddefs.el)
3905 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3906 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3907 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3908 instead of on update-subdirs.
3909 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3910
345a2258
CY
39112012-07-28 Chong Yidong <cyd@gnu.org>
3912
1eee6341
CY
3913 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3914 directory if vc-deduce-backend returns nil (Bug#7350).
3915
345a2258
CY
3916 * simple.el (delete-trailing-lines): New option.
3917 (delete-trailing-whitespace): Obey it (Bug#11879).
3918
049a0936
DE
39192012-07-28 David Engster <deng@randomsample.de>
3920
3921 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3922 Explanation of new 'symbol-qnames feature in doc-strings.
3923 (xml-maybe-do-ns): Return expanded names as plain symbols if
3924 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3925 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3926
aa81af71
FEG
39272012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3928
3929 Consistent completion in inferior python with emacs -nw.
3930 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3931 binding in inferior-python-mode-map with "\t".
3932 (python-shell-completion-complete-at-point)
3933 (python-completion-complete-at-point): Remove interactive spec.
3934
e827b1eb
JB
39352012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3936
3937 * calc/calccomp.el (math-compose-expr): Undo previous change.
3938
a90dfb95
FEG
39392012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3940
4250fdf5 3941 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3942 run-python.
3943 (python-shell-make-comint): Fix pop-to-buffer call.
3944 (run-python): Autoload. New arg SHOW.
3945 (python-shell-get-or-create-process): Do not pop python process
3946 buffer.
3947
32770973 39482012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3949
3950 * notifications.el (notifications-on-action-signal)
3951 (notifications-on-closed-signal): Use also the bus address for the map.
3952 (notifications-notify, notifications-close-notification)
fc0c31f8 3953 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3954
86332df2
TH
39552012-07-27 Tassilo Horn <tsdh@gnu.org>
3956
4250fdf5
SM
3957 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3958 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3959 ctable macro.
3960 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3961 labels written in keyvals syntax.
3962
ca1302a4
JB
39632012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3964
3965 * calc/calccomp.el (math-compose-expr): Use parentheses when
3966 there is a product in the denominator of a fraction.
3967
f8b91036
EZ
39682012-07-26 Eli Zaretskii <eliz@gnu.org>
3969
3970 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3971 ($(lisp)/calendar/diary-loaddefs.el)
3972 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3973 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3974 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3975 rewritten while the autoload files are built at the same time,
3976 which needs to load subdirs.el.
3977
c8e5a42c
MR
39782012-07-26 Martin Rudalics <rudalics@gmx.at>
3979
3980 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3981 (mouse-drag-line): Don't exit tracking when a switch-frame or
3982 switch-window event occurs (Bug#12006).
3983
670d85ea
SM
39842012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3985
3986 * mouse.el (popup-menu): Fix last change.
3987
7abaf5cc
SM
39882012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 Autoload from Lisp with more care. Follow aliases when looking for
3991 function properties.
3992 * subr.el (autoloadp): New function.
3993 (symbol-file): Use it.
3994 (function-get): New function.
3995 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3996 autoload-do-load.
3997 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3998 (lisp-indent-function):
3999 * emacs-lisp/gv.el (gv-get):
4000 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4001 * emacs-lisp/byte-opt.el (byte-optimize-form):
4002 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4003 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4004 Use function-get.
4005 * emacs-lisp/cl.el: Don't propagate function properties any more.
4006
4007 * speedbar.el (speedbar-add-localized-speedbar-support):
4008 * emacs-lisp/disass.el (disassemble-internal):
4009 * desktop.el (desktop-load-file):
4010 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4011 (describe-function-1):
4012 * emacs-lisp/find-func.el (find-function-noselect):
4013 * emacs-lisp/elp.el (elp-instrument-function):
4014 * emacs-lisp/advice.el (ad-has-proper-definition):
4015 * apropos.el (apropos-safe-documentation, apropos-macrop):
4016 * emacs-lisp/debug.el (debug-on-entry):
4017 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4018 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4019 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4020
b1364986
AA
40212012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4022
4023 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4024 function, not an obsolete variable (Bug#12046).
4025
67ada220
AS
40262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4027
4028 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4029
f08088e3
CS
40302012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4031
4032 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4033 window only if it is still live (Bug#12034).
4034
8137e7b3
MR
40352012-07-25 Martin Rudalics <rudalics@gmx.at>
4036
4037 * subr.el (redirect-frame-focus): Add advertised calling
4038 convention (Bug#12030).
4039
09ae5da1
PE
40402012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4041
4042 Prefer typical American spelling for "acknowledgment".
4043 * vc/add-log.el (change-log-acknowledgment): Rename from
4044 change-log-acknowledgement, with an alias for the old name.
4045
3cc5a3a8
JB
40462012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4047
4048 * calc-alg.el (math-simplify-divide): Don't cross multiply
4049 in an equation when the lhs is a variable.
4050
b7af7f62
JD
40512012-07-24 Julien Danjou <julien@danjou.info>
4052
4053 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4054 Remove, unused.
4055
ec1b09b1
EZ
40562012-07-23 Eli Zaretskii <eliz@gnu.org>
4057
4058 * startup.el (command-line): Don't display an empty user name in
4059 the error message about non-existent home directory, when
4060 init-file-user was set to an empty string. See
4061 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4062 for the details and context.
4063
b525fd8a
VB
40642012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4065
4066 * ses.el (ses-cell-formula-aset): New macro.
4067 (ses-cell-references-aset): New macro.
4068 (ses-cell-p): New function.
4069 (ses-rename-cell): Do no longer rely on complex operations like
4070 ses-cell-set-formula or ses-set-cell to change the cell and handle
4071 the undo at the same time, but rather use lower level new macros
4072 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4073 the undo directly. Refresh the mode line.
b525fd8a 4074
2c73e345
LL
40752012-07-21 Leo Liu <sdl.web@gmail.com>
4076
670d85ea
SM
4077 * progmodes/cc-cmds.el (c-defun-name):
4078 Use match-string-no-properties instead for consistency.
2c73e345 4079
542dfbde
LL
40802012-07-20 Leo Liu <sdl.web@gmail.com>
4081
3646bcd6
LL
4082 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4083 (Bug#7879)
4084
542dfbde
LL
4085 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4086
25721031
CY
40872012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4090 * progmodes/bug-reference.el, misearch.el: Provide themselves
4091 (bug#11915).
4092
4093 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4094 of narrowed buffer (bug#11966).
4095
316e68a7
VB
40962012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4097
4098 * ses.el (ses-rename-cell): Set new name also in reference list of
4099 cells of which the renamed cell depends.
4100
bbf0e7d9
MY
41012012-07-20 Masatake YAMATO <yamato@redhat.com>
4102
4103 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4104 to check whether menu-bar is shown or not. If not shown,
4105 show the menu-bar as a popup menu instead of using tmm.
4106 * mouse.el (popup-menu): Accept `point' as `position' argument.
4107
c28662a8
DG
41082012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4109
4110 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4111 up inside string symbol literal (bug#11923).
4112
87ab808f
EZ
41132012-07-20 Eli Zaretskii <eliz@gnu.org>
4114
4115 * startup.el (fancy-startup-text): Read the whole tutorial, not
4116 just its first 256 bytes. Prevents gibberish in display of the
4117 tutorial title.
4118
89dea803
DA
41192012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4120
4121 Drop idle buffer compaction due to an absence of the
4122 proved efficiency.
4123 * compact.el: Remove.
4124
8a4e6db8
SS
41252012-07-19 Sam Steingold <sds@gnu.org>
4126
4127 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4128 vc-bzr-pull & vc-bzr-merge-branch.
4129 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4130 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4131 for consistency with compilation-error-regexp-alist.
4132 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4133 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4134 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4135 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4136
5db81e33
SM
41372012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * emacs-lisp/chart.el: Use lexical-binding.
4140 (chart-emacs-storage): Don't hardcode the list of entries.
4141
5b835e1d
DA
41422012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4143
4144 Next round of tweaks caused by Fgarbage_collect changes.
4145 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4146
9cd47b72
DA
41472012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4148
4149 Compact buffers when idle.
4150 * compact.el: New file.
4151
1d6fc0df
SM
41522012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * subr.el (eventp): Presume that if it looks vaguely like an event,
4155 it's an event (bug#10190).
4156
1d29cc7d
FEG
41572012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4158
4159 Enhancements to ppss related code (thanks Stefan).
4160 * progmodes/python.el (python-indent-context)
4161 (python-indent-calculate-indentation, python-indent-dedent-line)
4162 (python-indent-electric-colon, python-nav-forward-block)
4163 (python-mode-abbrev-table)
1d6fc0df 4164 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4165 for ppss context.
4166 (python-info-continuation-line-p): Cleanup.
4167 (python-info-ppss-context): Do not catch 'quote.
4168 (python-info-ppss-context-type)
4169 (python-info-ppss-comment-or-string-p): Simplify.
4170
d583cbe6
FEG
41712012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4172
4173 * progmodes/python.el: Enhancements to eldoc support.
4174 (python-info-current-symbol): New function.
4175 (python-eldoc-at-point): Use python-info-current-symbol.
4176 (python-info-current-defun): Fix cornercase on first defun scan.
4177 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4178 and signal error when no inferior python process is available.
4179
eceb6feb
DG
41802012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4181
4182 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4183 assume it's always t.
4184 (vc-git-registered): Remove caching, the function is only called
4185 once.
4186 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4187
4c8ff0fe
CY
41882012-07-18 Chong Yidong <cyd@gnu.org>
4189
19fb7186
CY
4190 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4191
9587c688
CY
4192 * simple.el (count-words): Report on narrowing (Bug#9959).
4193
0fe776a1
CY
4194 * bindings.el: Bind M-= to count-words.
4195
4c8ff0fe
CY
4196 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4197
7f5331cc
MY
41982012-07-18 Masatake YAMATO <yamato@redhat.com>
4199
4200 * progmodes/sh-script.el (sh-imenu-generic-expression):
4201 Capture a function with `function' keyword and without parentheses
4202 like "function FOO" (bug#11856).
4203
2dc2a609
TH
42042012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4205
4206 * window.el (split-window-sensibly): Make WINDOW argument
4207 optional.
4208
439f7677
CY
42092012-07-18 Chong Yidong <cyd@gnu.org>
4210
9aeb25a6
CY
4211 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4212
439f7677
CY
4213 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4214 and make C-x 8 RET exit isearch (Bug#11439).
4215
4216 * international/iso-transl.el: Move isearch-mode-map key
4217 definitions to isearch.el.
4218
12999ea8
SM
42192012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4222 (eieio-defclass): Use gv-define-setter when possible.
4223
3ab6e069
DA
42242012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4225
4226 Reflect recent changes in Fgarbage_collect.
4227 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4228 reflect new format of data returned by Fgarbage_collect.
4229
0a60bc10
FEG
42302012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4231
4232 New utility functions + python-info-ppss-context fix (Bug#11910).
4233 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4234 (python-info-ppss-comment-or-string-p): New functions.
4235 (python-info-ppss-context): Small fix for string check.
4236
6dafa0d5
JL
42372012-07-17 Juri Linkov <juri@jurta.org>
4238
4239 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4240 (dired-do-async-shell-command): Don't add `*' at the end of the
4241 command (Bug#11815).
4242 (dired-do-shell-command): Doc fix.
4243 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4244 Join the individual commands using either "&" or ";" as the
4245 separator depending on the values of these trailing characters.
4246 At the end re-add the trailing "&". (Bug#10598)
4247
4248 * simple.el (async-shell-command): Sync the interactive spec with
4249 `shell-command'. Doc fix.
4250 (shell-command): Doc fix.
4251
b19dd9d1
JL
42522012-07-17 Juri Linkov <juri@jurta.org>
4253
4254 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4255
bcdc27d7 42562012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4257
bcdc27d7 4258 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4259 * progmodes/python.el (python-nav-beginning-of-statement):
4260 Rename from python-nav-statement-start.
bcdc27d7
FEG
4261 (python-nav-end-of-statement): Rename from
4262 python-nav-statement-end.
4263 (python-nav-beginning-of-block): Rename from
4264 python-nav-block-start.
4265 (python-nav-end-of-block): Rename from python-nav-block-end.
4266
191da00e
FEG
42672012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4268
7f5331cc
MY
4269 * progmodes/python.el (python-shell-send-string-no-output):
4270 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4271 future interactions (Bug#11868).
4272
4dc7c8d5 42732012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4274
88ecaf8f
SM
4275 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4276
ef501ef0
SM
4277 * emacs-lisp/elint.el (elint-find-args-in-code):
4278 Use help-function-arglist, so as to handle lexical byte-code.
4279
aa7aaf8f
SM
4280 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4281 change (bug#11826).
4282
45fd731c
SM
42832012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4284
2143fa32
SM
4285 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4286 Avoid spuriously marking the buffer as modified because of c-is-sws.
4287
efc26dbe
SM
4288 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4289 as not-a-comment (bug#11946).
4290
f5695c9a
SM
4291 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4292 for uninterned vars.
4293
4294 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4295 Use read-event since we don't really want to read chars but bytes.
4296
45fd731c
SM
4297 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4298 $$..$$ but also $..$ using regexps (bug#11953).
4299 Use tex-verbatim for \url and \path.
4300 (tex-font-lock-keywords): Define as defconst like the others.
4301 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4302
ddfc8813
RK
43032012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4304
4305 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4306 alias for insert-char.
4307
758e556a
FEG
43082012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4309
4310 * progmodes/python.el: Simplified imenu implementation.
4311 (python-nav-jump-to-defun): Remove command.
4312 (python-mode-map): Use `imenu' instead.
4313 (python-nav-list-defun-positions-cache)
4314 (python-imenu-include-defun-type, python-imenu-make-tree)
4315 (python-imenu-subtree-root-label, python-imenu-index-alist):
4316 Remove vars.
4317 (python-nav-list-defun-positions, python-nav-read-defun)
4318 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4319 (python-imenu-make-tree, python-imenu-create-index):
4320 Remove functions.
758e556a
FEG
4321 (python-mode): Update to interact with imenu by setting
4322 `imenu-extract-index-name-function' only.
4323
032d23ab
FEG
43242012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4325
4326 * progmodes/python.el: Enhancements to navigation commands.
4327 (python-nav-backward-sentence)
4328 (python-nav-forward-sentence): Remove.
4329 (python-nav-backward-statement, python-nav-forward-statement)
4330 (python-nav-statement-start, python-nav-statement-end)
4331 (python-nav-backward-block, python-nav-forward-block)
4332 (python-nav-block-start, python-nav-block-end)
4333 (python-nav-forward-sexp-function)
4334 (python-info-current-line-comment-p)
4335 (python-info-current-line-empty-p): New functions.
4336 (python-indent-context): Use `python-nav-statement-start'.
4337
01795a1b
MA
43382012-07-16 Michael Albinus <michael.albinus@gmx.de>
4339
9328d9aa
MA
4340 * eshell/em-ls.el (eshell/ls): Use `apply'.
4341
4342 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4343 multi-hops, instead of Tramp internals.
4344
01795a1b
MA
4345 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4346
4347 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4348 when F1 and F2 are located on different hosts.
4349
63408057
CY
43502012-07-14 Chong Yidong <cyd@gnu.org>
4351
4352 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4353 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4354 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4355 (xterm-mouse--read-event-sequence-1000)
4356 (xterm-mouse--read-event-sequence-1006): New functions. For old
4357 mouse protocol, handle M-mouse-X events correctly.
4358 (xterm-mouse-event): New arg specifying mouse protocol.
4359 (turn-on-xterm-mouse-tracking-on-terminal)
4360 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4361 sequence to toggle extended coordinates on newer XTerms.
4362 This appears to be harmless on terminals which do not support this.
63408057 4363
cd276f6e
LL
43642012-07-14 Leo Liu <sdl.web@gmail.com>
4365
28ca98ac
LL
4366 Add fringe bitmap indicators for flymake. (Bug#11253)
4367 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4368 (flymake-make-overlay): New arg BITMAP.
4369 (flymake-error-bitmap, flymake-warning-bitmap)
4370 (flymake-fringe-indicator-position): New user variables.
4371
cd276f6e
LL
4372 * fringe.el: New bitmap exclamation-mark.
4373
04408072
JD
43742012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4375
4376 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4377 also (Bug#7879).
4378
b5cf7fc4
CY
43792012-07-14 Chong Yidong <cyd@gnu.org>
4380
4381 * electric.el (electric-pair-post-self-insert-function): Fix pair
4382 insertion in empty-region case (Bug#11520).
4383
be755c79
RT
43842012-07-14 Chong Yidong <cyd@gnu.org>
4385
45fd731c
SM
4386 * bindings.el: Consolidate ctl-x-r-map bindings.
4387 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4388
4389 * rect.el, register.el: Move bindings to bindings.el.
4390
43912012-07-14 Reuben Thomas <rrt@sc3d.org>
4392
4393 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4394
7f5b3198
AS
43952012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4396
4397 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4398
97662200
JB
43992012-07-13 Juanma Barranquero <lekktu@gmail.com>
4400
80185fed
JB
4401 * bindings.el (top): Use `mapc' instead of `mapcar'.
4402
97662200
JB
4403 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4404
2bb1ae55
MA
44052012-07-13 Michael Albinus <michael.albinus@gmx.de>
4406
4407 * progmodes/sql.el (sql-comint): Suppress the check for program on
4408 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4409 (Bug#11908)
4410
dea31bd3
CY
44112012-07-13 Chong Yidong <cyd@gnu.org>
4412
4413 * bindings.el: Assign a non-nil permanent-local property to
4414 per-buffer variables which lack a default value (Bug#11930).
4415
4416 * help-fns.el (describe-variable): In the "automatically becomes
4417 local" notice, take note of permanent-local variables.
4418
b68b3337
CY
44192012-07-13 Chong Yidong <cyd@gnu.org>
4420
4421 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4422 to allow printing the message when called from Lisp.
4423
4424 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4425 Remove toggle-read-only.
4426
4427 * bs.el (bs-toggle-readonly):
45fd731c
SM
4428 * buff-menu.el (Buffer-menu-toggle-read-only):
4429 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4430
4431 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4432 Remove with-no-warnings around toggle-read-only.
4433 (ffap-read-only, ffap-read-only-other-window)
4434 (ffap-read-only-other-frame): Callers changed.
4435
4436 * help-mode.el: Don't require view package.
4437 (help-mode-finish): Set buffer-read-only instead of calling
4438 toggle-read-only.
4439
4440 * bindings.el (mode-line-toggle-read-only):
4441 * dired.el (dired-toggle-read-only):
4442 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4443 with non-nil second arg.
4444
4445 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4446 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4447 directly.
4448
56bc1586
EZ
44492012-07-12 Eli Zaretskii <eliz@gnu.org>
4450
4451 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4452 not incf.
4453
a464a6c7
SM
44542012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 More CL cleanups and reduction of use of cl.el.
4457 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4458 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4459 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4460 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4461 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4462 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4463 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4464 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4465 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4466 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4467 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4468 * eshell/em-cmpl.el, eshell/em-banner.el:
4469 * calendar/parse-time.el: Use cl-lib.
4470 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4471 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4472 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4473 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4474 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4475 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4476 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4477 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4478 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4479 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4480 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4481 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4482 `lambda' rather than with `quote'.
4483 (eshell-do-opt): Adjust accordingly.
4484 (eshell-process-option): Simplify.
4485 * eshell/esh-var.el:
4486 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4487 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4488 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4489 to `pcase--dontcare'.
4490 * emacs-lisp/cl.el (labels): Mark obsolete.
4491 (cl--letf, letf): Move to cl-lib.
4492 (cl--letf*, letf*): Remove.
4493 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4494 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4495 (cl-progv): Rewrite.
4496 (cl--letf, cl-letf): Move from cl.el.
4497 (cl-letf*): New macro.
4498 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4499
7ad4afe1
MA
45002012-07-11 Michael Albinus <michael.albinus@gmx.de>
4501
4502 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4503
9af57756
CY
45042012-07-11 Chong Yidong <cyd@gnu.org>
4505
4506 * vc/log-edit.el (log-edit-vc-backend): New variable.
4507 (log-edit): Doc fix.
4508
4509 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4510 argument of log-edit to set up all local variables.
4511 (vc-start-logentry): New optional arg specifying VC backend.
4512
4513 * vc/vc.el (vc-checkin): Use it.
4514 (vc-deduce-fileset): Handle Log Edit buffers.
4515 (vc-diff): Make first argument optional too.
4516
4517 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4518
8477cc7a
MA
45192012-07-10 Michael Albinus <michael.albinus@gmx.de>
4520
4521 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4522 command, just in case. The function is not needed anymore.
4523 (eshell-external-command): Do not call `eshell-remote-command'.
4524
19faa8e8
SM
45252012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4526
f58e0fd5
SM
4527 Reduce use of (require 'cl).
4528 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4529 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4530 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4531 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4532 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4533 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4534 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4535 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4536 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4537 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4538 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4539 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4540 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4541 (byte-compile-unfold-bcf, byte-compile-check-variable):
4542 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4543 (byte-compile-nilconstp):
4544 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4545 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4546
2519d43a
SM
4547 * emacs-lisp/gv.el (cond): Make it a valid place.
4548 (if): Simplify slightly.
4549
19faa8e8
SM
4550 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4551 (pcase--self-quoting-p): New function.
4552 (pcase--u1): Use it.
4553
c4907a5e
GM
45542012-07-10 Glenn Morris <rgm@gnu.org>
4555
4556 * emacs-lisp/authors.el (authors-fixed-entries):
4557 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4558
c4444d16
PE
45592012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4560
4561 Rename configure.in to configure.ac (Bug#11603).
4562 * emacs-lisp/authors.el (authors-canonical-file-name):
4563 * progmodes/autoconf.el (autoconf-mode):
4564 Prefer configure.ac to configure.in.
4565
d75be97d
CY
45662012-07-08 Chong Yidong <cyd@gnu.org>
4567
01ac65bd
CY
4568 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4569 Implement the mouse-1-click-follows-link handling properly.
4570
4571 * info.el (Info-link-keymap): Use follow-link mechanism for
4572 header-line links (Bug#374).
4573
d75be97d
CY
4574 * simple.el (deactivate-mark): Do not set the primary selection
4575 if another program has acquired it (Bug#11772).
4576
87a92845 45772012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4578
4579 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4580 (woman-decode-region): Replace escaped-escapes without destroying
4581 bold or underline (Bug#11552).
87a92845 4582 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4583
621b9d6c
CY
45842012-07-07 Chong Yidong <cyd@gnu.org>
4585
4586 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4587 (interprogram-cut-function, interprogram-paste-function):
4588 Mention that we typically mean the clipboard.
621b9d6c 4589
133a11fc
GM
45902012-07-06 Glenn Morris <rgm@gnu.org>
4591
0d27a45e
GM
4592 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4593
133a11fc
GM
4594 * files.el (toggle-read-only): Restrict message to interactive use.
4595
07b151f1
MA
45962012-07-06 Michael Albinus <michael.albinus@gmx.de>
4597
4598 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4599
4600 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4601
211b896b
GM
46022012-07-06 Glenn Morris <rgm@gnu.org>
4603
50394322
GM
4604 * Makefile.in (compile-one-process): Rename from "recompile".
4605
211b896b
GM
4606 * Makefile.in (bzr-update): "compile" is the same as "recompile
4607 autoloads", but parallelizable, so use that instead.
4608
4737eec9
DG
46092012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4610
4611 * window.el (quit-window): Always restore window height when
8137e7b3 4612 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4613
226c3633 46142012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4615
4616 * simple.el (kill-whole-line): Doc tweak.
4617
226c3633 46182012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4619
4620 * files.el (file-relative-name): Compare file names
4621 case-insensitively if on MS-Windows or MS-DOS, or if
4622 read-file-name-completion-ignore-case is non-nil. Don't use
4623 case-fold-search for this purpose. (Bug#11827)
4624
4dc7c8d5
SM
46252012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4626
4627 * calendar/cal-dst.el (calendar-current-time-zone):
4628 Return calendar-current-time-zone-cache if non-nil.
4629
46302012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 46312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4632
19faa8e8
SM
4633 * calendar/cal-dst.el (calendar-current-time-zone):
4634 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4635
60198fc9
GM
46362012-07-06 Glenn Morris <rgm@gnu.org>
4637
4638 * Makefile.in (cvs-update): Remove old alias.
4639
957b3189
MA
46402012-07-05 Michael Albinus <michael.albinus@gmx.de>
4641
4642 Sync with Tramp 2.2.6-pre.
4643
4644 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4645 compatible declaration.
4646
19faa8e8
SM
4647 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4648 Protect `list-load-path-shadows' call.
957b3189
MA
4649
4650 * net/tramp-compat.el (top): Require packages, which aren't
4651 autoloaded anymore for XEmacs. Protect call of
4652 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4653 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4654 it hurts at least for SXEmacs.
4655 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4656 standard-value for `temporary-file-directory'.
4657
4658 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4659 Redirect stderr to /dev/null.
4660 (tramp-sh-handle-write-region): uid and gid can be floats.
4661 Reported by Russell Sim <russell.sim@gmail.com>.
4662 (tramp-sh-handle-vc-registered): Hide errors.
4663 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4664 and `start-file-process'.
4665 (tramp-maybe-open-connection): Check also whether `non-essential'
4666 is bound.
4667
566df3fc
CY
46682012-07-04 Chong Yidong <cyd@gnu.org>
4669
4670 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4671 (xml-parse-tag): Likewise, and avoid changing entity tables.
4672 (xml-syntax-table): Define from scratch, making sure not to give
4673 x2000 and other Unicode spaces whitespace syntax, since those are
4674 not spaces in XML.
4675 (xml-parse-fragment): Delete unused function.
4676 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4677 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4678 (xml-entity-ref, xml-pe-reference-re)
4679 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4680 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4681 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4682 (xml-entity-value-re): Use syntax references in regexps where
4683 possible; no need to define inside a let-binding.
4684 (xml-parse-dtd): Use xml-pe-reference-re.
4685 (xml-entity-or-char-ref-re): New defconst.
4686 (xml-parse-string, xml-substitute-special): Use it.
4687
30eabd7a
SM
46882012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4689
0781098a
SM
4690 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4691 (find-file--read-only): New function.
4692 (find-file-read-only, find-file-read-only-other-window)
4693 (find-file-read-only-other-frame): Use it.
4694 (insert-file-contents-literally): Don't `fset'.
4695 (get-free-disk-space): Use locate-dominating-file.
4696
b5771c0d
SM
4697 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4698 function is already compiled.
4699
30eabd7a
SM
4700 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4701
b4886f6e
MA
47022012-07-03 Michael Albinus <michael.albinus@gmx.de>
4703
4704 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4705 files on the same host.
4706
b9d82339
AS
47072012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4708
4709 * help-fns.el (describe-function-1): Only call
4710 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4711
a76e6535
CY
47122012-07-03 Chong Yidong <cyd@gnu.org>
4713
4714 * xml.el: Protect parser against XML bombs.
4715 (xml-entity-expansion-limit): New variable.
4716 (xml-parse-string, xml-substitute-special): Use it.
4717 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4718
b544fef2
GM
47192012-07-03 Glenn Morris <rgm@gnu.org>
4720
4721 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4722 Allow linking to specific messages in debbugs reports (eg 123#5).
4723
a7aef6f5
CY
47242012-07-02 Chong Yidong <cyd@gnu.org>
4725
4726 * xml.el: Fix entity and character reference expansion, allowing
4727 them to expand into markup as per XML spec.
4728 (xml-default-ns): New variable.
4729 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4730 (xml-parse-region): Make first two arguments optional.
4731 Discard text properties.
4732 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4733 All callers changed.
a7aef6f5
CY
4734 (xml-parse-tag): Call xml-parse-tag-1. For backward
4735 compatibility, this function should not modify buffer contents.
4736 (xml-parse-tag-1): Fix opening-tag regexp.
4737 (xml-parse-string): Rewrite, handling entity and character
4738 references properly.
4739 (xml--entity-replacement-text): Signal an error if a parameter
4740 entity is undefined.
4741
3df31c9f
SM
47422012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4743
2b5208f1
SM
4744 * comint.el (comint-output-filter): Filter out repeated prompts.
4745
3df31c9f
SM
4746 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4747 and file-name-absolute-p.
4748 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4749 internal calls.
4750
e3ac1281
PE
47512012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4752
4753 Spelling fixes.
4754 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4755 Rename from byte-compile--refiy-function. All uses changed.
4756
fbf2e7ad
CY
47572012-07-01 Chong Yidong <cyd@gnu.org>
4758
4759 * xml.el (xml--parse-buffer): New function. Move most of
4760 xml-parse-region here.
4761 (xml-parse-region): Copy region into a temporary buffer, since
4762 parameter entity substitution requires changing buffer contents.
4763 Use xml--parse-buffer.
4764 (xml-parse-file): Use xml--parse-buffer.
4765 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4766 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4767
9bf0aa15
GM
47682012-06-30 Glenn Morris <rgm@gnu.org>
4769
bbce2853
GM
4770 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4771
9bf0aa15
GM
4772 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4773 Remove outdated and unnecessary dbus declarations.
4774
0d23c240
EZ
47752012-06-30 Eli Zaretskii <eliz@gnu.org>
4776
4777 * emacs-lisp/timer.el (timer-until): Subtract results of
4778 float-time, instead of taking float-time of the result of
4779 time-subtract, since float-time signals an error for negative time
4780 arguments.
4781
b3218de1
CY
47822012-06-30 Chong Yidong <cyd@gnu.org>
4783
4784 * xml.el (xml-*-re): Convert defvars into defconsts, and
4785 eval-and-compile them so eval-and-compile works on derivatives.
4786 (xml--entity-replacement-text): Use eval-and-comple.
4787
a40c87a0
MA
47882012-06-30 Michael Albinus <michael.albinus@gmx.de>
4789
4790 * vc/vc-git.el (vc-git-registered): Use cache property
4791 `git-registered'.
4792 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4793 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4794 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4795
ac87de97
DG
47962012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4797
4798 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4799 removed (likely outside Emacs). (Bug#11757)
ac87de97 4800
ac10fe06
SM
48012012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4802
3df31c9f 4803 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4804
7f3fbd5d
CY
48052012-06-30 Chong Yidong <cyd@gnu.org>
4806
4807 * xml.el: Implement XML parameter entities.
4808 (xml-parameter-entity-alist): New variable.
4809 (xml-parse-region, xml-parse-fragment): Preserve previous values
4810 of xml-entity-alist and xml-parameter-entity-alist, so that
4811 repeated calls on different documents do not change them.
4812 (xml-parse-tag): Fix doctype regexp.
4813 (xml--entity-replacement-text): New function.
4814 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4815 properly requires url retrieval which is unimplemented.
4816 (xml-escape-string): Doc fix.
4817
3cfbebba
SM
48182012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4821
2af3565e
DA
48222012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4823
4824 * fringe.el (fringe-mode): Doc fix.
4825
929df0e7
MA
48262012-06-29 Michael Albinus <michael.albinus@gmx.de>
4827
4828 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4829 is non-nil.
4830 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4831 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4832
c8d3a25c 48332012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4834
c8d3a25c
GM
4835 * calendar/cal-dst.el (calendar-current-time-zone):
4836 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4837
c8d3a25c 48382012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4839
4840 * progmodes/which-func.el (which-func-format):
4841 Add mouse-face. (Bug#11698)
4842
c8d3a25c
GM
48432012-06-29 Leo Liu <sdl.web@gmail.com>
4844
4845 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4846
48472012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * minibuffer.el (minibuffer-confirm-exit-commands):
4850 Add completion-at-point (bug#11725).
4851
48522012-06-29 Glenn Morris <rgm@gnu.org>
4853
4854 * progmodes/f90.el (f90-font-lock-keywords-2):
4855 Add some preprocessor elements. (Bug#10499)
4856
48572012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4860 Use syntax-propertize (bug#11739).
4861
2badeec4
JB
48622012-06-28 Juanma Barranquero <lekktu@gmail.com>
4863
4864 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4865
ae4969c2
JD
48662012-06-28 Julien Danjou <julien@danjou.info>
4867
4868 * term.el (term-handle-colors-array): Use a set of new faces to
4869 color the terminal. Also uses :inverse-video property.
4870 (term-default-fg-color): Set to nil by default, deprecate in favor
4871 of `term-face'.
4872 (term-default-bg-color): Set to nil by default, deprecate in favor
4873 of `term-face'.
4874 (term-current-face): Use `term-face' by default.
4875 (term-bold-attribute): Variable deleted.
4876
1c9bd870
GM
48772012-06-28 Glenn Morris <rgm@gnu.org>
4878
4879 * simple.el (completion-list-mode-finish):
4880 Don't use toggle-read-only. (Since completion-list-mode has
4881 a special mode-class, it wasn't doing anything extra anyway.)
4882
c207708c
SM
48832012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 Make inlining of other-mode interpreted functions work (bug#11799).
4886 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4887 (byte-compile): Use it to fix compilation of lexical-binding closures.
4888 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4889 function, if needed.
4890
3fd56834
SM
48912012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4892
04901786
SM
4893 * help-mode.el (help-make-xrefs): Don't just withstand
4894 cyclic-variable-indirection but any error in documentation-property.
4895
1ec4b7b2
SM
4896 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4897 memory use.
4898 * bindings.el (bindings--define-key): New function.
4899 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4900 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4901 * bindings.el: Use it to purecopy define-key bindings.
4902
e309e2a5
SM
4903 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4904
d5c6faf9
SM
4905 * emacs-lisp/cl.el (flet): Mark obsolete.
4906 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4907 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4908 * progmodes/js.el (js-c-fill-paragraph):
4909 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4910 (ebrowse-switch-member-buffer-to-derived-class):
4911 * play/5x5.el (5x5-solver): Use cl-flet.
4912
6e9590e2
SM
4913 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4914 (cl--symbol-function): New macro.
4915 (cl--letf, cl--letf*): Use it.
4916
3fd56834
SM
4917 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4918 Strip "toggle-" if any.
4919
35ff222c
GM
49202012-06-27 Glenn Morris <rgm@gnu.org>
4921
1ba6038a
GM
4922 * info.el (Info-default-directory-list): Move here from paths.el.
4923 * paths.el: Remove file, which is now empty.
4924 * loadup.el: No longer load "paths".
4925
0ea0e51b
GM
4926 * custom.el (custom-initialize-delay): Doc fix.
4927
35ff222c
GM
4928 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4929 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4930 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4931 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4932 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4933 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4934 * eshell/eshell.el (eshell-defgroup): Remove alias.
4935
c89926a5
CY
49362012-06-27 Chong Yidong <cyd@gnu.org>
4937
4938 * help.el (help-enable-auto-load): New variable.
4939
4940 * help-fns.el (help-fns--autoloaded-p): New function.
4941 (describe-function-1): Refer to a function as "autoloaded" if it
4942 was autoloaded at any time in the past. Perform autoloading if
4943 help-enable-auto-load is non-nil.
4944
cc06e7e7
EZ
49452012-06-26 Eli Zaretskii <eliz@gnu.org>
4946
4947 * makefile.w32-in (compile, compile-always): Depend on
4948 update-subdirs, not on subdirs.el. Otherwise, several different
4949 sub-targets of 'bootstrap' running in parallel could
4950 simultaneously write to subdirs.el, producing a garbled file.
4951
d2c32364
SS
49522012-06-26 Sam Steingold <sds@gnu.org>
4953
4954 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4955 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4956 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4957 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4958 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4959 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4960 * textmodes/tex-mode.el: Use it.
4961 Did not touch cedet and org because they are maintained elsewhere.
4962
5cf983b2
MR
49632012-06-26 Martin Rudalics <rudalics@gmx.at>
4964
4965 * calendar/calendar.el (calendar-exit): Don't try to delete or
4966 iconify last frame. See:
4967 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4968
8c4f2952
JD
49692012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4970
4971 * server.el (server-process-filter): Remember dir in the
4972 process's `server-client-directory' properties.
4973
772b2e2c
CY
49742012-06-24 Chong Yidong <cyd@gnu.org>
4975
4976 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4977 non-tag text.
4978
711b11e1
JB
49792012-06-23 Juanma Barranquero <lekktu@gmail.com>
4980
4981 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4982
dc5d230c
SM
49832012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * help-fns.el (describe-variable): Don't croak when doc is not found.
4986 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4987 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4988 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4989 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4990 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4991 ((lambda ..) ..).
4992 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4993
136e1c1d
CY
49942012-06-23 Chong Yidong <cyd@gnu.org>
4995
e8c1cabf
CY
4996 * info.el (Info-mouse-follow-link): Accept symbol values of
4997 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4998 (Info-fontify-node): Use Info-link-keymap for all navigation
4999 buttons, with link-args property to perform the desired action.
5000 (Info-link-keymap): Doc fix.
5001 (Info-next-link-keymap, Info-prev-link-keymap)
5002 (Info-up-link-keymap): Delete now-unused keymaps.
5003
0e9e6c6a
CY
50042012-06-23 Chong Yidong <cyd@gnu.org>
5005
05e89fea
CY
5006 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5007
0e9e6c6a
CY
5008 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5009 system abbrevs.
5010
5011 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5012
e33c6771
SM
50132012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5014
b68581e2
SM
5015 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5016 (bug#11719).
5017
e33c6771
SM
5018 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5019 the requote function doesn't work properly (bug#11714).
5020
7117e105
GM
50212012-06-23 Glenn Morris <rgm@gnu.org>
5022
5023 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5024
36cec983
SM
50252012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 Further GV/CL cleanups.
5028 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5029 gv-expander.
5030 (gv--defun-declaration): New function.
5031 (defun-declarations-alist): Use it.
5032 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5033 (gv-place): Autoload.
5034 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5035 original definition of dotimes and dolist.
5036 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5037 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5038 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5039 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5040 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5041 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5042 to the function's definition.
5043 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5044 * window.el:
5045 * files.el:
5046 * faces.el:
5047 * env.el: Don't use CL.
5048
d35af63c
PE
50492012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5050
5051 Support higher-resolution time stamps (Bug#9000).
5052
5053 * calendar/time-date.el (with-decoded-time-value): New arg
5054 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5055 (encode-time-value): New optional arg PICO. New type 3.
5056 (time-to-seconds) [!float-time]: Support the new picoseconds
5057 component if it's used.
5058 (seconds-to-time, time-subtract, time-add):
5059 Support ps-resolution time stamps as well.
5060
5061 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5062 (timerp): Timer vectors now have length 9, not 8.
5063 (timer--time): Support new-style (4-part) time stamps.
5064 (timer-next-integral-multiple-of-time): Time stamps now have
5065 picosecond resolution, so take a bit more care about rounding.
5066 (timer-relative-time, timer-inc-time): New optional arg psecs.
5067 (timer-set-time-with-usecs): Set psecs to 0.
5068 (timer--activate): Check psecs component, too.
5069
5070 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5071
ac77b21a
SM
50722012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5073
f143bfe3
SM
5074 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5075 Move the non-essential binding to the post/pre-command-hook where it is
5076 more obviously correct.
5077
ac77b21a
SM
5078 * subr.el (read-passwd): Don't use a history at all.
5079 * savehist.el (savehist-save): Remove password saved accidentally
5080 because of the above bug.
5081
76386c5a
BG
50822012-06-22 Bastien Guerry <bzg@gnu.org>
5083
5084 * files.el (toggle-read-only): Display a message telling whether
5085 the buffer is read-only or not (bug#11726).
5086
2ee3d7f0
SM
50872012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5088
5089 * emacs-lisp/gv.el: New file.
5090 * subr.el (push, pop): Extend to generalized variables.
5091 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5092 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5093 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5094 gv-define-simple-setter, and gv-define-expander.
5095 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5096 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5097 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5098 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5099 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5100 gv-letplace.
5101 (cl-defstruct): Don't define setf-method any more.
5102 * emacs-lisp/cl.el (flet): Don't autoload.
5103 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5104 (define-setf-expander, defsetf, define-modify-macro)
5105 (cl-struct-setf-expander): Move from cl-lib.el.
5106 * emacs-lisp/syntax.el:
5107 * emacs-lisp/ewoc.el:
5108 * emacs-lisp/smie.el:
5109 * emacs-lisp/cconv.el:
5110 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5111 (timer--time): Use gv-define-simple-setter.
5112 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5113 to avoid coding-system problems in subr.el. Adjust all users.
5114 (macroexp--maxsize, macroexp-small-p): New functions.
5115 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5116 * scroll-bar.el (scroll-bar-mode):
5117 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5118 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5119 * winner.el (winner-configuration, winner-make-point-alist)
5120 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5121 * files.el (locate-file-completion-table): Avoid list*.
5122
c5695d1d
CY
51232012-06-22 Chong Yidong <cyd@gnu.org>
5124
5125 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5126 (dired-create-files): Doc fix (Bug#11329).
5127 (dired-do-copy): Doc fix (Bug#11334).
5128 (dired-mark-read-string): Doc fix (Bug#11553).
5129
2ee3d7f0
SM
5130 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5131 Doc fix (Bug#11326).
c5695d1d
CY
5132 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5133 (dired-dwim-target): Doc fix.
5134
5135 * wdired.el (wdired-mode): Doc fix.
5136
89b5595a
GM
51372012-06-22 Glenn Morris <rgm@gnu.org>
5138
575db3f1
GM
5139 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5140 (pcmpl-rpm-cache-stamp-file): New constant.
5141 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5142 (pcmpl-rpm-packages): Optionally cache list of packages.
5143
a4c8dd51
GM
5144 * pcmpl-rpm.el (pcmpl-rpm): New group.
5145 (pcmpl-rpm-query-options): New option.
5146 (pcmpl-rpm-packages): No need to inline it.
5147 Use pcmpl-rpm-query-options.
5148
89b5595a
GM
5149 * calendar/calendar.el (calendar-in-read-only-buffer):
5150 Avoid some needless mode changes.
5151
e76f0800
CY
51522012-06-21 Chong Yidong <cyd@gnu.org>
5153
5154 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5155 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5156 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5157
297a8f1d
CY
51582012-06-20 Chong Yidong <cyd@gnu.org>
5159
5160 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5161
d34c18b1
DR
51622012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5163
5164 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5165 (bug#11201).
5166
32f7f28e
CY
51672012-06-20 Chong Yidong <cyd@gnu.org>
5168
5169 * term.el (term-window-width): Handle the case of a missing right
5170 fringe (Bug#8837).
5171 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5172 (term-mode): Use define-derived-mode. Minor cleanups.
5173 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5174 (term-move-columns, term-insert-char, term-emulate-terminal)
5175 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5176
493c6688
MA
51772012-06-20 Michael Albinus <michael.albinus@gmx.de>
5178
d34c18b1
DR
5179 * net/ange-ftp.el (ange-ftp-get-passwd):
5180 Bind `enable-recursive-minibuffers'.
493c6688
MA
5181 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5182
3f06ecf4
DR
51832012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5184
5185 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5186
68f12411
GM
51872012-06-19 Glenn Morris <rgm@gnu.org>
5188
5189 * progmodes/python.el (python-mode): Derive from prog-mode.
5190
b3820318
KG
51912012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5192
5193 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5194 (edt-user-menu-bar-update-buffers): New functions.
5195 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5196
c6bf3022
CY
51972012-06-19 Chong Yidong <cyd@gnu.org>
5198
5199 * subr.el (with-selected-window): Preserve the selected window's
5200 terminal's top-frame (Bug#4702).
5201
5202 * window.el (save-selected-window): Likewise.
5203
25f09295
SM
52042012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * progmodes/python.el (python-rx-constituents): Move backquote.
5207 (python-skeleton-define, python-define-auxiliary-skeleton):
5208 Use `declare'.
5209
6b11952a
MA
52102012-06-18 Michael Albinus <michael.albinus@gmx.de>
5211
5212 * minibuffer.el (read-file-name-default): Revert the patch from
5213 2012-06-17.
5214
ee4b1330
SM
52152012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5218 (pcase--u1, pcase--q1): Don't use apply-partially.
5219
35647f79
GM
52202012-06-18 Glenn Morris <rgm@gnu.org>
5221
5222 * progmodes/python.el (python-proc, python-buffer)
5223 (python-send-receive, python-send-string): Fix obsolete versions.
5224
24b0cff0
MR
52252012-06-18 Martin Rudalics <rudalics@gmx.at>
5226
5227 * window.el (special-display-p): Completely remove stringp
5228 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5229
29855149
MA
52302012-06-17 Michael Albinus <michael.albinus@gmx.de>
5231
5232 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5233
5234 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5235
5236 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5237 * net/tramp-sh.el (tramp-maybe-open-connection):
5238 Throw if `non-essential' is non-nil.
5239
07463363
MR
52402012-06-17 Martin Rudalics <rudalics@gmx.at>
5241
5242 * window.el (special-display-p): Signal an error if BUFFER-NAME
5243 is not a string (Bug#11713).
5244
48d1354e
PE
52452012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5246
5247 * progmodes/python.el (python-info-beginning-of-backslash):
5248 Rename from python-info-beginning-of-backlash, as a spelling fix.
5249
eb4a8a9a
CY
52502012-06-17 Chong Yidong <cyd@gnu.org>
5251
5252 * term.el (term-emulate-terminal): If term-check-size is called,
5253 move point to the process mark without resetting point (Bug#4635).
5254
ddfbf826 52552012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5256
5257 * international/mule-cmds.el (mule-menu-keymap)
5258 (set-language-environment, set-locale-environment): Doc tweaks.
5259
9b0e3eba
AA
52602012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5261
5262 * cus-face.el (custom-face-attributes): Add wave-style underline
5263 attribute.
5264 * faces.el (set-face-attribute): Update docstring to describe
5265 wave-style underline attribute.
5266
771e3eae
CY
52672012-06-16 Chong Yidong <cyd@gnu.org>
5268
5269 * term/xterm.el (terminal-init-xterm): Discard input before
5270 querying background mode (Bug#10959).
5271
7ae2ea10
SM
52722012-06-16 Stefan Merten <smerten@oekonux.de>
5273
5274 * textmodes/rst.el: Added and corrected some comments.
5275 (rst-re-alist-def): Improve symbol syntax.
5276 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5277 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5278 (rst-official-version, rst-official-cvs-rev): Update version
5279 information.
7ae2ea10 5280
b6974efa
JB
52812012-06-15 Juanma Barranquero <lekktu@gmail.com>
5282
5283 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5284 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5285
8826d473
GM
52862012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5287
5288 * progmodes/python.el: New python.el merge.
5289 (python-guess-indent): Obsolete var.
5290 (python-indent-guess-indent-offset): New defcustom.
5291 (python-indent): Obsolete var.
5292 (python-indent-offset): New defcustom.
5293 (python-python-command, python-jython-command): Delete var.
5294 (python-shell-interpreter): New defcustom.
5295 (python-pdbtrack-do-tracking-p): Delete var.
5296 (python-pdbtrack-activate): New defcustom.
5297 (python-use-skeletons): Obsolete var.
5298 (python-skeleton-autoinsert): New defcustom.
5299 (inferior-python-filter-regexp, python-continuation-offset)
5300 (python-honour-comment-indentation, python-indent-string-contents)
5301 (python-jython-packages, python-mode-hook)
5302 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5303 (python-shell-prompt-alist)
5304 (python-source-modes): Delete defcustoms.
5305 (python-check-buffer-name, python-eldoc-setup-code)
5306 (python-eldoc-string-code, python-ffap-setup-code)
5307 (python-ffap-string-code, python-fill-comment-function)
5308 (python-fill-decorator-function, python-fill-paren-function)
5309 (python-fill-string-function, python-imenu-include-defun-type)
5310 (python-imenu-make-tree, python-imenu-subtree-root-label)
5311 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5312 (python-shell-compilation-regexp-alist)
5313 (python-shell-completion-module-string-code)
5314 (python-shell-completion-pdb-string-code)
5315 (python-shell-completion-setup-code)
5316 (python-shell-completion-string-code)
5317 (python-shell-enable-font-lock, python-shell-exec-path)
5318 (python-shell-extra-pythonpaths)
5319 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5320 (python-shell-process-environment)
5321 (python-shell-prompt-block-regexp)
5322 (python-shell-prompt-output-regexp)
5323 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5324 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5325 (python-shell-virtualenv-path): New defcustoms.
5326 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5327 (inferior-python-mode-syntax-table, python--prompt-regexp)
5328 (python-buffer, python-command python-python-command)
5329 (python-default-template, python-imports, python-indent-index)
5330 (python-indent-list, python-indent-list-length)
5331 (python-mode-running, python-pdbtrack-is-tracking-p)
5332 (python-preoutput-continuation, python-preoutput-leftover)
5333 (python-preoutput-result, python-preoutput-skip-next-prompt)
5334 (python-prev-dir/file, python-recursing)
5335 (python-saved-check-command, python-version-checked)
5336 (python-which-func-length-limit)
5337 (view-return-to-alist): Delete vars.
5338 (python-check-custom-command, python-dotty-syntax-table)
5339 (python-imenu-index-alist, python-indent-current-level)
5340 (python-indent-dedenters, python-indent-levels)
5341 (python-nav-beginning-of-defun-regexp)
5342 (python-nav-list-defun-positions-cache)
5343 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5344 (python-shell-internal-buffer)
5345 (python-skeleton-available): New vars.
5346 (def-python-skeleton): Delete macro.
5347 (python-skeleton-define): New macro.
5348 (python-define-auxiliary-skeleton, python-rx): New macros.
5349 (python-insert-class): Delete command.
5350 (python-skeleton-class): New command.
5351 (python-insert-def): Delete command.
5352 (python-skeleton-def): New command.
5353 (python-insert-for): Delete command.
5354 (python-skeleton-for): New command.
5355 (python-insert-if): Delete command.
5356 (python-skeleton-if): New command.
5357 (python-insert-try/except, python-insert-try/finally): Delete commands.
5358 (python-skeleton-try): New command.
5359 (python-insert-while): Delete command.
5360 (python-skeleton-while): New command.
5361 (python-backspace): Delete command.
5362 (python-indent-dedent-line-backspace): New command.
5363 (python-electric-colon): Delete command.
5364 (python-indent-electric-colon): New command.
5365 (python-guess-indent): Delete command.
5366 (python-indent-guess-indent-offset): New command.
5367 (python-shift-left): Delete command.
5368 (python-indent-shift-left): New command.
5369 (python-shift-right): Delete command.
5370 (python-indent-shift-right): New command.
5371 (python-find-function): Delete command.
5372 (python-nav-jump-to-defun): New command.
5373 (python-next-statement): Delete command.
5374 (python-nav-forward-sentence): New command.
5375 (python-previous-statement): Delete command.
5376 (python-nav-backward-sentence): New command.
5377 (python-fill-paragraph): Delete command.
5378 (python-fill-paragraph-function): New command.
5379 (python-send-buffer): Delete command.
5380 (python-shell-send-buffer): New command.
5381 (python-send-defun): Delete command.
5382 (python-shell-send-defun): New command.
5383 (python-send-region, python-send-region-and-go): Delete commands.
5384 (python-shell-send-region)
5385 (python-shell-switch-to-shell): New commands.
5386 (python-send-string): Delete command.
5387 (python-shell-send-string): New command.
5388 (python-switch-to-python): Delete command.
5389 (python-shell-switch-to-shell): New command.
5390 (python-describe-symbol): Delete command.
5391 (python-eldoc-at-point): New command.
5392 (python--set-prompt-regexp, python-args-to-list)
5393 (python-after-info-look, python-check-version)
5394 (python-check-comint-prompt, python-find-imports)
5395 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5396 (python-unload-function, python-expand-template)
5397 (python-maybe-jython, python-preoutput-filter)
5398 (python-pdbtrack-get-source-buffer)
5399 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5400 (python-pdbtrack-toggle-stack-tracking)
5401 (python-pdbtrack-track-stack-file, python-initial-text)
5402 (python-first-word, python-comment-line-p, python-send-command)
5403 (python-setup-brm, python-sentinel, python-set-proc)
5404 (python-skip-out, python-input-filter, python-outdent-p)
5405 (python-outline-level, python-backslash-continuation-line-p)
5406 (python-end-of-block, python-end-of-statement, python-mark-block)
5407 (python-beginning-of-block, python-beginning-of-statement)
5408 (python-blank-line-p, python-beginning-of-string)
5409 (python-open-block-statement-p): Delete functions.
5410 (python-indent-line, python-indent-line-1): Delete functions.
5411 (python-indent-line): New function.
5412 (python-indentation-levels): Delete function.
5413 (python-indent-calculate-levels): New function.
5414 (python-proc): Delete function.
5415 (python-shell-get-process): New function.
5416 (python-send-receive): Delete function.
5417 (python-shell-send-string-no-output): New function.
5418 (python-module-path): Delete function.
5419 (python-ffap-module-path): New function.
5420 (python-completion-at-point)
5421 (python-symbol-completions): Delete functions.
5422 (python-completion-complete-at-point): New function.
5423 (python-load-file): Delete function.
5424 (python-shell-send-file): New function.
5425 (python-calculate-indentation): Delete function.
5426 (python-indent-calculate-indentation): New function.
5427 (python-skip-comments/blanks): Delete function.
5428 (python-util-forward-comment): New function.
5429 (python-continuation-line-p): Delete function.
5430 (python-info-continuation-line-p): New function.
5431 (python-which-func, python-current-defun): Delete function.
5432 (python-info-current-defun): New function.
5433 (python-beginning-of-defun): Delete function.
5434 (python-nav-beginning-of-defun): New function.
5435 (python-close-block-statement-p)
5436 (python-block-end-p): Delete function.
5437 (python-info-closing-block): New function.
5438 (python-comint-output-filter-function)
5439 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5440 (python-fill-comment, python-fill-decorator, python-fill-paren)
5441 (python-fill-string, python-imenu-make-element-tree)
5442 (python-imenu-make-tree, python-imenu-tree-assoc)
5443 (python-indent-context, python-indent-dedent-line)
5444 (python-indent-line-function)
5445 (python-indent-post-self-insert-function)
5446 (python-indent-toggle-levels)
5447 (python-info-assignment-continuation-line-p)
5448 (python-info-beginning-of-backlash)
5449 (python-info-block-continuation-line-p)
5450 (python-info-closing-block-message)
5451 (python-info-line-ends-backslash-p)
5452 (python-info-looking-at-beginning-of-defun)
5453 (python-info-ppss-context, python-info-ppss-context-type)
5454 (python-nav-list-defun-positions, python-nav-read-defun)
5455 (python-nav-sentence-end, python-nav-sentence-start)
5456 (python-pdbtrack-comint-output-filter-function)
5457 (python-pdbtrack-set-tracked-buffer)
5458 (python-shell-calculate-exec-path)
5459 (python-shell-calculate-process-environment)
5460 (python-shell-completion--do-completion-at-point)
5461 (python-shell-completion--get-completions)
5462 (python-shell-completion-complete-at-point)
5463 (python-shell-completion-complete-or-indent)
5464 (python-shell-get-or-create-process)
5465 (python-shell-get-process-name)
5466 (python-shell-internal-get-or-create-process)
5467 (python-shell-internal-get-process-name)
5468 (python-shell-internal-send-string, python-shell-make-comint)
5469 (python-shell-parse-command, python-shell-send-setup-code)
5470 (python-skeleton-add-menu-items)
5471 (python-util-clone-local-variables, python-util-position)
5472 (run-python-internal, python-indentation-levels)
5473 (python-nav-beginning-of-defun)
5474 (python-completion-complete-at-point): New functions.
5475 (run-python): Change arguments. New API requirements.
5476
4302f5ba
SM
54772012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5478
f38ea36d
SM
5479 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5480 (bug#11649).
5481
5482 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5483 (macroexp--expand-all): Use it.
5484
4302f5ba
SM
5485 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5486 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5487 Use `cl-function' instead.
5488
33377562
JB
54892012-06-14 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5492 Suggested by Stefan Monnier while discussing bug#11657.
5493
54c5ba1a
SS
54942012-06-14 Sam Steingold <sds@gnu.org>
5495
5496 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5497
f9f1b1fe
AS
54982012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5499
5500 * play/doctor.el (doctor-doc): Remove parameter and use
5501 doctor-sent instead of sent.
5502 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5503
a81068ba
SM
55042012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5a315f9c
SM
5506 * files.el: Require cl-lib.
5507 (file-name-non-special): Replace case -> cl-case.
5508
5509 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5510
a81068ba
SM
5511 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5512 mapping from #' to function*.
5513
8cca9703
CY
55142012-06-13 Chong Yidong <cyd@gnu.org>
5515
5516 * mouse.el (mouse-drag-track): Do not set the mark if the user
5517 releases the mouse without selecting anything (Bug#11588).
5518
a12ac9d7
SM
55192012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5520
ccf1dc18
SM
5521 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5522 as well (bug#11646).
5523
ef62b23d
SM
5524 * loadup.el: Count byte-code functions as well.
5525
c4c8444a
SM
5526 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5527 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5528
a12ac9d7
SM
5529 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5530 (bug#11649). Add cl-defun and cl-defmacro.
5531
87e6e64f
DA
55322012-06-13 Drew Adams <drew.adams@oracle.com>
5533
5534 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5535 Fix last change.
5536
682cefaf
MA
55372012-06-13 Michael Albinus <michael.albinus@gmx.de>
5538
5539 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5540 Otherwise, it blocks in batch mode.
5541
773e1f08
JB
55422012-06-13 Juanma Barranquero <lekktu@gmail.com>
5543
5544 * help-mode.el (bookmark-make-record-default): Declare.
5545
60057926
CY
55462012-06-13 Chong Yidong <cyd@gnu.org>
5547
5548 * emacs-lisp/package.el (list-packages): Compute a list of
5549 packages that are newly-available since the last list-packages
5550 invocation.
5551 (package-menu--new-package-list): New var.
5552 (package-menu--generate, package-menu--print-info)
5553 (package-menu--status-predicate, package-menu-mark-install):
5554 Handle new status label "new".
5555
ad4d226c
SM
55562012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5557
5558 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5559 conversion to backquotes.
5560
f1a4e679
CY
55612012-06-12 Chong Yidong <cyd@gnu.org>
5562
5563 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5564 Rename from gud-inhibit-global-bindings.
5565
5566 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5567
5568 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5569 hook from nxml-glyph-set-hook.
5570
5571 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5572 declaration.
5573
5574 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5575
5576 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5577 Convert to defcustom.
5578
0c9e42b5
DA
55792012-06-12 Drew Adams <drew.adams@oracle.com>
5580
5581 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5582 New functions.
5583 (help-mode): Use them.
5584
09e06855
GM
55852012-06-11 Glenn Morris <rgm@gnu.org>
5586
5587 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5588 Use preprocessor face for directives.
5589 (fortran-directive-re): Doc fix.
5590
71adb94b
SM
55912012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5592
2eb87922
SM
5593 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5594 conversion to backquotes (bug#11652).
5595
71adb94b
SM
5596 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5597 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5598 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5599 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5600 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5601 (cl-ninth, cl-tenth): Mark them as inlinable.
5602 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5603 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5604 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5605 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5606 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5607 (cl-list*, cl-adjoin): Don't put an autoload manually.
5608 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5609 (cl--compiler-macro-list*): Add autoload cookie.
5610 (cl--compiler-macro-cXXr): New function.
2eb87922 5611
71adb94b
SM
5612 * help-fns.el (help-fns--compiler-macro): New function extracted from
5613 describe-function-1; follow aliases and use `compiler-macro' property.
5614 (describe-function-1): Use it.
5615
a6674402
CY
56162012-06-11 Chong Yidong <cyd@gnu.org>
5617
5618 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5619 is uninstalled, if imagemagick is installed.
5620
bb3faf5b
SM
56212012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * emacs-lisp/cl-lib.el: Use lexical-binding.
5624 (cl-map-extents, cl-maclisp-member): Remove.
5625 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5626 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5627 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5628 * emacs-lisp/cl-extra.el: Use lexical-binding.
5629 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5630 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5631 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5632 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5633 * emacs-lisp/cl-seq.el: Use lexical-binding.
5634 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5635 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5636 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5637 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5638 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5639 CL's internals.
5640
2fe4b125
MA
56412012-06-11 Michael Albinus <michael.albinus@gmx.de>
5642
5643 Sync with Tramp 2.2.6-pre.
5644
5645 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5646 `print-length' and `print-level' to nil, in order to avoid
5647 truncation. Reported by Christopher Schmidt
5648 <christopher@ristopher.com>.
5649
5650 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5651
5652 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5653 New defmacro.
5654 (tramp-compat-copy-directory): Add optional argument
5655 COPY-CONTENTS. It is not handled yet.
5656
5657 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5658 (tramp-ftp-file-name-p): Simplify.
5659
5660 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5661 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5662 connection vector.
5663
5664 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5665 (tramp-methods): Do not use `tramp-password-end-of-line'.
5666 (tramp-completion-function-alist-putty): Handle UNIX case.
5667 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5668 (tramp-do-file-attributes-with-stat)
5669 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5670 gid as real numbers. They could run out of integer range on cygwin.
5671 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5672 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5673 (tramp-open-connection-setup-interactive-shell):
5674 Use `tramp-cleanup'. Move check for busyboxes ...
5675 (tramp-find-shell): ... here. Simplify implementation.
5676 Set "remote-shell" property also for alternative shells.
5677 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5678 If failing, a regular file would be written otherwise.
5679 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5680 (tramp-find-inline-encoding): Cache the coding commands in the
5681 process cache. Apply test command on the remote side, if defined.
5682 (tramp-find-inline-compress): Cache the compress commands in the
5683 process cache.
5684 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5685 when requested. Handle hops.
5686 (tramp-current-connection): New defvar.
87e6e64f
DA
5687 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5688 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5689 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5690 (tramp-get-inline-compress, tramp-get-inline-coding):
5691 Read connection properties from the process cache.
2fe4b125
MA
5692
5693 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5694 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5695 New defconsts.
2fe4b125
MA
5696 (tramp-smb-prompt): Extend for powershell prompt.
5697 (tramp-smb-file-name-handler-alist): Add handlers for
5698 `process-file', `shell-command' and `start-file-process'.
5699 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5700 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5701 (tramp-smb-file-name-p): Simplify.
5702 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5703 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5704 (tramp-smb-shell-quote-argument): New defuns.
5705 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5706 Implement using "tar". By this, time-stamps are preserved.
5707 (tramp-smb-handle-copy-file): Handle also the case of directories.
5708 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5709 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5710 Use `tramp-get-connection-buffer').
2fe4b125
MA
5711 (tramp-smb-handle-rename-file): Use "rename", when source and
5712 target are on the same share.
87e6e64f
DA
5713 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5714 Use `tramp-smb-server-version'.
2fe4b125
MA
5715 (tramp-smb-wait-for-output): Remove prompt.
5716
5717 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5718 (tramp-methods, tramp-rsh-end-of-line):
5719 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5720 (tramp-save-ad-hoc-proxies): New defcustom.
5721 (tramp-completion-function-alist): Adapt docstring.
5722 (tramp-default-password-end-of-line): Remove defcustom.
5723 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5724 (tramp-user-regexp, tramp-file-name-regexp-unified)
5725 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5726 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5727 (tramp-remote-file-name-spec-regexp): New defconst.
5728 (tramp-file-name-structure): Extend structure for hops.
5729 (tramp-get-method-parameter): Move up.
5730 (tramp-file-name-p, tramp-dissect-file-name)
5731 (with-parsed-tramp-file-name): Handle hops.
5732 (tramp-file-name-hop): New defun.
5733 (tramp-make-tramp-file-name): New optional arg HOP.
5734 (tramp-message-show-progress-reporter-message): New defvar.
5735 (tramp-with-progress-reporter): Use it. We cannot use
5736 `tramp-message-show-message' here, because this suppresses also
5737 error buffers.
5738 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5739 `tramp-message-show-message' is nil.
5740 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5741 (tramp-cleanup): New defun.
5742 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5743 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5744 an error unchanged.
5745 (tramp-completion-handle-file-name-all-completions): Handle hops.
5746 Fix an error when called from ido.
5747 (tramp-completion-dissect-file-name): Use better local variable
5748 name. Add hop to the vector.
5749 (tramp-handle-insert-file-contents): Use progress-reporter for the
5750 whole scenario.
5751 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5752 to `t'.
5753 (tramp-check-for-regexp): Simplify search.
5754 (tramp-enter-password): Remove it. Move implementation ...
5755 (tramp-action-password): ... here.
5756 (tramp-mode-string-to-int, tramp-local-host-p)
5757 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5758 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5759 Set tramp-autoload cookie.
2fe4b125
MA
5760
5761 * net/trampver.el: Update release number.
5762
57632012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5764 Michael Albinus <michael.albinus@gmx.de>
5765
5766 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5767 (tramp-parse-group, tramp-parse-file)
5768 (tramp-parse-shostkeys-sknownhosts): New defuns.
5769 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5770 (tramp-parse-shosts-group, tramp-parse-sconfig)
5771 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5772 (tramp-parse-sknownhosts, tramp-parse-hosts)
5773 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5774 Use them.
5775 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5776 (tramp-parse-putty-group): Don't narrow.
5777 (tramp-parse-putty): Make a loop.
5778 (tramp-file-name-handler): Catch the `suppress' signal.
5779
72834e10
CY
57802012-06-11 Chong Yidong <cyd@gnu.org>
5781
5782 * image.el (imagemagick-register-types): Put the ImageMagick entry
5783 at the end of image-type-file-name-regexps.
5784
a4712e11
JB
57852012-06-11 Johan Bockgård <bojohan@gnu.org>
5786
5787 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5788 (pcase, pcase-let*, pcase-dolist): Use them.
5789
82ad98e3
SM
57902012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * emacs-lisp/pcase.el (pcase--let*): New function.
5793 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5794 (pcase--expand): Use macroexp-let².
5795
f80efb86
SM
57962012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5799 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5800 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5801 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5802 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5803 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5804
31ca4639 58052012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5806
31ca4639
CY
5807 * mail/rmail.el (rmail-yank-current-message): Leave point at
5808 correct position. (Bug#11660)
94f0aa34 5809
31ca4639 58102012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5811
31ca4639 5812 * allout-widgets.el: Fix code header.
9e1b8ec4 5813
31ca4639 58142012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5815
f80efb86
SM
5816 * cus-edit.el (customize-changed-options-previous-release):
5817 Bump to 24.1.
31ca4639 5818
642b6d30
AS
58192012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5820
5821 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5822
4f5d2ba1
CY
58232012-06-09 Chong Yidong <cyd@gnu.org>
5824
5825 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5826
e75852fd
MR
58272012-06-09 Martin Rudalics <rudalics@gmx.at>
5828
5829 * window.el (special-display-popup-frame): Don't use
5830 window--display-buffer (Bug#11651).
5831
1e48e282
EZ
58322012-06-09 Eli Zaretskii <eliz@gnu.org>
5833
8a26b487
EZ
5834 Fix parallel builds: make sure loaddefs.el is not being written
5835 while Lisp files are compiled.
5836 (compile): Don't depend on 'mh-autoloads'.
5837 (compile-CMD, compile-SH): Depend on 'autoloads'.
5838 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5839
1e48e282
EZ
5840 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5841
6175e34b
CY
58422012-06-09 Chong Yidong <cyd@gnu.org>
5843
5844 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5845 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5846 Doc fixes (Bug#11225).
5847
d9857e53
SM
58482012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5851 a function if there's a clear indication that it has a compiler-macro.
5852 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5853 (macro-declarations-alist): Add arglist to declaration functions.
5854 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5855 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5856 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5857 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5858 Also add autoload to find the compiler macro.
5859 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5860 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5861 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5862 (cl--compiler-macro-get): New functions, replacing calls to
5863 cl-define-compiler-macro.
5864 (cl-typep) [compiler-macro]: Use macroexp-let².
5865
f81298f8 58662012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5867
5868 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5869 string properly, fixes Bug#11473.
5870
4b56d0fe
CY
58712012-06-08 Chong Yidong <cyd@gnu.org>
5872
5873 * faces.el (set-face-attribute): Doc fix.
5874 (modify-face): Don't use :bold and :italic.
5875 (error, warning, success): Tweak definitions.
5876
5877 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5878 (custom-modified, custom-set, custom-changed, custom-themed)
5879 (custom-saved, custom-button, custom-button-mouse)
5880 (custom-button-pressed, custom-state, custom-comment-tag)
5881 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5882 (custom-group-subtitle): Use new-style face specs.
5883 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5884 (custom-set-face, custom-changed-face, custom-saved-face)
5885 (custom-button-face, custom-button-pressed-face)
5886 (custom-documentation-face, custom-state-face)
5887 (custom-comment-face, custom-comment-tag-face)
5888 (custom-variable-tag-face, custom-variable-button-face)
5889 (custom-face-tag-face, custom-group-tag-face-1)
5890 (custom-group-tag-face): Remove obsolete face alias.
5891
5892 * epa.el (epa-validity-high, epa-validity-medium)
5893 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5894 (epa-field-name, epa-field-body):
5895 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5896 (font-lock-keyword-face, font-lock-builtin-face)
5897 (font-lock-function-name-face, font-lock-variable-name-face)
5898 (font-lock-type-face, font-lock-constant-face):
5899 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5900 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5901 * speedbar.el (speedbar-button-face, speedbar-file-face)
5902 (speedbar-directory-face, speedbar-tag-face)
5903 (speedbar-selected-face, speedbar-highlight-face)
5904 (speedbar-separator-face):
5905 * whitespace.el (whitespace-newline, whitespace-space)
5906 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5907 (whitespace-line, whitespace-space-before-tab)
5908 (whitespace-space-after-tab, whitespace-indentation)
5909 (whitespace-empty):
5910 * emulation/cua-base.el (cua-global-mark):
5911 * eshell/em-prompt.el (eshell-prompt):
5912 * net/newst-plainview.el (newsticker-new-item-face)
5913 (newsticker-old-item-face, newsticker-immortal-item-face)
5914 (newsticker-obsolete-item-face, newsticker-date-face)
5915 (newsticker-statistics-face, newsticker-default-face):
5916 * net/newst-reader.el (newsticker-feed-face)
5917 (newsticker-extra-face, newsticker-enclosure-face):
5918 * net/newst-treeview.el (newsticker-treeview-face)
5919 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5920 (newsticker-treeview-immortal-face)
5921 (newsticker-treeview-obsolete-face)
5922 (newsticker-treeview-selection-face):
5923 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5924 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5925 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5926 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5927 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5928 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5929 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5930 (mpuz-text):
5931 * progmodes/vera-mode.el (vera-font-lock-number)
5932 (vera-font-lock-function, vera-font-lock-interface):
5933 * textmodes/table.el (table-cell): Use new-style face specs, and
5934 don't use the old :bold and :italic attributes.
5935
5936 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5937 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5938 (ebrowse-member-class, ebrowse-progress): Likewise.
5939 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5940 (ebrowse-file-name-face, ebrowse-default-face)
5941 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5942 (ebrowse-progress-face): Remove obsolete faces.
5943
5944 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5945 Inherit from error and warning faces respectively.
5946
5947 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5948 Likewise.
f80efb86
SM
5949 (flyspell-incorrect-face, flyspell-duplicate-face):
5950 Remove obsolete aliases.
4b56d0fe 5951
03310646
MA
59522012-06-08 Michael Albinus <michael.albinus@gmx.de>
5953
5954 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5955 Avoid infloop.
5956
513749ee
SM
59572012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * startup.el (argv, argi): Make lexically scoped.
5960 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5961 * emacs-lisp/cl-macs.el: Use lexical-binding.
5962 Rename cl-bind-* to cl--bind-*.
5963 * files.el: Don't require `cl' since it doesn't use it.
5964 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5965
595ef4ad
JB
59662012-06-08 Juanma Barranquero <lekktu@gmail.com>
5967
5968 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5969 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5970 instead of calling external sort utility.
5971 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5972
e9f66fcb
EZ
59732012-06-08 Eli Zaretskii <eliz@gnu.org>
5974
5975 * descr-text.el (describe-char): Mention how to insert the
5976 character, if the current input method doesn't support it.
5977 See the discussion in this thread for the details:
5978 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5979
3d10db47
SS
59802012-06-08 Sam Steingold <sds@gnu.org>
5981
5982 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5983 XF86Back to previous-buffer.
5984 (minibuffer-local-map): Bind them to next-history-element and
5985 previous-history-element respectively.
5986 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5987 help-go-back respectively.
5988 * info.el (Info-mode-map): Bind them to Info-history-forward and
5989 Info-history-back respectively.
5990 These are the keys next to Up on the ThinkPad keyboard.
5991
de7e2b36
SM
59922012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5995 * emacs-lisp/cl-macs.el: Provide itself.
5996 (cl--labels-convert-cache): New var.
5997 (cl--labels-convert): New function.
5998 (cl-flet, cl-labels): New implementation with new semantics, relying on
5999 lexical-binding.
6000 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6001 (cl-closure-vars, cl--function-convert-cache)
6002 (cl--function-convert): Move from cl-macs.el.
6003 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6004 rename by removing the "cl-" prefix.
6005 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6006
6fa6c4ae
SM
60072012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6010 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6011 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6012 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6013 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6014 (cl-hash-table-count): Add old compatibility aliases.
6015
6016 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6017 Use macroexpand-all-environment instead.
6018 (cl--old-macroexpand): New var.
6019 (cl--sm-macroexpand): New function.
6020 (cl-symbol-macrolet): Use it during macro expansion.
6021 (cl--function-convert-cache): New var.
6022 (cl--function-convert): New function, extracted from
6023 cl-macroexpand-all.
6024 (cl-lexical-let): Use it.
6025
6026 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6027 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6028 (cl-member): Remove old alias.
6029
6030 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6031 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6032 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6033 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6034 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6035 (cl-macroexpand-cmacs): Remove var.
6036 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6037 Use macroexpand-all instead.
6038
4dd1c416
SM
60392012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6042 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6043 (macroexp-copyable-p): New functions and macros.
6044 * emacs-lisp/edebug.el (edebug-unwrap):
6045 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6046 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6047 (pcase--let*): Remove.
6048 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6049 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6050 macroexp-const-p instead.
6051 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6052
6053 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6054 instead of "cl-" for internal definitions. Use macroexp-const-p.
6055 (cl-old-bc-file-form): Remove var.
6056 (cl-const-exprs-p): Remove fun.
6057 (cl-labels, cl-macrolet): Use backquote.
6058 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6059 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6060 (cl-define-setf-expander): Rename from cl-define-setf-method.
6061 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6062
6063 * international/mule-cmds.el: Don't require CL.
6064 (view-hello-file): Don't use `letf'.
6065
ed8bd4d7
SM
60662012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6067
7287f2f3
SM
6068 * tmm.el (tmm-prompt): Use string-prefix-p.
6069 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6070 (tmm-add-prompt): Use minibuffer-completion-help.
6071 (tmm-delete-map): Remove.
6072
ed8bd4d7
SM
6073 * subr.el (kbd): Make it its own function.
6074
7b4cdbf4
SM
60752012-06-07 Stefan Merten <smerten@oekonux.de>
6076
6077 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6078 Silence compiler warnings. Fix versions.
ed8bd4d7 6079 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6080 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6081 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6082 (rst-package-emacs-version-alist): Correct Emacs version to
6083 represent major merge with upstream.
ed8bd4d7 6084 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6085
2b48d721
GM
60862012-06-06 Glenn Morris <rgm@gnu.org>
6087
6088 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6089 Only print environment variables if set.
6090
fa779ab0
SM
60912012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6094 (macroexp--cons): Rename from maybe-cons.
6095 (macroexp--accumulate): Rename from macroexp-accumulate.
6096 (macroexp--all-forms): Rename from macroexpand-all-forms.
6097 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6098 (macroexp--expand-all): Rename from macroexpand-all-1.
6099
628299e0
SS
61002012-06-06 Sam Steingold <sds@gnu.org>
6101
6102 * calendar/calendar.el (calendar-in-read-only-buffer):
6103 Call `special-mode' to enable the standard read-only keybindings.
6104
b7bb5838
SM
61052012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6108 with "loading" messages (bug#11635).
6109
dfb308ba
MA
61102012-06-06 Michael Albinus <michael.albinus@gmx.de>
6111
6112 * files.el (enable-remote-dir-locals): New option.
6113 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6114
0372ee92
MA
6115 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6116 Ensure, that the temp directory is local.
6117
6118 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6119 `temporary-file-directory'.
6120
eed0bb91
MA
6121 * progmodes/python.el (python-send-region): Ensure, that the
6122 temporary file is created also in the remote case.
6123
7a58f64d
GM
61242012-06-06 Glenn Morris <rgm@gnu.org>
6125
f7dd4e98
GM
6126 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6127 (vc-rcs-update-changelog): Use it.
6128
090bd7cb 6129 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6130
7a58f64d
GM
6131 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6132 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6133 (vc-sccs-diff): Replace use of the external vcdiff script.
6134
daed4003
GM
61352012-06-05 Glenn Morris <rgm@gnu.org>
6136
6137 * ledit.el: Move to obsolete/.
6138
48c455c7
SS
61392012-06-05 Sam Steingold <sds@gnu.org>
6140
ed9265fc 6141 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6142 patch (Bug#11140).
6143
57a7d507
SM
61442012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6145
090bd7cb 6146 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6147
53aacf21
SM
6148 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6149 compiler-macro expansion.
6150
57a7d507
SM
6151 Add native compiler-macro support.
6152 * emacs-lisp/macroexp.el (macroexpand-all-1):
6153 Support compiler-macros directly. Properly follow aliases and apply
6154 the compiler macros more thoroughly.
6155 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6156 macroexpand now properly follows aliases.
6157 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6158 (cl-compiler-macroexpand): Use new prop.
6159 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6160
6161 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6162
51a5f9d8
MR
61632012-06-05 Martin Rudalics <rudalics@gmx.at>
6164
6165 * window.el (get-lru-window, get-mru-window, get-largest-window):
6166 New argument NOT-SELECTED to avoid picking the selected window.
6167 (window--display-buffer-1, window--display-buffer-2): Replace by
6168 new function window--display-buffer
6169 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6170 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6171 Use window--display-buffer.
51a5f9d8
MR
6172 (display-buffer-use-some-window): Remove temporary dedication
6173 hack by calling get-lru-window and get-largest-window with
6174 NOT-SELECTED argument non-nil. Call window--display-buffer.
6175
08f9f738
GM
61762012-06-05 Glenn Morris <rgm@gnu.org>
6177
6178 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6179 Replace external vcdiff script.
6180
e364a2b7
SM
61812012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6184
041df390
CY
61852012-06-04 Chong Yidong <cyd@gnu.org>
6186
e364a2b7
SM
6187 * image.el (imagemagick-types-inhibit): Revert last change.
6188 Add INFO and M.
47b36b94 6189 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6190
7c1898a7
SM
61912012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * emacs-lisp/cl-lib.el: Rename from cl.el.
6194 * emacs-lisp/cl.el: New compatibility file.
6195 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6196 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6197 to obey the "cl-" prefix.
6198 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6199
0c3461de
GM
62002012-06-03 Glenn Morris <rgm@gnu.org>
6201
1e266c88
GM
6202 * emacs-lisp/authors.el (authors-aliases): Addition.
6203
0c3461de
GM
6204 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6205 Fix :version.
6206
d8a52e15
SM
62072012-06-03 Stefan Merten <smerten@oekonux.de>
6208
6209 * textmodes/rst.el: Add comments.
6210 (rst-transition, rst-adornment): New faces.
6211 (rst-adornment-faces-alist): Make default safe to reevaluate.
6212 Fixes
6213 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6214 Improve customization tags.
6215 (rst-define-level-faces): Clarify meaning.
6216
5205d6f6
CY
62172012-06-03 Chong Yidong <cyd@gnu.org>
6218
6219 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6220 (compilation-mode-line-run, compilation-mode-line-exit):
6221 New faces.
5205d6f6
CY
6222 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6223
757ee657
JD
62242012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6225
7c1898a7
SM
6226 * progmodes/which-func.el (which-func-update-ediff-windows):
6227 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6228
5f2c76c6
CY
62292012-06-03 Chong Yidong <cyd@gnu.org>
6230
6231 * bindings.el: Remove explicit help text from format-mode-line.
6232 It is now supplied by mode-line-default-help-echo.
6233 (mode-line-front-space, mode-line-end-spaces)
6234 (mode-line-misc-info): New variables.
6235 (mode-line-modes, mode-line-position): Move the default value to
6236 the variable definition.
6237 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6238 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6239 (mode-line-modified-help-echo): New functions.
6240 (mode-line-mule-info, mode-line-modified): Use them.
6241 (mode-line-eol-desc, propertized-buffer-identification):
6242 Consistency fixes for help text.
cbe46e5f
CY
6243 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6244 set-buffer-file-coding-system (Bug#289).
6245 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6246
f2d6a3df
SM
62472012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * simple.el (execute-extended-command): Set real-this-command
6250 (bug#11506).
6251
37269466
CY
62522012-06-02 Chong Yidong <cyd@gnu.org>
6253
6254 Remove incorrect uses of "modeline" in comments, docstrings, and
6255 function/variable names (Bug#10329).
6256
6257 * cus-edit.el (mode-line):
6258 * dframe.el (dframe-mouse-hscroll):
6259 * emacs-lisp/re-builder.el:
6260 * emacs-lisp/easy-mmode.el (define-minor-mode):
6261 * frame.el (set-frame-name):
6262 * help.el (lookup-minor-mode-from-indicator):
6263 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6264 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6265 (c-toggle-hungry-state):
6266 * progmodes/antlr-mode.el (antlr-language-alist):
6267 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6268 * progmodes/vhdl-mode.el (vhdl-mode):
6269 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6270 * term/ns-win.el (ns-face-at-pos):
6271 * term/sup-mouse.el (sup-mouse-report):
6272 * textmodes/flyspell.el (flyspell-mode-line-string):
6273 * textmodes/ispell.el (ispell-highlight-face):
6274 * textmodes/reftex-global.el:
6275 * vc/vc-arch.el (vc-arch-mode-line-string):
6276 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6277 * vc/vc-git.el (vc-git-mode-line-string):
6278 * vc/vc-hooks.el (vc-display-status)
6279 (vc-default-mode-line-string):
6280 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6281
6282 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6283
6284 * dired.el (dired-sort-set-mode-line): Rename from
6285 dired-sort-set-modeline. All callers changed.
6286
6287 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6288 eshell-status-in-modeline.
6289
6290 * foldout.el (foldout-mode-line-string): Rename from
6291 foldout-modeline-string. All callers changed.
6292 (foldout-update-mode-line): Rename from foldout-update-modeline.
6293
6294 * subr.el (redraw-modeline): Make into obsolete alias.
6295
6296 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6297 timeclock-modeline-display. Make old name an alias.
6298 (timeclock-update-mode-line): Likewise. All callers changed.
6299 (timeclock-mode-line-display): No need to check before using
6300 add-hook.
6301 (timeclock-relative, timeclock-day-over-hook)
6302 (timeclock-use-elapsed, timeclock-mode-string)
6303 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6304
6305 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6306 crisp-mode-modeline-string.
6307
6308 * play/solitaire.el (solitaire-build-mode-line): Rename from
6309 solitaire-build-modeline. All callers changed.
6310
6311 * play/zone.el (zone-hiding-mode-line): Rename from
6312 zone-hiding-modeline. All callers changed.
6313 (zone): Remove unusued `modeline-hidden-level' property.
6314
6315 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6316 xscheme-modeline-initialize. All callers changed.
6317
6318 * strokes.el (strokes-lighter): Rename from
6319 strokes-modeline-string.
6320
6321 * textmodes/sgml-mode.el (html-face-tag-alist)
6322 (html-tag-face-alist): Use mode-line face instead of obsolete
6323 alias modeline.
6324
42152ee4
SM
63252012-06-02 Stefan Merten <smerten@oekonux.de>
6326
6327 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6328 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6329
95f520b5
CY
63302012-06-02 Chong Yidong <cyd@gnu.org>
6331
6332 * image.el (imagemagick-enabled-types): Rename from
6333 imagemagick-types-enable. Add many more types.
6334 (imagemagick-types-inhibit): Change default to nil.
6335 (imagemagick-filter-types): Caller changed.
6336
4a5f187a
SM
63372012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6338
03fef3e6
SM
6339 * emacs-lisp/cl-macs.el: Use backquotes.
6340 (cl-transform-function-property): Use eval-and-compile rather than
6341 abusing `require'.
6342 (defstruct): Use declare-function instead of with-no-warnings.
6343
4a5f187a
SM
6344 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6345 (byte-compile-output-docform): Re-add the print-circle bindings.
6346 (byte-compile-fix-header): Use #$ just because it's shorter.
6347 (byte-compile-output-file-form): Remove defun/defmacro.
6348
bd56924f
MR
63492012-06-01 Martin Rudalics <rudalics@gmx.at>
6350
6351 * simple.el (choose-completion): Remove now obsolete binding for
6352 owindow.
6353
046e38ce
MA
63542012-06-01 Michael Albinus <michael.albinus@gmx.de>
6355
6356 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6357 in order to avoid "Stack overflow in regexp matcher".
6358
32d72c2f
GM
63592012-05-31 Glenn Morris <rgm@gnu.org>
6360
6361 * image.el: For clarity, call imagemagick-register-types at
6362 top-level, rather than relying on a custom :initialize.
6363 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6364 (imagemagick-filter-types): New function. (Bug#7406)
6365 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6366 If disabling support, remove elements altogether rather
6367 than using an impossible regexp.
6368 (imagemagick-types-inhibit): Give it the default init function.
6369
dd41169b
SM
63702012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6371
4a5f187a
SM
6372 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6373 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6374
efc00ab1 63752012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6376
6377 * desktop.el (desktop-read): Clear previous and next buffers for
6378 all windows and bury *Messages* buffer (bug#11556).
6379
500fcedc
SM
63802012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 Add `declare' for `defun'. Align `defmacro's with it.
6383 * emacs-lisp/easy-mmode.el (define-minor-mode)
6384 (define-globalized-minor-mode): Don't autoload the var definitions.
6385 * emacs-lisp/byte-run.el: Use lexical-binding.
6386 (defun-declarations-alist, macro-declarations-alist): New vars.
6387 (defmacro, defun): Use them.
6388 (make-obsolete, define-obsolete-function-alias)
6389 (make-obsolete-variable, define-obsolete-variable-alias):
6390 Use `declare'.
6391 (macro-declaration-function): Mark obsolete.
6392 * emacs-lisp/autoload.el: Use lexical-binding.
6393 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6394
6e8a1786
AM
63952012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6396
6397 * textmodes/ispell.el (ispell-with-no-warnings):
6398 Define as a macro.
500fcedc
SM
6399 (ispell-kill-ispell, ispell-change-dictionary):
6400 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6401 `interactive-p'.
6402
61b108cc
SM
64032012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6406 (macro-declaration-function): Move var from C code.
6407 (macro-declaration-function): Define function with defalias.
6408 * emacs-lisp/macroexp.el (macroexpand-all-1):
6409 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6410 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6411 defun/defmacro any more.
6412 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6413 Provide fallback for unknown arglist.
6414 (byte-compile-arglist-warn): Change calling convention.
6415 (byte-compile-output-file-form): Move print-vars binding.
6416 (byte-compile-output-docform): Simplify accordingly.
6417 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6418 (byte-compile-defmacro-declaration): Remove.
6419 (byte-compile-file-form-defmumble): Generalize to defalias.
6420 (byte-compile-output-as-comment): Return byte-positions.
6421 Simplify callers accordingly.
6422 (byte-compile-lambda): Use `assert'.
6423 (byte-compile-defun, byte-compile-defmacro): Remove.
6424 (byte-compile-file-form-defalias):
6425 Use byte-compile-file-form-defmumble.
6426 (byte-compile-defalias-warn): Remove.
6427
6d3f7c2f
SM
64282012-05-29 Stefan Merten <smerten@oekonux.de>
6429
6430 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6431 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6432
6433 (rst-mode-abbrev-table): Merge definition.
6434 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6435 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6436
6dbaa1c7
UJ
64372012-05-29 Ulf Jasper <ulf.jasper@web.de>
6438
6439 * calendar/icalendar.el
6440 (icalendar-export-region): Export UID properly.
6441
d209e2fb 64422012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6443 * calendar/icalendar.el (icalendar-import-format):
6444 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6445 (icalendar-import-format-uid): New.
6446 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6447 Export UID.
6448
6876a58d
SM
64492012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6452 different alternative patterns.
6453 (pcase-codegen): Be more careful to preserve identity.
6454 (pcase--u1): Don't forget to mark vars as used.
6455
6456 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6457 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6458 (byte-compile-from-buffer): ...rather than here.
6459
6460 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6461 functions from byte-compile-function-environment.
6462
46b7967e
TN
64632012-05-29 Troels Nielsen <bn.troels@gmail.com>
6464
6465 * window.el (window-deletable-p): Avoid deleting the root window
6466 of a frame with an active minibuffer.
6467
69d565e2
MR
64682012-05-29 Martin Rudalics <rudalics@gmx.at>
6469
6470 * simple.el (choose-completion): Use quit-window (Bug#11567).
6471
a149fa51
CY
64722012-05-29 Chong Yidong <cyd@gnu.org>
6473
6474 * whitespace.el (whitespace-cleanup): Fix usage of
6475 whitespace-empty-at-bob-regexp (Bug#11492).
6476
2b311310
AH
64772012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6478
6479 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6480 revert (Bug#11488).
6481
b9cb2387
JL
64822012-05-29 Juri Linkov <juri@jurta.org>
6483
6484 * isearch.el (isearch-mode-map): Bind `M-s _' to
6485 `isearch-toggle-symbol'. Bind `M-s c' to
6486 `isearch-toggle-case-fold'.
6487 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6488 (isearch-forward): Add `M-s _' to the docstring.
6489 (isearch-forward-symbol, isearch-toggle-case-fold)
6490 (isearch-symbol-regexp): New functions. (Bug#11381)
6491
d5e61c1c
JL
64922012-05-29 Juri Linkov <juri@jurta.org>
6493
6494 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6495 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6496 a function, call it to get the regexp.
6497 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6498 property `isearch-message-prefix' instead of the string "word ".
6499 (isearch-search-fun-default): For the case of `isearch-word',
6500 return a lambda that calls re-search-forward/re-search-backward
6501 with a regexp returned by `word-search-regexp' or by the function
6502 in `isearch-word'.
6503
8cbd80f7
JL
65042012-05-29 Juri Linkov <juri@jurta.org>
6505
6506 * isearch.el (isearch-search-fun-default): New function.
6507 (isearch-search-fun): Move default part to the new function
6508 `isearch-search-fun-default'.
6509 (isearch-search-fun-function): Set the default value to
6510 `isearch-search-fun-default'. (Bug#11381)
6511
6512 * comint.el (comint-history-isearch-end):
6513 Use `isearch-search-fun-default'.
6514 (comint-history-isearch-search): Use `isearch-search-fun-default'
6515 and remove spacial case for `isearch-word'.
6516 (comint-history-isearch-wrap): Remove spacial case for
6517 `isearch-word'.
6518
6519 * hexl.el (hexl-isearch-search-function):
6520 Use `isearch-search-fun-default'.
6521
6522 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6523 Use `word-search-regexp' for `isearch-word'.
6524
6525 * misearch.el (multi-isearch-search-fun):
6526 Use `isearch-search-fun-default'.
6527
6528 * simple.el (minibuffer-history-isearch-search):
6529 Use `isearch-search-fun-default' and remove spacial case for
6530 `isearch-word'.
6531 (minibuffer-history-isearch-wrap): Remove spacial case for
6532 `isearch-word'.
6533
6534 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6535 Remove spacial case for `isearch-word'.
6536 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6537
85c8c5b6
AM
65382012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6539
6540 Decrease XEmacs incompatibilities.
6541 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6542 Use `string-match'.
6543 (flyspell-delete-region-overlays): Use alternative definition for
6544 XEmacs.
6545 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6546 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6547 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6548 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6549 `define-obsolete-face-alias' under XEmacs, but old method.
6550
6551 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6552 `with-no-warnings' definition or Emacs alias.
6553 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6554 (ispell-word): Do not use `region-p' if XEmacs.
6555
8cab9efc
AM
65562012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6557
6558 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6559 Check for `ispell-dictionary-base-alist' instead of full
6560 `ispell-dictionary-alist'.
6561 (ispell-init-process): Show spellchecker when starting new Ispell
6562 process.
6563
fda91268
RZ
65642012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6567 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6568
694ea8e3
JB
65692012-05-27 Juanma Barranquero <lekktu@gmail.com>
6570
6571 * version.el (motif-version-string, gtk-version-string)
6572 (ns-version-string): Declare.
6573
e4d4f539
JL
65742012-05-27 Juri Linkov <juri@jurta.org>
6575
6576 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6577 after the `eval-defun-1' specialcaseing
6578 like in `edebug-eval-defun' (bug#10181).
6579
6580 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6581 like in `eval-defun-1'.
6582
33017faf 65832012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6584
fda91268
RZ
6585 * mail/sendmail.el (mail-yank-region):
6586 Recognize rmail-yank-current-message in addition to insert-buffer.
6587 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6588 a *mail* buffer created through rmail-start-mail with sendmail as
6589 mail-user-agent.
6590
33017faf
GM
65912012-05-27 Chong Yidong <cyd@gnu.org>
6592
6593 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6594 Default to 256 (Bug#11267).
6595
6596 * help.el (describe-mode): Doc fix.
6597
04188bb9
GM
65982012-05-26 Glenn Morris <rgm@gnu.org>
6599
38264cc9
GM
6600 * w32-fns.el (w32-init-info): Remove.
6601 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6602
eb7afdad
GM
6603 * info.el (info-initialize): For self-contained NS builds, put the
6604 included info/ directory at the front. (Bug#2791)
6605
04188bb9
GM
6606 * paths.el (Info-default-directory-list): Make it a defcustom,
6607 mainly so that we can use custom-initialize-delay.
6608
a179e3f7
SM
66092012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6610
43416392
SM
6611 * subr.el (buffer-has-markers-at): Mark obsolete.
6612
a179e3f7 6613 * subr.el (lambda): Use declare.
43416392 6614
a179e3f7
SM
6615 * emacs-lisp/lisp-mode.el (lambda):
6616 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6617
34a008d9
AH
66182012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6619
6620 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6621
0a3b289f
GM
66222012-05-26 Glenn Morris <rgm@gnu.org>
6623
6624 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6625
758c81e8
GM
66262012-05-25 Glenn Morris <rgm@gnu.org>
6627
f9f334f0
GM
6628 * paths.el: Remove no-byte-compile.
6629 * loadup.el: No need to load paths.el uncompiled.
6630
87eb79c2
GM
6631 * image.el (imagemagick-types-inhibit): Doc fix.
6632
758c81e8
GM
6633 * version.el: Remove no-byte-compile and associated formatting.
6634 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6635 is ancient code from when there was an "inc-vers.el".
6636
e7e85dc0
SM
66372012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * progmodes/gdb-mi.el: Minor style changes.
6640 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6641 Turn into minor modes.
6642 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6643 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6644 (gdb-shell): Remove unneeded let-binding.
6645 (gdb-get-many-fields): Eliminate O(n²) behavior.
6646
f31237a4
EZ
66472012-05-25 Eli Zaretskii <eliz@gnu.org>
6648
6649 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6650 platforms that don't link in fontset.c.
6651
bc1b21bb
JL
66522012-05-25 Juri Linkov <juri@jurta.org>
6653
6654 Use the same diff color scheme as in modern VCSes (bug#10181).
6655
6656 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6657 to avoid confusion with `diff-added' that now uses green colors.
6658 (diff-removed): Use shades of red.
6659 (diff-added): Use shades of green.
6660 (diff-changed): Leave just the yellow color.
6661 (diff-use-changed-face): New variable.
6662 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6663 how to highlight context diff changes.
6664 (diff-refine-change): Use shades of yellow.
6665 (diff-refine-removed): New face that uses shades of red.
6666 (diff-refine-added): New face that uses shades of green.
6667 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6668 `diff-refine-removed' in the call to `smerge-refine-subst'
6669 depending on the value of `diff-use-changed-face'.
6670
6671 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6672 (smerge-other): Use shades of green.
6673 (smerge-base): Use shades of yellow.
6674 (smerge-refined-change): Empty face.
6675 (smerge-refined-removed): New face that uses shades of red.
6676 (smerge-refined-added): New face that uses shades of green.
6677 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6678 args `props-r' and `props-a', and use them. Doc fix.
6679 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6680 on its value use different faces `smerge-refined-change',
6681 `smerge-refined-removed', `smerge-refined-added' in the call to
6682 `smerge-refine-subst'.
6683
6684 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6685 Add face condition `min-colors 88' with shades of red.
6686 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6687 `min-colors 88' with shades of green.
6688 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6689 `min-colors 88' with shades of yellow.
6690
6df9112c
GM
66912012-05-24 Glenn Morris <rgm@gnu.org>
6692
ead5edc0
GM
6693 * paths.el (prune-directory-list, remote-shell-program): Move to...
6694 * files.el (prune-directory-list, remote-shell-program): ...here.
6695 For the latter, delay initialization, prefer ssh, just search PATH.
6696
f18b81e6
GM
6697 * paths.el (term-file-prefix): Move to faces.el (the only user).
6698 * faces.el (term-file-prefix): Move here, make it a defcustom.
6699
ee2f89a6
GM
6700 * paths.el (news-directory, news-path, news-inews-program):
6701 Move to gnus/nnspool.el.
61a583ca 6702
f8815e4c
GM
6703 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6704
c8f3b42c
GM
6705 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6706 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6707 Make the latter a defcustom, with a delayed initialization.
6708
6df9112c
GM
6709 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6710 These were deleted from Gnus itself late 2010.
6711
5dadff36
JB
67122012-05-22 Juanma Barranquero <lekktu@gmail.com>
6713
9e1701c6
JB
6714 * progmodes/which-func.el (which-func-ff-hook):
6715 Check against user-error, not error.
6716
bd7239f5 6717 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6718 cl-specs.el, which no longer exists.
6719
3290526d
GM
67202012-05-22 Glenn Morris <rgm@gnu.org>
6721
6722 * info.el (info-emacs-bug): New command.
6723 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6724 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6725
ff0c3cfb
GM
67262012-05-21 Glenn Morris <rgm@gnu.org>
6727
6728 * makefile.w32-in (update-subdirs-SH):
6729 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6730
5814f126
SM
67312012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6732
a52c0aa0
SM
6733 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6734
5814f126
SM
6735 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6736 Simplify Maven regexp, and make sure the file can't start with a space
6737 (bug#11517).
6738
b847032c
GM
67392012-05-21 Glenn Morris <rgm@gnu.org>
6740
6741 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6742 Scrap superfluous subshells.
6743
3858bfe7
SM
67442012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6745
6746 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6747 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6748
d14b0029
JB
67492012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6750
6751 * calc/calc.el (calc-ensure-consistent-units): New variable.
6752
a52c0aa0
SM
6753 * calc/calc-units.el (math-consistent-units-p)
6754 (math-check-unit-consistency): New functions.
6755 (calc-quick-units, calc-convert-units):
6756 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6757 is non-nil.
d14b0029
JB
6758 (calc-extract-units): Fix typo.
6759
60c4db3a
SM
67602012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6761
77f3b62e
SM
6762 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6763
60c4db3a
SM
6764 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6765 (flyspell-default-deplacement-commands): Don't spell check after
6766 repeated window/frame switches (e.g. triggered by mouse-movement).
6767 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6768 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6769 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6770 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6771 Remove unused vars.
6772 (flyspell-get-casechars, flyspell-get-not-casechars):
6773 Simplify; Don't bother removing a ] just to add it back.
6774 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6775
d209e2fb 67762012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6777
6778 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6779 New functions.
bd7239f5 6780 (math-function-table): Add support for more C functions.
b1a10716 6781
3f1b25b5
AM
67822012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6783
090bd7cb
JB
6784 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6785 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6786 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6787
b581bb5c
SM
67882012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6791 their respective macro declarations.
6792 * skeleton.el (define-skeleton):
6793 * progmodes/compile.el (define-compilation-mode):
6794 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6795 (define-ibuffer-filter):
6796 * emacs-lisp/generic.el (define-generic-mode):
6797 * emacs-lisp/easy-mmode.el (define-minor-mode)
6798 (define-globalized-minor-mode):
6799 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6800 * emacs-lisp/byte-run.el (defsubst):
6801 * custom.el (deftheme): Add doc-string metadata.
6802
70b8ef8f
SM
68032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6806
b1198e17
SM
68072012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6808
9abdc45d
SM
6809 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6810
b1198e17
SM
6811 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6812 * emacs-lisp/cl-macs.el: Idem.
6813 * emacs-lisp/cl-specs.el: Remove.
6814
4735906a
SM
68152012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 Minor renaming of internal CL functions and variables.
6818 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6819 (cl--position): Rename from cl-position.
6820 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6821 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6822 (cl--random-state): Rename from *random-state*.
6823
ac348012
SM
68242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6827 parens around the arg list (bug#11499).
6828
a0a79cde
JL
68292012-05-17 Juri Linkov <juri@jurta.org>
6830
6831 * isearch.el (word-search-regexp, word-search-backward)
6832 (word-search-forward, word-search-backward-lax)
6833 (word-search-forward-lax): Move functions from search.c
6834 (bug#10145, bug#11381).
6835
65034a51
AM
68362012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6837
090bd7cb
JB
6838 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6839 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6840 Delay for otherchars as for normal word components.
65034a51 6841
1a72a195
SM
68422012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * minibuffer.el (completion--sifn-requote): Fix last change.
6845 (minibuffer-local-must-match-filename-map):
6846 Move define-obsolete-variable-alias before its var.
6847
fdb058c2
SM
68482012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6849
c41045e6
SM
6850 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6851
036dfb8b
SM
6852 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6853 behavior.
6854 (completion--string-equal-p): New function.
6855 (completion--twq-all): Use it to get better assertion failure data.
6856
2473256d
SM
6857 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6858 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6859 (shell--requote-argument): New functions.
6860 (shell-completion-vars): Use them.
6861 (shell--parse-pcomplete-arguments): Rename from
6862 shell-parse-pcomplete-arguments.
6863 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6864 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6865 Obey comint-file-name-quote-list.
6866
fdb058c2
SM
6867 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6868 (smie-indent-keyword): Use it.
6869
51fa99f1
SM
68702012-05-14 Stefan Merten <smerten@oekonux.de>
6871
6872 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6873
e18afed7 68742012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6875
6876 * net/rlogin.el (rlogin-mode-map): Fix last change.
6877
e18afed7 68782012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6879
6880 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6881 the following \r\n using a single `process-send-string', since the
6882 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6883 with two `process-send-string's (Bug#11444).
8633b1f4 6884
e18afed7 68852012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6886
fdb058c2
SM
6887 * shell.el (shell-parse-pcomplete-arguments):
6888 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6889
2d21d7f6
WJ
68902012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6891
e18afed7 6892 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6893 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6894 (image-transform-width, image-transform-fit-width): New functions.
6895 (image-transform-properties): Use them.
6896 (image-transform-check-size): New function.
6897 (image-toggle-display-image): Use it (for testing).
6898 (image-transform-set-rotation): Reduce angle mod 360.
6899 Delete obsolete comment.
6900
7102e6d0
WJ
69012012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6902
6903 * image-mode.el: Fix scaling (bug#11399).
6904 (image-transform-resize): Doc fix.
6905 (image-transform-properties): Default scale is 1 and height should
6906 be an integer.
6907
06bc5e6e
SM
69082012-05-13 Johan Bockgård <bojohan@gnu.org>
6909
6910 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6911 than hard-coding `car', to fix misbehavior when moving forward.
6912
0ae03b6a
CY
69132012-05-13 Chong Yidong <cyd@gnu.org>
6914
6915 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6916 (tabulated-list-entries, tabulated-list-padding)
6917 (tabulated-list-sort-key): Make permanent-local.
6918
6919 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6920 (electric-buffer-list): Put electric buffer menu
6921 command descriptions in this docstring, instead of the docstring
6922 of electric-buffer-menu-mode. Code cleanups.
6923 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6924 Electric-buffer-menu-mode.
6925 (electric-buffer-update-highlight): Minor code cleanup.
6926
205a7391
MA
69272012-05-13 Michael Albinus <michael.albinus@gmx.de>
6928
6929 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6930 (Bug#11447)
6931
e5bd0a28
SM
69322012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 Move define-obsolete-variable-alias before the var's definition.
6935 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6936 * tooltip.el (tooltip-hook):
6937 * textmodes/reftex-toc.el (reftex-toc-map):
6938 * textmodes/reftex-sel.el (reftex-select-label-map)
6939 (reftex-select-bib-map):
6940 * textmodes/reftex-index.el (reftex-index-map)
6941 (reftex-index-phrases-map):
6942 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6943 * progmodes/meta-mode.el (meta-mode-map):
6944 * novice.el (disabled-command-hook):
6945 * loadhist.el (unload-hook-features-list):
6946 * frame.el (blink-cursor):
6947 * files.el (find-file-not-found-hooks, write-file-hooks)
6948 (write-contents-hooks):
6949 * emulation/tpu-edt.el (GOLD-map):
6950 * emacs-lock.el (emacs-lock-from-exiting):
6951 * emacs-lisp/generic.el (generic-font-lock-defaults):
6952 * emacs-lisp/chart.el (chart-map):
6953 * dos-fns.el (register-name-alist):
6954 * dired-x.el (dired-omit-files-p):
6955 * desktop.el (desktop-enable):
6956 * cus-edit.el (custom-mode-hook):
6957 * buff-menu.el (buffer-menu-mode-hook):
6958 * bookmark.el (bookmark-read-annotation-text-func)
6959 (bookmark-exit-hooks):
6960 * allout.el (allout-mode-deactivate-hook)
6961 (allout-exposure-change-hook, allout-structure-added-hook)
6962 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6963 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6964 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6965 comes before the corresponding variable's definition.
6966
ac59c2f6
CY
69672012-05-12 Chong Yidong <cyd@gnu.org>
6968
6969 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6970 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6971 (Buffer-menu-mode-map): Bind it.
6972 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6973
dee6c9a3
SM
69742012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6975
2171cea5
SM
6976 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6977 (prolog-upper-case-string, prolog-lower-case-string)
6978 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6979 (prolog-use-smie, prolog-smie-grammar): New vars.
6980 (prolog-smie-forward-token, prolog-smie-backward-token)
6981 (prolog-smie-rules): New funs.
6982 (prolog-comment-indent): Remove.
6983 (prolog-mode-variables): Use default comment indentation instead.
6984 Setup SMIE.
6985 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6986 (prolog-mode): Don't call them any more.
6987 (prolog-electric-colon, prolog-electric-dash)
6988 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6989
aa0382bd
SM
6990 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6991
dbacb4bd
SM
6992 * minibuffer.el (completion--twq-all): Again, allow case differences.
6993
13bdd94c
SM
6994 * term.el: Move keymap initialization code to be more idiomatic.
6995 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6996 (term-terminal-menu): Move initialization into declaration.
6997 (term-escape-char): Let the user set it in her .emacs.
6998
ff46c759
SM
6999 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7000 Provide SMIE-based indentation (not enabled by default yet).
7001 (sh-mode-map): Don't bind electric keys.
7002 Use electric-pair-mode instead of skeleton-pair.
7003 (sh-assignment-regexp): Fit within 80 columns.
7004 (sh-indent-supported): Specify actual shell name instead of boolean.
7005 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7006 (sh-maybe-here-document): Use it. Make obsolete.
7007 (sh-electric-here-document-mode) New minor mode.
7008 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7009 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7010 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7011 (sh-smie-rc-grammar, sh-use-smie): New vars.
7012 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7013 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7014 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7015 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7016 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7017 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7018 (sh-set-shell): Use smie-setup if requested.
7019
dee6c9a3
SM
7020 * term.el (term-set-escape-char): Properly set term-escape-char.
7021 See http://stackoverflow.com/questions/10524656.
7022
9f9aa044
CY
70232012-05-10 Chong Yidong <cyd@gnu.org>
7024
7025 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7026 Use url-generic-parse-url, and handle host names and Windows
7027 filenames properly.
7028 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7029 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7030 URL schemes to work on.
7031 (ffap--toggle-read-only): New function.
7032 (ffap-read-only, ffap-read-only-other-window)
7033 (ffap-read-only-other-frame): Use it.
7034 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7035 necessary for ffap-url-unwrap-remote.
7036
836d29b3
DA
70372012-05-10 Dave Abrahams <dave@boostpro.com>
7038
7039 * cus-start.el (create-lockfiles): Add it.
7040
00fd78ed
CY
70412012-05-09 Chong Yidong <cyd@gnu.org>
7042
7043 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7044 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7045
666b903b 70462012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7047
7048 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7049
666b903b 70502012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7051
7052 * ansi-color.el (ansi-color-process-output): Check for validity of
7053 comint-last-output-start before using it. This avoids a bad
7054 interaction with gdb-mi's input/output buffer.
7055
666b903b 70562012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7057
7058 * files.el (dir-locals-read-from-file):
7059 Mention dir-locals in any error message.
7060
666b903b 70612012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7062
7063 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7064 package (Bug#11410).
7065
f677562b
CY
7066 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7067 variables into description.
7068
666b903b 70692012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7070
7071 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7072 shell-delimiter-argument-list (bug#11348).
7073 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7074
b499d8d0
JB
70752012-05-09 Juanma Barranquero <lekktu@gmail.com>
7076
8f6b6da8
JB
7077 * textmodes/rst.el: Silence byte-compiler warnings.
7078 (rst-re-alist, rst-reset-section-caches): Move around.
7079 (rst-re): Use `characterp', not `char-valid-p'.
7080 (font-lock-beg, font-lock-end): Declare.
7081
4824146a
JB
7082 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7083 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7084
b499d8d0
JB
7085 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7086
ad89bb83
GM
70872012-05-08 Glenn Morris <rgm@gnu.org>
7088
7089 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7090
8bba5a75
SM
70912012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7092
49ed9c8e
SM
7093 * vc/log-edit.el: Add GNU coding standards highlighting.
7094 (log-edit-font-lock-gnu-style)
7095 (log-edit-font-lock-gnu-keywords): New vars.
7096 (log-edit-font-lock-keywords): New fun.
7097 (log-edit-mode): Don't fold case in font-lock.
7098 (log-edit-font-lock-keywords): Do not assume case-folding.
7099
07d00b56
SM
7100 * imenu.el: Misc cleanup. Make docstrings out of comments.
7101 Use lexical-binding.
7102 (imenu--index-alist, imenu--last-menubar-index-alist)
7103 (imenu-menubar-modified-tick): Use defvar-local.
7104 (imenu--split-menu): Remove unused var.
7105 (imenu--cleanup-seen): Declare as global.
7106 (imenu--cleanup): Use dolist.
7107
8bba5a75
SM
7108 * subr.el (defvar-local): Add debug spec and doc-string position.
7109
5075bdb5
GM
71102012-05-08 Glenn Morris <rgm@gnu.org>
7111
090bd7cb 7112 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7113 * language/english.el, language/georgian.el, language/greek.el:
7114 * language/japanese.el, language/khmer.el, language/korean.el:
7115 * language/lao.el, language/misc-lang.el, language/romanian.el:
7116 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7117 * language/thai.el, language/utf-8-lang.el:
7118 Remove no-byte-compile setting.
7119
5075bdb5
GM
7120 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7121
06f679a7
AH
71222012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7123
7124 * progmodes/make-mode.el (makefile-browse):
7125 Remove unnecessary interactive. (Bug#11324)
7126
03794570
GM
71272012-05-07 Glenn Morris <rgm@gnu.org>
7128
af8630f4
GM
7129 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7130
03794570
GM
7131 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7132
f0809a9d
SM
71332012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7134
28be5ce7
SM
7135 * loadup.el: Preload newcomment.el.
7136 * newcomment.el: Move autoload-only code to toplevel.
7137
f0809a9d
SM
7138 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7139 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7140 Handle new :right-align column property.
7141 (tabulated-list-print-col): Idem, plus use `display' text-property to
7142 try and preserve alignment for variable pitch fonts.
7143
1241b724
CY
71442012-05-07 Chong Yidong <cyd@gnu.org>
7145
7146 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7147 (tabulated-list-use-header-line): New var.
7148 (tabulated-list-init-header): Use it.
7149 (tabulated-list-print-fake-header): New function.
7150 (tabulated-list-print): Use it.
7151 (tabulated-list-sort-button-map): Add non-header-line commands.
7152 (tabulated-list-init-header): Add column name property to basic
7153 labels as well.
7154 (tabulated-list-col-sort): Handle non-header-line button case.
7155 (tabulated-list--sort-by-column-name): Fix a corner case.
7156
f0809a9d
SM
7157 * buff-menu.el (list-buffers--refresh):
7158 Handle Buffer-menu-use-header-line.
1241b724 7159
e5f9458f
CY
71602012-05-06 Chong Yidong <cyd@gnu.org>
7161
7162 * buff-menu.el: Convert to Tabulated List mode.
7163 (Buffer-menu-buffer+size-width): Make obsolete.
7164 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7165 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7166 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7167 documentation into docstring of buffer-menu.
7168 (Buffer-menu-toggle-files-only): Add an informative message.
7169 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7170 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7171 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7172 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7173 (Buffer-menu-execute, Buffer-menu-select)
7174 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7175 (Buffer-menu-bury): Use Tabulated List machinery.
7176 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7177 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7178 Delete.
e5f9458f
CY
7179 (list-buffers--refresh): New function.
7180 (list-buffers-noselect): Use it.
7181 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7182 (Buffer-menu--pretty-file-name): New helper functions.
7183
7184 * loadup.el: Preload tabulated-list.
7185
7186 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7187 tabulated-list-sort-column.
7188 (tabulated-list-init-header): Add the initial aligning space even
7189 if tabulated-list-padding is zero.
7190
e129292c
CS
71912012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7192
7193 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7194 whose cdr is not a cons cell correctly (bug#11038).
7195
6632d361
CY
71962012-05-06 Chong Yidong <cyd@gnu.org>
7197
e129292c
CS
7198 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7199 Accept additional plist in column descriptors.
6632d361
CY
7200 (tabulated-list-init-header): Obey it.
7201 (tabulated-list-get-entry): New function.
7202 (tabulated-list-put-tag): Use it. Use string-width instead of
7203 length.
7204 (tabulated-list--column-number): New function.
7205 (tabulated-list-print): Use it.
e129292c
CS
7206 (tabulated-list-print-col): New function.
7207 Set `tabulated-list-column-name' property on each column's text.
6632d361 7208 (tabulated-list-print-entry): Use it.
e129292c
CS
7209 (tabulated-list-delete-entry, tabulated-list-set-col):
7210 New functions.
6632d361
CY
7211 (tabulated-list-sort-column): New command (Bug#11337).
7212
3cc99f68
CY
7213 * buff-menu.el (list-buffers): Move C-x C-b binding from
7214 buff-menu.el to bindings.el.
7215
7216 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7217 :advertised-binding feature.
7218
52b61776
TN
72192012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7220
7221 * progmodes/compile.el (compilation-internal-error-properties):
7222 Calculate start position correctly when end-col is set but
7223 end-line is not (Bug#11382).
7224
ebfe2597
WJ
72252012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7226
7227 * man.el (Man-unindent): Use text-property-default-nonsticky to
7228 prevent untabify from inheriting face properties (Bug#11408).
7229
6d3f7c2f
SM
72302012-05-05 Stefan Merten <smerten@oekonux.de>
7231
7232 * textmodes/rst.el: Major merge with upstream development up to
7233 Docutils SVN r7399 / rst.el V1.2.1.
7234
7235 Clarify maintainership and authors.
7236
7237 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7238 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7239 (rst-official-version, rst-official-cvs-rev, rst-version)
7240 (rst-package-emacs-version-alist): New functions and variables
7241 for version information.
7242
7243 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7244 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7245 (rst-mode-syntax-table, rst-mode): New and corrected functions
7246 and variables representing reStructuredText features.
7247
7248 (rst-re): New function for reStructuredText regexes. Use in
7249 many places.
7250
7251 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7252 (rst-mode-map): Rebind keys.
7253
7254 (rst-mode-lazy, rst-font-lock-keywords)
7255 (rst-font-lock-extend-region)
7256 (rst-font-lock-extend-region-internal)
7257 (rst-font-lock-extend-region-extend)
7258 (rst-font-lock-find-unindented-line-limit)
7259 (rst-font-lock-find-unindented-line-match)
7260 (rst-adornment-level, rst-font-lock-adornment-level)
7261 (rst-font-lock-adornment-match)
7262 (rst-font-lock-handle-adornment-pre-match-form)
7263 (rst-font-lock-handle-adornment-matcher): Major revision of
7264 font-locking. Integrate with other code. Use `jit-lock-mode'.
7265
7266 (rst-preferred-adornments, rst-adjust-hook)
7267 (rst-new-adornment-down, rst-preferred-bullets)
7268 (rst-preferred-bullets, rst-indent, rst-indent-width)
7269 (rst-indent-field, rst-indent-literal-normal)
7270 (rst-indent-literal-minimized, rst-indent-comment): Change,
7271 extend and improve customization.
7272
7273 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7274 (rst-normalize-cursor-position, rst-get-decoration)
7275 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7276 (rst-rstrip, rst-toc-insert-find-delete-contents)
7277 (rst-shift-fill-region, rst-compute-bullet-tabs)
7278 (rst-debug-print-tabs, rst-debug-mark-found)
7279 (rst-shift-region-guts, rst-shift-region-right)
7280 (rst-shift-region-left, rst-use-char-classes)
7281 (rst-font-lock-keywords-function)
7282 (rst-font-lock-indentation-point)
7283 (rst-font-lock-find-unindented-line-begin)
7284 (rst-font-lock-find-unindented-line-end)
7285 (rst-font-lock-find-unindented-line)
7286 (rst-font-lock-adornment-point, rst-font-lock-level)
7287 (rst-adornment-level-alist): Remove functions and variables.
7288
7289 (rst-compare-adornments, rst-get-adornment-match)
7290 (rst-suggest-new-adornment, rst-get-adornments-around)
7291 (rst-adornment-complete-p, rst-get-next-adornment)
7292 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7293 (rst-straighten-adornments): Standardize function names to
7294 use "adornment" instead of "decoration". Correct callers.
7295 Similar standardizing in many places.
7296
7297 (rst-update-section, rst-adjust, rst-promote-region)
7298 (rst-enumerate-region, rst-bullet-list-region)
7299 (rst-repeat-last-character): Correct use of `interactive'.
7300
7301 (rst-classify-adornment, rst-find-all-adornments)
7302 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7303 (rst-find-leftmost-column, rst-repeat-last-character):
7304 Refactor functions.
7305
7306 (rst-find-title-line, rst-reset-section-caches)
7307 (rst-get-adornments-around, rst-adjust-adornment-work)
7308 (rst-arabic-to-roman, rst-roman-to-arabic)
7309 (rst-insert-list-pos, rst-insert-list-new-item)
7310 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7311 New functions.
7312
7313 (rst-all-sections, rst-section-hierarchy)
7314 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7315 New variables.
7316
7317 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7318 configuration instead of only buffer. Change where necessary.
7319
7320 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7321 (rst-shift-region, rst-adaptive-fill): New functions for
7322 indentation and filling.
7323
7324 (rst-comment-line-break, rst-comment-indent)
7325 (rst-comment-insert-comment, rst-comment-region)
7326 (rst-uncomment-region): New functions for handling comments.
7327
7328 (rst-compile): Quote shell arguments.
7329
7330 (rst-compile-pdf-preview, rst-compile-slides-preview):
7331 Delete temporary files after use.
7332
a43f98b3
GM
73332012-05-05 Glenn Morris <rgm@gnu.org>
7334
48176e8b
GM
7335 * calendar/cal-html.el: Optionally include holidays in the output.
7336 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7337 (cal-html-holidays): New option.
7338 (cal-html-css-default): Add holiday entry.
7339 (holiday-in-range): Autoload it.
7340 (cal-html-htmlify-entry): Add optional class argument.
7341 (cal-html-htmlify-list): Add optional holidays argument.
7342 (cal-html-insert-agenda-days): Include holidays in the output.
7343 (cal-html-one-month): Maybe include holidays.
7344
a43f98b3
GM
7345 * calendar/holidays.el (holiday-in-range):
7346 Move here from cal-tex-list-holidays.
7347 * calendar/cal-tex.el (cal-tex-list-holidays):
7348 Make it an obsolete alias for holiday-in-range. Update all callers.
7349
fef9d149 73502012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7351
7352 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7353 Nextstep.
7354
248da2f4
RW
73552012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7356
7357 * files.el (file-auto-mode-skip): New var.
7358 (set-auto-mode-1): Use it.
7359
f95e9344
SM
73602012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7361
df96ab1e
SM
7362 * repeat.el: Use lexical-binding.
7363 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7364 (repeat-undo-count): Remove.
7365 (repeat):
7366 * progmodes/octave-mod.el (octave-abbrev-start):
7367 * progmodes/f90.el (f90-abbrev-start):
7368 * face-remap.el (text-scale-adjust):
7369 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7370
5342bb06
SM
7371 * emacs-lisp/pcase.el (pcase--let*): New function.
7372 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7373 a bit more.
7374 (pcase--split-pred): Be more clever about ruling out overlap between
7375 a predicate and some constant pattern.
7376 (pcase--q1): Use `null' instead of (eq foo nil).
7377
f95e9344
SM
7378 * subr.el (setq-local, defvar-local): New macros.
7379 (kbd): Redefine as an alias.
7380 (with-selected-window): Leave unrelated frames alone.
7381 (set-temporary-overlay-map): New function.
7382
71873e2b
SM
73832012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * subr.el (user-error): New function.
7386 * window.el (switch-to-buffer):
7387 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7388 (smerge-match-conflict):
7389 * simple.el (previous-matching-history-element)
7390 (next-matching-history-element, goto-history-element, undo-more)
7391 (undo-start):
7392 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7393 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7394 (next-file, tags-loop-scan, list-tags, complete-tag):
7395 * progmodes/compile.el (compilation-loop):
7396 * mouse.el (mouse-minibuffer-check):
7397 * man.el (Man-bgproc-sentinel, Man-goto-page):
7398 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7399 (Info-history-forward, Info-follow-reference, Info-menu)
7400 (Info-extract-menu-item, Info-extract-menu-counting)
7401 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7402 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7403 (Info-next-reference, Info-prev-reference, Info-index)
7404 (Info-index-next, Info-follow-nearest-node)
7405 (Info-copy-current-node-name):
7406 * imenu.el (imenu--make-index-alist)
7407 (imenu-default-create-index-function, imenu-add-to-menubar):
7408 * files.el (basic-save-buffer, recover-file):
7409 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7410 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7411 (checkdoc-message-text, checkdoc-defun):
7412 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7413 * cus-edit.el (customize-changed-options, customize-rogue)
7414 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7415 (custom-variable-mark-to-reset-standard)
7416 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7417 (custom-file):
7418 * completion.el (check-completion-length):
7419 * comint.el (comint-search-arg)
7420 (comint-previous-matching-input-string-position)
7421 (comint-previous-matching-input)
7422 (comint-replace-by-expanded-history-before-point, comint-send-input)
7423 (comint-copy-old-input, comint-backward-matching-input)
7424 (comint-goto-process-mark, comint-set-process-mark):
7425 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7426 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7427
8a61ee22
SM
74282012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7429
66408d1e
SM
7430 * dabbrev.el (dabbrev--ignore-case-p): New function.
7431 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7432 Use it.
7433
8a61ee22
SM
7434 * files.el (automount-dir-prefix): Mark as obsolete.
7435
3c74813a
GM
74362012-05-04 Glenn Morris <rgm@gnu.org>
7437
7438 * patcomp.el, play/bruce.el: Move to obsolete/.
7439
0bfcf5c5
PE
74402012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7441
7442 Fix minor Y10k bugs.
7443 * arc-mode.el (archive-unixdate):
7444 * autoinsert.el (auto-insert-alist):
7445 * calc/calc-forms.el (math-this-year):
7446 * emacs-lisp/copyright.el (copyright-current-year)
7447 (copyright-update-year, copyright):
7448 * tar-mode.el (tar-clip-time-string):
7449 * time.el (display-time-update):
7450 Don't assume years have 4 digits.
7451
78f3273a
CY
74522012-05-04 Chong Yidong <cyd@gnu.org>
7453
7454 * dos-w32.el (file-name-buffer-file-type-alist)
7455 (direct-print-region-use-command-dot-com):
7456 * ffap.el (ffap-menu-regexp):
7457 * find-file.el (ff-special-constructs):
7458 * follow.el (follow-debug):
7459 * forms.el (forms--debug):
7460 * iswitchb.el (iswitchb-all-frames):
7461 * ido.el (ido-all-frames):
7462 * emacs-lisp/timer.el (timer-max-repeats):
7463 * mail/feedmail.el (feedmail-mail-send-hook)
7464 (feedmail-mail-send-hook-queued):
7465 * mail/footnote.el (footnote-signature-separator):
7466 * mail/mailabbrev.el (mail-alias-separator-string)
7467 (mail-abbrev-mode-regexp):
7468 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7469 * progmodes/idlwave.el (idlwave-libinfo-file)
7470 (idlwave-default-completion-case-is-down)
7471 (idlwave-library-routines): Convert defvars to defcustoms.
7472
7473 * mail/rmail.el (rmail-decode-mime-charset):
7474 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7475 (idlwave-shell-fix-inserted-breaks)
7476 (idlwave-shell-activate-alt-keybindings)
7477 (idlwave-shell-use-breakpoint-glyph):
7478 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7479
f7ae6719
SM
74802012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7483
47086495
WS
74842012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7485
7486 * progmodes/verilog-mode.el (font-lock-keywords):
7487 Fix mis-highligting auto. Reported by Craig Barner.
7488 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7489 defines from global name space. Reported by Dan Dever.
47086495
WS
7490 (verilog-auto-reset, verilog-auto-reset-widths)
7491 (verilog-auto-tieoff): Support using unbased numbers for
7492 AUTORESET and AUTOTIEOFF.
7493 (verilog-submit-bug-report): Update variable list.
7494 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7495 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7496 (verilog-auto-template-lint): Fix hash error when linting modules
7497 with no used templates.
7498 (verilog-warn, verilog-warn-error)
7499 (verilog-warn-fatal): When non-interactive report multiple
7500 warnings before exiting. Suggested by Brad Dobbie.
7501 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7502 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7503 to report unused template errors. Reported by Brad Dobbie.
7504 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7505 nets, bug438. Reported by Vns Blore.
47086495
WS
7506 (verilog-auto-inout-module, verilog-auto-reg)
7507 (verilog-read-decls, verilog-read-sub-decls-sig)
7508 (verilog-signals-edit-wire-reg, verilog-signals-with):
7509 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7510 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7511 "reg" for backwards compatibility presuming Verilog 2001.
7512 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7513 (verilog-preprocess): Fix replication of preprocess output.
7514 Reported by Brad Dobbie.
7515 (verilog-auto-inst-interfaced-ports):
7516 Create verilog-auto-inst-interfaced-ports, bug429.
7517 Reported by Julian Gorfajn.
7518 (verilog-after-save-font-hook)
7519 (verilog-before-save-font-hook): New variable.
7520 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7521 (verilog-save-font-mods): Wrap disabling fontification, reported
7522 by David Rogoff.
7523 (verilog-do-indent, verilog-pretty-declarations-auto)
7524 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7525 Reported by Pierre-David Pfister.
7526 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7527 of class declarations, bug292. Reported by Kevin Heilman.
7528 (verilog-read-decls): Fix 'parameter type' not appearing in
7529 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7530 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7531 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7532 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7533 Reported by David Kravitz.
7534
75352012-05-03 Michael McNamara <mac@mail.brushroad.com>
7536
7537 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7538 assignment with tests in ifs and for loops.
7539 (verilog-extended-complete-re, verilog-complete-reg): Change so
7540 that DPI inport functions don't look like fuction declarations.
7541 (verilog-pretty-expr): Don't line up assignment
7542 operations to the test and increment in if and for loops
7543 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7544 that DPI inport functions don't look like fuction declarations.
47086495 7545
2e51d4b5
KH
75462012-05-03 Kenichi Handa <handa@m17n.org>
7547
7548 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7549 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7550 (Bug#11282).
7551
2bd785a2
SM
75522012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * emacs-lisp/bytecomp.el
7555 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7556 since cconv.el might have introduced :fun-body, internal-make-closure,
7557 and friends for bytecomp to handle (bug#11391).
7558 * custom.el (defcustom): Avoid ((λ ..) ..).
7559
99d27583
SM
75602012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7563
55a71479
JB
75642012-05-02 Juanma Barranquero <lekktu@gmail.com>
7565
7566 * notifications.el (dbus-debug):
7567 * term/linux.el (gpm-mouse-enable):
7568 * term/screen.el (xterm-register-default-colors): Declare.
7569
7b97c764
CY
75702012-05-02 Chong Yidong <cyd@gnu.org>
7571
2bc356d7
CY
7572 * cus-start.el (gc-cons-percentage, exec-suffixes)
7573 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7574 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7575 (make-cursor-line-fully-visible, void-text-area-pointer)
7576 (font-list-limit): Add customization data.
7577
7b97c764
CY
7578 * allout.el (allout-exposure-change-functions)
7579 (allout-structure-added-functions)
7580 (allout-structure-deleted-functions)
7581 (allout-structure-shifted-functions): Rename abnormal hooks from
7582 *-hook, and convert to defcustoms.
5d3385a0
JB
7583 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7584 Convert to defcustoms.
7b97c764
CY
7585 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7586
7587 * allout-widgets.el: Hook callers changed.
7588
90207a15 75892012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7590
7591 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7592 the yanked message in preference to the default value of
7593 buffer-file-coding-system.
7594
90207a15 75952012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7596
5d3385a0
JB
7597 * window.el (display-buffer--action-function-custom-type):
7598 Fix entry.
d9558cad 7599
90207a15 76002012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7601
7602 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7603
d80ac57b
GM
76042012-05-01 Glenn Morris <rgm@gnu.org>
7605
976f7668
GM
7606 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7607
beb83b5a
GM
7608 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7609
d80ac57b
GM
7610 * cus-edit.el (custom-variable-documentation): Simplify with format.
7611
b593d6a9 76122012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7613 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7614
7615 * simple.el (suggest-key-bindings, execute-extended-command):
7616 Move from keyboard.c.
7617
782fbf2a
CY
76182012-05-01 Chong Yidong <cyd@gnu.org>
7619
7620 * follow.el: Eliminate advice.
7621 (set-process-filter, process-filter, sit-for): Advice deleted.
7622 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7623 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7624 Vars deleted.
782fbf2a
CY
7625 (follow-auto): Use a :set function.
7626 (follow-mode): Rewritten. Don't advise process filters.
7627 (follow-switch-to-current-buffer-all, follow-scroll-up)
7628 (follow-scroll-down): Assume follow-mode is bound.
7629 (follow-comint-scroll-to-bottom)
7630 (follow-align-compilation-windows): New functions.
7631 (follow--window-sorter): New function.
7632 (follow-all-followers): Use it to explicitly sort windows by their
7633 positions; don't make assumptions about next-window order.
7634 (follow-windows-start-end, follow-delete-other-windows-and-split)
7635 (follow-calc-win-start): Doc fix.
7636 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7637 vertical-motion unnecessarily.
7638 (follow-adjust-window): New function.
7639 (follow-post-command-hook): Use it.
7640 (follow-call-set-process-filter, follow-call-process-filter)
7641 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7642 (follow-stop-intercept-process-output, follow-generic-filter):
7643 Functions deleted.
7644 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7645 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7646 New functions, replacing advice on scroll-bar-* commands.
87233a14 7647 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7648
7649 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7650 (comint-postoutput-scroll-to-bottom): Use it.
7651 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7652
290af740
GM
76532012-05-01 Glenn Morris <rgm@gnu.org>
7654
7655 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7656 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7657 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7658 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7659 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7660 Remove no-byte-compile setting.
7661
6eac8dc9
SM
76622012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7665 all-completions code to not return a number in the last cdr.
7666
9cc7819c
LL
76672012-04-30 Leo Liu <sdl.web@gmail.com>
7668
7669 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7670 read-only error.
7671
c93b886f
CY
76722012-04-29 Chong Yidong <cyd@gnu.org>
7673
7674 * follow.el (follow-calc-win-end): Rewrite to handle partial
7675 screen lines correctly (Bug#8390).
7676 (follow-avoid-tail-recenter): Minor cleanup.
7677
8b6c19f4
SM
76782012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 Avoid the obsolete `assoc' package.
7681 * speedbar.el (speedbar-refresh): Avoid adelete.
7682 (speedbar-file-lists): Simplify and avoid aput.
7683 * man.el (Man--sections, Man--refpages): New vars, replacing
7684 Man-sections-alist and Man-refpages-alist.
7685 (Man-build-section-alist, Man-build-references-alist):
7686 Use them; avoid aput.
7687 (Man--last-section, Man--last-refpage): New vars.
7688 (Man-follow-manual-reference): Use them.
7689 Use the `default' arg of completing-read.
7690 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7691
c5bb7569
CY
76922012-04-27 Chong Yidong <cyd@gnu.org>
7693
d1d2e2e8
CY
7694 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7695
15cd8efd
CY
7696 * startup.el (x-apply-session-resources): New function.
7697
7698 * term/ns-win.el (ns-initialize-window-system):
7699 * term/w32-win.el (w32-initialize-window-system):
7700 * term/x-win.el (x-initialize-window-system): Use it to properly
7701 set menu-bar-mode and other vars from X resources, even if the
7702 initial frame is not a window-system frame (Bug#2299).
7703
c5bb7569
CY
7704 * subr.el (read-key): Avoid running filter function when setting
7705 up temporary tool bar entries (Bug#9922).
7706
a8e7d6d7 77072012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7708
7709 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7710 (Bug#11344)
7711
a8e7d6d7 77122012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7713
7714 * select.el (xselect--encode-string): New function, split from
7715 xselect-convert-to-string.
7716 (xselect-convert-to-string): Use it.
7717 (xselect-convert-to-filename, xselect-convert-to-os)
7718 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7719 returned strings are properly encoded (Bug#11315).
7720
a8e7d6d7 77212012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7722
7723 * simple.el (delete-active-region): Move to killing custom group.
7724
a8e7d6d7 77252012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7726
7727 * progmodes/which-func.el (which-func-current): Quote %
7728 characters for mode-line processing.
7729
578c1d4b 77302012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7731
7732 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7733 reaching eob (Bug#11286).
7734
a8e7d6d7 77352012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7736
7737 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7738 (gdb): Make it buffer-local and init to zero.
7739 (gdb-control-commands-regexp): New variable.
7740 (gdb-send): Don't wrap in "-interpreter-exec console" if
7741 gdb-control-level is positive. Increment gdb-control-level
7742 whenever the command matches gdb-control-commands-regexp, and
7743 decrement it each time the command is "end". (Bug#11279)
7744
a8e7d6d7 77452012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7746
7747 * window.el (adjust-window-trailing-edge, enlarge-window)
7748 (shrink-window, window-resize):
7749 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7750 windows (Bug#11276).
7751
b3608390
CY
77522012-04-27 Chong Yidong <cyd@gnu.org>
7753
7754 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7755 fix "missing prefix" warning. All callers changed.
b3608390 7756
797e6e88
SM
77572012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7758
7759 * emacs-lisp/assoc.el: Move to obsolete/.
7760
e95a67dc
SM
77612012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7762
657c21e4 7763 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7764
7765 * term/ns-win.el (ns-define-service):
7766 * progmodes/pascal.el (pascal-goto-defun):
7767 * progmodes/js.el (js--read-tab):
7768 * progmodes/etags.el (tags-lazy-completion-table):
7769 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7770 * emacs-lisp/ewoc.el (ewoc--wrap):
7771 * emacs-lisp/assoc.el (aput, adelete, amake):
7772 * doc-view.el (doc-view-convert-current-doc):
7773 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7774
cb3e7ae0
CY
77752012-04-26 Chong Yidong <cyd@gnu.org>
7776
dce04f7f
CY
7777 * image.el (image-type-from-buffer): Only return supported image
7778 type (Bug#9045).
7779
cb3e7ae0
CY
7780 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7781 value, for symmetry with diff-end-of-hunk.
7782 (diff-split-hunk, diff-find-source-location)
7783 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7784 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7785 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7786 compute the relevant hunk or file properly (Bug#6005).
7787 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7788
0d42eb3e
SM
77892012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * vc/vc-mtn.el:
7792 * vc/vc-hg.el:
7793 * vc/vc-git.el:
7794 * vc/vc-dir.el:
7795 * vc/vc-cvs.el:
7796 * vc/vc-bzr.el:
7797 * vc/vc-arch.el:
7798 * vc/vc.el: Replace lexical-let by lexical-binding.
7799 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7800 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7801 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7802
f08ae1c9
CY
78032012-04-26 Chong Yidong <cyd@gnu.org>
7804
8b71081d
CY
7805 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7806 (diff-mode-shared-map): Bind it to / and [remap undo].
7807
f08ae1c9
CY
7808 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7809 (ediff-window-setup-function): Use it as the default, to set up
7810 windows based on whether the current frame is graphical (Bug#2138).
7811 (ediff-choose-window-setup-function-automatically): Make obsolete.
7812
7813 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7814
ef24141c
SM
78152012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7816
cc356a5d
SM
7817 * ffap.el: Remove old code for obsolete package.
7818 (ffap-complete-as-file-p): Remove.
7819
b4ff4f1f
SM
7820 Use completion-table-with-quoting for comint and pcomplete.
7821 * comint.el (comint--unquote&requote-argument)
7822 (comint--unquote-argument, comint--requote-argument): New functions.
7823 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7824 (comint-quote-filename): Use regexp-opt-charset.
7825 (comint--common-suffix, comint--common-quoted-suffix)
7826 (comint--table-subvert): Remove.
7827 (comint-unquote-function, comint-requote-function): New vars.
7828 (comint--complete-file-name-data): Use them with
7829 completion-table-with-quoting.
7830 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7831 * pcomplete.el (pcomplete-arg-quote-list)
7832 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7833 (pcomplete-unquote-argument-function): Default to non-nil.
7834 (pcomplete-unquote-argument): Simplify.
7835 (pcomplete--common-quoted-suffix): Remove.
7836 (pcomplete-requote-argument-function): New var.
7837 (pcomplete--common-suffix): New function.
7838 (pcomplete-completions-at-point): Use completion-table-with-quoting
7839 and completion-table-subvert.
7840
79c4eeb4
SM
7841 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7842 (minibuffer--double-dollars): Preserve properties.
7843 (completion--sifn-requote): New function.
7844 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7845
ef24141c
SM
7846 * minibuffer.el: Add support for completion of quoted/escaped data.
7847 (completion-table-with-quoting, completion-table-subvert): New funs.
7848 (completion--twq-try, completion--twq-all): New functions.
7849 (completion--nth-completion): New function.
7850 (completion-try-completion, completion-all-completions): Use it.
7851
784e7d6e
LL
78522012-04-25 Leo Liu <sdl.web@gmail.com>
7853
dd2ac746
SM
7854 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7855 Use compilation-message if available to find real filename.
784e7d6e 7856
07875ee7
CY
78572012-04-25 Chong Yidong <cyd@gnu.org>
7858
7859 * vc/diff-mode.el (diff-setup-whitespace): New function.
7860 (diff-mode): Use it.
7861
7862 * vc/diff.el (diff-sentinel):
7863 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7864 Whitespace mode variables based on diff style (Bug#8612).
7865
5055880d
LL
78662012-04-25 Leo Liu <sdl.web@gmail.com>
7867
daf75653
LL
7868 * progmodes/python.el (python-send-region): Add suffix .py to the
7869 temp file.
7870
5055880d
LL
7871 * files.el (auto-mode-alist): Use javascript-mode instead.
7872
db9b177b
AH
78732012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7874
ef24141c 7875 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7876
090bd7cb 7877 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7878 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7879 references, see Bug#9.
ef24141c 7880 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7881 when receiving a fault reply.
ef24141c 7882 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7883
090bd7cb 7884 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7885 (soap-inspect-simple-type): New function.
db9b177b 7886
090bd7cb 7887 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7888 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7889 (soap-decode-basic-type, soap-encode-basic-type):
7890 support unsignedInt and double basic types.
db9b177b 7891 (soap-resolve-references-for-simple-type)
ef24141c
SM
7892 (soap-parse-simple-type, soap-encode-simple-type): New function.
7893 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7894
090bd7cb 7895 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7896 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7897 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7898 the local name of "soapenc:Array".
7899 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7900 decoding integer, byte and anyURI xsd types.
7901
1fc6097b
CY
79022012-04-25 Chong Yidong <cyd@gnu.org>
7903
7904 * cus-edit.el (custom-buffer-create-internal): Update header text.
7905
afc6df87
EZ
79062012-04-25 Eli Zaretskii <eliz@gnu.org>
7907
7908 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7909 settings on 'system-type', not on 'window-system'. On MS-Windows,
7910 set interactive-mode on in GDB.
7911
dfbd787f
SM
79122012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7915 (ruby-syntax-propertize-regexp): Remove.
7916 (ruby-syntax-propertize-function): Split regexp into chunks.
7917 Match following code directly.
7918
85222d44
DG
79192012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7920
51a8ea2a
DG
7921 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7922 (ruby-syntax-propertize-regexp): New function.
7923 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7924 by a special keyword.
7925
85222d44
DG
7926 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7927 (ruby-syntax-general-delimiters-goto-beg)
7928 (ruby-syntax-propertize-general-delimiters): New functions.
7929 (ruby-syntax-propertize-function): Use them to handle GDL.
7930 (ruby-font-lock-keywords): Move old handling of GDL...
7931 (ruby-font-lock-syntactic-keywords): .. to here.
7932 (ruby-calculate-indent): Adjust indentation for GDL.
7933
b613912b
MA
79342012-04-24 Michael Albinus <michael.albinus@gmx.de>
7935
b5380639
MA
7936 * notifications.el (top): Remove unneeded declarations.
7937 (notifications-specification-version): Change to "1.2".
e43042fe 7938 (notifications-interface, notifications-notify-method)
b613912b
MA
7939 (notifications-close-notification-method): Fix docstring.
7940 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7941 (notifications-notify): Add :action-items, :resident and
7942 :transient hints. Change "image_data" to "image-data" and
7943 "image_path" to "image-path".
b613912b
MA
7944 (notifications-get-capabilities): New defun.
7945
257440aa
LL
79462012-04-24 Leo Liu <sdl.web@gmail.com>
7947
7948 * progmodes/python.el: Move hideshow setup to the end.
7949
b1bac16e
MR
79502012-04-24 Martin Rudalics <rudalics@gmx.at>
7951
7952 * window.el (handle-select-window): Clear echo area since this is
7953 no more done by read_char (Bug#11304).
7954
d81bd059
SM
79552012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7958 and `/ M' to filter-derived-mode.
7959 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7960 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7961 (ibuffer-mark-by-mode): Use default rather than initial-input.
7962 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7963
c4cf6d91
IA
79642012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7965
7966 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7967 (ibuffer-filter-by-derived-mode): New filter.
7968 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7969
7511ded8
CY
79702012-04-23 Andreas Politz <politza@fh-trier.de>
7971
7972 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7973
775c916b
CY
79742012-04-23 Chong Yidong <cyd@gnu.org>
7975
7976 * cus-edit.el (customize-apropos, customize-apropos-options):
7977 Disable matching of non-option variables (Bug#11176).
7978 (customize-option, customize-option-other-window)
7979 (customize-changed-options): Doc fix.
7980 (customize-apropos-options, customize-apropos-faces)
7981 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7982
7983 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7984 Fix word list splitting (Bug#11132).
46c71e23
CY
7985 (apropos-symbol, apropos-keybinding, apropos-label)
7986 (apropos-property, apropos-function-button)
7987 (apropos-variable-button, apropos-misc-button): New faces.
7988 (apropos-symbol-face, apropos-keybinding-face)
7989 (apropos-label-face, apropos-property-face, apropos-match-face):
7990 Variables removed (Bug#8396).
7991 (apropos-library-button, apropos-format-plist, apropos-print)
7992 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7993
2df41f9c
MA
79942012-04-23 Michael Albinus <michael.albinus@gmx.de>
7995
7996 * net/xesam.el (xesam-mode-map): Use let-bound map in
7997 initialization. (Bug#11292)
7998
da00640a
AM
79992012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8000
8001 Preserve ispell session localwords when switching back to
8002 original buffer.
8003
090bd7cb
JB
8004 * textmodes/ispell.el (ispell-buffer-session-localwords):
8005 New buffer-local variable to hold buffer session localwords.
ed9265fc 8006 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8007 localwords.
8008 (ispell-command-loop, ispell-change-dictionary)
8009 (ispell-buffer-local-words): Preserve session localwords when
8010 needed.
8011
090bd7cb
JB
8012 * textmodes/flyspell.el (flyspell-process-localwords)
8013 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8014
f621ccf5
AM
80152012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8016
090bd7cb
JB
8017 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8018 using obsolete `translation-table-for-input'.
ef24141c
SM
8019 (ispell-word, ispell-process-line, ispell-complete-word):
8020 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8021
c2d1019e
CY
80222012-04-22 Chong Yidong <cyd@gnu.org>
8023
8024 * cus-edit.el (custom-variable-menu)
8025 (custom-variable-reset-saved, custom-face-menu)
8026 (custom-face-reset-saved): If there is no saved value, make the
8027 "reset-saved" operation bring back the default (Bug#9509).
8028 (custom-face-state): Properly detect themed faces.
8029
eeddc531
CY
8030 * faces.el (face-spec-set): Stop supporting deprecated form of
8031 third arg.
8032
dcbf5805
MA
80332012-04-22 Michael Albinus <michael.albinus@gmx.de>
8034
8035 Move functions from C to Lisp. Make non-blocking method calls
8036 the default. Implement further D-Bus standard interfaces.
8037
ef24141c
SM
8038 * net/dbus.el (dbus-message-internal): Declare function.
8039 Remove unneeded function declarations.
dcbf5805
MA
8040 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8041 (dbus-message-type-method-return, dbus-message-type-error)
8042 (dbus-message-type-signal): Declare variables. Remove local
8043 definitions.
8044 (dbus-interface-dbus, dbus-interface-peer)
8045 (dbus-interface-introspectable, dbus-interface-properties)
8046 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8047 Adapt docstring.
8048 (dbus-interface-objectmanager): New defconst.
8049 (dbus-call-method, dbus-call-method-asynchronously)
8050 (dbus-send-signal, dbus-method-return-internal)
8051 (dbus-method-error-internal, dbus-register-service)
8052 (dbus-register-signal, dbus-register-method): New defuns, moved
8053 from dbusbind.c
8054 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8055 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8056 New defuns.
dcbf5805
MA
8057 (dbus-call-method-non-blocking): Make it an obsolete function.
8058 (dbus-unregister-object, dbus-unregister-service)
8059 (dbus-handle-event, dbus-register-property)
8060 (dbus-property-handler): Obey the new structure of
8061 `bus-registered-objects'.
8062 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8063 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8064 Use `dbus-call-method'.
8065
cf20dee0
CY
80662012-04-22 Chong Yidong <cyd@gnu.org>
8067
8068 * cus-edit.el (custom-commands, custom-reset-menu)
8069 (Custom-reset-standard): Tweak labels.
8070 (custom-reset-button-menu): Change default to t.
8071 (custom-buffer-create-internal): For the custom-reset-button-menu
8072 case, put the revert button first.
8073 (custom-group-subtitle): New face.
8074 (custom-group-value-create): Align docstring to a specific column.
8075
8076 * wid-edit.el (widget-documentation-link-add): Don't handle
8077 indentation in this function.
8078 (widget-documentation-string-indent-to): New function.
8079 (widget-documentation-string-value-create): Use it.
8080
8081 * autorevert.el (auto-revert):
8082 * epg-config.el (epg):
8083 * ibuffer.el (ibuffer):
8084 * mpc.el (mpc):
8085 * ses.el (ses):
8086 * eshell/eshell.el (eshell):
8087 * net/ange-ftp.el (ange-ftp):
8088 * progmodes/ebnf2ps.el (postscript):
8089 * progmodes/flymake.el (flymake):
8090 * progmodes/prolog.el (prolog):
8091 * progmodes/verilog-mode.el (verilog-mode):
8092 * progmodes/which-func.el (which-func):
8093 * term/xterm.el (xterm):
8094 * textmodes/picture.el (picture):
8095 * textmodes/tildify.el (tildify):
8096 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8097 customization buffers.
8098
583e23bd
AM
80992012-04-22 Alan Mackenzie <acm@muc.de>
8100
8101 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8102 Adding a ) can hide the resulting (..) from searches. Fix it.
8103 Bound the backward search to the position of the existing (.
8104
7dd51bf1
JB
81052012-04-21 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * progmodes/verilog-mode.el (verilog-mode): Check whether
8108 which-func-modes is t before adding verilog-mode.
8109 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8110
d64a438f
LL
81112012-04-21 Leo Liu <sdl.web@gmail.com>
8112
7dd51bf1 8113 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8114
081e8d65
MV
81152012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8116
8117 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8118 filling of the last column of a table (Bug#5635).
8119 (woman-find-next-control-line): New arg, specifying an additional
8120 regexp component for the control line.
8121 (woman2-roff-buffer): Use it.
8122 (woman-break-table): New function.
8123 (woman2-TS): Use it.
8124
81252012-04-21 Chong Yidong <cyd@gnu.org>
8126
8127 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8128 (woman-horizontal-escapes, woman-negative-vertical-space)
8129 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8130 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8131
ed571ccb
SM
81322012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8133
8134 * minibuffer.el (completion-file-name-table): Complete user names.
8135
39773899
LL
81362012-04-20 Leo Liu <sdl.web@gmail.com>
8137
8138 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8139 and pcase-let*.
8140
de6ff46d
CY
81412012-04-20 Chong Yidong <cyd@gnu.org>
8142
8143 * server.el (server-execute): Respect initial-buffer-choice if it
8144 is a string and there are no files to open (Bug#2825).
8145 (server-create-window-system-frame, server-create-tty-frame):
8146 Don't switch buffers here.
2d0e8e61
CY
8147 (server-process-filter): Only try to open a window system frame if
8148 compiled with graphical support (Bug#8314).
de6ff46d 8149
54071013
DN
81502012-04-20 Dan Nicolaescu <dann@gnu.org>
8151
8152 * battery.el (battery-echo-area-format): Display remaining time
8153 for sysfs backend too (Bug#11269).
8154 (battery-linux-sysfs): Fix conditional for the charge.
8155
f30d612a
CY
81562012-04-20 Chong Yidong <cyd@gnu.org>
8157
c07a4c0b 8158 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8159 (gdb-inferior-io--init-proc): New function.
8160 (gdb-init-1): Use it.
8161 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8162 responsible for allocating a new pty and hooking it to gdb when
8163 the old pty gets an EIO due to process exit.
8164 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8165 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8166 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8167
2116e93c
EZ
81682012-04-20 Eli Zaretskii <eliz@gnu.org>
8169
8170 * window.el (window-min-size, window-sizable, window-min-delta)
8171 (window-max-delta, window--resizable, window-resizable)
8172 (window-total-size, window-full-height-p, window-full-width-p)
8173 (window-in-direction, window--resize-mini-window, window-resize)
8174 (window--resize-child-windows-normal)
8175 (window--resize-child-windows, window--resize-siblings)
8176 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8177 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8178
c07a4c0b 81792012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8180
ef24141c
SM
8181 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8182 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8183 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8184 pty process (Bug#11273).
8185 (gdb-update): New arg to suppress talking to the gdb process.
8186 (gdb-done-or-error): Use it.
8187 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8188 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8189 sentinel not being called.
8190
8191 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8192
d02766ab
CY
8193 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8194
c07a4c0b 81952012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8196
8197 * net/network-stream.el (open-network-stream): Doc fix.
8198
c07a4c0b 81992012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8200
8201 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8202
c07a4c0b 82032012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8204
8205 Ensure searching for keywords is case sensitive.
8206
8207 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8208 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8209 (c-defun-name, c-mark-function, c-cpp-define-name)
8210 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8211 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8212
ef24141c
SM
8213 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8214 Bind case-fold-search to nil.
f0f6bc35 8215
c07a4c0b 82162012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8217
8218 * mail/sendmail.el (mail-bury): Call return action with the right
8219 Rmail buffer (Bug#11242).
8220
9a864fa2
CY
8221 * server.el (server-process-filter): Handle corner case where both
8222 tty and nowait options are present (Bug#11102).
8223
539aa513
EZ
82242012-04-20 Eli Zaretskii <eliz@gnu.org>
8225
8226 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8227 (top level): Put into the executable the ident-style '$Id:' tag on
8228 windows-nt as well.
539aa513 8229
cfc7d5da
SM
82302012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * electric.el (electric-indent-post-self-insert-function): Check that
8233 electric-indent-mode is enabled in current buffer.
8234
5b01685c
JB
82352012-04-19 Juanma Barranquero <lekktu@gmail.com>
8236
8237 * imenu.el (imenu-progress-message): Restore; it is "used" in
8238 erc/erc-imenu.el and net/snmp-mode.el.
8239
4d6769e1
JB
82402012-04-19 Juanma Barranquero <lekktu@gmail.com>
8241
8242 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8243 (mouse-avoidance-nudge-mouse): Remove unused binding.
8244
8245 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8246
8247 * descr-text.el (describe-char):
8248 * progmodes/python.el (python-describe-symbol):
8249 Don't call `toggle-read-only', set `buffer-read-only'.
8250
8251 * imenu.el (imenu-default-goto-function): Mark unused args.
8252 (imenu-progress-message): Remove obsolete macro; all callers changed.
8253
8254 * subr.el (keymap-canonicalize): Remove unused binding.
8255 (read-passwd): Mark unused arg.
8256
8257 * tutorial.el (tutorial--display-changes): Remove unused binding.
8258 (tutorial--save-tutorial-to): Remove unused variable.
8259
8260 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8261 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8262 (package-generate-autoloads, package-menu--generate)
8263 (package-menu--find-upgrades): Remove unused bindings.
8264
8265 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8266 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8267 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8268 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8269 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8270 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8271 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8272 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8273 (cua-delete-char-rectangle): Mark unused args.
8274 (cua-align-rectangle): Remove unused binding.
8275
8276 * mail/rmail.el (compilation--message->loc)
8277 (epa--find-coding-system-for-mime-charset): Declare.
8278
8279 * net/dbus.el (dbus-register-service): Declare.
8280 (dbus-name-owner-changed-handler): Remove unused binding.
8281
8282 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8283 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8284 (nxml-scan-backward-within): Mark unused arg.
8285 (nxml-dynamic-markup-word): Remove unused binding.
8286
8287 * mouse.el (mouse-menu-major-mode-map):
8288 * emacs-lisp/authors.el (authors-scan-change-log)
8289 (authors-add-to-author-list):
8290 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8291 * emacs-lisp/smie.el (smie-auto-fill):
8292 * mail/sendmail.el (mail-bury):
8293 * mail/unrmail.el (unrmail):
8294 * net/tls.el (open-tls-stream):
8295 * textmodes/picture.el (picture-mouse-set-point):
8296 Remove unused bindings.
8297
8c8fc5df
MA
82982012-04-19 Michael Albinus <michael.albinus@gmx.de>
8299
8300 * net/tramp.el (tramp-action-password): Let-bind
8301 `enable-recursive-minibuffers' to t.
8302
a77b0ac9
SS
83032012-04-18 Sam Steingold <sds@gnu.org>
8304
8305 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8306 instead of 'string to accommodate values like [f11].
8307 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8308 * progmodes/gdb-mi.el: Likewise.
8309
12a106a9
LL
83102012-04-18 Leo Liu <sdl.web@gmail.com>
8311
8312 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8313 current buffer.
8314 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8315 LOCAL is nil.
8316
bc6494ef
CY
83172012-04-18 Chong Yidong <cyd@gnu.org>
8318
8319 * simple.el (line-move): Use forward-line if in batch mode
8320 (Bug#11053).
8321
c09c46b2
CS
83222012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8323
8324 * files.el (after-find-file): Do not try to add a final newline if
8325 the buffer is read-only (Bug#11156).
8326
5f6530ea
RS
83272012-04-17 Richard Stallman <rms@gnu.org>
8328
8329 * mail/rmail.el (rmail-start-mail):
8330 Pass (rmail-mail-return...) for the return-action.
8331 Pass (rmail-yank-current-message...) for the yank-action.
8332 (rmail-yank-current-message): New function.
8333 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8334 (rmail-reply): Likewise.
8335 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8336
8337 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8338 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8339 buffer, not newbuf.
8340
197b6f3c
JB
83412012-04-17 Juanma Barranquero <lekktu@gmail.com>
8342
8343 * server.el (server-ensure-safe-dir): Simplify.
8344
2311d8e5 83452012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8346
2311d8e5
GM
8347 * emacs-lisp/smie.el: Provide smarter auto-filling.
8348 (smie-auto-fill): New function.
8349 (smie-setup): Use it.
98fb480e 8350
2311d8e5
GM
8351 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8352
83532012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8354
8355 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8356 (comment-indent): Use it.
8357
2311d8e5 83582012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8359
8360 * ses.el: The overall change is to add cell renaming, that is
8361 setting fancy names for cell symbols other than name matching
8362 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8363 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8364 (ses-create-cell-variable): New defun.
2311d8e5 8365 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8366 (ses-relocate-formula): Relocate formulas only for cells the
8367 symbols of which are not renamed, i.e. symbols whose names do not
8368 match regexp "\\`[A-Z]+[0-9]+\\'".
8369 (ses-relocate-all): Relocate values only for cells the symbols of
8370 which are not renamed.
8371 (ses-load): Create cells variables as the (ses-cell ...) are read,
8372 in order to check row col consistency with cell symbol name only
8373 for cells that are not renamed.
8374 (ses-replace-name-in-formula): New defun.
8375 (ses-rename-cell): New defun.
4bdf2ad2 8376
fc72b15c
PO
83772012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8378
8379 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8380 New option (bug#11118).
8381 (perl-calculate-indent): Respect it.
8382
12e10e61
GM
83832012-04-17 Glenn Morris <rgm@gnu.org>
8384
8385 * dired-aux.el (dired-mark-read-string): Doc fix.
8386
30009afd
DA
83872012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8388
8389 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8390 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8391
41f03f4d
GM
83922012-04-17 Glenn Morris <rgm@gnu.org>
8393
8394 * mouse.el (mouse-drag-track):
8395 * speedbar.el (speedbar-frame-mode):
8396 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8397
f45f90f3
LL
83982012-04-16 Leo Liu <sdl.web@gmail.com>
8399
8400 * progmodes/python.el: Trivial cleanup.
8401
94ee8db5
GM
84022012-04-16 Glenn Morris <rgm@gnu.org>
8403
121b8917
GM
8404 * vc/vc.el (vc-string-prefix-p):
8405 * vc/pcvs-util.el (cvs-string-prefix-p):
8406 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8407 * mpc.el (mpc-string-prefix-p):
8408 Make all of these into obsolete aliases for string-prefix-p.
8409 Update callers.
8410 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8411
1197ecfa
GM
8412 * textmodes/two-column.el: Move custom options to the start.
8413 (frame-width): Remove compat definition.
8414 (2C-associate-buffer, 2C-dissociate):
8415 Use with-current-buffer rather than save-excursion.
8416 (2C-dissociate): Force a mode-line update.
8417 (2C-autoscroll): Use ignore-errors.
8418
099e7202
GM
8419 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8420 Autoload trivia.
8421
bf350d6a
GM
8422 * emacs-lisp/cl-extra.el (*random-state*):
8423 Remove unnecessary declaration.
8424
0e829eab
GM
8425 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8426
e3ad7552
GM
8427 * play/cookie1.el (cookie-snarf):
8428 Give an explicit error if input file cannot be read.
8429
68892d27
GM
8430 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8431
20f0c46d
GM
8432 * progmodes/perl-mode.el (c-macro-expand):
8433 Remove unnecessary autoload (it is in loaddefs.el).
8434
5a0978ce
GM
8435 * textmodes/picture.el (picture-desired-column)
8436 (picture-update-desired-column): Convert comments to doc-strings.
8437 (picture-substitute): Remove function.
8438 (picture-mode-map): Initialize in the defvar.
8439
6b955486
GM
8440 * woman.el: Remove eval-after-load for tar-mode.
8441 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8442 (woman-tar-extract-file): Autoload it.
8443
94ee8db5
GM
8444 * frame.el (automatic-hscrolling): Make this alias obsolete.
8445
177eca34
AM
84462012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8447
090bd7cb 8448 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8449 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8450 (ispell-dictionary-base-alist): Revert to original XEmacs
8451 friendly version for default. [:alpha:] will be added in
090bd7cb 8452 `ispell-set-spellchecker-params' if needed.
177eca34 8453
c505aaeb
CY
84542012-04-16 Chong Yidong <cyd@gnu.org>
8455
b19dd9d1 8456 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8457 (imagemagick-register-types): Use it.
8458 (imagemagick-types-inhibit): Add :set function. Allow new value
8459 of t to inhibit all types.
8460
8461 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8462 so we can preload it.
8463
8464 * loadup.el (fboundp): Preload regexp-opt, needed by
8465 imagemagick-register-types.
8466
60efac0f
CY
84672012-04-15 Chong Yidong <cyd@gnu.org>
8468
8469 * frame.el (scrolling): Remove nearly unused customization group.
8470
8471 * scroll-all.el (scroll-all-mode): Move to windows group.
8472
5dd1713e
CY
84732012-04-15 Chong Yidong <cyd@gnu.org>
8474
8475 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8476
e6fd457e
CY
84772012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8478
8479 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8480 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8481
e153c136
GM
84822012-04-15 Glenn Morris <rgm@gnu.org>
8483
8484 * simple.el (process-file-side-effects): Doc fix.
8485
e6fd457e 84862012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8487
8488 * international/mule-cmds.el (set-language-environment): Doc fix.
8489
3603c3b1
JB
84902012-04-14 Juanma Barranquero <lekktu@gmail.com>
8491
8492 * server.el (server-auth-key, server-generate-key): Doc fixes.
8493 (server-get-auth-key): Doc fix. Use `string-match-p'.
8494 (server-start): Reflow docstring.
8495
e6de100c
LI
84962012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8497
8498 * server.el (server-generate-key): `called-interactively-p'
8499 requires a parameter.
8500
29734c21
MN
85012012-04-14 Michal Nazarewicz <mina86@mina86.com>
8502
8503 * server.el (server-auth-key): New variable.
75f1671a 8504 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8505 (server-start): Use the new variable and functions to allow
8506 setting a permanent server key (bug#9423).
8507
d65c9521
LL
85082012-04-14 Leo Liu <sdl.web@gmail.com>
8509
8510 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8511
5ae255c7
PE
85122012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8513
8514 Spelling fixes.
8515 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8516 Emacs uses American spelling.
8517
d5e6342e
JB
85182012-04-14 Juanma Barranquero <lekktu@gmail.com>
8519
8520 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8521 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8522 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8523 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8524
ab036cd7
SM
85252012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * progmodes/which-func.el (which-func-modes): Change default.
8528
35dc09a1 85292012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8530
8531 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8532 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8533
35dc09a1 85342012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8535
8536 * custom.el (custom-theme-set-variables): Doc fix.
8537
35dc09a1 85382012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8539
8540 * international/mule.el (set-auto-coding-for-load): Doc fix.
8541
35dc09a1 85422012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8543
35dc09a1
GM
8544 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8545 imenu work again for Objective C Mode. Correct the *-index values,
8546 these having been disturbed by a previous change in 2011-08.
57f845ee 8547
0de3da9f
AM
8548 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8549 Correct two search limits.
8550
35dc09a1 85512012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8552
8553 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8554
35dc09a1 85552012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8556
8557 * international/characters.el: Fix sorting.
8558
35dc09a1 85592012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8560
8561 * international/characters.el: Add more missing Latin case pairs.
8562
35dc09a1 85632012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8564
8565 * files.el (dir-locals-set-class-variables): Doc fix.
8566
35dc09a1 85672012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8568
3f1b5bf8
EZ
8569 * international/characters.el: Add set-case-syntax-pair call for
8570 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8571 counterpart. (Bug#11209)
8572
9f847f41
EZ
8573 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8574
35dc09a1 85752012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8576
8577 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8578
35dc09a1 85792012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8580
35dc09a1
GM
8581 * textmodes/ispell.el (ispell-dictionary-base-alist):
8582 Add data for Hebrew.
e2627d21 8583
35dc09a1 85842012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8585
35dc09a1
GM
8586 * net/rcirc.el (rcirc-cmd-quit):
8587 Revert 2012-03-18 change (Bug#11192).
5c14e333 8588
35dc09a1 85892012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8590
8591 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8592
35dc09a1 85932012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8594
4517fe3a
SM
8595 * minibuffer.el (completion-in-region-mode-map):
8596 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8597
b472a594
VD
85982012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8599
8600 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8601
09b95ce3
MY
86022012-04-13 Masatake YAMATO <yamato@redhat.com>
8603
8604 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8605 to allow `C-M-f' and `C-M-b' to move to the nearest path
8606 separator (bug#9511).
8607
4b63a9ca
LI
86082012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8609
8610 * avoid.el: Require cl when compiling. And also move the
8611 `provide' to the end.
8612
7b55b8bf
TV
86132012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8614
8615 * avoid.el (mouse-avoidance-banish-position): New variable.
8616 (mouse-avoidance-banish-destination): Use it (bug#10165).
8617
adedaa1f
LL
86182012-04-13 Leo Liu <sdl.web@gmail.com>
8619
8620 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8621
70e74021
KB
86222012-04-13 Ken Brown <kbrown@cornell.edu>
8623
8624 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8625 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8626 (browse-url-filename-alist): For the same reason, don't modify
8627 file:// URLs on Cygwin.
8628
e75e89ba
SM
86292012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8632 the region on shift if the binding is already shifted (bug#11221).
8633
82f289a4
GM
86342012-04-12 Glenn Morris <rgm@gnu.org>
8635
8636 * mail/mailpost.el: Move to obsolete/.
8637
d333dc4c
DA
86382012-04-12 Drew Adams <drew.adams@oracle.com>
8639
8640 * imenu.el (imenu--generic-function): Ignore invisible definitions
8641 (bug#10123).
8642
0d15b5ba
VD
86432012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8644
8645 * hexl.el (hexl-bits): New variable.
8646 (hexl-options): Mention the variable in the doc string.
75f1671a 8647 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8648 (hexl-mode): Mention the new variable.
75f1671a
JB
8649 (hexl-mode, hexl-current-address, hexl-current-address):
8650 Use the displen.
0d15b5ba
VD
8651 (hexl-ascii-start-column): New function.
8652 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8653 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8654
64a440db
AM
86552012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8656
8657 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8658 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8659 the encoding, as expected by hunspell.
8660
6decb6c2
SM
86612012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8662
8663 * battery.el (battery--linux-sysfs-regexp): New const.
8664 (battery-status-function): Use it. Remove yeeloong special case.
8665 (battery-yeeloong-sysfs): Remove.
8666 (battery-echo-area-format): Remove yeeloong special case.
8667
088be6fb
SM
86682012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8669
6622e416
SM
8670 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8671 Reported by Noah Friedman.
8672
088be6fb
SM
8673 * subr.el (read-passwd): Use read-string.
8674
b49f886e
LMI
86752012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8676
8677 * vcursor.el (vcursor-move): Increase the priority of the overlay
8678 (bug#9663).
8679
a63067fc
DD
86802012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8681
8682 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8683 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8684
ac3cf14a
WS
86852012-04-11 William Stevenson <yhvh2000@gmail.com>
8686
8687 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8688 define-minor-mode (bug#10760).
8689
c4fc691b 86902012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8691
4d6769e1 8692 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8693 that directories matching `grep-find-ignored-files' won't be
8694 pruned (bug#10351).
8695
af23e2e5
CY
86962012-04-11 Chong Yidong <cyd@gnu.org>
8697
8698 * startup.el (command-line): Remove support for long-obsolete
8699 variable font-lock-face-attributes.
8700
ab7ce8c1
GM
87012012-04-11 Glenn Morris <rgm@gnu.org>
8702
8703 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8704
de8c03dc
SM
87052012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * window.el (window--state-get-1): Obey window-point-insertion-type.
8708
050cc68b
LB
87092012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8710
8711 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8712 to previous function when point is on the first character of a
75f1671a 8713 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8714
a38c310c
GM
87152012-04-11 Glenn Morris <rgm@gnu.org>
8716
effed0c2
GM
8717 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8718 not just file-errors.
8719
a38c310c
GM
8720 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8721 (vc-bzr-sha1): Use internal sha1.
8722
0221e323
SM
87232012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8724
8725 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8726
43956923
SG
87272012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8728
8729 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8730 that start in the middle of the line (bug#10496).
8731
6a8c9eaf
DN
87322012-04-10 Dan Nicolaescu <dann@gnu.org>
8733
8734 * battery.el (battery-linux-proc-acpi): Only one battery is
8735 discharged at a time, but that seems to confuse battery.el when
8736 computing `rate-type' for the battery not being discharged
8737 (bug#10332).
8738
1930bf5d
SM
87392012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8740
2a718f6f
SM
8741 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8742
599430d0
SM
8743 * international/quail.el: Use dolist and simplify.
8744 (quail-define-package, quail-update-keyboard-layout)
8745 (quail-define-rules): Use dolist.
8746 (quail-insert-kbd-layout, quail-get-translation): CSE.
8747
a2754b6c
SM
8748 * tmm.el: Use dolist, remove left over hook.
8749 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8750 Use dolist.
8751 (calendar-load-hook): Don't mess with it.
8752
1930bf5d
SM
8753 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8754 Use derived-mode-p. Run the diff asynchronously.
8755
9f67961c
LMI
87562012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8757
8758 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8759
2a8ce227
JB
87602012-04-10 Juanma Barranquero <lekktu@gmail.com>
8761
8762 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8763 (list-dynamic-libraries--loaded): New function.
8764 (list-dynamic-libraries--refresh): Use it.
8765
8f33b5f8
NW
87662012-04-10 Nathan Weizenbaum <nweiz@google.com>
8767
1930bf5d
SM
8768 * progmodes/python.el (python-fill-paragraph):
8769 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8770 disabled (bug#7018).
8771
b12f0439
L
87722012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8773
1930bf5d 8774 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8775 DOS/MS Windows for the Baltic languages. There are still plenty
8776 of texts written in this encoding/codepage (bug#6519).
b12f0439 8777
57c3bd01
GM
87782012-04-10 Glenn Morris <rgm@gnu.org>
8779
8780 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8781 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8782
6c3eab30
FA
87832012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8784
1930bf5d 8785 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8786 next-line "n" and previous-line "p" in order to make recentf more
8787 consistent with ibuffer, dired or org-mode (bug#9387).
8788
24d78a88
LMI
87892012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8790
bc72b5d9
LMI
8791 * image.el (put-image): Return the overlay created instead of the
8792 optional input string (bug#7834). Note that this may break code
8793 that is (for some reason or other) depending on `put-image'
8794 returning the string.
8795
bd2dba5a
LMI
8796 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8797
74beb59f
LMI
8798 * simple.el (zap-to-char): Allow zapping using input methods
8799 (bug#1580).
8800
24d78a88
LMI
8801 * textmodes/fill.el (fill-region): Leave point and mark where they
8802 were before filling (bug#5399).
8803
263f20cd
GM
88042012-04-09 Glenn Morris <rgm@gnu.org>
8805
8806 * version.el (emacs-bzr-get-version):
8807 Handle lightweight checkouts of local branches.
8808
58d1f797
AS
88092012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8810
263f20cd 8811 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8812
b4d3bc10
CY
88132012-04-09 Chong Yidong <cyd@gnu.org>
8814
8815 * custom.el (custom-variable-p): Return nil for non-symbol
8816 arguments instead of signaling an error.
8817 (user-variable-p): Obsolete alias for custom-variable-p.
8818
8819 * apropos.el (apropos-variable):
8820 * files-x.el (read-file-local-variable):
8821 * simple.el (set-variable):
8822 * woman.el (woman-mini-help):
8823 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8824
fd06db5d
GM
88252012-04-09 Glenn Morris <rgm@gnu.org>
8826
e5fcdb5e
GM
8827 * startup.el (normal-top-level): Don't look for leim-list.el
8828 in places where it will not be found. (Bug#910)
8829
fd06db5d
GM
8830 * international/mule-cmds.el (set-default-coding-systems):
8831 * files.el (normal-mode):
8832 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8833 This function was removed with ucs-tables.el in 2008.
8834
b39bb7e1
EZ
88352012-04-08 Eli Zaretskii <eliz@gnu.org>
8836
8837 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8838 ispell-encoding8-command to "-i", without a trailing space.
8839 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8840 separate command-line arguments, to specify the encoding, since
8841 that's how hunspell expects it.
8842
5c5b8e23
GM
88432012-04-08 Glenn Morris <rgm@gnu.org>
8844
8845 * loadup.el: Load bindings before cus-start.
8846 This reduces somewhat the number of "rogue" settings in emacs -Q.
8847
a1ed8b05
GM
88482012-04-07 Glenn Morris <rgm@gnu.org>
8849
8850 * version.el (emacs-bzr-get-version): New function.
dfae128a 8851 (emacs-bzr-version): New variable.
a1ed8b05
GM
8852 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8853 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8854
b142f158
EZ
88552012-04-07 Eli Zaretskii <eliz@gnu.org>
8856
dfae128a
GM
8857 * international/uni-bidi.el, international/uni-category.el:
8858 * international/uni-combining.el, international/uni-decimal.el:
8859 * international/uni-decomposition.el, international/uni-digit.el:
8860 * international/uni-lowercase.el, international/uni-mirrored.el:
8861 * international/uni-name.el, international/uni-numeric.el:
8862 * international/uni-titlecase.el, international/uni-uppercase.el:
8863 Update for Unicode 6.1.
b142f158 8864
9078ead6
EZ
88652012-04-07 Eli Zaretskii <eliz@gnu.org>
8866
8867 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8868
f23d2c7d
LMI
88692012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8870
8871 * window.el (shrink-window): Mention the `window-min-height'
8872 variable in the doc string.
8873
0a0a3573
BG
88742012-04-05 Bastien Guerry <bzg@altern.org>
8875
8876 * color.el (color-lighten-name): Fix typo.
8877
e5248ac9
SM
88782012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 * server.el (server--on-display-p): New function.
8881 (server--on-display-p): Use it.
8882
b4243e22
GV
88832012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8884
8885 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8886 (bug#11145).
8887
305d9f44
SM
88882012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * comint.el (comint--common-quoted-suffix): Check string boundary
8891 before comparing (bug#11158).
8892 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8893
3d439cd1
CY
88942012-04-04 Chong Yidong <cyd@gnu.org>
8895
321cc491
CY
8896 * minibuffer.el (completion-extra-properties): Doc fix.
8897
3d439cd1
CY
8898 * subr.el (delayed-warnings-hook): Doc fix.
8899
2d562c0f
DU
89002012-04-04 Daiki Ueno <ueno@unixuser.org>
8901
8902 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8903 selection (Bug#11159).
8904 (epa-insert-keys): Inform that the default public key will be
8905 exported if no key is selected.
8906
4443f204
RS
89072012-04-04 Richard Stallman <rms@gnu.org>
8908
8909 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8910
529c06b6
CY
89112012-04-03 Chong Yidong <cyd@gnu.org>
8912
8913 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8914 mail-insert-file, not its obsolete alias mail-attach-file.
8915
66b907dc
MA
89162012-04-03 Michael Albinus <michael.albinus@gmx.de>
8917
8918 * notifications.el (notifications-notify): Fix docstring.
8919
c0ea195d
GM
89202012-04-02 Glenn Morris <rgm@gnu.org>
8921
8922 * emacs-lisp/authors.el (authors-aliases): Another addition.
8923
5ca64e00
MA
89242012-04-02 Michael Albinus <michael.albinus@gmx.de>
8925
8926 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8927 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8928 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8929
42ee526b
CY
89302012-04-01 Chong Yidong <cyd@gnu.org>
8931
8932 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8933 Handle root directory properly.
8934 (copy-directory): Caller changed.
8935
8936 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8937 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8938
0b021094
GM
89392012-03-31 Glenn Morris <rgm@gnu.org>
8940
40f86458
GM
8941 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8942
7019c177
GM
8943 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8944
a1daddd6
GM
8945 * calendar/calendar.el (calendar-window-list)
8946 (calendar-hide-window): Restore. (Bug#11140)
8947 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8948
0b021094
GM
8949 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8950
40311efc
TV
89512012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8952
8953 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8954 Check if file is a symlink (Bug#10489).
8955
8956 * files.el (copy-directory): Likewise.
8957
5319014e
CY
89582012-03-30 Chong Yidong <cyd@gnu.org>
8959
8960 * image.el (imagemagick-types-inhibit)
8961 (imagemagick-register-types): Doc fix.
8962
935d1290
AM
89632012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8964
090bd7cb 8965 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8966 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8967 and treats ~word as ordinary words in pipe mode.
935d1290 8968
61c6e8fd
GM
89692012-03-30 Glenn Morris <rgm@gnu.org>
8970
8971 * tutorial.el (help-with-tutorial): Ensure local variables don't
8972 happen to make the buffer read-only. (Bug#11127)
8973
81fdff00
SM
89742012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8977 (perl-calculate-indent): Return `noindent' in strings.
8978
6e7a6ec0
SS
89792012-03-28 Sam Steingold <sds@gnu.org>
8980
8981 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8982 instead of the broken adhockery which does not prevent calendar
8983 buffers from being displayed at random after exit.
8984 (calendar-window-list, calendar-hide-window): Remove the broken
8985 adhockery.
8986
fee88ca0
GM
89872012-03-28 Glenn Morris <rgm@gnu.org>
8988
8989 * replace.el (query-replace-map): Doc fix.
8990
38de3354
AS
89912012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8992
8993 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8994 contents. (Bug#11109)
8995
b973155e
SM
89962012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8997
8998 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8999 (bug#11077).
9000 (avl-tree--check, avl-tree--check-node): New funs.
9001
dcb6e7b3
MR
90022012-03-27 Martin Rudalics <rudalics@gmx.at>
9003
9004 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9005 (switch-to-prev-buffer, switch-to-next-buffer):
9006 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9007 showing a buffer already is done on the same frame.
9008
b4fa35fa
GM
90092012-03-27 Glenn Morris <rgm@gnu.org>
9010
9011 * startup.el (mail-host-address): Doc fix.
9012
f9210e18
SM
90132012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9016 than 197 variables.
9017
c0bf7753
AF
90182012-03-26 Ami Fischman <ami@fischman.org>
9019
9020 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9021
33da7b16
GM
90222012-03-26 Glenn Morris <rgm@gnu.org>
9023
02243d9d
GM
9024 * files.el (save-buffers-kill-emacs): Doc fix.
9025
33da7b16
GM
9026 * startup.el (normal-top-level, command-line, command-line-1):
9027 Give them doc strings.
9028
e5a69fd0
EZ
90292012-03-25 Eli Zaretskii <eliz@gnu.org>
9030
9031 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9032 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9033
9a69676a
CY
90342012-03-25 Chong Yidong <cyd@gnu.org>
9035
4125cb8b
CY
9036 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9037 theme if it was previously enabled before (Bug#11031).
9038
dd470960
CY
9039 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9040 spec with custom-face-get-current-spec if its :shown-value is not
9041 determined yet (Bug#9337).
4125cb8b 9042 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9043
9a69676a
CY
9044 * button.el (button-at): Minor addition to docstring.
9045
6e7e90fa
SL
90462012-03-24 Simon Leinen <simon.leinen@gmail.com>
9047
9048 * vc/vc.el (vc-merge): Fix a prompt.
9049
f06e2758
CY
90502012-03-24 Chong Yidong <cyd@gnu.org>
9051
9052 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9053 point (Bug#9623).
9054
6e7e90fa
SL
9055 * button.el (button-at): Minor addition to docstring.
9056
b9d0879b
SM
90572012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * newcomment.el (comment-choose-indent): No space after BOL.
9060
e71cebb3
SS
90612012-03-22 Sam Steingold <sds@gnu.org>
9062
9063 * window.el (switch-to-prev-buffer): Revert last patch because the
9064 bug turned out to be an advertised feature (Elisp manual 28.14).
9065
335aff35
GM
90662012-03-22 Glenn Morris <rgm@gnu.org>
9067
9068 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9069 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9070
c676576a
LMI
90712012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9072
9073 * net/network-stream.el (network-stream-open-starttls): Make error
9074 message under Windows be less misleading.
9075
126f3d39
LW
90762012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9077
9078 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9079 understands (bug#9942).
9080
64fee311
CY
90812012-03-22 Chong Yidong <cyd@gnu.org>
9082
9083 * simple.el (end-of-visible-line): Handle return value of
9084 next-single-property-change properly (Bug#9371).
9085
a640d29a
KH
90862012-03-22 Kenichi Handa <handa@m17n.org>
9087
9088 * international/quail.el (quail-insert-kbd-layout): Fix previous
9089 change. To avoid unwanted bidi reordering, use
9090 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9091
39675016
DG
90922012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9093
9094 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9095 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9096 (ruby-beginning-of-indent): Be more careful with the difference
9097 between word-boundary and symbol boundary.
9098 (ruby-mode-syntax-table): Make : a symbol constituent.
9099
0a6934fc 91002012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9101
3d008e4f
SM
9102 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9103
0a6934fc
SM
91042012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9105
af67c9d7
SM
9106 * progmodes/etags.el (tags-completion-at-point-function):
9107 Improve last fix.
9108
1acad97c
SM
9109 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9110
e298b5da
SS
91112012-03-21 Sam Steingold <sds@gnu.org>
9112
9113 * progmodes/etags.el (tags-completion-at-point-function):
9114 Avoid the error when point is inside the pattern.
9115
91d82a70
JY
91162012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9117
9118 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9119 line (Bug#10855).
9120
69188b79
CY
91212012-03-21 Drew Adams <drew.adams@oracle.com>
9122
9123 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9124
99fc91fe
AK
91252012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9126
9127 * ido.el (ido-set-current-directory, ido-read-internal)
9128 (ido-choose-completion-string, ido-completion-help): Handle nil
9129 value of ido-completion-buffer (Bug#11008).
9130
087bbb4c
SS
91312012-03-21 Sam Steingold <sds@gnu.org>
9132
9133 * window.el (switch-to-prev-buffer): Do not switch to a visible
9134 window previous buffer, just like with the frame previous buffers.
9135
fb5b8aca
CY
91362012-03-21 Chong Yidong <cyd@gnu.org>
9137
9138 * faces.el (make-face, make-empty-face, copy-face):
9139 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9140 Doc fixes.
9141
dc9924b8
SM
91422012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9144 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9145 (widget-complete): Remove broken use of it.
9146
f0bcceb9
CY
91472012-03-20 Chong Yidong <cyd@gnu.org>
9148
dc9924b8
SM
9149 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9150 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9151 characters.
9152
ee52ebf3
TH
91532012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9154
9155 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9156 to draw rectangles, not squares. (Regression introduced by revno
9157 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9158
4c5779ab
CY
91592012-03-18 Chong Yidong <cyd@gnu.org>
9160
9161 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9162 it is not yet defined (for temacs).
9163
15360934
LL
91642012-03-18 Leo Liu <sdl.web@gmail.com>
9165
735135f9
PE
9166 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9167 prefix.
15360934 9168
d9a8eb66
EZ
91692012-03-17 Eli Zaretskii <eliz@gnu.org>
9170
9171 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9172 (ispell-choices-win-default-height, ispell-silently-savep)
9173 (ispell-dictionary-alist, ispell-encoding8-command)
9174 (ispell-check-version, ispell-aspell-find-dictionary)
9175 (ispell-valid-dictionary-list, ispell-words-keyword)
9176 (ispell-get-word, ispell-internal-change-dictionary)
9177 (ispell-region, ispell-skip-region-list)
9178 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9179 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9180 (ispell-message-text-end, ispell-message)
9181 (ispell-buffer-local-parsing): Doc fix.
9182
f02ff80d
J
91832012-03-13 Jambunathan K <kjambunathan@gmail.com>
9184
9185 * htmlfontify.el: Add support for code block fontification for ODT
9186 export (Bug #9914).
9187 (hfy-optimisations): Define new option
9188 `body-text-only'
9189 (hfy-fontify-buffer): Honor above setting.
9190 (hfy-begin-span, hfy-end-span): New routines factored out form
9191 `hfy-fontify-buffer'.
9192 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9193 that permit insertion of custom tags.
9194 (hfy-fontify-buffer): Use above handlers.
9195 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9196 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9197 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9198 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9199 bind a special variable `hfy-user-sheet-assoc'.
9200 (htmlfontify-string): New defun.
9201 (hfy-compile-face-map): Make sure that the last char in the
9202 buffer is correctly fontified.
9203 (hfy-face-resolve-face): Whitespace only change.
9204
9ac7a13f
EZ
92052012-03-17 Eli Zaretskii <eliz@gnu.org>
9206
9207 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9208 message more clear.
9209
e2b5bdd7
LL
92102012-03-16 Leo Liu <sdl.web@gmail.com>
9211
9212 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9213
2e492df3
AM
92142012-03-16 Alan Mackenzie <acm@muc.de>
9215
9216 Further optimise the handling of large macros.
9217
9218 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9219 limit to a call of `c-literal-limits'.
9220 (c-determine-+ve-limit): New function.
dc9924b8
SM
9221 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9222 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9223 In CASE 5B, restrict a search limit to 500.
9224 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9225
9226 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9227 Restrict macro bounds to +-500 from after-change's BEG END.
9228
50e94f0c
LL
92292012-03-16 Leo Liu <sdl.web@gmail.com>
9230
9231 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9232
6f09f6ed
AH
92332012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9234
9235 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9236 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9237
c7e73d51
GM
92382012-03-16 Glenn Morris <rgm@gnu.org>
9239
da986230
GM
9240 * view.el (view-buffer, view-buffer-other-window)
9241 (view-buffer-other-frame): Doc fixes re special mode-class.
9242
0835f01e
GM
9243 * subr.el (eval-after-load): If named feature is provided not from
9244 a file, run after-load forms. (Bug#10946)
9245
c7e73d51
GM
9246 * calendar/calendar.el (calendar-insert-at-column):
9247 Handle non-unit-width characters a bit better. (Bug#10978)
9248
3f2eafd1
CY
92492012-03-15 Chong Yidong <cyd@gnu.org>
9250
9251 * emacs-lisp/ring.el (ring-extend): New function.
9252 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9253
9254 * comint.el (comint-read-input-ring)
9255 (comint-add-to-input-history): Grow comint-input-ring lazily.
9256
103af3fe
SM
92572012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9258
663b1677
SM
9259 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9260 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9261
103af3fe
SM
9262 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9263 (imenu-add-to-menubar): Don't add a redundant index.
9264 (imenu-update-menubar): Handle a dynamically composed keymap.
9265
899cb7cb
KY
92662012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9267
9268 * mail/sendmail.el (mail-encode-header):
9269 Bind rfc2047-encode-encoded-words to nil.
9270
3809f91d
GM
92712012-03-13 Glenn Morris <rgm@gnu.org>
9272
9273 * calendar/calendar.el (calendar-string-spread):
9274 Handle non-unit-width characters a bit better. (Bug#10978)
9275
9e345a01
LL
92762012-03-13 Leo Liu <sdl.web@gmail.com>
9277
9278 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9279 directory and file as argument (Bug#10822).
9280
4a07df36
KS
92812012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9282
9283 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9284 For dynamically generated code, follow $PC.
9285 (gdb-disassembly-handler-custom): Handle no function name case.
9286
4aaa9356
TL
92872012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9288
9289 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9290 * emulation/ws-mode.el (ws-query-replace):
9291 * sort.el (sort-regexp-fields):
9292 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9293
225979da
SM
92942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * dabbrev.el: Fix cycle completion order (bug#10963).
9297 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9298 (dabbrev-completion): Don't use an obarray; provide
9299 a cycle-sort-function.
9300
e2f1fdab
LL
93012012-03-12 Leo Liu <sdl.web@gmail.com>
9302
dc9924b8 9303 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9304 (kill-do-not-save-duplicates): Doc fix.
9305
b19490ed
SM
93062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * dabbrev.el: Fix cycle completion (bug#10963).
9309 Use lexical binding and wrap to 80 columns.
9310 (dabbrev-completion): Delay computing the list of completions.
9311
4b05d722
KH
93122012-03-12 Kenichi Handa <handa@m17n.org>
9313
9314 * international/quail.el (quail-insert-kbd-layout): Surround each
9315 row by LRO and PDF instead of inserting many LRMs. Pad the left
9316 and right of each non-spacing marks. Insert invisible space
9317 between lower and upper characters to prevent composition.
9318
dbbc2e69
SM
93192012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9320
9321 * minibuffer.el (minibuffer-complete): Don't get confused when the
9322 function is run twice via different commands (bug#10958).
9323 (complete-with-action): Fix docstring.
9324
292112ed
CY
93252012-03-12 Chong Yidong <cyd@gnu.org>
9326
5d1ac394
CY
9327 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9328 (nxml-completion-at-point-function): New function.
9329 (nxml-mode): Use it.
9330 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9331
292112ed
CY
9332 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9333 Load generated autoloads file before byte compiling (Bug#10970).
9334 (package--make-autoloads-and-compile): New helper fun.
9335
4098f8f7
CS
93362012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9337
9338 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9339
8f754691
MA
93402012-03-11 Michael Albinus <michael.albinus@gmx.de>
9341
9342 * autorevert.el (auto-revert-handler): Ensure, that
9343 file-readable-p is applied only for local files or in
9344 auto-revert-tail-mode.
9345
e29ab36b
AS
93462012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9347
dbbc2e69
SM
9348 * server.el (server-eval-at): Handle non-tcp connections.
9349 Decode result string.
ad0bf5b6 9350
e29ab36b
AS
9351 * server.el (server-msg-size): New constant.
9352 (server-reply-print): New function.
9353 (server-eval-and-print): Use it.
9354 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9355 Handle -print-nonl.
9356
de5939ba
CS
93572012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9358
9359 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9360 (Bug#10987).
9361
0c93eabf
CY
93622012-03-11 Chong Yidong <cyd@gnu.org>
9363
397a688f
CY
9364 * simple.el (goto-line): Doc fix (Bug#9938).
9365
2cc775f9
CY
9366 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9367
0c93eabf
CY
9368 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9369 when finished (Bug#10963).
9370
c491fa41
MR
93712012-03-11 Martin Rudalics <rudalics@gmx.at>
9372
9373 * window.el (split-window-below): Fix bug in case where
9374 split-window-keep-point is nil (Bug#10971).
9375
300e8fa5
JL
93762012-03-11 Juri Linkov <juri@jurta.org>
9377
9378 * replace.el (replace-highlight): Set isearch-word to nil
9379 unconditionally. (Bug#10887)
9380
dbf6c5a1
EZ
93812012-03-10 Eli Zaretskii <eliz@gnu.org>
9382
9383 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9384 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9385 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9386 (mairix-widget-create-query): Add usage information about mairix
9387 search forms: negating words, searching for substrings, etc.
9388
b9e501de
JP
93892012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9390
9391 * international/fontset.el (font-encoding-alist): Add an entry for
9392 ksx1001 (Bug#5667).
9393
92795c91
RS
93942012-03-10 Richard Stallman <rms@gnu.org>
9395
1694e6c1
RS
9396 * mail/sendmail.el (mail-encode-header):
9397 Set rfc2047-encode-encoded-words.
9398
607e8555
RS
9399 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9400
de3bc99a
RS
9401 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9402 view buffer means not swapped.
9403 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9404 (rmail-write-region-annotate): Error if real text has disappeared.
9405
92795c91
RS
9406 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9407
699bd04e
CY
94082012-03-10 Chong Yidong <cyd@gnu.org>
9409
9410 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9411 * emulation/cua-base.el (cua--init-keymaps):
9412 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9413
570a1714
MR
94142012-03-10 Martin Rudalics <rudalics@gmx.at>
9415
dbbc2e69
SM
9416 * speedbar.el (speedbar-unhighlight-one-tag-line):
9417 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9418
82dcf4e4
CY
94192012-03-10 Chong Yidong <cyd@gnu.org>
9420
7a2c7ca7
CY
9421 * minibuffer.el (completion-in-region, completion-help-at-point):
9422 Give the completion field overlay a high priority (Bug#6830).
9423
82dcf4e4
CY
9424 * dired.el (dired-goto-file): Recognize absolute file name
9425 listings (Bug#7126).
9426 (dired-goto-file-1): New helper function.
9427 (dired-toggle-read-only): Inhibit warnings.
9428
052e28ac
MA
94292012-03-09 Michael Albinus <michael.albinus@gmx.de>
9430
75f1671a 9431 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9432 there are no properties.
9433
95d5e396
LL
94342012-03-09 Leo Liu <sdl.web@gmail.com>
9435
9436 * savehist.el (savehist-printable): Stricter check for string
9437 value (Bug#10937).
9438
3f018d6d
EZ
94392012-03-09 Eli Zaretskii <eliz@gnu.org>
9440
dbbc2e69
SM
9441 * mail/smtpmail.el (smtpmail-send-it):
9442 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9443 valid mbox format.
9444
f7fd3d79
GM
94452012-03-09 Glenn Morris <rgm@gnu.org>
9446
9447 * files.el (dir-locals-find-file):
9448 Don't check result is regular, readable.
9449 (dir-locals-read-from-file): Demote errors.
9450
6ff6e72f
EZ
94512012-03-08 Eli Zaretskii <eliz@gnu.org>
9452
dbbc2e69
SM
9453 * international/quail.el (quail-insert-kbd-layout):
9454 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9455 layout cell, to prevent their reordering by bidi display engine.
9456 For details, see the discussion in
9457 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9458
9cec7834
AM
94592012-03-08 Alan Mackenzie <acm@muc.de>
9460
9461 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9462 the starting position; make it extend the marked region when
9463 invoked repeatedly - all under appropriate circumstances.
9464 Fixes bugs #5525, #10906.
9465
9a40b8d4
GM
94662012-03-08 Glenn Morris <rgm@gnu.org>
9467
9468 * files.el (locate-dominating-file, dir-locals-find-file):
9469 Undo 2012-03-06 change.
9470
7a08ed35
EZ
94712012-03-07 Eli Zaretskii <eliz@gnu.org>
9472
dbbc2e69
SM
9473 * international/quail.el (quail-help):
9474 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9475 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9476 for the reason.
9477
5aca4f71 94782012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9479
9480 Avoid superfluous registering of signals. (Bug#10807)
9481
9482 * notifications.el (notifications-on-action-object)
9483 (notifications-on-close-object): New defvars.
9484 (notifications-on-action-signal, notifications-on-closed-signal):
9485 Unregister the signal if not needed any longer.
9486 (notifications-notify): Register `notifications-action-signal' or
9487 `notifications-closed-signal', if :on-action or :on-close has been
9488 passed as argument.
9489
78e8b10a
CY
94902012-03-07 Chong Yidong <cyd@gnu.org>
9491
9492 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9493 non-X platforms.
9494
69481eb8
GM
94952012-03-06 Glenn Morris <rgm@gnu.org>
9496
9497 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9498 (x-disown-selection-internal, x-get-selection-internal):
9499 Doc fix (add arglist signatures). (Bug#10783)
9500
133b8e11
KS
95012012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9502
9503 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9504 Handle breakpoints with no "type".
9505
99a83064
GM
95062012-03-06 Glenn Morris <rgm@gnu.org>
9507
9508 * files.el (locate-dominating-file): Add optional predicate argument.
9509 (dir-locals-find-file): Make use of above change.
9510
17798e78
TTN
95112012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9512
9513 * info.el (Info-insert-dir): Also try "dir.gz".
9514
eb182446
GM
95152012-03-06 Glenn Morris <rgm@gnu.org>
9516
8f2114ee
GM
9517 * files.el (dir-locals-find-file):
9518 Ignore non-readable or non-regular files. (Bug#10928)
9519
eb182446
GM
9520 * files.el (locate-dominating-file): Doc fix.
9521
24679323
AS
95222012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9523
9524 * calendar/calendar.el (calendar-set-mode-line):
9525 `getenv' returns a string. (Bug#10951)
9526
01d972a9
LL
95272012-03-05 Leo Liu <sdl.web@gmail.com>
9528
109aa8a9
LL
9529 * simple.el (backward-delete-char-untabify): Constrain point to
9530 field (Bug#10939).
9531
01d972a9
LL
9532 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9533
10607bea
CY
95342012-03-05 Chong Yidong <cyd@gnu.org>
9535
9536 * simple.el (count-words): If called from Lisp, return the word
9537 count, for symmetry with `count-lines'. Arglist changed.
9538 (count-words--message): Args changed. Consolidate counting code
9539 from count-words and count-words-region.
9540 (count-words-region): Caller changed.
9541 (count-lines-region): Make it an obsolete alias.
9542
5dd11cfe
TH
95432012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9544
9545 * saveplace.el (save-place-to-alist)
9546 (save-place-ignore-files-regexp): Allow value nil to disable this
9547 feature.
9548
c349f4e6
CY
95492012-03-04 Chong Yidong <cyd@gnu.org>
9550
9551 * faces.el (face-spec-reset-face): For the default face, reset the
9552 attributes to default values (Bug#10748).
9553
e627be4c
LMI
95542012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9555
9556 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9557 previous patch: Check `message-send-mail-function', and not the
9558 default function (bug#10897).
9559
ebeabff4
MA
95602012-03-04 Michael Albinus <michael.albinus@gmx.de>
9561
a41a6cf4
MA
9562 * notifications.el (notifications-on-action-signal)
9563 (notifications-on-closed-signal): Check for unique service name of
9564 incoming event. Fix error in removing entry.
ebeabff4 9565 (top): Register for signals with wildcard service name.
a41a6cf4 9566 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9567
c1ca42b4
CY
95682012-03-04 Chong Yidong <cyd@gnu.org>
9569
dc9924b8 9570 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9571
ea16568d
GM
95722012-03-04 Glenn Morris <rgm@gnu.org>
9573
9574 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9575 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9576 (expand-abbrev, define-abbrev-table): Doc fixes.
9577
fbae4637
LMI
95782012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9579
9580 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9581 `message-default-send-mail-function' and not `send-mail-function'
9582 when doing the prompting for `sendmail-query-once' before sending
9583 in Message buffers (bug#10897).
9584
a1e7225c
LMI
9585 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9586 This is inconsistent with all the other stream functions, which leave
9587 the setting up to the higher levels (if so wanted) (bug#10931).
9588
56d093a9
AM
95892012-03-02 Alan Mackenzie <acm@muc.de>
9590
9591 Depessimize the handling of very large macros.
9592
9593 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9594 (c-macro-cache-syntactic): New variables to implement a one
9595 element macro cache.
9596 (c-invalidate-macro-cache): New function.
9597 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9598 Adapt to use the new cache.
9599 (c-state-safe-place): Use better the cache of safe positions.
9600 (c-state-semi-nonlit-pos-cache)
9601 (c-state-semi-nonlit-pos-cache-limit):
9602 New variables for...
9603 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9604 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9605 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9606 Use c-state-semi-safe-place.
56d093a9 9607
dbbc2e69
SM
9608 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9609 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9610
817e5c3d
MA
96112012-03-02 Michael Albinus <michael.albinus@gmx.de>
9612
dbbc2e69
SM
9613 * jka-compr.el (jka-compr-call-process):
9614 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9615 not remote.
9616
a032a702
MA
96172012-03-01 Michael Albinus <michael.albinus@gmx.de>
9618
9619 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9620 access of FILE2, if FILE1 does not exist.
9621
99a54f21
MA
9622 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9623 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9624
9625 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9626 Add "PAGER=" to `process-environment'.
9627
f6561e1f
MM
96282012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9629
9630 * progmodes/sql.el: Bug fix
9631 (sql-get-login-ext): Save login values in globals.
9632 (sql-get-login): Use new version of `sql-get-login-ext'.
9633 (sql-interactive-mode): Set global `sql-connection' to nil.
9634 (sql-connect): Set global values for connection.
9635 (sql-product-interactive): Save global values as buffer local.
9636
2d44d9cc
LL
96372012-02-29 Leo Liu <sdl.web@gmail.com>
9638
9639 * abbrev.el (define-abbrevs): Reset sys to nil.
9640
96b49301 96412012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9642
bf7f9bc5
JB
9643 * files.el (file-equal-p): Rename from `files-equal-p'.
9644 Return nil when one or both files don't exist.
96b49301 9645 (file-subdir-of-p): Now only top directory must exists,
9646 return nil if it doesn't.
bf7f9bc5
JB
9647 (copy-directory): No need to test with `file-subdir-of-p' after
9648 creating dir.
9649 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9650 to `file-equal-p'.
96b49301 9651
44e97401
GM
96522012-02-28 Glenn Morris <rgm@gnu.org>
9653
9654 * shell.el (shell-mode):
9655 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9656 * play/landmark.el (landmark-font-lock-face-O):
9657 * play/handwrite.el (handwrite):
9658 * play/gomoku.el (gomoku-O):
9659 * net/browse-url.el (browse-url-browser-display):
9660 * international/mule.el (define-charset):
9661 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9662 * filesets.el (filesets-find-file-delay):
9663 * eshell/em-xtra.el (eshell-xtra):
9664 * eshell/em-unix.el (eshell-grep):
9665 * emulation/viper.el (viper-mode):
9666 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9667 * emacs-lisp/easymenu.el (easy-menu-define):
9668 * calendar/timeclock.el (timeclock-use-display-time):
9669 * bs.el (bs-mode):
9670 * bookmark.el (bookmark-save-flag):
9671 Doc fix (standardize possessive apostrophe usage).
9672
c98c6276
CY
96732012-02-27 Chong Yidong <cyd@gnu.org>
9674
bf7f9bc5
JB
9675 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9676 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9677
c98c6276
CY
9678 * font-lock.el (font-lock-specified-p): Rename from
9679 font-lock-spec-present. Callers changed.
9680
9c62cd04 96812012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9682
bf7f9bc5
JB
9683 * emacs-lisp/package.el (package-compute-transaction):
9684 Handle holding a package version to t in package-load-list.
8ac9e529 9685
530739c9
MA
96862012-02-26 Michael Albinus <michael.albinus@gmx.de>
9687
9688 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9689 (tramp-get-inode, tramp-get-device): Use cached values.
9690
487915d7
AM
96912012-02-26 Alan Mackenzie <acm@muc.de>
9692
9693 Check there is a font-lock specification before doing initial
9694 fontification.
9695
9696 * font-core.el (font-lock-mode): Move the conditional from
9697 :after-hook to font-lock-initial-fontify.
9698 (font-lock-default-function): Move the check for a specification
9699 to font-lock-spec-present.
9700
dc9924b8 9701 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9702 (font-lock-spec-present): New function.
9703
4fd96557
JB
97042012-02-26 Jim Blandy <jimb@red-bean.com>
9705
9706 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9707 (gdb-send): Apply it to the operand of the '-interpreter-exec
9708 console' command, so that we can pass arguments with (say) quotes
9709 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9710
9a4888c0
CY
97112012-02-26 Chong Yidong <cyd@gnu.org>
9712
07498861
CY
9713 * help-fns.el (describe-function-1): Clarify description of
9714 remapping (Bug#10844).
9715
9a4888c0
CY
9716 * files.el (files-equal-p): Doc fix.
9717 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9718 and quit the loop once a mismatch is found.
9719
ea8fb88d
JB
97202012-02-25 Juanma Barranquero <lekktu@gmail.com>
9721
9722 * bs.el (bs--show-with-configuration): Don't throw an error
9723 if the window cannot be split; otherwise, subsequent calls to
9724 bs-show fail, restoring a stale window config. (Bug#10882)
9725
525795c1
JD
97262012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9727
9728 * term/ns-win.el (global-map): Bind ns-drag-file to
9729 ns-find-file (Bug#5855, Bug#10050).
9730
f008086f
AS
97312012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9732
9733 * calendar/parse-time.el (parse-time-string): Allow extractor to
9734 return nil.
9735
a3fcfa99
MA
97362012-02-25 Michael Albinus <michael.albinus@gmx.de>
9737
91027d08
JB
9738 * net/tramp.el (tramp-file-name-for-operation):
9739 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9740
9741 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9742 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9743 Add COPY-CONTENTS argument.
a3fcfa99 9744
67b0de11
CY
97452012-02-25 Chong Yidong <cyd@gnu.org>
9746
9747 Add custom groups for VC backends, for consistency with vc-bzr.
9748
9749 * vc/vc-arch.el (vc-arch):
9750 * vc/vc-cvs.el (vc-cvs):
9751 * vc/vc-git.el (vc-git):
9752 * vc/vc-hg.el (vc-hg):
9753 * vc/vc-mtn.el (vc-mtn):
9754 * vc/vc-rcs.el (vc-rcs):
9755 * vc/vc-sccs.el (vc-sccs):
9756 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9757 All relevant defcustoms reassigned.
9758
3c9dfce6
CY
97592012-02-25 Chong Yidong <cyd@gnu.org>
9760
1339bf43
CY
9761 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9762
3c9dfce6
CY
9763 * term/x-win.el (x-initialize-window-system): Reduce default for
9764 x-selection-timeout to 5 seconds (Bug#8869).
9765
25b2e303 97662012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9767
ec70a47d
GM
9768 * files.el (files-equal-p, file-subdir-of-p): New functions.
9769 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9770 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9771 * dired-aux.el (dired-copy-file-recursive): Same.
9772 (dired-create-files): Modify destination when source is equal to
9773 dest when copying files.
53a46cd0 9774 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9775
914260cd
MA
97762012-02-24 Michael Albinus <michael.albinus@gmx.de>
9777
9778 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9779 (Bug#10874)
9780
2cb228f7
AM
97812012-02-23 Alan Mackenzie <acm@muc.de>
9782
9783 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9784 parameter "after-hook:" to allow the expansion to run code after
9785 the execution of the mode hooks.
9786
9787 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9788 from font-lock-mode-internal.
2cb228f7 9789
91027d08 9790 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9791 :after-hook.
9792
8f0fde21
SM
97932012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9794
3e88618b
SM
9795 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9796 (completion--cache-all-sorted-completions): New function.
9797 (completion-all-sorted-completions): Use it.
9798 (completion--do-completion, minibuffer-force-complete):
9799 Use it to re-instate the flush hook.
9800
8f0fde21
SM
9801 * icomplete.el (icomplete-completions): Replace last fix with a better
9802 one (bug#10850).
9803
8e911f6f
DG
98042012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9805
9806 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9807 when it might call us back infinitely (bug#10797).
9808
49fe4321
GM
98092012-02-23 Glenn Morris <rgm@gnu.org>
9810
9811 * minibuffer.el (completion-category-overrides): Doc fix.
9812
b291b572
SM
98132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9816 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9817
31a9ef2e
GM
98182012-02-23 Glenn Morris <rgm@gnu.org>
9819
5e6e6794 9820 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9821 (authors-obsolete-files-regexps, authors-ignored-files)
9822 (authors-ambiguous-files, authors-renamed-files-alist):
9823 Add more entries.
9824
0bd1e074
JL
98252012-02-23 Juri Linkov <juri@jurta.org>
9826
9827 * isearch.el (isearch-occur): Sync interactive spec with occur's
9828 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9829
b617673c
JL
9830 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9831
19e9789e
JL
98322012-02-22 Juri Linkov <juri@jurta.org>
9833
9834 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9835 (ucs-insert): Doc fix. Check for hex digits in the string.
9836 Don't display `nil' in the error message. (Bug#10857)
9837
f41ce09d
AM
98382012-02-22 Alan Mackenzie <acm@muc.de>
9839
7a71b18d 9840 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9841
ac2eceee
GM
98422012-02-22 Glenn Morris <rgm@gnu.org>
9843
9844 * ffap.el (ffap-c-path):
9845 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9846
abd1f678
CY
98472012-02-22 Chong Yidong <cyd@gnu.org>
9848
9849 * custom.el (load-theme): Doc fix.
9850
f25aef2e
GM
98512012-02-22 Glenn Morris <rgm@gnu.org>
9852
9853 * dired-x.el (dired-guess-shell-alist-default):
9854 Remove escape sequences from nroff output. (Bug#172)
9855
5f8dc2ca
GM
98562012-02-21 Glenn Morris <rgm@gnu.org>
9857
6ff86ec4
GM
9858 * vc/emerge.el (emerge-defvar-local):
9859 Set `permanent-local' property rather than unused `preserved'.
9860
be3223a3 9861 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9862 (picture-mode-map): Use it. (Bug#10860)
9863 (picture-mode): Doc fix.
9864
3fe58f4f
JB
98652012-02-21 Juanma Barranquero <lekktu@gmail.com>
9866
9867 * newcomment.el (uncomment-region-default): Remove unused binding.
9868
f9a998c3
GM
98692012-02-21 Glenn Morris <rgm@gnu.org>
9870
9871 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9872 (picture-self-insert, picture-tab-chars): Doc fix.
9873 (picture-mode-map): Fix C-a, C-e.
9874
c6029348
GM
98752012-02-20 Glenn Morris <rgm@gnu.org>
9876
9877 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9878
ab1ce9d7
LL
98792012-02-20 Leo Liu <sdl.web@gmail.com>
9880
9881 * icomplete.el (icomplete-completions): Check FROM arg before
9882 passing to substring (Bug#10850).
9883
0fd40f89
CY
98842012-02-19 Chong Yidong <cyd@gnu.org>
9885
9886 * comint.el: Require ansi-color.
9887 (comint-output-filter-functions): Add ansi-color-process-output.
9888
9889 * ansi-color.el: Don't set comint-output-filter-functions; it is
9890 now in the initial value defined in comint.el.
9891 (ansi-color-apply-face-function): New variable.
9892 (ansi-color-apply-on-region): Use it.
9893 (ansi-color-apply-overlay-face): New function.
9894
9895 * shell.el (shell): No need to require ansi-color.
9896 (shell-mode): Use ansi-color-apply-face-function to highlight
9897 color escapes using font-lock-face property (Bug#10835).
9898
20af2394
CY
98992012-02-19 Chong Yidong <cyd@gnu.org>
9900
9901 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9902 mode-line formats (Bug#10839).
9903
e23a3fbe
GM
99042012-02-18 Glenn Morris <rgm@gnu.org>
9905
b474519e
GM
9906 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9907
9908 * mail/undigest.el (unforward-rmail-message): Doc fix.
9909
e23a3fbe
GM
9910 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9911
57939ff4
EZ
99122012-02-18 Eli Zaretskii <eliz@gnu.org>
9913
9914 * international/characters.el (script-list): Sync with the latest
9915 Unicode Character Database.
9916
0c23686e
AS
99172012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9918
9919 * international/titdic-cnv.el: Remove duplicate coding tag.
9920 * language/cham.el: Likewise.
9921 * language/tai-viet.el: Likewise.
9922
6818b449
GM
99232012-02-18 Glenn Morris <rgm@gnu.org>
9924
9925 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9926 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9927 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9928 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9929 * calendar/holidays.el (holiday-bahai-holidays)
9930 (calendar-holidays, list-holidays):
9931 Use utf-8 Bahá'í in doc-strings, menus, etc.
9932
0311a3fc
TH
99332012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9934
9935 * saveplace.el (save-place-ignore-files-regexp): New variable
9936 allowing for excluding files from saving their location of point.
9937 The default value matches the temporary commit message editing
9938 files from Git, SVN, Bazaar, and Mercurial.
9939 (save-place-to-alist): Use it.
9940
d209e2fb 99412012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9942 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9943
9944 * newcomment.el (uncomment-region-default): Don't leave extra space
9945 when an arg is provided (bug#8150).
9946
ee0ce425
TZ
99472012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9948
eb864a71 9949 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9950
95ddf442
GM
99512012-02-17 Glenn Morris <rgm@gnu.org>
9952
9953 * net/socks.el: Require network-stream. (Bug#10599)
9954
48dd1e39 99552012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9956
9957 * international/charprop.el:
9958 * international/uni-name.el:
9959 * international/uni-old-name.el:
9960 * international/uni-comment.el: Regenerate.
9961
d68cd087
GM
99622012-02-16 Glenn Morris <rgm@gnu.org>
9963
9964 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9965 Interactively in calendar buffer, give an error if not on a date.
9966
13932042
GM
99672012-02-15 Glenn Morris <rgm@gnu.org>
9968
9969 * shell.el (shell-delimiter-argument-list):
9970 Revert 2011-02-17 change. (Bug#8027)
9971
c3a70e2b
CY
99722012-02-15 Chong Yidong <cyd@gnu.org>
9973
60236b0d
CY
9974 * minibuffer.el (completion-at-point-functions): Doc fix.
9975
c3a70e2b
CY
9976 * custom.el (defcustom): Doc fix; note use of defvar.
9977
9f26dc24
GM
99782012-02-15 Glenn Morris <rgm@gnu.org>
9979
9980 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9981 Doc fixes.
9982
6546b134
GM
99832012-02-14 Glenn Morris <rgm@gnu.org>
9984
9985 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9986
d29b2b4c
LI
99872012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9988
9989 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9990 way the ports list is computed.
835bdcba
LI
9991 (smtpmail-query-smtp-server): Prompt the user for a port number if
9992 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9993
08dcdbc9
TZ
99942012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9995
9996 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9997
2605051a
GM
99982012-02-13 Glenn Morris <rgm@gnu.org>
9999
10000 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10001
7ee99f32
TZ
100022012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10003
10004 * net/gnutls.el (gnutls-trustfiles): New variable.
10005 (gnutls-negotiate): Use it.
10006
5f0af64f
LI
100072012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10008
10009 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10010 does its stuff if Gnus is running.
10011
c14fcc95
AM
100122012-02-13 Alan Mackenzie <acm@muc.de>
10013
10014 Fix a loop in c-set-fl-decl-start.
10015
7a71b18d 10016 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10017 c-backward-syntactic-ws actually moves backwards.
10018
142b4d90
LL
100192012-02-13 Leo Liu <sdl.web@gmail.com>
10020
10021 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10022 beginning so that all \C-o chars are removed.
10023
fa9958a6
TZ
100242012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10025
dc9924b8 10026 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10027
0bc5886a
AM
100282012-02-12 Alan Mackenzie <acm@muc.de>
10029
10030 Fix infinite loop with long macros.
4d6769e1 10031 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10032
d4bd55e7
CY
100332012-02-12 Chong Yidong <cyd@gnu.org>
10034
10035 * window.el (display-buffer): Doc fix (Bug#10785).
10036
66f3fe22
GM
100372012-02-12 Glenn Morris <rgm@gnu.org>
10038
bd7da63e
GM
10039 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10040 (x-disown-selection-internal, x-get-selection-internal):
10041 Sync docs with the xselect.c versions.
10042
66f3fe22
GM
10043 * allout-widgets.el: Add missing license notice.
10044
3e0d2fa7
GM
100452012-02-11 Glenn Morris <rgm@gnu.org>
10046
cfecdf09
GM
10047 * select.el (x-get-selection-internal, x-own-selection-internal)
10048 (x-disown-selection-internal):
10049 * x-dnd.el (x-get-selection-internal): Update declarations.
10050
6d216d7f
GM
10051 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10052
2bed3f04
GM
10053 * window.el (window-sides-slots):
10054 * tool-bar.el (tool-bar-position):
10055 * term/xterm.el (xterm-extra-capabilities):
10056 * ses.el (ses-self-reference-early-detection):
10057 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10058 (verilog-auto-wire-type)
10059 (verilog-auto-delete-trailing-whitespace)
10060 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10061 (verilog-auto-tieoff-declaration):
10062 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10063 (sql-oracle-statement-starters, sql-oracle-scan-on):
10064 * progmodes/prolog.el (prolog-align-comments-flag)
10065 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10066 (prolog-left-indent-regexp, prolog-paren-indent-p)
10067 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10068 (prolog-types, prolog-mode-specificators)
10069 (prolog-determinism-specificators, prolog-directives)
10070 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10071 (prolog-electric-dot-flag)
10072 (prolog-electric-dot-full-predicate-template)
10073 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10074 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10075 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10076 (prolog-program-switches, prolog-prompt-regexp)
10077 (prolog-debug-on-string, prolog-debug-off-string)
10078 (prolog-trace-on-string, prolog-trace-off-string)
10079 (prolog-zip-on-string, prolog-zip-off-string)
10080 (prolog-use-standard-consult-compile-method-flag)
10081 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10082 (prolog-imenu-max-lines, prolog-info-predicate-index)
10083 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10084 (prolog-char-quote-workaround):
10085 * progmodes/cc-vars.el (c-defun-tactic):
10086 * net/tramp.el (tramp-encoding-command-interactive)
10087 (tramp-local-end-of-line):
10088 * net/soap-client.el (soap-client):
10089 * net/netrc.el (netrc-file):
10090 * net/gnutls.el (gnutls):
10091 * minibuffer.el (completion-category-overrides)
10092 (completion-cycle-threshold)
10093 (completion-pcm-complete-word-inserts-delimiters):
10094 * man.el (Man-name-local-regexp):
10095 * mail/feedmail.el (feedmail-display-full-frame):
10096 * international/characters.el (glyphless-char-display-control):
10097 * eshell/em-ls.el (eshell-ls-date-format):
10098 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10099 (lisp-lambda-list-keyword-parameter-indentation)
10100 (lisp-lambda-list-keyword-parameter-alignment):
10101 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10102 * dired-x.el (dired-omit-verbose):
10103 * cus-theme.el (custom-theme-allow-multiple-selections):
10104 * calc/calc.el (calc-highlight-selections-with-faces)
10105 (calc-lu-field-reference, calc-lu-power-reference)
10106 (calc-note-threshold):
10107 * battery.el (battery-mode-line-limit):
10108 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10109 (archive-7z-update):
10110 * allout.el (allout-prefixed-keybindings)
10111 (allout-unprefixed-keybindings)
10112 (allout-inhibit-auto-fill-on-headline)
10113 (allout-flattened-numbering-abbreviation):
10114 * allout-widgets.el (allout-widgets-auto-activation)
10115 (allout-widgets-icons-dark-subdir)
10116 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10117 (allout-widgets-theme-dark-background)
10118 (allout-widgets-theme-light-background)
10119 (allout-widgets-item-image-properties-emacs)
10120 (allout-widgets-item-image-properties-xemacs)
10121 (allout-widgets-run-unit-tests-on-load)
10122 (allout-widgets-time-decoration-activity)
10123 (allout-widgets-hook-error-post-time)
10124 (allout-widgets-track-decoration):
10125 Add missing :version tags to new defcustoms and defgroups.
10126
5fec1b8e
GM
10127 * progmodes/sql.el (sql-ansi-statement-starters)
10128 (sql-oracle-statement-starters): Add custom type.
10129
3e0d2fa7
GM
10130 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10131 (prolog-system-version): Give it a type.
10132
90b671e2
EZ
101332012-02-11 Eli Zaretskii <eliz@gnu.org>
10134
10135 * term/pc-win.el (x-select-text, x-selection-owner-p)
10136 (x-own-selection-internal, x-disown-selection-internal)
10137 (x-get-selection-internal): Sync doc strings and argument lists
10138 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10139
5eac0c02
LL
101402012-02-11 Leo Liu <sdl.web@gmail.com>
10141
10142 * progmodes/python.el (python-end-of-statement): Fix infinite
10143 loop. (Bug#10788)
10144
f82cb659
GM
101452012-02-10 Glenn Morris <rgm@gnu.org>
10146
10147 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10148 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10149
cc26d239
LI
101502012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10151
10152 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10153 about SMTP before checking the From header.
10154
91027d08 10155 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10156 into own function for reuse by emacsbug.el.
10157
1be3ca5a
LL
101582012-02-10 Leo Liu <sdl.web@gmail.com>
10159
10160 * subr.el (condition-case-unless-debug): Rename from
10161 condition-case-no-debug. All callers changed.
10162 (with-demoted-errors): Fix caller.
10163
10164 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10165 * nxml/rng-valid.el (rng-do-some-validation):
10166 * emacs-lisp/package.el (package-refresh-contents)
10167 (package-menu-execute):
10168 * desktop.el (desktop-create-buffer):
91027d08 10169 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10170
b011fbfe
GM
101712012-02-10 Glenn Morris <rgm@gnu.org>
10172
b2096d72
GM
10173 * textmodes/bibtex.el:
10174 Add missing :version tags for new/changed defcustoms.
10175
b011fbfe
GM
10176 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10177
4c7e65bf
LI
101782012-02-09 Lars Ingebrigtsen <larsi@rusty>
10179
10180 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10181 (smtpmail-via-smtp): Use it, or fall back on the From address.
10182 (smtpmail-send-it): Ditto.
10183
f3934f6f
SM
101842012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10185
10186 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10187 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10188 (byte-compile-tmp-var): New const.
10189 (byte-compile-defvar): Use it to minimize .elc size.
10190 Just use `defvar' rather than simulate it (bug#10761).
10191
a075a2c5
GM
101922012-02-09 Glenn Morris <rgm@gnu.org>
10193
cf3aa21b
GM
10194 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10195
354998cd
GM
10196 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10197 Add :version tags.
10198
dc9924b8
SM
10199 * progmodes/compile.el (compilation-error-screen-columns)
10200 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10201
dab3703d
GM
10202 * vc/log-view.el (log-view-toggle-entry-display):
10203 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10204
3f88cd72
GM
10205 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10206 (report-emacs-bug-can-use-xdg-email):
10207 (report-emacs-bug-insert-to-mailer): Doc fixes.
10208 (report-emacs-bug): Message fix.
10209
d95b247d
GM
10210 * net/browse-url.el (browse-url-can-use-xdg-open)
10211 (browse-url-xdg-open): Doc fixes.
10212
a075a2c5
GM
10213 * electric.el (electric-indent-mode, electric-pair-mode)
10214 (electric-layout-rules, electric-layout-mode): Doc fixes.
10215 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10216
ffb6157e
MR
102172012-02-08 Martin Rudalics <rudalics@gmx.at>
10218
10219 * server.el (server-unselect-display): Don't inadvertently kill
10220 the current buffer. (Bug#10729)
10221
e1ac4066
GM
102222012-02-08 Glenn Morris <rgm@gnu.org>
10223
34e8a2da
GM
10224 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10225 (sql-list-table): Doc fixes.
10226
b4ac6e8c
GM
10227 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10228 Comment out (does nothing).
10229
e1ac4066
GM
10230 * completion.el (dynamic-completion-mode):
10231 * dirtrack.el (dirtrack-debug-mode):
10232 * electric.el (electric-layout-mode):
10233 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10234 * face-remap.el (text-scale-mode, buffer-face-mode):
10235 * iimage.el (iimage-mode):
10236 * image-mode.el (image-transform-mode):
10237 * minibuffer.el (completion-in-region-mode):
10238 * scroll-lock.el (scroll-lock-mode):
10239 * simple.el (next-error-follow-minor-mode):
10240 * tar-mode.el (tar-subfile-mode):
10241 * tooltip.el (tooltip-mode):
10242 * vcursor.el (vcursor-use-vcursor-map):
10243 * wid-browse.el (widget-minor-mode):
10244 * emulation/tpu-edt.el (tpu-edt-mode):
10245 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10246 * international/iso-ascii.el (iso-ascii-mode):
10247 * language/thai-util.el (thai-word-mode):
10248 * mail/supercite.el (sc-minor-mode):
10249 * net/goto-addr.el (goto-address-mode):
10250 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10251 * progmodes/cwarn.el (cwarn-mode):
10252 * progmodes/flymake.el (flymake-mode):
10253 * progmodes/glasses.el (glasses-mode):
10254 * progmodes/hideshow.el (hs-minor-mode):
10255 * progmodes/pascal.el (pascal-outline-mode):
10256 * textmodes/enriched.el (enriched-mode):
10257 * vc/smerge-mode.el (smerge-mode):
10258 Doc fixes (minor mode argument).
10259
5e0d957f
EZ
102602012-02-07 Eli Zaretskii <eliz@gnu.org>
10261
10262 * ls-lisp.el (ls-lisp-sanitize): New function.
10263 (ls-lisp-insert-directory): Use it to fix or remove any elements
10264 in file-alist with missing attributes. (Bug#4673)
10265
98d7371e
AM
102662012-02-07 Alan Mackenzie <acm@muc.de>
10267
10268 Fix spurious recognition of c-in-knr-argdecl.
10269
10270 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10271 putative K&R region.
10272
667ced3a
AM
102732012-02-07 Alan Mackenzie <acm@muc.de>
10274
eb864a71
LM
10275 * progmodes/cc-engine.el (c-forward-objc-directive):
10276 Prevent looping in "#pragma mark @implementation".
667ced3a 10277
5b77774d
MA
102782012-02-07 Michael Albinus <michael.albinus@gmx.de>
10279
10280 * notifications.el (notifications-on-closed-signal): Make `reason'
10281 optional. (Bug#10744)
10282
af008560
GM
102832012-02-07 Glenn Morris <rgm@gnu.org>
10284
60d47423
GM
10285 * emacs-lisp/easy-mmode.el (define-minor-mode):
10286 Doc fixes for the macro and the mode it defines.
10287
dd605cc4
GM
10288 * image.el (imagemagick-types-inhibit): Doc fix.
10289
af008560
GM
10290 * cus-start.el (imagemagick-render-type): Add it.
10291
5cc59a37
LI
102922012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10293
4d6769e1
JB
10294 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10295 Set the default at load time, too, so that `font-lock-fontify-buffer'
10296 can be called without setting up the entire mode first. This fixes
10297 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10298
9a6dd747
CY
102992012-02-06 Chong Yidong <cyd@gnu.org>
10300
2d16b285
CY
10301 * simple.el (list-processes--refresh): Delete exited processes
10302 (Bug#8094).
10303
171e9b6e
CY
10304 * comint.el (comint-next-prompt): next-single-char-property-change
10305 and prev-single-char-property-change never return nil (Bug#8657).
10306
9a6dd747
CY
10307 * custom.el (defcustom): Doc fix (Bug#9711).
10308
aa4589a7
CY
103092012-02-05 Chong Yidong <cyd@gnu.org>
10310
5c2a252f
CY
10311 * cus-edit.el (custom-variable-reset-backup): Quote the value
10312 before storing it in the customized-value property (Bug#6712).
4aab9006 10313 (custom-display): Add a customization type tag.
983b9602 10314 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10315
aa4589a7
CY
10316 * wid-edit.el (widget-field-value-get): New optional arg to
10317 suppress trailing whitespace truncation.
10318 (character): Use it (Bug#2689).
10319
1ff980ae
AS
103202012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10321
10322 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10323 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10324
03988c98
CY
103252012-02-05 Chong Yidong <cyd@gnu.org>
10326
eeb6cc88
CY
10327 * cus-edit.el (custom-variable-value-create): For mismatched
10328 types, show the current value (Bug#7600).
10329
03988c98
CY
10330 * custom.el (defcustom): Doc fix.
10331
f8cdeef0
GM
103322012-02-05 Glenn Morris <rgm@gnu.org>
10333
10334 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10335
0696d255
JB
103362012-02-05 Juanma Barranquero <lekktu@gmail.com>
10337
10338 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10339 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10340 (pp-last-sexp): Use `looking-at-p'.
10341
34c99998
GM
103422012-02-04 Glenn Morris <rgm@gnu.org>
10343
8f05da42
GM
10344 * files.el (revert-buffer):
10345 Doc fix (mention revert-buffer-in-progress-p).
10346
f160676e
GM
10347 * emacs-lisp/ert-x.el (ert-simulate-command):
10348 Check deferred-action-list (which is obsolete) is bound.
10349
c7291ad9
GM
10350 * subr.el (with-wrapper-hook): Doc fixes.
10351
34c99998
GM
10352 * simple.el (filter-buffer-substring-functions)
10353 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10354
6283a7d3
LL
103552012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10356
10357 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10358 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10359
e96e3013
LL
103602012-02-04 Leo Liu <sdl.web@gmail.com>
10361
10362 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10363
8ded50f2
GM
103642012-02-04 Glenn Morris <rgm@gnu.org>
10365
82ff1d13
GM
10366 * image.el (image-extension-data): Add obsolete alias.
10367
987a0a16
GM
10368 * isearch.el (isearch-update): Doc fix.
10369
ea32ef46
GM
10370 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10371
8ded50f2
GM
10372 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10373
eea14f31
GM
103742012-02-03 Glenn Morris <rgm@gnu.org>
10375
10376 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10377 (image-animate-timeout): Doc fix.
10378
10379 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10380
12f381b7
GM
103812012-02-02 Glenn Morris <rgm@gnu.org>
10382
953cebf5
GM
10383 * server.el (server-auth-dir): Doc fix.
10384 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10385
12f381b7
GM
10386 * subr.el (run-mode-hooks): Doc fix.
10387
953a8c3b
JL
103882012-02-02 Juri Linkov <juri@jurta.org>
10389
10390 * image-mode.el (image-toggle-display-image): Remove tautological
10391 `major-mode' from the `derived-mode-p' test.
10392
c5d3843c
KH
103932012-02-02 Kenichi Handa <handa@m17n.org>
10394
9f6e692e 10395 * composite.el (compose-region): Cancel previous change.
c5d3843c 10396
159462d4 103972012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10398
10399 * composite.el (compose-region, compose-string): Signal error for
10400 a null string component (Bug#6988).
10401
9f562668
CY
104022012-02-01 Chong Yidong <cyd@gnu.org>
10403
e2cef717
CY
10404 * view.el (view-buffer-other-window, view-buffer-other-frame):
10405 Handle special modes like view-buffer (Bug#10650).
10406 (view-buffer): Simplify.
10407
9f562668
CY
10408 * frame.el (set-frame-font): Tweak meaning of third argument.
10409
9f6e692e
JB
10410 * dynamic-setting.el (font-setting-change-default-font):
10411 Use set-frame-font (Bug#9982).
9f562668 10412
781acb9f
GM
104132012-02-01 Glenn Morris <rgm@gnu.org>
10414
6035be52
GM
10415 * progmodes/compile.el (compilation-internal-error-properties):
10416 Respect compilation-first-column in the "*compilation*" buffer.
10417
781acb9f
GM
10418 * emacs-lisp/easy-mmode.el (define-minor-mode):
10419 Relax :variable's test for a named function.
10420
abbceb00
AM
104212012-01-31 Alan Mackenzie <acm@muc.de>
10422
10423 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10424 off by one error.
10425
fce3fdeb
CY
104262012-01-31 Chong Yidong <cyd@gnu.org>
10427
10428 * frame.el (set-frame-font): New arg ALL-FRAMES.
10429
10430 * menu-bar.el (menu-set-font): Use set-frame-font.
10431
10432 * faces.el (face-spec-reset-face): Don't apply unspecified
10433 attribute values to the default face.
10434
47893581
JB
104352012-01-31 Juanma Barranquero <lekktu@gmail.com>
10436
10437 * progmodes/cwarn.el (cwarn): Remove dead link.
10438 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10439 Remove * from defcustom docstrings.
10440 (turn-on-cwarn-mode): Make obsolete.
10441 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10442 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10443
e58e988a
GM
104442012-01-31 Glenn Morris <rgm@gnu.org>
10445
60dc2671 10446 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10447 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10448 Allow named functions to be used as the cdr of :variable.
e58e988a 10449
7a3f511d
GM
104502012-01-30 Glenn Morris <rgm@gnu.org>
10451
10452 * emacs-lisp/authors.el (authors-fixed-entries):
10453 Remove reference to deleted file rnewspost.el.
10454
cb882333
JB
104552012-01-29 Juanma Barranquero <lekktu@gmail.com>
10456
10457 * window.el (window-with-parameter): Remove unused variable `windows'.
10458 (window--side-check): Remove unused variable `code'.
10459 (window--resize-siblings): Remove unused variable `first'.
10460 (adjust-window-trailing-edge): Remove unused variable `failed'.
10461 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10462 Use `let', not `let*'.
10463 (balance-windows-2): Remove unused variable `found'.
10464 (window--state-put-2): Remove unused variable `splits'.
10465 (window-state-put): Remove unused variable `selected'.
10466 (same-window-p): Use `string-match-p'.
10467 (display-buffer-assq-regexp): Remove unused variable `value'.
10468 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10469 Mark argument ALIST as ignored.
10470 (pop-to-buffer): Remove unused variable `old-window'.
10471
907201af
EZ
104722012-01-29 Eli Zaretskii <eliz@gnu.org>
10473
10474 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10475 and .lzma compressed files.
10476
ea162670
CY
104772012-01-29 Chong Yidong <cyd@gnu.org>
10478
5b95ee8a
CY
10479 * frame.el (window-system-default-frame-alist): Doc fix.
10480
ea162670
CY
10481 * dynamic-setting.el (font-setting-change-default-font): Don't
10482 change the default face if SET-FONT argument is non-nil (Bug#9982).
10483
d6e6f4b1
SB
104842012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10485
10486 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10487
0f29fa41 104882012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10489
10490 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10491 breakpoints in files outside current directory (Bug#6098).
10492
db174434
CY
104932012-01-29 Chong Yidong <cyd@gnu.org>
10494
6b25e4e2
SE
10495 * progmodes/python.el: Require ansi-color at top-level.
10496
6df6ae42
JB
10497 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10498 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10499 (lisp-mode-abbrev-table): Add doc.
10500 (lisp-mode-variables): Don't set local-abbrev-table.
10501 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10502
e70ee681
RW
105032012-01-28 Roland Winkler <winkler@gnu.org>
10504
10505 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10506
ace88aa2
RW
105072012-01-28 Roland Winkler <winkler@gnu.org>
10508
10509 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10510 (bibtex-set-dialect): Use it. Either set global values of
10511 dialect-dependent variables or bind these variables buffer-locally
10512 (Bug#10254).
10513 (bibtex-mode): Call bibtex-set-dialect via
10514 hack-local-variables-hook.
eb864a71
LM
10515 (bibtex-dialect): Update docstring.
10516 Add safe-local-variable predicate.
ace88aa2
RW
10517 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10518 bibtex-set-dialect.
10519 (bibtex-mode-map): Define menu for each dialect.
10520 (bibtex-entry): Fix docstring.
10521
93376c5b
CY
105222012-01-28 Chong Yidong <cyd@gnu.org>
10523
10524 * eshell/esh-arg.el (eshell-quote-argument): New function.
10525
10526 * eshell/esh-ext.el (eshell-invoke-batch-file):
10527 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10528 first arg to eshell-parse-command (Bug#10523).
10529
4372494f
DA
105302012-01-28 Drew Adams <drew.adams@oracle.com>
10531
10532 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10533 `default-directory' is non-nil.
10534
4d4ec1f8
EZ
105352012-01-28 Eli Zaretskii <eliz@gnu.org>
10536
10537 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10538 line that displays system-configuration-options. (Bug#9924)
10539
7c188927
DA
105402012-01-28 Drew Adams <drew.adams@oracle.com>
10541
10542 * descr-text.el (describe-char): Show information about POS, in
10543 addition to information about the character at POS. Improve and
10544 update the doc string. Change "code point" to "code point in
10545 charset", to avoid confusion with the character's Unicode code
10546 point shown above that. (Bug#10129)
10547
e0da685a
EZ
105482012-01-28 Eli Zaretskii <eliz@gnu.org>
10549
10550 * descr-text.el (describe-char): Show the raw character, not only
10551 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10552 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10553 for the reasons.
10554
70550acf
PH
105552012-01-28 Phil Hagelberg <phil@hagelb.org>
10556
eb864a71
LM
10557 * emacs-lisp/package.el (package-install):
10558 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10559
0ce8e868
CY
105602012-01-28 Chong Yidong <cyd@gnu.org>
10561
cb882333
JB
10562 * emacs-lisp/package.el (package-maybe-load-descriptor):
10563 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10564 (package-maybe-load-descriptor): Use it.
10565 (package-download-transaction): Fully load required packages
10566 inside the loop, so that `require' calls work (Bug#10593).
10567 (package-install): No need to call package-initialize now.
10568
2e7f3bea
CY
105692012-01-28 Chong Yidong <cyd@gnu.org>
10570
6e9bad14
CY
10571 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10572
f823b8ca
CY
10573 * tooltip.el (tooltip-mode): Doc fix.
10574 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10575
2680c309
CY
10576 * frame.el (set-cursor-color): Doc fix (Bug#352).
10577
d7a9e63b
CY
10578 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10579 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10580
2e7f3bea
CY
10581 * cus-edit.el (custom-buffer-create-internal): Fix search button
10582 action (Bug#10542).
2ae01800 10583 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10584
fc4f7a23
EW
105852012-01-27 Eduard Wiebe <usenet@pusto.de>
10586
10587 * dired.el (dired-mark-files-regexp):
10588 Include any subdirectory components. (Bug#10445)
10589
7dd37071
ML
105902012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10591
10592 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10593 Handle [host]:port syntax. (Bug#10533)
10594
a268160b
AH
105952012-01-27 Alex Harsanyi <harsanyi@mac.com>
10596
10597 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10598
e43273ef
GM
105992012-01-26 Glenn Morris <rgm@gnu.org>
10600
10601 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10602 * term.el (term-raw-escape-map): Use Control-X-prefix.
10603 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10604
1edf595d
MR
106052012-01-25 Martin Rudalics <rudalics@gmx.at>
10606
10607 * window.el (window-state-get, window--state-get-1): Don't deal
10608 with fixed-sizeness of windows. Simplify code.
10609
fa8eafef
JC
106102012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10611
6df6ae42
JB
10612 * window.el (window--state-get-1, window--state-put-2):
10613 Don't save and restore the mark.
fa8eafef 10614
0b21c100
CY
106152012-01-25 Chong Yidong <cyd@gnu.org>
10616
10617 * custom.el (custom-variable-p): Doc fix.
10618
5ae1a6c8
GM
106192012-01-25 Glenn Morris <rgm@gnu.org>
10620
40047858
GM
10621 * dired.el (dired-goto-file): Handle some of the more common
10622 characters that `ls -b' escapes. (Bug#10596)
10623
5ddce96c
GM
10624 * progmodes/compile.el (compilation-next-error-function):
10625 Respect compilation-first-column in the "*compilation*" buffer.
10626 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10627
5ae1a6c8
GM
10628 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10629
b559f1a9
GM
106302012-01-24 Glenn Morris <rgm@gnu.org>
10631
10632 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10633
6725d21a
JD
106342012-01-24 Julien Danjou <julien@danjou.info>
10635
10636 * color.el (color-rgb-to-hsl): Fix value computing.
10637 (color-hue-to-rgb): New function.
10638 (color-hsl-to-rgb): New function.
10639 (color-clamp, color-saturate-hsl, color-saturate-name)
10640 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10641 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10642
70df4bbe
GM
106432012-01-24 Glenn Morris <rgm@gnu.org>
10644
10645 * vc/vc-rcs.el (vc-rcs-create-tag):
10646 * vc/vc-sccs.el (vc-sccs-create-tag):
10647 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10648
802a2ae2
ML
106492012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10650
10651 * eshell/esh-util.el (eshell-read-hosts-file):
10652 Skip comment lines. (Bug#10549)
10653
d7128bb1
ML
10654 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10655
d1a5c3b4
JB
106562012-01-23 Juanma Barranquero <lekktu@gmail.com>
10657
2724d9c7
JB
10658 * subr.el (display-delayed-warnings): Doc fix.
10659 (collapse-delayed-warnings): New function to collapse identical
10660 adjacent warnings.
10661 (delayed-warnings-hook): Add it.
d1a5c3b4 10662
a5509865
MA
106632012-01-22 Michael Albinus <michael.albinus@gmx.de>
10664
10665 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10666
a5509865
MA
10667 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10668 (tramp-default-user-alist): Don't add "pscp".
10669 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10670 property "login-as", if set. (Bug#10530)
10671
cc6d5805
MA
106722012-01-21 Michael Albinus <michael.albinus@gmx.de>
10673
10674 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10675 "plink1" and "psftp". (Bug#10530)
10676
106772012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10678
10679 * international/mule-cmds.el (prefer-coding-system): Show a
10680 warning message if the default value of file-name-coding-system
10681 was not changed.
10682
f0960428
JC
106832012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10684
cb882333
JB
10685 * windmove.el (windmove-reference-loc):
10686 Fix windmove-reference-loc miscalculation.
f0960428 10687
dd6f2a63
JB
106882012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10689
10690 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10691 default unit.
10692
7b447e9b
GM
106932012-01-21 Glenn Morris <rgm@gnu.org>
10694
117a9ea1
GM
10695 * international/mule.el (auto-coding-alist): Add .tbz.
10696
7b447e9b
GM
10697 * files.el (local-enable-local-variables): Doc fix.
10698 (inhibit-local-variables-regexps): Rename from
10699 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10700 Doc fix. Add some extensions from auto-coding-alist.
10701 (inhibit-local-variables-suffixes):
10702 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10703 (inhibit-local-variables-p):
10704 New function, extracted from set-auto-mode-1.
10705 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10706 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10707 (hack-local-variables): Doc fix. Make the mode-only case
10708 respect enable-local-variables and friends.
10709 Respect inhibit-local-variables-regexps for file-locals, but
10710 not for directory-locals.
10711 (set-visited-file-name):
10712 Take account of inhibit-local-variables-regexps.
10713 Whether it applies may change as the file name is changed.
10714 * jka-cmpr-hook.el (jka-compr-install):
10715 * jka-compr.el (jka-compr-uninstall):
10716 Update for inhibit-first-line-modes-suffixes name change.
10717
dd6e3cdd
MR
107182012-01-20 Martin Rudalics <rudalics@gmx.at>
10719
10720 * help-macro.el (make-help-screen): Temporarily restore original
10721 binding for minor-mode-map-alist (Bug#10454).
10722
0d0deb38
JD
107232012-01-19 Julien Danjou <julien@danjou.info>
10724
10725 * color.el (color-name-to-rgb): Use the white color to find the max
10726 color component value and return correctly computed values.
10727 (color-name-to-rgb): Add missing float conversion for max value.
10728
34a02f46
MR
107292012-01-19 Martin Rudalics <rudalics@gmx.at>
10730
10731 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10732 special state value for window-persistent-parameters.
10733 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10734 (window--state-put-2): Reset all window parameters to nil before
10735 assigning values of persistent parameters.
10736
606c44c4
AM
107372012-01-18 Alan Mackenzie <acm@muc.de>
10738
10739 Eliminate sluggishness and hangs in fontification of "semicolon
10740 deserts".
10741
cb882333
JB
10742 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10743 Change value 10000 -> 3000.
606c44c4
AM
10744 (c-state-safe-place): Reformulate so it doesn't stack up an
10745 infinite number of wrong entries in c-state-nonlit-pos-cache.
10746 (c-determine-limit-get-base, c-determine-limit): New functions to
10747 determine backward search limits disregarding literals.
10748 (c-find-decl-spots): Amend commenting.
10749 (c-cheap-inside-bracelist-p): New function which detects "={".
10750
10751 * progmodes/cc-fonts.el
10752 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10753 backward search.
10754 (c-font-lock-declarations): Fix an occurrence of point being
10755 undefined. Check additionally for point being in a bracelist or
10756 near a macro invocation without a semicolon so as to avoid a
10757 fruitless time consuming search for a declarator. Give a more
10758 precise search limit for declarators using the new
10759 c-determine-limit.
10760
f3860cea
GM
107612012-01-18 Glenn Morris <rgm@gnu.org>
10762
10763 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10764 (set-auto-mode): Doc fixes.
10765
1db03b16
GM
107662012-01-17 Glenn Morris <rgm@gnu.org>
10767
0e6038be
GM
10768 * isearch.el (search-nonincremental-instead): Fix doc typo.
10769
1db03b16
GM
10770 * dired.el (dired-insert-directory): Handle newlines in directory name.
10771 (dired-build-subdir-alist): Unescape newlines in directory name.
10772
4cb0aa75
MA
107732012-01-17 Michael Albinus <michael.albinus@gmx.de>
10774
10775 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10776 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10777 (tramp-action-terminal): Use it. (Bug#10530)
10778
1d00653d
SM
107792012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10782
6a6ee00d
MR
107832012-01-16 Martin Rudalics <rudalics@gmx.at>
10784
10785 * window.el (window-state-ignored-parameters): Remove variable.
10786 (window--state-get-1): Rename argument MARKERS to IGNORE.
10787 Handle persistent window parameters. Make copy of clone-of
10788 parameter only if requested. (Bug#10348)
10789 (window--state-put-2): Install a window parameter only if it has
10790 a non-nil value or an existing parameter shall be overwritten.
10791
97912def
MA
107922012-01-15 Michael Albinus <michael.albinus@gmx.de>
10793
10794 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10795
688070a5
EZ
107962012-01-14 Eli Zaretskii <eliz@gnu.org>
10797
10798 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10799 don't pass the (nil) value of `upnode' to string-match.
10800
301afadc
CY
108012012-01-14 Chong Yidong <cyd@gnu.org>
10802
10803 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10804 Fix values recognized by the cursorBlink resource.
301afadc 10805
9e5788aa
PE
108062012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10807
10808 * epg.el (epg--make-temp-file): Avoid permission race condition
10809 when running on old Emacs versions (bug#10403).
10810
3cdb7f5a
GM
108112012-01-14 Glenn Morris <rgm@gnu.org>
10812
10813 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10814
8c82b1b4
AM
108152012-01-13 Alan Mackenzie <acm@muc.de>
10816
10817 Fix filling for when filladapt mode is enabled.
10818
10819 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10820 c-mask-paragraph, pass in `fill-paragraph' rather than
10821 `fill-region-as-paragraph'. (This is a reversion of a previous
10822 change.)
eb864a71
LM
10823 * progmodes/cc-mode.el (c-basic-common-init):
10824 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10825
e517eda4
GM
108262012-01-13 Glenn Morris <rgm@gnu.org>
10827
1498536e
GM
10828 * dired.el (dired-switches-escape-p): New function.
10829 (dired-insert-directory): Use dired-switches-escape-p.
10830 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10831
e517eda4
GM
10832 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10833
328f984d
GM
108342012-01-12 Glenn Morris <rgm@gnu.org>
10835
10836 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10837 changes in adaptive-fill-regexp. (Bug#10276)
10838
2cc769a8
AM
108392012-01-11 Alan Mackenzie <acm@muc.de>
10840
10841 Fix Emacs bug #10463 - put `widen's around the critical spots.
10842
1d00653d 10843 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10844 widen around each invocation of c-state-pp-to-literal. Remove an
10845 unused let variable.
10846
e52c37fa
GM
108472012-01-11 Glenn Morris <rgm@gnu.org>
10848
10849 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10850 Doc fix.
e52c37fa 10851
96f8741e
CY
108522012-01-10 Chong Yidong <cyd@gnu.org>
10853
1d00653d
SM
10854 * net/network-stream.el (network-stream-open-starttls):
10855 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10856 response to the capability command.
10857
b09a806e
GM
108582012-01-10 Glenn Morris <rgm@gnu.org>
10859
10860 * mail/unrmail.el (unrmail): Tweak previous change.
10861
7655cb66
CY
108622012-01-09 Chong Yidong <cyd@gnu.org>
10863
10864 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10865
9d5a8f0b
AM
108662012-01-08 Alan Mackenzie <acm@muc.de>
10867
10868 Optimise font locking in long enum definitions.
10869
10870 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10871 arm to a cond form to handle enums.
10872 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10873 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10874
9a0115ab 108752012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10876
10877 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10878 (Bug#10401)
6bb72cbd 10879
f186bb95
LMI
108802012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10881
29232a68
LMI
10882 * faces.el (set-face-attribute): Clarify the meaning of the nil
10883 frame (bug#10294).
10884
4e5d086d
LMI
10885 * subr.el (with-selected-frame): Mention that the selected frame
10886 is restored (bug#9980).
10887
8e66aebe
LMI
10888 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10889 (bug#9759).
10890
cd394be1 10891 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10892 (password-read): Don't autoload unused function.
10893
adf4e762
JB
108942012-01-07 Juanma Barranquero <lekktu@gmail.com>
10895
10896 * progmodes/which-func.el (which-func-mode): Turn into a
10897 non-interactive function and mark as obsolete (bug#10428).
10898
89bd9ccd
CY
108992012-01-06 Chong Yidong <cyd@gnu.org>
10900
10901 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10902 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10903 functions, along with 1 and -1.
10904
4afee9d5
EZ
109052012-01-06 Eli Zaretskii <eliz@gnu.org>
10906
10907 * time.el (display-time-load-average)
10908 (display-time-default-load-average): Doc fixes. See the thread
10909 starting at
10910 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10911 for the details.
10912
536aea70
GM
109132012-01-06 Glenn Morris <rgm@gnu.org>
10914
665ae865
GM
10915 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10916 has no messages. (Bug#10377)
10917
c869783d
GM
10918 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10919 than Info-edit. (Bug#10385)
10920
2bb4227e
GM
10921 * time.el (display-time-load-average, display-time-next-load-average):
10922 Doc fixes.
10923
7d5944b9
GM
10924 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10925 local setting of buffer-read-only to the input buffer. (Bug#10419)
10926
536aea70
GM
10927 * calendar/calendar.el (calendar-mode):
10928 Locally set scroll-margin to 0. (Bug#10379)
10929
7dccca16
UM
109302012-01-06 Ulrich Mueller <ulm@gentoo.org>
10931
10932 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10933
afbb7930
GM
109342012-01-05 Glenn Morris <rgm@gnu.org>
10935
10936 * eshell/em-unix.el (diff-no-select): Autoload it.
10937 (eshell/diff): Use diff-no-select. (Bug#10420)
10938
04482335
CY
109392012-01-05 Chong Yidong <cyd@gnu.org>
10940
7baca3bc
CY
10941 * shell.el (shell-dynamic-complete-functions): Revert last change.
10942 (shell-command-completion-function): New function.
10943 (shell-completion-vars): Use it to implement
10944 shell-completion-execonly (Bug#10417).
10945
04482335
CY
10946 * custom.el (enable-theme): Don't set custom-safe-themes.
10947
1d00653d
SM
10948 * cus-theme.el (custom-theme-merge-theme):
10949 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10950
bb5aa5d6
MM
109512012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10952
10953 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10954 first prompt in `sql-interacive-mode'.
10955 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10956 keywords.
6df6ae42 10957 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10958 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10959 context of original buffer. Invoke `sql-login-hook'.
10960
a7183d7c
EZ
109612012-01-04 Eli Zaretskii <eliz@gnu.org>
10962
10963 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10964 letters in cite-prefix.
10965
a1eacd1e
LMI
109662012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10967
10968 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10969
787cdb34
CY
109702012-01-03 Chong Yidong <cyd@gnu.org>
10971
1d00653d
SM
10972 * shell.el (shell-dynamic-complete-functions):
10973 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10974 comint-filename-completion first (Bug#10417).
10975
30710442
RS
109762012-01-02 Richard Stallman <rms@gnu.org>
10977
10978 * battery.el (battery-status-function):
10979 Detect when to use battery-yeeloong-sysfs.
10980 (battery-echo-area-format): Add string for Yeeloong.
10981 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10982 (battery-yeeloong-sysfs): New function.
10983
f75bfc33
CY
109842012-01-02 Chong Yidong <cyd@gnu.org>
10985
10986 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10987 (dirtrack): Merge code for handling relative filenames in prompt
10988 from shell-dir-cookie-watcher.
10989 (dirtrack-debug-message): New arg to avoid excess format calls.
10990
10991 * shell.el (shell-dir-cookie-re): Variable deleted.
10992 (shell-dir-cookie-watcher): Function deleted.
10993 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10994 with dirtrack-mode.
10995
651e947e
EZ
109962012-01-01 Eli Zaretskii <eliz@gnu.org>
10997
1d00653d
SM
10998 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10999 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11000 libgnutls-26.dll.
11001
94d4c7dc
AS
110022011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11003
11004 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11005
8d43f3cd
EZ
110062011-12-31 Eli Zaretskii <eliz@gnu.org>
11007
11008 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11009 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11010
98c8795a
MA
110112011-12-29 Michael Albinus <michael.albinus@gmx.de>
11012
11013 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11014 also for alternative shells.
11015 (tramp-open-connection-setup-interactive-shell): Check, whether
11016 the shell is a busybox.
11017 (tramp-send-command): Don't suppress multiple prompts for
11018 busyboxes, it hurts.
11019
51281b32
CY
110202011-12-28 Chong Yidong <cyd@gnu.org>
11021
11022 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11023 (gdb-get-source-file): Move mode line update to
11024 gdb-get-source-file (Bug#10087).
11025
2170cb53
CY
110262011-12-25 Chong Yidong <cyd@gnu.org>
11027
11028 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11029 gud-gdb-marker-filter without taking it as an argument.
11030 (gud-gdb-run-command-fetch-lines): Caller changed.
11031 (gud-gdb-completion-function): New variable.
11032 (gud-gdb-completion-at-point): Use it.
11033 (gud-gdb-completions-1): Split from gud-gdb-completions.
11034
11035 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11036 function as separate arguments.
11037 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11038 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11039 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11040 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11041 (gdb-stopped, def-gdb-auto-update-trigger)
11042 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11043 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11044 Callers changed.
2170cb53
CY
11045 (gud-gdbmi-completions): New function.
11046 (gdb): Use it for generating the completion table.
11047
be8b11bb
AM
110482011-12-24 Alan Mackenzie <acm@muc.de>
11049
11050 Introduce a mechanism to widen the region used in context font
1d00653d 11051 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11052
1d00653d
SM
11053 * progmodes/cc-langs.el (c-before-font-lock-functions):
11054 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11055 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11056 functions to be run just before context (etc.) font locking.
11057
11058 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11059 New, functionality extracted from
be8b11bb 11060 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11061 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11062 (c-after-change): Set c-in-after-change-fontification.
11063 (c-set-fl-decl-start): Rejig its interface, so it can be called
11064 from both after-change and context fontifying.
b81d40f0
JB
11065 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11066 New functions.
11067 (c-standard-font-lock-fontify-region-function): New variable.
11068 (c-font-lock-fontify-region): New function.
be8b11bb 11069
341cf6ac
JL
110702011-12-24 Juri Linkov <juri@jurta.org>
11071
11072 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11073 (Bug#10348)
11074
bffcee0a
MA
110752011-12-23 Michael Albinus <michael.albinus@gmx.de>
11076
11077 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11078 existence of source file. (Bug#10325)
11079
cb5e207c
AM
110802011-12-23 Alan Mackenzie <acm@muc.de>
11081
11082 Fix unstable fontification inside templates.
11083
b81d40f0
JB
11084 * progmodes/cc-langs.el (c-before-font-lock-functions):
11085 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11086 additionally has c-set-fl-decl-start. The other languages (apart
11087 from AWK) have that as a single entry.
11088
b81d40f0
JB
11089 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11090 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11091 c-set-fl-decl-start.
11092
b81d40f0
JB
11093 * progmodes/cc-mode.el (c-common-init, c-after-change):
11094 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11095 (c-set-fl-decl-start): New function, extracted from
11096 c-font-lock-enclosing-decls and enhanced.
11097
60ff536c
JB
110982011-12-23 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11101
1c4757d6
JL
111022011-12-22 Juri Linkov <juri@jurta.org>
11103
11104 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11105
d031f2c7
CY
111062011-12-22 Chong Yidong <cyd@gnu.org>
11107
11108 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11109
bace743a
DA
111102011-12-21 Drew Adams <drew.adams@oracle.com>
11111
11112 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11113
728a1f2b
JC
111142011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11115
11116 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11117
0d373f73
TZ
111182011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11119
fec0aaa4
TZ
11120 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11121 highlighting and support. Fix up comments for capitalization.
11122 (cfengine-mode-debug): New var.
11123 (cfengine3-mode): Change the modeline indicator to "CFE3".
11124 (cfengine3-font-lock-keywords): Improve defun highlighting.
11125 (cfengine2-actions): Rename from `cfengine-actions'.
11126 (cfengine2-font-lock-keywords): Rename from
11127 `cfengine-font-lock-keywords'.
11128 (cfengine2-imenu-expression): Rename from
11129 `cfengine-imenu-expression'.
11130 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11131 (cfengine2-beginning-of-defun): Rename from
11132 `cfengine-beginning-of-defun'.
11133 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11134 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11135 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11136 modeline indicator to "CFE2".
11137 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11138 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11139
bc86f573
CY
111402011-12-21 Chong Yidong <cyd@gnu.org>
11141
11142 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11143 filename argument.
11144
d45ba96b
MR
111452011-12-20 Martin Rudalics <rudalics@gmx.at>
11146
11147 * window.el (window-normalize-buffer-to-display): Remove.
11148 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11149
a6198c90
CY
111502011-12-19 Chong Yidong <cyd@gnu.org>
11151
11152 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11153 Don't signal an error in a predicate function; return non-nil.
11154 (vc-dir-mark-file): Move the error here.
11155 (vc-dir-mark-unmark): If acting on the region, keep going if one
11156 of the entries cannot be marked/unmarked.
11157 (vc-dir-mark-all-files): If current entry is a directory, mark
11158 only child files, as documented.
11159
34c5fb55
VB
111602011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11161
11162 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11163 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11164 addition.
11165
c803b2b7
JD
111662011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11167
11168 * term/ns-win.el (ns-get-selection-internal)
11169 (ns-store-selection-internal): Declare.
1154d12e
JB
11170 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11171 Declare as obsolete.
11172 (ns-get-pasteboard, ns-paste-secondary):
11173 Use ns-get-selection-internal.
41e9b956 11174 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11175 Use ns-store-selection-internal.
c803b2b7 11176
9cff91f8 111772011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11178
11179 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11180 (vc-deduce-fileset): Doc fix.
99a289d9 11181
f16c898a
AS
111822011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11183
11184 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11185
763237c4
SS
111862011-12-13 Sam Steingold <sds@gnu.org>
11187
11188 * man.el (Man-getpage-in-background): When running under a
11189 window-system, ignore $MANWIDTH and $COLUMNS.
11190
5fc1c122
KH
111912011-12-15 Kenichi Handa <handa@m17n.org>
11192
11193 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11194 (setup-ethiopic-environment-internal): Comment out key-binding for
11195 ethio-toggle-punctuation.
11196
13d49cbb
AM
111972011-12-13 Alan Mackenzie <acm@muc.de>
11198
898169a2
AM
11199 Add the switch statement to AWK Mode.
11200
7a71b18d 11201 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11202 "default" to the keywords regexp.
11203
7a71b18d 11204 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11205 expression as the rest.
1d00653d
SM
11206 (c-nonlabel-token-key): Allow string literals for AWK.
11207 Refactor for the other modes.
898169a2 11208
13d49cbb 11209 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11210 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11211 routines. Limit backward searching in c-font-lock-enclosing.decl.
11212
11213 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11214 pp-state and literal type in addition to the limits.
1d00653d 11215 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11216 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11217 (c-slow-in-literal, c-fast-in-literal): Remove.
11218 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11219
11220 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11221 being in a literal. Add a limit for backward searching.
11222
11223 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11224 c-slow-in-literal.
11225
15e0efc7
SM
112262011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11229
454592a6
MR
112302011-12-13 Martin Rudalics <rudalics@gmx.at>
11231
11232 * window.el (delete-other-windows): Use correct frame in call to
11233 window-with-parameter.
11234
87393f26
DP
112352011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11236
11237 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11238 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11239 (makefile-gmake-statements, makefile-makepp-statements):
11240 Use it and add new makepp keywords.
11241 (makefile-makepp-font-lock-keywords): Add new patterns.
11242 (makefile-match-function-end): Match new [...] and [[...]].
11243
11636b22
JB
112442011-12-11 Juanma Barranquero <lekktu@gmail.com>
11245
11246 * ses.el (ses-call-printer-return, ses-cell-property-get)
11247 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11248 (ses-create-cell-variable, ses-reset-header-string)
11249 (ses-cell-set-formula, ses-repair-cell-reference-all)
11250 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11251 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11252 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11253 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11254 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11255 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11256 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11257 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11258 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11259 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11260 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11261 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11262
cf018193
VB
112632011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11264
11265 * ses.el: The overall change is to add cell renaming, that is
11266 setting fancy names for cell symbols other than name matching
11267 "\\`[A-Z]+[0-9]+\\'" regexp .
11268 (ses-create-cell-variable): New defun.
11269 (ses-relocate-formula): Relocate formulas only for cells the
11270 symbols of which are not renamed, i.e. symbols whose names do not
11271 match regexp "\\`[A-Z]+[0-9]+\\'".
11272 (ses-relocate-all): Relocate values only for cells the symbols of
11273 which are not renamed.
11274 (ses-load): Create cells variables as the (ses-cell ...) are read,
11275 in order to check row col consistency with cell symbol name only
11276 for cells that are not renamed.
11277 (ses-replace-name-in-formula): New defun.
11278 (ses-rename-cell): New defun.
11279
ee957461
CY
112802011-12-11 Chong Yidong <cyd@gnu.org>
11281
11282 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11283 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11284
9a9e9ef0
MR
112852011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11286
11287 * window.el (other-window): Fix docstring.
11288
92a8eba5
EZ
112892011-12-10 Eli Zaretskii <eliz@gnu.org>
11290
11291 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11292 `from' or `to' address before taking its substring.
11293 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11294 encoded name is chopped in the middle of the encoded string, and
11295 thus displayed encoded.
11296
e152e577
JB
112972011-12-10 Juanma Barranquero <lekktu@gmail.com>
11298
11299 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11300
e5d84bfe
EZ
113012011-12-10 Eli Zaretskii <eliz@gnu.org>
11302
11303 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11304 to use texinfo-update-node and commands that call it if the
11305 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11306 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11307 (texinfo-all-menus-update, texinfo-master-menu)
11308 (texinfo-update-node, texinfo-every-node-update)
11309 (texinfo-multiple-files-update): Doc fix. Warn against updating
11310 all the @node lines.
11311 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11312 argument is numeric. Explain better in the doc string what the
11313 function really does.
11314 (texinfo-insert-master-menu-list): Improve the error message
11315 displayed if there's no menu in the Top node.
11316 (Bug#2975) See also this thread:
e5d84bfe
EZ
11317 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11318
1d84e9bb
MG
113192011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11320
11321 * speedbar.el (speedbar-supported-extension-expressions):
11322 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11323
382c953b
JB
113242011-12-09 Juanma Barranquero <lekktu@gmail.com>
11325
11326 * printing.el (pr-mode-alist):
11327 * simple.el (filter-buffer-substring-functions)
11328 (completion-list-insert-choice-function):
11329 * window.el (window-with-parameter, window-atom-root)
11330 (window-sides-slots, window-size-fixed, window-min-delta)
11331 (window-max-delta, window--resize-mini-window)
11332 (window--resize-child-windows-normal, window-tree)
11333 (delete-other-windows, quit-window, split-window)
11334 (display-buffer-record-window, special-display-buffer-names)
11335 (special-display-regexps, special-display-popup-frame)
11336 (same-window-p, split-window-sensibly)
11337 (display-buffer-overriding-action, display-buffer-alist)
11338 (display-buffer-base-action, display-buffer, switch-to-buffer)
11339 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11340 (fit-window-to-buffer, recenter-positions)
11341 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11342 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11343 and remove unneeded backslashes in docstrings.
11344
39c9faef
SM
113452011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11346
98449af8
SM
11347 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11348
39c9faef
SM
11349 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11350 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11351 end in ".mk".
11352 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11353 when reading the makefile (bug#10116).
11354
86ed9fdc
SM
113552011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11356
11357 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11358 (bug#10116).
11359
5580f89d
GM
113602011-12-06 Glenn Morris <rgm@gnu.org>
11361
11362 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11363
28d3917c
CY
113642011-12-06 Chong Yidong <cyd@gnu.org>
11365
11366 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11367
a98edce9
JB
113682011-12-06 Juanma Barranquero <lekktu@gmail.com>
11369
11370 * textmodes/table.el (table-shorten-cell): Fix typo.
11371
e65adfac
CG
113722011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11373
11374 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11375
71cc0b74
EZ
113762011-12-05 Eli Zaretskii <eliz@gnu.org>
11377
11378 * descr-text.el (describe-char): Fix display of strong
11379 right-to-left characters and directional embeddings and overrides.
11380
11381 * simple.el (what-cursor-position): Fix display of codepoints of
11382 strong right-to-left characters.
11383
315bc30d
CY
113842011-12-05 Chong Yidong <cyd@gnu.org>
11385
11386 * faces.el (read-color): Doc fix.
11387
58a70b94
GM
113882011-12-05 Glenn Morris <rgm@gnu.org>
11389
11390 * align.el (align--set-marker): Add doc-string.
11391 Don't try to move something that is not a marker. (Bug#10216)
11392
5158face
GM
113932011-12-04 Glenn Morris <rgm@gnu.org>
11394
11395 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11396 overly zealous deletion of trailing whitespace.
11397
520fca41
JB
113982011-12-04 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * server.el (server-delete-client): On Windows, do not try to delete
11401 the only terminal.
11402 (server-process-filter): On Windows, treat requests for a tty frame as
11403 if they were for a GUI frame if the running server is in GUI mode.
11404
5e605a2e
GM
114052011-12-03 Glenn Morris <rgm@gnu.org>
11406
11407 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11408
5c3fe83f
SM
114092011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11410
6f5e57e7
SM
11411 * electric.el: Streamline electric-indent's hook.
11412 (electric-indent-chars): Revert to simple list.
11413 (electric-indent-functions): New var.
11414 (electric-indent-post-self-insert-function): Use it.
11415
5c3fe83f
SM
11416 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11417 there's no inferior buffer (bug#10196).
11418 (prolog-consult-compile): Don't use toggle-read-only.
11419
6bdac736
MA
114202011-12-02 Michael Albinus <michael.albinus@gmx.de>
11421
11422 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11423 interrupt. (Bug#10187)
11424
6131ba7f
SM
114252011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11426
99c79fee
SM
11427 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11428 (bug#9160).
11429
6131ba7f
SM
11430 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11431 (bug#10191).
11432
cb0a02ea
JL
114332011-12-02 Juri Linkov <juri@jurta.org>
11434
11435 * info.el (Info-search): Display "end of manual" when Isearch
11436 reaches the end of single-file Info manual. (Bug#9918)
11437
66e0570c
EZ
114382011-12-02 Eli Zaretskii <eliz@gnu.org>
11439
11440 * isearch.el (isearch-message-prefix): Run the input method part
11441 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11442
02b16839
JL
114432011-12-02 Juri Linkov <juri@jurta.org>
11444
11445 * isearch.el (isearch-occur): Use `word-search-regexp' for
11446 `isearch-word'.
11447 (isearch-search-and-update): Add condition for `isearch-word' and
11448 call `word-search-regexp'. (Bug#10145)
11449
0b950688
GM
114502011-12-01 Glenn Morris <rgm@gnu.org>
11451
11452 * eshell/em-hist.el (eshell-hist-initialize):
11453 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11454 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11455
9505c3c7
SM
114562011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11457
11458 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11459
1bbe96b2 114602011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11461
a1beca85
SM
11462 * progmodes/verilog-mode.el (verilog-pretty-expr):
11463 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11464 verilog, such as += *= and the like.
11465 (verilog-assignment-operator-re): Regular expression to find the
11466 assigment operator in a verilog assignment.
11467 (verilog-assignment-operation-re): Regular expression to find an
11468 assignment statement for pretty-expr.
11469 (verilog-in-attribute-p): Query returns true if point is in an
11470 attribute context; used to skip these for expression line up from
11471 pretty-expr.
11472 (verilog-in-parameter-p): Query returns true if point is in an
11473 parameter definition context; used to skip these for expression
11474 line up from pretty-expr.
11475 (verilog-in-parenthesis-p): Query returns true if point is in a
11476 parenthetical expression, specifically ( ) but not [ ] or { };
11477 used by pretty-expr.
11478 (verilog-just-one-space): If there is no space, don't add one.
11479 (verilog-get-lineup-indent-2): Specifically skip just attribute
11480 contexts for expression lineup, rather than skipping all
11481 parenthetical expressions.
11482 (verilog-calculate-indent): Fix comment, and fix indent.
11483 (verilog-do-indent): Indent declarations in lists (suggested by
11484 Joachim Lechner).
11485 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11486 skeleton items.
11487 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11488 by Alain Mellan).
11489
1bbe96b2 114902011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11491
11492 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11493 parameters with embedded comments. Reported by Ray Stevens.
11494 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11495 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11496 Reported by Tim Holt.
11497 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11498 instantiated by upper module causing wrong expansion until AUTOed a
11499 second time. Reported by K C Buckenmaier.
11500 (verilog-diff-auto): Fix showing .* as a difference when
11501 `verilog-auto-star-save' off. Reported by Dan Dever.
11502 (verilog-auto-reset, verilog-read-always-signals)
11503 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11504 temporary signals in reset list if
11505 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11506 style to each signal's assignment type, bug381.
11507 Reported by Thomas Esposito.
6288f0ca
WS
11508 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11509 (verilog-uvm-statement-re): Support UVM indentation and
11510 highlighting, with old OVM keywords only.
a1beca85 11511 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11512 Support AUTOTIEOFF creating non-wire data types.
11513 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11514 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11515 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11516 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11517 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11518 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11519 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11520 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11521 non-numeric vector width. Reported by Alex Reed.
11522 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11523 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11524 (verilog-auto-delete-trailing-whitespace):
11525 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11526 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11527 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11528 Fix verilog-scan-cache corruption when running user AUTO expansion
11529 hooks that call indentation routines.
11530 (verilog-simplify-range-expression): Fix typo ignoring lower case
11531 identifiers.
11532 (verilog-delete-auto): Fix delete-autos to also remove user created
11533 automatics, as long as they start with AUTO.
11534 (verilog-batch-diff-auto, verilog-diff-auto)
11535 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11536 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11537 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11538 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11539 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11540 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11541 is disabled and its cache will get corrupt, causing AUTOS not to
11542 expand. Instead use only -quick functions.
11543 (verilog-scan-region): Fix scanning over escaped quotes.
11544 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11545 (verilog-re-search-backward-quick)
11546 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11547 related functions now ignore strings, to fix misparsing of strings
11548 with magic comments embedded in them.
a1beca85
SM
11549 (verilog-read-auto-template):
11550 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11551 Reported by Brad Dobbie.
11552 (verilog-read-auto-template):
11553 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11554 Reported by Brad Dobbie.
6288f0ca
WS
11555 (verilog-auto-inst, verilog-auto-inst-param)
11556 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11557 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11558 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11559 debugging templates without merge conflicts, bug357.
11560 Reported by Brad Dobbie.
11561 (verilog-read-auto-template):
11562 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11563 Reported by Brad Dobbie.
11564 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11565 abbrevs so user won't be asked to save.
11566 (verilog-read-auto-lisp-present): Fix to start at beginning of
11567 buffer in case called outside of verilog-auto.
11568 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11569 to "X-2". Reported by Matthew Myers.
11570 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11571 all inputs from module templates. Reported by Leith Johnson.
11572 (verilog-module-inside-filename-p): Fix locating programs as with
11573 modules.
11574 (verilog-auto-inst-port): Fix vl-width expressions when using
11575 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11576 (verilog-decls-get-regs, verilog-decls-get-signals,
11577 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11578 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11579 verilog-read-decls): Combine reg and wire structures into one var
11580 structure to represent SystemVerilog concepts.
11581 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11582 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11583 (verilog-auto-wire-type, verilog-insert-definition):
11584 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11585 SystemVerilog "logic" keyword instead of "wire"/"reg".
11586 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11587 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11588 ifdef or generate if so there's not a driver conflict).
11589 Reported by Matthew Myers.
11590 (verilog-auto-declare-nettype, verilog-insert-definition):
11591 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11592 `default_nettype none. Reported by Julian Gorfajn.
11593 (verilog-read-always-signals-recurse, verilog-read-decls)
11594 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11595 malformed end statement, bug325. Reported by Joshua Wise and
11596 Andrew Drake.
11597 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11598 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11599 when expanding .* in interfaces, bug320.
11600 Reported by Pierre-David Pfister.
6288f0ca 11601 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11602 name and open parenthesis, bug317.
11603 Reported by Pierre-David Pfister.
6288f0ca
WS
11604 (verilog-simplify-range-expression): Fix simplification of
11605 multiplications inside AUTOWIRE connections, bug303.
11606 (verilog-auto-inst-port): Support parameter expansion in
11607 multidimensional arrays.
11608 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11609 after "assert property". Reported by Julian Gorfajn.
11610 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11611 with multiplication, bug303.
11612 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11613 Reported by Jan Frode Lonnum.
11614
1bbe96b2
GM
116152011-11-30 Juanma Barranquero <lekktu@gmail.com>
11616
11617 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11618 (hfy-shell-file-name, hfy-shell):
11619 * international/fontset.el (x-decompose-font-name): Fix typos.
11620
116212011-11-29 Ken Brown <kbrown@cornell.edu>
11622
11623 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11624 (gdb-version): Remove defvar.
11625 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11626 (gdb-gud-context-command, gdb-non-stop-handler)
11627 (gdb-current-context-command, gdb-stopped): Use it.
11628 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11629 (gdb-non-stop-handler): Don't enable pretty-printing here.
11630 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11631 non-stop mode. Use the following.
11632 (gdb-check-target-async): New defun.
11633 (gud-watch, gdb-stopped): Fix whitespace.
11634 (gdb-get-source-file): Don't try to display the source file if
11635 `gdb-main-file' is nil.
11636
116372011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * align.el: Try to generate fewer markers (bug#10047).
11640 (align--set-marker): New macro.
11641 (align-region): Use it.
11642
c935221f
SM
116432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11646
e70b5064
CY
116472011-11-29 Chong Yidong <cyd@gnu.org>
11648
11649 * indent.el (indent-for-tab-command, indent-according-to-mode):
11650 Doc fix.
11651 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11652
f3af92b7
MA
116532011-11-29 Michael Albinus <michael.albinus@gmx.de>
11654
11655 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11656 aware of remote file names. (Bug#10124)
11657
ed472be9
CY
116582011-11-29 Chong Yidong <cyd@gnu.org>
11659
11660 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11661
24510c22
SM
116622011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * files.el (find-file): Don't use force-same-window (bug#10144).
11665 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11666 use pop-to-buffer if the selected window can't be used.
11667 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11668
c60c3703
EZ
116692011-11-28 Eli Zaretskii <eliz@gnu.org>
11670
11671 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11672 special-mode-map.
11673
e95def75
CY
116742011-11-28 Chong Yidong <cyd@gnu.org>
11675
11676 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11677
c3f1c606
NR
116782011-11-27 Nick Roberts <nickrob@snap.net.nz>
11679
11680 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11681 gdb-get-source-file-list on gdb-create-source-file-list.
11682
00db469c
EZ
116832011-11-26 Eli Zaretskii <eliz@gnu.org>
11684
11685 * whitespace.el (whitespace-newline): Use a different foreground
11686 color for 16-color light-background displays.
11687
4ad3bc2a
CY
116882011-11-24 Chong Yidong <cyd@gnu.org>
11689
11690 * window.el (display-buffer--special-action): Doc fix.
11691
e9fce1ac
JB
116922011-11-25 Juanma Barranquero <lekktu@gmail.com>
11693
11694 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11695 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11696 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11697 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11698 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11699 (avl-tree-stack-first):
11700 * emacs-lisp/cconv.el (cconv--analyse-use):
11701 * net/gnutls.el (gnutls-negotiate): Fix typos.
11702
cb825e5d
GM
117032011-11-24 Glenn Morris <rgm@gnu.org>
11704
3adbe224
GM
11705 * lpr.el (lpr-windows-system, lpr-lp-system):
11706 * mail/binhex.el (binhex-begin-line):
11707 * progmodes/grep.el (grep-history, grep-find-history):
11708 * textmodes/flyspell.el:
11709 * vc/pcvs-defs.el (cvs-global-menu):
11710 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11711 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11712 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11713
321decc8
GM
11714 * net/tls.el: Fix case of "GnuTLS".
11715
420b63ad
GM
11716 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11717
cb825e5d
GM
11718 * version.el (emacs-build-system): Give it a doc-string.
11719
a0649f08
JL
117202011-11-24 Juri Linkov <juri@jurta.org>
11721
11722 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11723
c0bc0fd4
GM
117242011-11-24 Glenn Morris <rgm@gnu.org>
11725
11726 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11727 if called on a non-mime message just toggle the headers. (Bug#8006)
11728
20db1522
JB
117292011-11-24 Juanma Barranquero <lekktu@gmail.com>
11730
11731 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11732 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11733 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11734 (allout-rebullet-heading, allout-open-sibtopic)
11735 (allout-toggle-current-subtree-encryption)
11736 (allout-toggle-subtree-encryption, allout-encrypt-string)
11737 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11738 (allout-distinctive-bullets-string, allout-auto-activation):
11739 * window.el (window-normalize-buffer-to-display):
11740 * progmodes/verilog-mode.el (verilog-batch-indent):
11741 * textmodes/bibtex.el (bibtex-field-braces-opt)
11742 (bibtex-field-strings-opt):
11743 * vc/cvs-status.el (cvs-tree-merge):
11744 Fix typos.
11745
7262a87c
MA
117462011-11-23 Michael Albinus <michael.albinus@gmx.de>
11747
11748 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11749 `non-essential' to t, in order to avoid remote connections.
11750
283430a1
EZ
117512011-11-23 Eli Zaretskii <eliz@gnu.org>
11752
a1beca85
SM
11753 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11754 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11755 case-insensitively.
11756
d2992a38
ML
117572011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11758
11759 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11760
50419064
GM
117612011-11-23 Glenn Morris <rgm@gnu.org>
11762
da94eca1
GM
11763 * paths.el (rmail-file-name): Reformat the doc-string so that it
11764 is picked up.
11765
9aac4de2
GM
11766 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11767 (rmail-auto-file): Ignore case in the "special" field names,
11768 as mail-fetch-field does for all others.
11769
8038d2d2
GM
11770 * mail/rmail.el (rmail-forward):
11771 * mail/rmailkwd.el (rmail-set-label):
11772 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11773 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11774
f3fe222a
GM
11775 * mail/rmail.el (rmail-current-message): Doc fix.
11776
50419064
GM
11777 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11778
28109f49
SM
117792011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11782
394c65f1
GM
117832011-11-22 Glenn Morris <rgm@gnu.org>
11784
11785 * mail/rmailmm.el (test-rmail-mime-handler)
11786 (test-rmail-mime-bulk-handler)
11787 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11788
f2a0aa3a
JL
117892011-11-21 Juri Linkov <juri@jurta.org>
11790
1154d12e
JB
11791 * calc/calc.el (calc-read-key-sequence):
11792 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11793
9c34a344
LMI
117942011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11795
11796 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11797 Tell the caller that the next line needs recomputation, even
11798 though it doesn't start a sexp (bug#10094).
11799
f04a3be9
SM
118002011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11803
7978747f
SM
118042011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11805
f04a3be9
SM
11806 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11807 Use force-same-window.
7978747f 11808
fe7a3057
JB
118092011-11-20 Juanma Barranquero <lekktu@gmail.com>
11810
11811 * descr-text.el (describe-char-unicode-data):
11812 * json.el (json-string-escape):
11813 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11814 (Footnote-unicode, Footnote-style-p):
11815 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11816
24901d61
CY
118172011-11-20 Chong Yidong <cyd@gnu.org>
11818
11819 * window.el (replace-buffer-in-windows): Restore interactive spec.
11820
bac7ff22
SM
118212011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11822
24f3d7b9
SM
11823 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11824
bac7ff22
SM
11825 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11826 (byte-compile-global-not-obsolete-vars): New var.
11827 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11828 Use it.
11829 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11830
cd1181db
JB
118312011-11-20 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11834 * progmodes/pascal.el (electric-pascal-equal):
11835 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11836 * xml.el (xml-substitute-special): Fix typos.
11837
7fb18e9e
GM
118382011-11-20 Glenn Morris <rgm@gnu.org>
11839
11840 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11841 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11842 Doc fixes.
11843 (rmail-decode-mime-charset): Mark as obsolete.
11844
11845 * mail/rmailsum.el (rmail-message-regexp-p-1):
11846 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11847 Before using mime functions, check they are set. (Bug#10077)
11848
d5a6b3ba
JL
118492011-11-19 Juri Linkov <juri@jurta.org>
11850
11851 * info.el (Info-finder-find-node): Use `package--builtins' instead
11852 of `package-alist'. Use node names formed by the pattern "Keyword "
11853 and the keyword name.
11854
e981b61f
AS
118552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11856
1d00653d 11857 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11858
3ffbc301
JL
118592011-11-19 Juri Linkov <juri@jurta.org>
11860
11861 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11862 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11863 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11864 `old-history', `old-history-forward'. Add let-binding
11865 `window-selected'. Remove calls to `kill-buffer',
11866 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11867 before calling `Info-find-node', so `Info-find-node-2' will reread
11868 the Info file. Restore window positions only when `window-selected'
11869 is non-nil.
11870
30c62133
JL
118712011-11-19 Juri Linkov <juri@jurta.org>
11872
11873 * isearch.el (isearch-lazy-highlight-new-loop):
11874 Remove condition `(not isearch-error)'. (Bug#9918)
11875
11876 * misearch.el (multi-isearch-search-fun): Add condition
11877 `(not bound)' to ignore lazy-highlighting search.
11878 Add the search-failed message "end of multi" when the end of
11879 multi-sequence is reached. Uncapitalize the search-failed
11880 message "Repeat for next buffer".
11881
11882 * info.el (Info-search): Add the search-failed message
11883 "end of the manual" when the end of the manual is reached
11884 in Isearch mode.
11885
645ca9cf
JL
118862011-11-19 Juri Linkov <juri@jurta.org>
11887
11888 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11889 Use non-destructive `remove' instead of `delete' because
11890 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11891 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11892
df754f66
JL
118932011-11-19 Juri Linkov <juri@jurta.org>
11894
11895 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11896 to nil instead of binding `search-ring' and `regexp-search-ring'.
11897 (Bug#9185)
11898
0e23d96a
EZ
118992011-11-19 Eli Zaretskii <eliz@gnu.org>
11900
11901 * simple.el (line-move): Force movement by logical lines for any
11902 hscrolled window, not only when auto-hscroll-mode is on.
11903 (line-move-visual): Update doc string to that effect. (Bug#10076)
11904
8a6ccb66
AS
119052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11906
11907 * language/european.el (macintosh): Define as alias for mac-roman.
11908
49ae5b39
EZ
119092011-11-19 Eli Zaretskii <eliz@gnu.org>
11910
11911 * mail/rmailmm.el (rmail-mime-display-header)
11912 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11913 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11914 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11915 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11916 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11917 of a raw aref.
11918 (rmail-mime-entity-segment): To get past the tagline, move forward
11919 2 more lines, to account for the 2 empty lines that precede and
11920 follow the line with the buttons.
11921 (rmail-mime-update-tagline): Move one more line, to get past the
11922 empty line that follows the buttons in the tagline. (Bug#9520)
11923
c56cad4a
MR
119242011-11-19 Martin Rudalics <rudalics@gmx.at>
11925
11926 * window.el (window-max-delta-1, window-min-delta-1)
11927 (window-min-size-1, window-state-get-1, window-state-put-1)
11928 (window-state-put-2): Use "window--" prefix.
11929
cbe71af3
SM
119302011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11931
2ad52c60
SM
11932 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11933 (smie-warning-count): New var.
11934 (smie-set-prec2tab): Use it.
11935 (smie-bnf->prec2): Improve warnings. Add docstring.
11936 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11937 (smie-bnf--set-class): New function.
11938 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11939 corner case.
11940
6944dbc1
SM
11941 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11942 (compilation-error-properties, compilation-move-to-column):
11943 Handle compilation-first-column while in the target buffer.
11944
c400c4d7
SM
11945 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11946 Don't hardcode point-min==1.
11947
6dbe3e96
SM
11948 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11949 (eshell-rewrite-for-command): Remove workaround.
11950 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11951 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11952 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11953
cbe71af3
SM
11954 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11955
a8e1496d
GM
119562011-11-17 Glenn Morris <rgm@gnu.org>
11957
11958 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11959 Ignore buffer-local generated-autoload-file if it is the same
11960 as the global value. (Bug#10049)
11961
df85d315
JB
119622011-11-17 Juanma Barranquero <lekktu@gmail.com>
11963
11964 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11965 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11966 (reftex-toc-previous-heading, reftex-toc-max-level)
11967 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11968 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11969 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11970 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11971 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11972 (reftex-toc-rename-label, reftex-toc-visit-location)
11973 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11974 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11975 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11976 leaving "*toc*" only for references to the buffer.
11977
a0c2d0ae
MR
119782011-11-17 Martin Rudalics <rudalics@gmx.at>
11979
11980 * window.el (window-resize, delete-window, split-window):
11981 Replace window-splits by window-combination-resize.
1d00653d 11982 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11983
35c0bac8
GM
119842011-11-17 Glenn Morris <rgm@gnu.org>
11985
11986 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11987 Make bash entry derive from sh entry, not shell entry.
11988
d0c8fc8a
MA
119892011-11-16 Michael Albinus <michael.albinus@gmx.de>
11990
7262a87c
MA
11991 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11992 local file name.
11993
7877f373
JB
119942011-11-16 Juanma Barranquero <lekktu@gmail.com>
11995
11996 * menu-bar.el (menu-bar-file-menu):
11997 * printing.el (pr-ps-utility):
11998 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11999 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12000 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12001 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12002 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12003 (icalendar--convert-cyclic-to-ical)
12004 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12005 (icalendar--convert-ical-to-diary)
12006 (icalendar--convert-recurring-to-diary)
12007 (icalendar--convert-non-recurring-all-day-to-diary)
12008 (icalendar-import-format-sample):
12009 * progmodes/idlw-shell.el (idlwave-shell-mode):
12010 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12011 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12012 (vhdl-ps-print-init): Fix typos.
12013
10649b82
KM
120142011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12015
9d0cfcd6
GM
12016 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12017 FSF and collapse date sequence, obscure author/maintainer email address
12018 better, remove extra version line, track relocation of author's webpage.
10649b82 12019
9d0cfcd6
GM
12020 * progmodes/python.el (python-pdbtrack-input-prompt)
12021 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12022 regular python pdb prompts. Adjustments shamelessly taken exactly as
12023 suggested in EmacsWiki page (tiny change):
12024 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12025
58179cce
JB
120262011-11-16 Juanma Barranquero <lekktu@gmail.com>
12027
12028 * expand.el (expand-pos, expand-index, expand-point):
12029 Remove redundant info from docstring.
12030 (expand-add-abbrevs): Doc fix.
12031 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12032 (expand-sample-perl-mode-expand-list): Fix typos.
12033
12034 * net/dbus.el (dbus-event-member-name):
12035 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12036 * term/pc-win.el (msdos-create-frame-with-faces):
12037 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12038
b6f67890
MR
120392011-11-16 Martin Rudalics <rudalics@gmx.at>
12040
12041 * window.el (split-window, window-state-get-1)
12042 (window-state-put-1, window-state-put-2): Rename occurrences of
12043 window-nest to window-combination-limit.
1d00653d 12044 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12045
ce7ddba0
CY
120462011-11-16 Chong Yidong <cyd@gnu.org>
12047
12048 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12049 regexp (Bug#10033).
12050
3ae704f4
SM
120512011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12054 `completing-read' will remove *Completions* and will preserve
12055 current-buffer for us.
12056 (tmm-add-prompt): Users of *Completions* will always (re)set its
12057 major mode.
12058 (tmm-old-comp-map): Remove.
12059
6ad1cdde
GM
120602011-11-16 Glenn Morris <rgm@gnu.org>
12061
12062 * mail/rmailedit.el: Require rmailmm when compiling.
12063 (rmail-old-mime-state): New declaration.
12064 (rmail-edit-current-message): If editing a mime message,
12065 edit the "raw" message from the mbox buffer.
12066 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12067
d20faa20
GM
120682011-11-15 Glenn Morris <rgm@gnu.org>
12069
12070 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12071 which wasn't being used. Add optional arg to force given state.
12072 (rmail-mime): Add optional arg to force given state.
12073
c7015153
JB
120742011-11-15 Juanma Barranquero <lekktu@gmail.com>
12075
12076 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12077 * frame.el (display-mm-dimensions-alist):
12078 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12079 (outline-move-subtree-down):
12080 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12081 (newsticker--treeview-do-get-node):
12082 * net/quickurl.el (quickurl-list-buffer-name):
12083 * progmodes/dcl-mode.el (dcl-mode):
12084 * progmodes/gdb-mi.el (gdb-mapcar*):
12085 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12086
45261b50
GM
120872011-11-15 Glenn Morris <rgm@gnu.org>
12088
12089 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12090 in a boolean sense, so just make it a boolean, and fix the doc.
12091 (rmail-show-mime-function, rmail-mime-feature)
12092 (rmail-require-mime-maybe): Doc fixes.
12093 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12094
12095 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12096
0d26e0b6
JB
120972011-11-15 Juanma Barranquero <lekktu@gmail.com>
12098
12099 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12100 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12101 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12102 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12103
447f30f6
GM
121042011-11-15 Glenn Morris <rgm@gnu.org>
12105
672b871d
GM
12106 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12107 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12108 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12109 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12110 (rmail-mime, rmail-show-mime): Doc fixes.
12111
f6aa5bb1
GM
12112 * term/ns-win.el (mode-line-frame-identification):
12113 Leave it alone. (Bug#10051)
12114
947cd66b
GM
12115 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12116
447f30f6
GM
12117 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12118 Handle empty buffers. (Bug#9978)
12119
0b381c7e
JB
121202011-11-14 Juanma Barranquero <lekktu@gmail.com>
12121
12122 * international/mule.el (define-charset):
12123 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12124 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12125 * progmodes/verilog-mode.el (verilog-backward-token):
12126 * textmodes/ispell.el (lookup-words):
12127 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12128
71e027ac
GM
121292011-11-14 Glenn Morris <rgm@gnu.org>
12130
56632ce4
GM
12131 * progmodes/executable.el
12132 (executable-make-buffer-file-executable-if-script-p):
12133 Handle file-modes returning nil.
12134
40500957
GM
12135 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12136 message - not necessary, and causes problems. (Bug#9831)
12137
071c2340
GM
12138 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12139
d3cfca60
GM
12140 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12141
71e027ac
GM
12142 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12143 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12144 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12145
89d61221
MR
121462011-11-12 Martin Rudalics <rudalics@gmx.at>
12147
12148 * window.el (window-resize, delete-window): Use window-splits
12149 variable instead of function.
12150 (window-state-get-1, window-state-put-2, window-state-put):
12151 Don't deal with windows' splits status.
12152
98282f6f
GM
121532011-11-12 Glenn Morris <rgm@gnu.org>
12154
12155 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12156 (apropos-documentation): Doc fixes.
12157
40a8bdf6
JB
121582011-11-11 Juanma Barranquero <lekktu@gmail.com>
12159
12160 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12161 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12162
65bd19ff
SM
121632011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * electric.el (electric-indent-post-self-insert-function): Make it
12166 possible for a char to only indent in some circumstances.
12167 (electric-indent-mode): Simplify.
12168
54f9154c
MR
121692011-11-11 Martin Rudalics <rudalics@gmx.at>
12170
12171 * window.el (windows-with-parameter): Remove unused function.
12172 (windows-at-side): Rename to window-at-side-list.
12173 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12174 (window-side-check, window-size-ignore, window-size-fixed-1)
12175 (window-in-direction-2): Prefix with "window--".
12176 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12177
68cbc58b
GM
121782011-11-11 Glenn Morris <rgm@gnu.org>
12179
12180 * subr.el (eval-after-load): If FILE is already loaded,
12181 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12182
b2621720
GM
121832011-11-10 Glenn Morris <rgm@gnu.org>
12184
9a4de110
GM
12185 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12186 Call svn via vc-svn-command rather than vc-do-command.
12187 (vc-svn-command): Add --non-interactive. (Bug#9993)
12188 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12189
b2621720
GM
12190 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12191 Add toggle-read-only. (Bug#7292)
12192 * files.el (toggle-read-only): Mention that it should only
12193 be used interactively. (Bug#10006)
12194
1dce7193
SM
121952011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12196
d9ac1a1e
SM
12197 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12198 Adjust regexp for OCaml warnings.
12199
0c325082
SM
12200 * electric.el (electric-pair-post-self-insert-function): Let user
12201 turn it off buffer-locally (bug#9932).
12202
90132c14
SM
12203 * progmodes/python.el (python-beginning-of-statement):
12204 Rewrite (bug#2703).
12205
1dce7193
SM
12206 * progmodes/compile.el: Better handle TABs (bug#9749).
12207 (compilation-internal-error-properties)
12208 (compilation-next-error-function): Obey the target buffer's
12209 compilation-error-screen-columns.
12210
c4e7c63a
JB
122112011-11-09 Juanma Barranquero <lekktu@gmail.com>
12212
12213 * progmodes/meta-mode.el: Remove obsolete comments.
12214 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12215 Fix typos in docstrings.
12216
2cffd681
MR
122172011-11-09 Martin Rudalics <rudalics@gmx.at>
12218
12219 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12220 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12221 (window--resizable): New function. Make all callers of
12222 window-resizable call window--resizable instead.
12223 (window-resizable): Rewrite in terms of window--resizable.
12224
0edcba87
GM
122252011-11-08 Glenn Morris <rgm@gnu.org>
12226
12227 * progmodes/delphi.el (delphi-mode-syntax-table):
12228 Let define-derived-mode define a proper syntax table. (Bug#9994)
12229
4b0d61e3
SM
122302011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * window.el: Stay away from defsubst.
12233 (window-list-no-nils): Remove.
12234 (window-state-get-1, window-state-get): Use backquote instead.
12235
cd394be1 122362011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12237
4b0d61e3 12238 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12239 Fix incorrect use of default argument in `completing-read'.
12240
e1c2c6f2
MR
122412011-11-08 Martin Rudalics <rudalics@gmx.at>
12242
12243 * window.el (display-buffer-function, special-display-function):
12244 Mention display-buffer-record-window but do not mention
12245 help-setup parameter in doc-strings.
b3f4a882 12246 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12247
105216ed
CY
122482011-11-08 Chong Yidong <cyd@gnu.org>
12249
12250 * window.el (window-total-height, window-total-width): Doc fix.
12251 (window-body-size): Move from C.
12252 (window-body-height, window-body-width): Move to C.
12253
0a9f9ab5
SM
122542011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12255
12256 * window.el: Make special-display like display-buffer-alist (bug#9532).
12257 (display-buffer--special-action): New function, morphed
12258 from display-buffer--special.
12259 (display-buffer): Use it to handle special-display-buffers at higher
12260 priority (just after display-buffer-alist).
12261 (display-buffer-fallback-action, display-buffer--other-frame-action)
12262 (pop-to-buffer-same-window): Remove display-buffer--special.
12263
a769dd15
GM
122642011-11-07 Glenn Morris <rgm@gnu.org>
12265
12266 * calendar/cal-menu.el (cal-menu-set-date-title):
12267 Do nothing if not in a calendar. (Bug#9976)
12268
05a61ee3
SM
122692011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12270
12271 * files.el (find-file): Always use selected-window.
12272
be7f5545
MR
122732011-11-07 Martin Rudalics <rudalics@gmx.at>
12274
12275 * window.el (window-combinations): Make WINDOW argument
12276 mandatory. Rewrite doc-string.
12277 (walk-window-subtree, window-atom-check, window-min-delta)
12278 (window-max-delta, window--resize-this-window)
12279 (window--resize-root-window-vertically, window-tree)
12280 (balance-windows, window-state-put): Rewrite doc-strings as to
12281 not mention the term "subwindow".
12282 (window--resize-subwindows-skip-p): Rename to
12283 window--resize-child-windows-skip-p.
12284 (window--resize-subwindows-normal): Rename to
12285 window--resize-child-windows-normal.
12286 (window--resize-subwindows): Rename to
12287 window--resize-child-windows.
12288 (window-or-subwindow-p): Rename to window--in-subtree-p.
12289
3c6702ef
ML
122902011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12291
12292 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12293 Ensure that mbox format messages end in two newlines (Bug#9974).
12294
49745b39
CY
122952011-11-06 Chong Yidong <cyd@gnu.org>
12296
12297 * window.el (window-combination-p): Function deleted; its
12298 side-effect is not used in any existing code.
12299 (window-combinations, window-combined-p): Call window-*-child
12300 directly.
12301
24300f5f
CY
123022011-11-05 Chong Yidong <cyd@gnu.org>
12303
12304 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12305 (window-size-ignore, window-state-get): Callers changed.
12306 (window-normalize-window): Rename from window-normalize-any-window.
12307 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12308 (window-normalize-live-window): Delete.
447f16b8
CY
12309 (window-combination-p, window-combined-p, window-combinations)
12310 (walk-window-subtree, window-atom-root, window-min-size)
12311 (window-sizable, window-sizable-p, window-size-fixed-p)
12312 (window-min-delta, window-max-delta, window-resizable)
12313 (window-resizable-p, window-full-height-p, window-full-width-p)
12314 (window-current-scroll-bars, window-point-1, set-window-point-1)
12315 (window-at-side-p, window-in-direction, window-resize)
12316 (adjust-window-trailing-edge, maximize-window, minimize-window)
12317 (window-deletable-p, delete-window, delete-other-windows)
12318 (record-window-buffer, unrecord-window-buffer)
12319 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12320 (quit-window, split-window, window-state-put)
12321 (set-window-text-height, fit-window-to-buffer)
12322 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12323
89bd5ee1
EZ
123242011-11-04 Eli Zaretskii <eliz@gnu.org>
12325
53479029
EZ
12326 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12327 rfc2047-decode-string.
12328 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12329 warnings.
12330
89bd5ee1
EZ
12331 * window.el (window-body-height, window-body-width): Mention in
12332 the doc string that the return values are in frame's canonical
12333 units. (Bug#9949)
12334
bd17fdee
AM
123352011-11-03 Alan Mackenzie <acm@muc.de>
12336
12337 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12338 change in cc-engine.el.
12339
acc825c5
SM
123402011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12341
12342 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12343
1885e5b8
MR
123442011-11-02 Martin Rudalics <rudalics@gmx.at>
12345
12346 * window.el (quit-window): Call unrecord-window-buffer after
12347 showing another buffer in the window. (Bug#9937)
acc825c5 12348 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12349
ebe06da9
JB
123502011-11-02 Juanma Barranquero <lekktu@gmail.com>
12351
12352 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12353 Accept status with more than 9 shelves. (Bug#9935)
12354 Reported by Colin D Bennett <colin@gibibit.com>.
12355
4ee88440
MR
123562011-11-01 Martin Rudalics <rudalics@gmx.at>
12357
12358 * help.el (with-help-window): Don't reference
12359 temp-buffer-show-specifiers in doc-string.
12360
08e1d82c
AS
123612011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12362
12363 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12364 menu-item.
12365
84bd6e9e
VJL
123662011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12367
12368 * whitespace.el: New version 13.2.2.
12369 (whitespace-newline-mode): Disable properly. Reported by Sarah
12370 <EmacsWiki>.
12371
dba0634a
UJ
123722011-10-30 Ulf Jasper <ulf.jasper@web.de>
12373
12374 * net/newst-treeview.el: Remove "Time-stamp".
12375 (newsticker--group-manage-orphan-feeds): Do not call
12376 newsticker--treeview-tree-update.
db22a3c2
JB
12377 (newsticker-treeview-update, newsticker-treeview):
12378 Call newsticker--treeview-tree-update if necessary.
dba0634a 12379
3d8daefe
MR
123802011-10-30 Martin Rudalics <rudalics@gmx.at>
12381
12382 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12383 (window-iso-combinations): Remove "iso-" infix.
12384 Suggested by Chong Yidong.
3d8daefe
MR
12385 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12386 (window-max-delta-1, window-resize, window--resize-siblings)
12387 (window--resize-this-window, adjust-window-trailing-edge)
12388 (split-window, balance-windows-1)
12389 (shrink-window-if-larger-than-buffer):
12390 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12391 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12392
1bc4c3ae
SM
123932011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12394
12395 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12396 in place (bug#9907).
12397 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12398 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12399 (eshell-structure-basic-command, eshell-rewrite-while-command)
12400 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12401 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12402 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12403 (eshell-do-pipelines-synchronously, eshell-eval-command):
12404 Use backquotes and prefer setq to set.
12405 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12406 (eshell-macrop): Use functionp.
c1e2f5fa 12407 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12408
30b65d9c
CY
124092011-10-30 Chong Yidong <cyd@gnu.org>
12410
12411 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12412 instead of set-mark (Bug#9810).
12413
2d197ffb
CY
124142011-10-30 Chong Yidong <cyd@gnu.org>
12415
12416 * window.el (split-window-below, split-window-right): Rename from
12417 split-window-above-each-other and split-window-side-by-side
12418 respectively. All callers changed.
12419 (split-window-sensibly, split-window-sensibly): Use them.
12420 (split-window-keep-point): Doc fix.
12421
12422 * isearch.el: Add isearch-scroll property to split-window-below
12423 and split-window-right.
12424
12425 * follow.el (follow-mode):
12426 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12427 * progmodes/ada-xref.el (ada-gdb-application):
12428 * emulation/vip.el (vip-buffer-in-two-windows):
12429 * image-dired.el (image-dired-dired-with-window-configuration):
12430 * dired-x.el (dired-do-find-marked-files):
12431 * dired.el (dired-pop-to-buffer):
12432 * bs.el (bs--show-with-configuration):
12433 * vc/emerge.el (emerge-setup-windows):
12434 * textmodes/two-column.el (2C-two-columns):
12435 * textmodes/reftex-toc.el (reftex-toc):
12436 * progmodes/gdb-mi.el (gdb-setup-windows):
12437 * progmodes/fortran.el (fortran-window-create):
12438 * net/newst-treeview.el (newsticker--treeview-window-init):
12439 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12440 * emulation/tpu-edt.el (tpu-gold-map):
12441 * emulation/crisp.el (crisp-mode-map):
12442 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12443
38bb2ca8
CY
124442011-10-29 Chong Yidong <cyd@gnu.org>
12445
aa4de341
CY
12446 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12447
e1eb5385
CY
12448 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12449
5d2ece3c
CY
12450 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12451 forged Ispell output (Bug#7904).
12452
38bb2ca8
CY
12453 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12454
d0af9f77
SM
124552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12456
12457 * doc-view.el: Avoid ugly errors about not finding nil.
12458 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12459 (doc-view-dvipdf-program, doc-view-unoconv-program)
12460 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12461 Avoid nil or absolute file name as default value.
12462 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12463
52bedd34
AM
124642011-10-28 Alan Mackenzie <acm@muc.de>
12465
db22a3c2 12466 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12467
7e43cfa5
AM
124682011-10-28 Alan Mackenzie <acm@muc.de>
12469
12470 Amend the handling of c-beginning/end-of-defun in nested declaration
12471 scopes.
12472
52bedd34
AM
12473 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12474 cc-langs.el. Change it to a defcustom.
7e43cfa5 12475
52bedd34
AM
12476 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12477 cc-vars.el.
7e43cfa5 12478
d0af9f77
SM
12479 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12480 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12481
52bedd34 12482 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12483 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12484 (c-widen-to-enclosing-decl-scope): New function.
12485 (c-while-widening-to-decl-block): New macro.
12486 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12487 outward for defun boundaries, and correspondingly change symbol
12488 `respect-enclosure' to `go-outward'.
12489 (c-declaration-limits): Change algorithm to report only the "innermost"
12490 defun's boundaries.
12491
1a2ce9ee
DD
124922011-10-28 Deniz Dogan <deniz@dogan.se>
12493
12494 * net/rcirc.el (rcirc-mode): Use hard newlines.
12495
bc97a826
AM
124962011-10-28 Alan Mackenzie <acm@muc.de>
12497
12498 Amend to indent and fontify macros "which include their own semicolon"
12499 correctly, using the "virtual semicolon" mechanism.
12500
52bedd34 12501 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12502
d0af9f77 12503 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12504 Recode to scan one line at a time rather than having \n and \r
58179cce 12505 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12506 (c-forward-label): Amend for virtual semicolons.
58179cce 12507 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12508
52bedd34
AM
12509 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12510 of the new C macros.
bc97a826 12511
52bedd34 12512 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12513 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12514 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12515 (c-opt-cpp-macro-define): Make into a full language variable.
12516 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12517 AWK Mode (including \n, \r) removed, no longer needed.
12518
d0af9f77
SM
12519 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12520 Invoke c-make-macro-with-semi-re.
bc97a826 12521
52bedd34
AM
12522 * progmodes/cc-vars.el (c-macro-with-semi-re):
12523 (c-macro-names-with-semicolon): New variables.
58179cce 12524 (c-make-macro-with-semi-re): New function.
bc97a826 12525
7a6c0941
SM
125262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12527
12528 * vc/log-edit.el: Fill empty field rather than adding new one.
12529 (log-edit-add-field): New function.
12530 (log-edit-insert-changelog): Use it.
12531
b0c4cdcf
ML
125322011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12533
12534 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12535
ee1f1da9
SM
125362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12539 (gdb--check-interpreter): New function.
12540 (gdb): Use it.
12541
51bc5f8b
GM
125422011-10-27 Glenn Morris <rgm@gnu.org>
12543
416a2c45
GM
12544 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12545 (least-positive-float, least-negative-float)
12546 (least-positive-normalized-float, least-negative-normalized-float)
12547 (float-epsilon, float-negative-epsilon):
12548 Remove unnecessary declarations.
12549
12550 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12551 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12552 (least-positive-float, least-negative-float)
12553 (least-positive-normalized-float, least-negative-normalized-float)
12554 (float-epsilon, float-negative-epsilon): Add doc-strings,
12555 based on those in cl.texi.
12556
51bc5f8b
GM
12557 * files.el (set-visited-file-name): If the major-mode changed,
12558 reload the local variables. (Bug#9796)
12559
15de15c6
CY
125602011-10-27 Chong Yidong <cyd@gnu.org>
12561
12562 * subr.el (change-major-mode-after-body-hook): New hook.
12563 (run-mode-hooks): Run it.
12564
ee1f1da9
SM
12565 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12566 Use change-major-mode-before-body-hook.
15de15c6
CY
12567
12568 * simple.el (fundamental-mode):
12569 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12570 change introducing fundamental-mode-hook.
12571
5430d399
JB
125722011-10-26 Juanma Barranquero <lekktu@gmail.com>
12573
acc825c5 12574 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12575
ad74a69e
MA
125762011-10-26 Michael Albinus <michael.albinus@gmx.de>
12577
12578 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12579 tramp.el explicitly. (Bug#7583)
ad74a69e 12580
71d4c2a5
SM
125812011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12582
12583 * progmodes/octave-mod.el:
12584 * progmodes/octave-inf.el: Update maintainer.
12585
b1f6fa26
CY
125862011-10-26 Chong Yidong <cyd@gnu.org>
12587
12588 * subr.el (with-wrapper-hook): Rewrite doc.
12589
3f04efd6
MA
125902011-10-25 Michael Albinus <michael.albinus@gmx.de>
12591
12592 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12593 filenames "/method:foo:". (Bug#9793)
3f04efd6 12594
410488d3
SM
125952011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12596
12597 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12598 (bug#9865).
12599
c1ebb47e
GM
126002011-10-24 Glenn Morris <rgm@gnu.org>
12601
12602 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12603
7f5c46c7
MA
126042011-10-24 Michael Albinus <michael.albinus@gmx.de>
12605
12606 * notifications.el: Add the requirement of a running D-Bus session
12607 bus to the Commentary.
12608
db2440b6
JL
126092011-10-24 Juri Linkov <juri@jurta.org>
12610
12611 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12612 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12613 (Bug#9364)
12614
feecf435
JL
126152011-10-24 Juri Linkov <juri@jurta.org>
12616
12617 * info.el (Info-following-node-name-re): Add newline to the list
12618 of allowed characters for leading space. (Bug#9824)
12619
a3839de2
SM
126202011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12621
acc825c5
SM
12622 * progmodes/octave-inf.el (inferior-octave-mode-map):
12623 Fix C-c C-h binding.
a3839de2
SM
12624 * progmodes/octave-mod.el (octave-help): Remove.
12625
09388e76
MA
126262011-10-23 Michael Albinus <michael.albinus@gmx.de>
12627
12628 Sync with Tramp 2.2.3.
12629
12630 * net/tramp-cache.el (top): Pacify byte-compiler using
12631 `init-file-user' and `site-run-file'.
12632
12633 * net/trampver.el: Update release number.
12634
86c60681
CY
126352011-10-23 Chong Yidong <cyd@gnu.org>
12636
12637 * files.el (toggle-read-only): Remove obsolete comment about
12638 version control.
12639
12640 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12641 for toggle-read-only. Note that this hasn't called vc-next-action
12642 since 2008-05-02, though it wasn't documented at the time.
12643
a3839de2
SM
12644 * vc/ediff-init.el (ediff-toggle-read-only-function):
12645 Use toggle-read-only.
86c60681 12646
cd5495ff
AM
126472011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12648
12649 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12650 of c-parse-state.
12651
00b77525 12652 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12653 correct faulty logical expression.
cd5495ff
AM
12654 (c-parse-state-state, c-record-parse-state-state):
12655 (c-replay-parse-state-state): New defvar/defuns.
12656 (c-debug-parse-state): Use new functions.
12657
42ee24ed
MR
126582011-10-22 Martin Rudalics <rudalics@gmx.at>
12659
12660 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12661 last fix. Use window-in-direction correctly.
42ee24ed 12662
a7dee7e7
CY
126632011-10-21 Chong Yidong <cyd@gnu.org>
12664
12665 * progmodes/idlwave.el (idlwave-mode):
12666 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12667 require-final-newline; that's done in prog-mode.
12668 Suggested by Stefan Monnier.
a7dee7e7 12669
e07b9a6d
MR
126702011-10-21 Martin Rudalics <rudalics@gmx.at>
12671
12672 * mouse.el (mouse-drag-window-above)
12673 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12674 (mouse-drag-mode-line-1, mouse-drag-header-line)
12675 (mouse-drag-vertical-line-rightward-window): Remove.
12676 (mouse-drag-line): New function.
12677 (mouse-drag-mode-line, mouse-drag-header-line)
12678 (mouse-drag-vertical-line): Call mouse-drag-line.
12679 * window.el (window-at-side-p, windows-at-side): New functions.
12680
7e1361d9
UM
126812011-10-21 Ulrich Mueller <ulm@gentoo.org>
12682
12683 * tar-mode.el (tar-grind-file-mode):
12684 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12685
30fcaf3a
CY
126862011-10-21 Chong Yidong <cyd@gnu.org>
12687
12688 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12689 * progmodes/vera-mode.el (vera-mode):
12690 Use mode-require-final-newline.
30fcaf3a 12691
516eddb0
GM
126922011-10-20 Glenn Morris <rgm@gnu.org>
12693
db22a3c2 12694 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12695
10d5f513
CS
126962011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12697
12698 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12699
ac6c8639
CY
127002011-10-20 Chong Yidong <cyd@gnu.org>
12701
12702 * emulation/cua-base.el (cua-mode):
12703 * mail/footnote.el (footnote-mode):
12704 * mail/mailabbrev.el (mail-abbrevs-mode):
12705 * net/xesam.el (xesam-minor-mode):
12706 * progmodes/bug-reference.el (bug-reference-mode):
12707 * progmodes/cap-words.el (capitalized-words-mode):
12708 * progmodes/compile.el (compilation-minor-mode)
12709 (compilation-shell-minor-mode):
12710 * progmodes/gud.el (gud-tooltip-mode):
12711 * progmodes/hideif.el (hide-ifdef-mode):
12712 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12713 * progmodes/subword.el (subword-mode):
12714 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12715 * progmodes/which-func.el (which-function-mode):
12716 * term/tvi970.el (tvi970-set-keypad-mode):
12717 * term/vt100.el (vt100-wide-mode):
12718 * textmodes/flyspell.el (flyspell-mode):
12719 * textmodes/ispell.el (ispell-minor-mode):
12720 * textmodes/nroff-mode.el (nroff-electric-mode):
12721 * textmodes/paragraphs.el (use-hard-newlines):
12722 * textmodes/refill.el (refill-mode):
12723 * textmodes/reftex.el (reftex-mode):
12724 * textmodes/rst.el (rst-minor-mode):
12725 * textmodes/sgml-mode.el (html-autoview-mode)
12726 (sgml-electric-tag-pair-mode):
12727 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12728 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12729 * emulation/crisp.el (crisp-mode):
12730 * emacs-lisp/eldoc.el (eldoc-mode):
12731 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12732 minor mode behavior.
12733
aa42ab43
JL
127342011-10-19 Juri Linkov <juri@jurta.org>
12735
12736 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12737 the list of hard-coded chars with escape-glyph face.
12738
89400f1d
SM
127392011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12740
12741 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12742
305c07f6
MA
127432011-10-19 Michael Albinus <michael.albinus@gmx.de>
12744
12745 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12746 running process.
12747
13754b54
GM
127482011-10-19 Glenn Morris <rgm@gnu.org>
12749
12750 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12751 Ignore ignored files. (Bug#9726)
12752
06e21633
CY
127532011-10-19 Chong Yidong <cyd@gnu.org>
12754
12755 Doc fix for minor modes, stating that an omitted argument enables
12756 the mode unconditionally when called from Lisp.
12757
12758 * abbrev.el (abbrev-mode):
12759 * allout.el (allout-mode):
12760 * autoinsert.el (auto-insert-mode):
12761 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12762 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12763 (global-auto-revert-mode):
12764 * battery.el (display-battery-mode):
12765 * composite.el (global-auto-composition-mode)
12766 (auto-composition-mode):
12767 * delsel.el (delete-selection-mode):
12768 * desktop.el (desktop-save-mode):
12769 * dired-x.el (dired-omit-mode):
12770 * dirtrack.el (dirtrack-mode):
12771 * doc-view.el (doc-view-minor-mode):
12772 * double.el (double-mode):
12773 * electric.el (electric-indent-mode, electric-pair-mode):
12774 * emacs-lock.el (emacs-lock-mode):
12775 * epa-hook.el (auto-encryption-mode):
12776 * follow.el (follow-mode):
12777 * font-core.el (font-lock-mode):
12778 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12779 * help.el (temp-buffer-resize-mode):
12780 * hilit-chg.el (highlight-changes-mode)
12781 (highlight-changes-visible-mode):
12782 * hi-lock.el (hi-lock-mode):
12783 * hl-line.el (hl-line-mode, global-hl-line-mode):
12784 * icomplete.el (icomplete-mode):
12785 * ido.el (ido-everywhere):
12786 * image-file.el (auto-image-file-mode):
12787 * image-mode.el (image-minor-mode):
12788 * iswitchb.el (iswitchb-mode):
12789 * jka-cmpr-hook.el (auto-compression-mode):
12790 * linum.el (linum-mode):
12791 * longlines.el (longlines-mode):
12792 * master.el (master-mode):
12793 * mb-depth.el (minibuffer-depth-indicate-mode):
12794 * menu-bar.el (menu-bar-mode):
12795 * minibuf-eldef.el (minibuffer-electric-default-mode):
12796 * mouse-sel.el (mouse-sel-mode):
12797 * msb.el (msb-mode):
12798 * mwheel.el (mouse-wheel-mode):
12799 * outline.el (outline-minor-mode):
12800 * paren.el (show-paren-mode):
12801 * recentf.el (recentf-mode):
12802 * reveal.el (reveal-mode, global-reveal-mode):
12803 * rfn-eshadow.el (file-name-shadow-mode):
12804 * ruler-mode.el (ruler-mode):
12805 * savehist.el (savehist-mode):
12806 * scroll-all.el (scroll-all-mode):
12807 * scroll-bar.el (scroll-bar-mode):
12808 * server.el (server-mode):
12809 * shell.el (shell-dirtrack-mode):
12810 * simple.el (auto-fill-mode, transient-mark-mode)
12811 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12812 (line-number-mode, column-number-mode, size-indication-mode)
12813 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12814 * strokes.el (strokes-mode):
12815 * time.el (display-time-mode):
12816 * t-mouse.el (gpm-mouse-mode):
12817 * tool-bar.el (tool-bar-mode):
12818 * tooltip.el (tooltip-mode):
12819 * type-break.el (type-break-mode-line-message-mode)
12820 (type-break-query-mode):
12821 * view.el (view-mode):
12822 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12823 (global-whitespace-mode, global-whitespace-newline-mode):
12824 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12825
a3839de2
SM
12826 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12827 Fix autogenerated docstring.
06e21633 12828
5214e501
JL
128292011-10-19 Juri Linkov <juri@jurta.org>
12830
12831 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12832 by checking environment variables "DESKTOP_SESSION" and
12833 "XDG_CURRENT_DESKTOP". (Bug#9779)
12834
195f8db9
JL
128352011-10-19 Juri Linkov <juri@jurta.org>
12836
12837 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12838 (browse-url-chromium-program, browse-url-chromium-arguments):
12839 New defcustoms.
12840 (browse-url-default-browser): Check for `browse-url-chromium' and
12841 call `browse-url-chromium-program'.
12842 (browse-url-chromium): New command. (Bug#9779)
12843
343a34ff
JB
128442011-10-18 Juanma Barranquero <lekktu@gmail.com>
12845
12846 * facemenu.el (list-colors-duplicates): On Windows, detect more
12847 duplicates by assuming that only colors matching "^System" are
12848 special "system colors". (Bug#9722)
12849
6978a151
SM
128502011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12853 to distinguish the author from the committer.
12854
6a80b297
MA
128552011-10-18 Michael Albinus <michael.albinus@gmx.de>
12856
12857 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12858
b31a5677
JK
128592011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12860
12861 * international/mule.el (sgml-html-meta-auto-coding-function):
12862 Add support for detecting encoding in HTML5 specified only as
12863 <meta charset="UTF-8">. Implementation just makes http-equiv and
12864 content-type parts from HTML4 encoding string optional. (Bug#9716)
12865
80c6d77f
GM
128662011-10-18 Glenn Morris <rgm@gnu.org>
12867
12868 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12869
08b0fee8
CY
128702011-10-18 Chong Yidong <cyd@gnu.org>
12871
12872 * faces.el (cursor): Doc fix.
12873
67e729a5
CY
128742011-10-17 Chong Yidong <cyd@gnu.org>
12875
12876 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12877
343a34ff 128782011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12879
12880 * dirtrack.el (dirtrack): Support shell buffers with path
12881 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12882
0bc06380
TZ
128832011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12884
12885 * json.el: Bump version to 1.3 and note change in History.
12886 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12887
8b79f3e0
SM
128882011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12889
5a7c536b
SM
12890 * comint.el (comint-insert-input, comint-send-input)
12891 (comint-get-old-input-default, comint-backward-matching-input)
12892 (comint-next-prompt): Use nil instead of `input' for field property of
12893 past user input (bug#114).
12894
96a8a0df
SM
12895 * minibuffer.el (completion--replace): Inherit surrounding properties
12896 (bug#114).
12897 (minibuffer-complete-and-exit): Use it.
12898
8b79f3e0
SM
12899 * comint.el (comint--table-subvert): Quote the all-completions output
12900 (bug#9160).
12901
b8f7ff0d
MR
129022011-10-17 Martin Rudalics <rudalics@gmx.at>
12903
8b79f3e0 12904 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12905
b8f7ff0d 12906 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12907 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12908 entries and separate them from frame entries.
12909
c235b555
GM
129102011-10-15 Glenn Morris <rgm@gnu.org>
12911
12912 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12913 Doc fixes.
12914
6bbfa6e1
CY
129152011-10-15 Chong Yidong <cyd@stupidchicken.com>
12916
8b79f3e0
SM
12917 * net/network-stream.el (network-stream-open-starttls):
12918 Improve detection of failure due to lack of TLS support.
ec5c990d 12919
6bbfa6e1
CY
12920 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12921 putting the input text in front and in bold.
12922
98488977
SM
129232011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12924
3d1337be
SM
12925 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12926
ee0b45e4
SM
12927 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12928 empty buffer.
12929
98488977
SM
12930 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12931 unread-command-events rather than pushing yet-another event.
12932
186f4720
EZ
129332011-10-14 Eli Zaretskii <eliz@gnu.org>
12934
12935 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12936 the explanation of the possible choices. Make the options passed
12937 to completing-read shorter.
12938
8b7a997c
AM
129392011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12940
12941 * textmodes/flyspell.el (flyspell-large-region): Make sure
12942 extended character mode is used if defined (Bug#1339).
12943
12587bbb
EZ
129442011-10-13 Eli Zaretskii <eliz@gnu.org>
12945
12946 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12947 character info for LRE, LRO, RLE, and RLO characters by appending
12948 an invisible PDF.
12587bbb 12949
bad41229
SM
129502011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12953 even in case of error; add debug spec; simplify data flow.
12954 (with-timeout-handler): Remove.
12955
28dbc92f
MA
129562011-10-12 Michael Albinus <michael.albinus@gmx.de>
12957
12958 Fix Bug#6019, Bug#9315.
12959
12960 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12961 complete `buffer-file-name', the local file name part could look
12962 remotely (for example on VMS).
12963
12964 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12965 `tramp-run-real-handler'.
12966 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12967 already quoted by '"'.
12968
12969 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12970 Let `file-name-handler-alist' be nil, the local file name part
12971 could look remotely (for example on VMS).
12972
e1b0b23a
SM
129732011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12976 from here...
12977 (flyspell-post-command-hook): ...to here.
12978
a120bde9
SM
129792011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12980
12981 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12982 if not needed.
12983 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12984 using completion. Protect against "slow" callers.
12985 Remove the "message hack".
12986
7ce7717b
JL
129872011-10-11 Juri Linkov <juri@jurta.org>
12988
12989 * isearch.el (isearch-lazy-highlight-word): New variable.
12990 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12991 Use it. (Bug#9727)
12992
c02ee9d6
GM
129932011-10-11 Glenn Morris <rgm@gnu.org>
12994
12995 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12996 like f90-previous-statement does.
12997
93e616fd 129982011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12999
1f190e73 13000 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13001 only in interactive use, to avoid error.
13002
af7b6078
SM
130032011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * minibuffer.el (completion-file-name-table): Fix last change,
13006 i.e. ignore normal errors but not the other ones.
13007
0563dae9
MR
130082011-10-10 Martin Rudalics <rudalics@gmx.at>
13009
13010 * window.el (special-display-buffer-names)
13011 (special-display-regexps): Remove some remnants of earlier
13012 changes from doc-strings.
366ca7f3
MR
13013 (quit-windows-on): New function.
13014
13015 * vc/vc.el (vc-revert, vc-rollback):
13016 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13017 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13018 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13019
49677495
MR
130202011-10-09 Martin Rudalics <rudalics@gmx.at>
13021
13022 * window.el (frame-auto-hide-function): Add version tag.
13023 (Bug#9699)
13024
56f2d1e1
MA
130252011-10-09 Michael Albinus <michael.albinus@gmx.de>
13026
13027 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13028 condition.
13029
112a6592
LL
130302011-10-09 Leo Liu <sdl.web@gmail.com>
13031
13032 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13033 (Bug#9701)
13034
0812589b
GM
130352011-10-08 Glenn Morris <rgm@gnu.org>
13036
13037 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13038 before the first code statement zero indent. (Bug#9690)
13039
b2b0776e
CY
130402011-10-08 Chong Yidong <cyd@stupidchicken.com>
13041
13042 * simple.el (count-words-region): Always count in the region.
13043 Report the number of lines and characters too.
13044 (count-words): New command, which counts in the buffer if the
13045 region is inactive, as count-words-region used to.
13046 (count-words--message): New function. Handle plurals.
13047 (count-lines-region): Make it an alias for count-words-region.
13048
13049 * bindings.el (esc-map): Replace count-lines-region with
13050 count-words-region.
13051
c557cd6b
MR
130522011-10-08 Martin Rudalics <rudalics@gmx.at>
13053
13054 * window.el (window--delete): Delete dedicated frame
13055 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13056 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13057
61a57ef4 130582011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13059
3a7d293b 13060 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13061
c3833279
CY
130622011-10-07 Chong Yidong <cyd@stupidchicken.com>
13063
13064 * bindings.el ([M-left],[M-right]): Bind to left-word and
13065 right-word respectively.
13066
21ce8245
GM
130672011-10-07 Glenn Morris <rgm@gnu.org>
13068
13069 * cus-start.el (debug-on-quit): Fix custom type.
13070
6d823bb2
LMI
130712011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13072
0181e193
LMI
13073 * subr.el (define-key-after): Clarify that the function is not
13074 useful for non-menu keymaps.
13075
6d823bb2
LMI
13076 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13077
8e3459ce 130782011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13079
21ce8245 13080 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13081 in current minibuffer (Fix bug with recursive minibuffers).
13082
a1c2d21e
CY
130832011-10-06 Chong Yidong <cyd@stupidchicken.com>
13084
13085 * progmodes/gdb-mi.el (gdb): Doc fix.
13086
5a4cf282
MR
130872011-10-05 Martin Rudalics <rudalics@gmx.at>
13088
13089 * window.el (frame-auto-hide-function): New option replacing
13090 frame-auto-delete. Suggested by Stefan Monnier.
13091 (window--delete): Call frame-auto-hide-function instead of
13092 investigating frame-auto-delete.
c96111ea
MR
13093 (window-point-1, set-window-point-1): New functions.
13094 (window-in-direction, record-window-buffer, window-state-get-1)
13095 (display-buffer-record-window): Use window-point-1 instead of
13096 window-point.
13097 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13098
9854542e
SM
130992011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13100
13101 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13102
8943cfb0
GM
131032011-10-05 Glenn Morris <rgm@gnu.org>
13104
13105 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13106 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13107
647ab967
LL
131082011-10-05 Leo Liu <sdl.web@gmail.com>
13109
13110 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13111 works with buffer object.
13112
3ddfbced
SM
131132011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13114
13115 * mpc.el (mpc-tool-bar-map): Add labels.
13116
bdfa5dd2
GM
131172011-10-04 Glenn Morris <rgm@gnu.org>
13118
13119 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13120
0e2070b5
MR
131212011-10-04 Martin Rudalics <rudalics@gmx.at>
13122
13123 * window.el (window--delete): New function.
13124 (frame-auto-delete): Resuscitate option.
13125 (bury-buffer, replace-buffer-in-windows)
13126 (quit-window): Rewrite using window--delete.
13127 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13128 Pass display-buffer-mark-dedicated to window--display-buffer-2
13129 (Bug#9639).
13130
3dc61a09
SM
131312011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13132
915a9b64
SM
13133 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13134 returns a list (bug#9554). Add remote file name completion.
13135 * comint.el (comint--table-subvert): Curry and get quote&unquote
13136 functions as arguments.
13137 (comint--complete-file-name-data): Adjust call accordingly.
13138 * pcomplete.el (pcomplete--table-subvert): Remove.
13139 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13140
3dc61a09
SM
13141 * minibuffer.el (completion-table-case-fold): Use currying.
13142 (completion--styles-type, completion--cycling-threshold-type):
13143 New constants.
13144 (completion-styles, completion-category-overrides)
13145 (completion-cycle-threshold): Use them.
13146 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13147 completion-table-case-fold.
13148
8ea0a993
SB
131492011-10-03 Stephen Berman <stephen.berman@gmx.net>
13150
13151 * minibuffer.el (completion-category-overrides): Fix type of styles
13152 and add more user friendly tags (bug#9660).
13153
8c24b7f6
SM
131542011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13155
13156 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13157 (mule-input-method-string): New widget.
13158 (default-input-method, language-info-custom-alist): Use it.
13159
428fe61a
SM
131602011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13161
32c1fffd
SM
13162 * pcomplete.el: Require comint.
13163 (pcomplete--common-suffix): Remove.
13164 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13165 (pcomplete--table-subvert): Sync with comint--table-subvert.
13166 (pcomplete--entries): Use comint-completion-file-name-table.
13167 * comint.el (comint-unquote-filename): Simplify.
13168 (comint-completion-file-name-table): New function (bug#9616).
13169 (comint--complete-file-name-data): Use it.
13170
428fe61a
SM
13171 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13172 (pcmpl-gnu-tar-buffer): Remove.
13173 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13174 around. Make sure pcomplete-suffix-list is only changed temporarily.
13175 Don't look inside the tar's file if it's too large.
428fe61a 13176
04c52e2f
CY
131772011-10-01 Chong Yidong <cyd@stupidchicken.com>
13178
ce3cefcc
CY
13179 * cus-edit.el (custom-mode-map):
13180 * epa.el (epa-key-list-mode-map):
13181 * man.el (Man-mode-map):
13182 * startup.el (splash-screen-keymap):
13183 * simple.el (special-mode-map): Use scroll-up-command and
13184 scroll-down-command.
13185
13186 * progmodes/idlw-help.el (idlwave-help-mode-map):
13187 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13188 * net/newst-plainview.el (newsticker-mode-map):
13189 * emulation/ws-mode.el (wordstar-mode-map):
13190 * emulation/vi.el (vi-com-map):
13191 * calc/calc-graph.el (calc-graph-show-dumb):
13192 * term/sun.el (terminal-init-sun):
13193 * term/ns-win.el (global-map):
13194 * progmodes/grep.el (grep-mode-map):
13195 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13196 * mail/rmail.el (rmail-mode-map):
13197 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13198
04c52e2f
CY
13199 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13200 custom-safe-themes as special.
13201
79adf8c8
JD
132022011-10-01 Julien Danjou <julien@danjou.info>
13203
13204 * notifications.el (notifications-notify): Fix docstring.
13205
63bd50d3
PS
132062011-10-01 Per Starbäck <per@starback.se>
13207
13208 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13209
199e4c7e
MR
132102011-09-30 Martin Rudalics <rudalics@gmx.at>
13211
13212 * startup.el (command-line-1): Fix last fix by inserting
13213 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13214 (Bug#9605) and (Bug#9636)
199e4c7e 13215
fe5f08dd
EZ
132162011-09-29 Eli Zaretskii <eliz@gnu.org>
13217
13218 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13219 window is hscrolled, move by logical lines. (Bug#9607)
13220 (line-move-visual): Update the doc string to the above effect.
13221
b5516bbd
MR
132222011-09-29 Martin Rudalics <rudalics@gmx.at>
13223
ccee00c0
MR
13224 * window.el (display-buffer-record-window): When WINDOW is the
13225 selected window use `point' instead of `window-point'. (Bug#9626)
13226
b5516bbd
MR
13227 * startup.el (command-line-1): Use insert-before-markers when
13228 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13229
b5516bbd
MR
13230 * help.el (help-window): Remove variable.
13231
52aa0014
GM
132322011-09-29 Glenn Morris <rgm@gnu.org>
13233
13234 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13235
df9a7357
JB
132362011-09-29 Juanma Barranquero <lekktu@gmail.com>
13237
13238 * descr-text.el (describe-char-categories): Accept category
13239 descriptions more than one line long.
13240
a8406c20
SM
132412011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13242
88d9610c
SM
13243 * simple.el (delete-trailing-whitespace): Fix last change.
13244
a5daf810
SM
13245 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13246 Don't confuse "y => 3" as the beginning of a `y' operation.
13247
a8406c20
SM
13248 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13249 object has more than 4 slots (bug#9613).
13250
a239d4e9
JB
132512011-09-28 Juanma Barranquero <lekktu@gmail.com>
13252
13253 * subr.el (with-output-to-temp-buffer):
13254 * net/quickurl.el (quickurl, quickurl-browse-url):
13255 Fix typos in docstrings.
13256
693fbdb6
EZ
132572011-09-27 Eli Zaretskii <eliz@gnu.org>
13258
13259 * minibuffer.el (completion-styles)
13260 (completion-category-overrides): Cross reference each other in doc
13261 strings.
13262
8b457e28
GM
132632011-09-27 Glenn Morris <rgm@gnu.org>
13264
13265 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13266 to split-string. (Bug#9606)
13267
85a16208
LMI
132682011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13269
13270 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13271 (bug#9615).
13272
502f9ebd
CY
132732011-09-27 Chong Yidong <cyd@stupidchicken.com>
13274
13275 * emacs-lisp/package.el (list-packages): Fix echo area message.
13276
7690bdea
LL
132772011-09-27 Leo Liu <sdl.web@gmail.com>
13278
13279 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13280
e2ee6f30
MA
132812011-09-25 Michael Albinus <michael.albinus@gmx.de>
13282
13283 * net/dbus.el (dbus-unregister-object): Don't release services for
13284 registered signals. (Bug#9581)
13285
f3f98342
TZ
132862011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13287
13288 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13289 function that picks between cfengine 2 and 3 support
13290 automatically. Update docs accordingly.
13291
dd7aa8dd
KH
132922011-09-22 Kenichi Handa <handa@m17n.org>
13293
13294 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13295 ZERO.
13296 (indian-itrans-v5-table-for-tamil): New variable.
13297 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13298
3f2b07f8
KM
132992011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13300
13301 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13302 that's true if the current command involved collapsing of text.
13303 It's reset to false at the beginning of the next command.
13304 (allout-post-command-business): Move the cursor to the beginning
13305 of entry if the cursor is hidden and collapsing activity just
13306 happened.
13307
371d6a61
CY
133082011-09-24 Chong Yidong <cyd@stupidchicken.com>
13309
13310 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13311 tracking (Bug#9541).
13312
2ac2721a
UJ
133132011-09-24 Ulf Jasper <ulf.jasper@web.de>
13314
13315 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13316 (newsticker-show-news): Automatically load html rendering package
13317 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13318 because w3m-fill-column is let-bound" and the error "Symbol's value
13319 as variable is void: w3m-fill-column".
2ac2721a 13320
fac7ae53
MA
133212011-09-24 Michael Albinus <michael.albinus@gmx.de>
13322
13323 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13324 Release services only if they are defined. (Bug#9581)
13325
e08b633b
RS
133262011-09-23 Richard Stallman <rms@gnu.org>
13327
e488d29c
RS
13328 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13329 distinguish start of paragraph from start of its text.
13330
19c38752
RS
13331 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13332
e08b633b
RS
13333 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13334 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13335 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13336
0a39f27e
AS
133372011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13338
13339 * international/mule-diag.el (mule-diag): Insert a newline after
13340 each fontset description.
13341
db4e950d
SM
133422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13343
13344 * simple.el (delete-trailing-whitespace):
13345 Document last change; simplify.
13346
eca3f3ea
PW
133472011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13348
d68e189a
PW
13349 * simple.el (delete-trailing-whitespace): Also delete
13350 extra newlines at the end of the buffer.
13351
eca3f3ea
PW
13352 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13353 (picture-newline): Use forward-line so as to ignore fields.
13354
01c157cc
SM
133552011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13356
13357 * subr.el (with-wrapper-hook): Fix edebug spec.
13358
022de23e
LMI
133592011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13360
13361 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13362 (bug#4538).
13363
91683089
MA
133642011-09-23 Michael Albinus <michael.albinus@gmx.de>
13365
eca3f3ea
PW
13366 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13367 Fix nasty bug using wrong cached values.
91683089 13368
5bdd6fa4
AM
133692011-09-23 Alan Mackenzie <acm@muc.de>
13370
13371 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13372
97adfb97
CY
133732011-09-23 Chong Yidong <cyd@stupidchicken.com>
13374
13375 * window.el (pop-to-buffer): Ensure right window is selected if we
13376 chose another frame.
13377
d4ef2b50
EZ
133782011-09-22 Eli Zaretskii <eliz@gnu.org>
13379
13380 * simple.el (what-cursor-position): Use get-char-property-change
13381 and next-single-char-property-change, to be able to show display
13382 properties that come from overlays as well as text properties.
13383
72258fe5
CY
133842011-09-22 Chong Yidong <cyd@stupidchicken.com>
13385
13386 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13387
13388 * cmuscheme.el (run-scheme, switch-to-scheme):
13389 * cus-edit.el (customize-group, custom-buffer-create)
13390 (customize-browse):
13391 * info.el (info):
13392 * shell.el (shell):
13393 * mail/sendmail.el (mail):
13394 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13395
8f098516
RS
133962011-09-22 Richard Stallman <rms@gnu.org>
13397
13398 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13399 move back only to line beg, don't move back over blank lines.
13400
e74f1bb6
MA
134012011-09-22 Michael Albinus <michael.albinus@gmx.de>
13402
13403 * files.el (copy-directory): Set directory attributes only in case
13404 they could be retrieved from the source directory. (Bug#9565)
13405
bfeef8b6
DK
134062011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13407
13408 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13409 (hs-find-block-beginning, hs-hide-level-recursive):
13410 Ignore strings as well as comments. (Bug#9502)
13411
7e423bb8
AS
134122011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13413
13414 * progmodes/sql.el (sql-comint-postgres):
13415 Convert port number to a string. (Bug#9566)
13416
b4d72fcf
MR
134172011-09-22 Martin Rudalics <rudalics@gmx.at>
13418
13419 * window.el (quit-window): Undedicate window when switching to
13420 previous buffer. Reported by Thierry Volpiatto
13421 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13422 (special-display-popup-frame): When popping up a new frame reset
13423 its previous buffers to nil. Simplify code.
b4d72fcf 13424
a7b88dc6
MA
134252011-09-21 Michael Albinus <michael.albinus@gmx.de>
13426
13427 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13428 and process filter, as done also in `shell-command'.
13429
cf4eacfd
MR
134302011-09-21 Martin Rudalics <rudalics@gmx.at>
13431
eca3f3ea 13432 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13433 Call set-window-start with NOFORCE argument t.
13434 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13435 (quit-window): Reword doc-string. Handle new format of
13436 quit-restore parameter. Don't delete window if it has a
13437 previous buffer we can show instead of the present one.
13438 (display-buffer-record-window): Rewrite using a new format for
13439 the quit-restore window parameter
13440 (special-display-popup-frame, display-buffer-same-window)
13441 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13442 (display-buffer-pop-up-window, display-buffer-use-some-window):
13443 Adapt symbol passed to display-buffer-record-window.
13444 * help.el (help-window-setup): Handle new format of quit-restore
13445 parameter.
13446
8d28cb95
SM
134472011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13448
94ab793f
SM
13449 * faces.el (face-list): Fix docstring (bug#9564).
13450
8d28cb95
SM
13451 * window.el (display-buffer--action-function-custom-type):
13452 Don't include internal functions in the Custom interface.
13453
3820edeb
JL
134542011-09-20 Juri Linkov <juri@jurta.org>
13455
13456 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13457 (Info-forward-node, Info-backward-node, Info-next-preorder)
13458 (Info-last-preorder): Use it. (Bug#9528)
13459
5147931d
JL
134602011-09-20 Juri Linkov <juri@jurta.org>
13461
13462 * info.el (Info-last-preorder): Visit last menu item only when
13463 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13464
cf499a1a
JD
134652011-09-20 Julien Danjou <julien@danjou.info>
13466
13467 * password-cache.el (password-cache-remove): Remove entries even if the
13468 value is nil, so that password with a nil value (negative caching) is
13469 possible to invalidate.
13470
f84e2fe2
LM
134712011-09-20 Lawrence Mitchell <wence@gmx.li>
13472
13473 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13474 all whitespace around breakpoint. (Bug#9553)
13475 (f90-find-breakpoint): Only break at whitespace inside a comment.
13476
78054a46
SM
134772011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13478
13479 * minibuffer.el (completion-file-name-table): Keep track of errors.
13480 (completion-table-with-predicate): Handle the case where pred1 is nil.
13481 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13482
345083b2
SM
134832011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13484
e24e27be
SM
13485 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13486 (debugger-return-value): Signal an error if the debugging context does
13487 not await any return value.
13488
345083b2
SM
13489 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13490 * image-mode.el (image-toggle-display-text)
13491 (image-toggle-display-image): Stay away from evil `intangible'.
13492
08d355e3
LL
134932011-09-19 Leo Liu <sdl.web@gmail.com>
13494
13495 * replace.el (occur-revert-arguments): Make it permanent-local.
13496 (occur-mode): Don't call font-lock-defontify.
13497
f01da43f
CY
134982011-09-19 Chong Yidong <cyd@stupidchicken.com>
13499
13500 * net/ldap.el (ldap-search-internal): Don't push empty search
13501 result (Bug#9508).
13502
b6072fa6
SM
135032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13504
13505 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13506
443d6696
MA
135072011-09-19 Michael Albinus <michael.albinus@gmx.de>
13508
13509 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13510 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13511
7cc6e154
JL
135122011-09-18 Juri Linkov <juri@jurta.org>
13513
13514 * buff-menu.el (Buffer-menu-mode-map):
13515 * dired.el (dired-mode-map):
13516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13517 (lisp-interaction-mode-map):
13518 * emacs-lisp/package.el (package-menu-mode-map):
13519 * epa.el (epa-key-list-mode-map):
13520 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13521 (menu-bar-options-menu):
13522 * outline.el (outline-mode-menu-bar-map):
13523 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13524 * vc/vc-dir.el (vc-dir-menu-map):
13525 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13526 Capitalize non-function content words in menu item strings.
13527
13528 * dired.el (dired-mode-map): Add menu item for
13529 `image-dired-dired-toggle-marked-thumbs'.
13530
80302a81
JL
135312011-09-18 Juri Linkov <juri@jurta.org>
13532
13533 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13534 to `isearch-case-fold-search' and restore its original value
13535 after the `isearch-mode' call.
13536
46c5cf66
JL
135372011-09-18 Juri Linkov <juri@jurta.org>
13538
13539 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13540 because `zgrep' returns 1 for successful matches (bug#9226).
13541
d18b513b
JL
135422011-09-18 Juri Linkov <juri@jurta.org>
13543
13544 * info.el (Info-extract-menu-node-name): Check the second match
13545 for empty string (second test-case of bug#9528).
13546 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13547 intermediate nodes to the history (first test-case of bug#9528).
13548
72753f87
JL
135492011-09-18 Juri Linkov <juri@jurta.org>
13550
13551 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13552 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13553
c9384295
JL
135542011-09-18 Juri Linkov <juri@jurta.org>
13555
1154d12e
JB
13556 * info.el (Info-file-supports-index-cookies):
13557 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13558 outputs one more line for long file names (bug#4142).
c9384295 13559
d473dce8
CY
135602011-09-18 Chong Yidong <cyd@stupidchicken.com>
13561
13562 * newcomment.el (comment-normalize-vars): If prompting for
13563 comment-start, set comment-start-skip too (Bug#8424).
13564
2176854d
JB
135652011-09-18 Johan Bockgård <bojohan@gnu.org>
13566
13567 * icomplete.el: Fix previous fix of Bug#5849.
13568 (icomplete-mode): Don't set completion-show-inline-help.
13569 (icomplete-minibuffer-setup): Set completion-show-inline-help
13570 locally during icompletion.
13571
3aace4e4
CY
135722011-09-18 Chong Yidong <cyd@stupidchicken.com>
13573
c940224f
CY
13574 * woman.el (woman2-process-escapes): Don't delete unrecognized
13575 escapes (Bug#7843).
13576
3aace4e4
CY
13577 * files.el (inhibit-first-line-modes-regexps): Add image files.
13578 (hack-local-variables-prop-line): Return nil for malformed
13579 prop-lines (Bug#9044).
13580
710dec63
MA
135812011-09-18 Michael Albinus <michael.albinus@gmx.de>
13582
13583 * net/tramp.el (top): Don't require 'shell.
13584 (tramp-methods): Fix docstring.
13585 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13586 Return complete remote file name. Handle "smb" case.
13587 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13588 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13589
13590 * net/tramp-compat.el (top): Require 'shell.
13591
13592 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13593 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13594 `tramp-current-host'.
13595 (tramp-get-remote-tmpdir): Remove.
13596
13597 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13598 `tramp-tmpdir' entries.
13599 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13600 (tramp-smb-handle-file-attributes): Ignore errors.
13601 (tramp-smb-wait-for-output): Check also for process end.
13602
5d5ac8ec
LMI
136032011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13604
13605 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13606 when sending QUIT (bug#9312).
13607
8c0f49f0
CY
136082011-09-17 Chong Yidong <cyd@stupidchicken.com>
13609
13610 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13611 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13612 occur-mode-display-occurrence.
13613 (occur-edit-mode): Add usage message.
13614 (occur-cease-edit): New command.
13615 (occur-after-change-function): Use text properties to find the
13616 position of the prefix text.
13617 (occur-engine): Set stickiness of prefix text properties.
13618
8f1383f7
GM
136192011-09-17 Glenn Morris <rgm@gnu.org>
13620
13621 * progmodes/etags.el (complete-tag):
13622 Fix call to completion-in-region. (Bug#9526)
13623
744ba0e3
JL
136242011-09-17 Juri Linkov <juri@jurta.org>
13625
13626 * textmodes/ispell.el (ispell-word): Add to the error message
13627 the word, ispell program name and current dictionary (bug#9121).
13628 (ispell-tex-arg-end): Capitalize "error" in the error message.
13629
d9bbf400
AS
136302011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13631
13632 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13633 check. (Bug#4251)
13634
8da11505
JL
136352011-09-17 Juri Linkov <juri@jurta.org>
13636
13637 * window.el (window-safe-min-height, window-safe-min-width):
13638 Fix typos (followup to bug#9522).
13639
a91adc7e
SJ
136402011-09-17 Sven Joachim <svenjoac@gmx.de>
13641
13642 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13643
064f328a
EZ
136442011-09-16 Eli Zaretskii <eliz@gnu.org>
13645
13646 * simple.el (line-move): If goal-column is set, move by logical
13647 lines, not by display lines. (Bug#971)
13648 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13649 to reflect the above change.
13650
e69df516
SM
136512011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13652
13653 * image.el (imagemagick-register-types): Use regexp-opt.
13654
cbb0f9ab
CY
136552011-09-15 Chong Yidong <cyd@stupidchicken.com>
13656
13657 * window.el (display-buffer-base-action): Rename from
13658 display-buffer-default-action. Make default value empty.
13659 (display-buffer-overriding-action): Convert to defvar.
13660 (display-buffer-fallback-action): New var.
13661
25322144
CY
136622011-09-15 Chong Yidong <cyd@stupidchicken.com>
13663
13664 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13665 declaration.
13666 (package--add-to-archive-contents): If there is a duplicate entry
13667 with an older version, remove it.
13668 (package-menu-mark-delete, package-menu-mark-install)
13669 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13670 (package-menu-mark-obsolete-for-deletion):
13671 Use package-menu-get-status instead of a regexp search.
25322144
CY
13672 (package-menu-get-status): Use tabulated-list-entry.
13673 (package-menu-mark-upgrades): New command.
d770725a 13674 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13675 (package-menu-execute): Do installation before deletion.
13676 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13677 instead of checking major-mode.
13678 (package-menu--find-upgrades): New function.
13679
7520339c
LMI
136802011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13681
13682 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13683 passwords in the log buffer.
65a046c4
LMI
13684 (smtpmail-process-filter): Update the process marker so that the
13685 "broken by peer" status message is inserted in the right place.
7520339c 13686
d3c30954
SM
136872011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13688
3fe48822
SM
13689 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13690 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13691 bibtex-completion-at-point-function.
13692 (bibtex-completion-at-point-function): Use them.
13693
1b8b3954
SM
13694 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13695
d3c30954
SM
13696 * mpc.el (mpc-constraints-tag-lookup): New function.
13697 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13698 also to browser "album|playlist".
13699
72779976
JL
137002011-09-14 Juri Linkov <juri@jurta.org>
13701
13702 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13703 (isearch-edit-string): Use length of `isearch-string' when
13704 `isearch-fail-pos' returns nil.
13705 (isearch-message): Remove duplicate code and call
13706 `isearch-fail-pos' with arg `t'.
13707
a0bf2bcd
CY
137082011-09-14 Chong Yidong <cyd@stupidchicken.com>
13709
17bb0a2d
CY
13710 * replace.el (occur-mode-goto-occurrence): Don't force using other
13711 window (Bug#9499).
13712
a0bf2bcd
CY
13713 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13714
f678e0b6
MR
137152011-09-14 Martin Rudalics <rudalics@gmx.at>
13716
13717 * window.el (display-buffer-window): Remove.
13718 (display-buffer-record-window): Use help-setup window parameter
13719 instead of variable display-buffer-window.
13720 (display-buffer-function, special-display-buffer-names)
13721 (special-display-function): Mention help-setup parameter instead
13722 of display-buffer-window in doc-string.
d3c30954
SM
13723 * help.el (help-window-setup): New argument help-window.
13724 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13725 Reword some messages.
13726 (with-help-window): Pass window used for displaying the buffer
13727 to help-window-setup. Don't set display-buffer-window.
13728
8e39b2e8
GM
137292011-09-13 Glenn Morris <rgm@gnu.org>
13730
13731 * emacs-lisp/debug.el (debugger-make-xrefs):
13732 Preserve point. (Bug#9462)
13733
85e9c04b
CY
137342011-09-13 Chong Yidong <cyd@stupidchicken.com>
13735
13736 * window.el (window-deletable-p): Use next-frame.
13737
1b36ed6a
MR
137382011-09-13 Martin Rudalics <rudalics@gmx.at>
13739
13740 * window.el (window-auto-delete): Remove.
13741 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13742 dedication and previous buffers.
1b36ed6a
MR
13743 (switch-to-prev-buffer): Don't delete window.
13744 (delete-windows-on): Delete a window's frame if and only if the
13745 window is dedicated.
13746 (replace-buffer-in-windows): Delete buffer's window or frame if
13747 and only if window is dedicated.
13748 (quit-window): Handle quit-restore as before last change.
4d61f28d 13749 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13750
ef8ef9fb
CY
137512011-09-13 Chong Yidong <cyd@stupidchicken.com>
13752
13753 * window.el (window-deletable-p): Never delete the last frame on a
13754 given terminal.
13755
b2cba41e
GM
137562011-09-13 Glenn Morris <rgm@gnu.org>
13757
13758 * help.el (describe-key-briefly): Copy previous standard-output change.
13759
51553db6 137602011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13761
13762 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13763
b7556719
GM
137642011-09-13 Glenn Morris <rgm@gnu.org>
13765
13766 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13767 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13768
64b51947
CY
137692011-09-12 Chong Yidong <cyd@stupidchicken.com>
13770
13771 * dired-aux.el (dired-mark-read-string): Don't return default
13772 value on empty input (Bug#9361).
13773 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13774 Omit initial minibuffer contents.
13775 (dired-do-chmod): Signal an error on empty input.
13776 (dired-mark-read-string): Don't return default on empty input.
13777
13778 * files.el (file-modes-symbolic-to-number): Doc fix.
13779
393a301e
SM
137802011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * international/mule-cmds.el (ucs-completions): Remove.
13783 (read-char-by-name): Use complete-with-action instead; add metadata.
13784
fa5660f9
CY
137852011-09-11 Chong Yidong <cyd@stupidchicken.com>
13786
13787 * window.el (display-buffer--action-function-custom-type)
13788 (display-buffer--action-custom-type): New vars.
13789 (display-buffer-alist, display-buffer-default-action)
13790 (display-buffer-overriding-action): Add defcustom types.
13791
4a592f66
CY
13792 * frame.el (delete-other-frames): Doc fix (Bug#276).
13793
73d56dbd
LMI
137942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13795
13796 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13797
37ac18a3
CY
137982011-09-11 Chong Yidong <cyd@stupidchicken.com>
13799
13800 Change modes that used same-window-* vars to use switch-to-buffer.
13801
13802 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13803 Use switch-to-buffer.
13804
13805 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13806 (customize-browse, custom-buffer-create-other-window):
13807 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13808
13809 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13810 (Info-prev, Info-up, Info-speedbar-goto-node)
13811 (info-display-manual): Use switch-to-buffer.
13812 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13813
13814 * mail/sendmail.el (mail): Use switch-to-buffer.
13815 (mail-recover): Use switch-to-buffer-other-window.
13816
13817 * cmuscheme.el (run-scheme, switch-to-scheme):
13818 * ielm.el (ielm):
13819 * shell.el (shell):
13820 * net/rlogin.el (rlogin):
13821 * net/telnet.el (telnet, rsh):
13822 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13823
10195bd6
AS
138242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13825
13826 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13827
b322f63a
LMI
138282011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13829
39d7fed6
LMI
13830 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13831 so don't mention it (bug#9301).
ba5a81f1 13832 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13833
ee0e9f11
LMI
13834 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13835 match `x', `w32' and `ns', like the manual says (bug#9029).
13836
0b1c89c1 13837 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13838 (process-kill-buffer-query-function): Mention the buffer name in
13839 the query.
0b1c89c1 13840
77549ea8
LMI
13841 * image-mode.el (image-next-line): The line parameter is mandatory
13842 (bug#9258).
13843
803ef892
LMI
13844 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13845 which can be useful (bug#9301).
13846
12980837
LMI
13847 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13848
91054f8f
LMI
13849 * subr.el (match-string): Mention that the current buffer should
13850 be the same as the search was done in (bug#9282).
13851
b322f63a
LMI
13852 * facemenu.el: Disable the remove-* commands if the mark isn't
13853 active (bug#9162).
13854
3199b96f
CY
138552011-09-10 Chong Yidong <cyd@stupidchicken.com>
13856
13857 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13858 of display-buffer.
13859 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13860
13861 * replace.el (occur-mode-goto-occurrence)
13862 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13863 and display-buffer.
13864
13865 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13866 display-buffer.
13867
13868 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13869 special-display and same-window variables.
13870 (mail-other-window): Use switch-to-buffer-other-window.
13871 (mail-other-frame): USe switch-to-buffer-other-frame.
13872
393a301e
SM
13873 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13874 Use display-buffer-other-frame.
3199b96f
CY
13875 (gdb-display-gdb-buffer): Use pop-to-buffer.
13876
13877 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13878
13879 * progmodes/python.el: Don't set same-window-buffer-names.
13880
13881 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13882
13883 * window.el (display-buffer-alist): Add *Python*.
13884
8319e0bf
CY
138852011-09-10 Chong Yidong <cyd@stupidchicken.com>
13886
13887 * window.el (display-buffer-alist): Add entry for buffers
13888 previously handled same-window-*.
13889 (display-buffer-alist, display-buffer-default-action)
13890 (display-buffer-overriding-action): Mark as risky.
13891 (display-buffer-alist): Document action function changes.
13892 (display-buffer--same-window-action)
13893 (display-buffer--other-frame-action): New variables.
13894 (switch-to-buffer, display-buffer-other-frame): Use them.
13895 (display-buffer): Rename reuse-frame entry to reusable-frames.
13896 (display-buffer-reuse-selected-window): Function deleted.
13897 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13898 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13899 (display-buffer-special): New function.
13900 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13901 display-buffer-reuse-or-pop-window. Split off special-display
13902 part into display-buffer-special.
13903 (display-buffer-use-some-window): Don't perform any special
13904 pop-up-frames handling.
13905 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13906 (display-buffer--maybe-same-window): Rename from
0d3ff375 13907 display-buffer-maybe-same-window.
8319e0bf 13908
919a69aa
CY
13909 * info.el: Don't set same-window-regexps.
13910 (info-setup): New function.
13911 (info-other-window, info): Call it.
13912
13913 * cus-edit.el: Don't set same-window-regexps.
13914 (customize-group): New argument.
13915 (customize-group-other-window): Use it.
13916 (customize-face, customize-face-other-window): Likewise.
13917 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13918
8319e0bf
CY
13919 * net/rlogin.el:
13920 * net/telnet.el:
13921 * progmodes/gud.el: Don't set same-window-regexps.
13922
13923 * cmuscheme.el:
13924 * ielm.el:
13925 * shell.el:
13926 * mail/sendmail.el:
13927 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13928
25173000
JL
139292011-09-10 Juri Linkov <juri@jurta.org>
13930
13931 * isearch.el (isearch-edit-string): Remove obsolete mention of
13932 `C-w' (`isearch-yank-word-or-char') from docstring.
13933 (isearch-query-replace): Fix typo in docstring (bug#9466).
13934
056e44ef
JL
139352011-09-10 Juri Linkov <juri@jurta.org>
13936
13937 * paren.el (show-paren-function): Don't show escaped parens.
13938 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13939
c3760c17
EZ
139402011-09-10 Eli Zaretskii <eliz@gnu.org>
13941
13942 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13943 (mm-default-file-encoding): Remove autoload forms, they are
13944 replaced with autoload cookies in mml.el and mm-encode.el.
13945 (mail-add-attachment): New command.
13946 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13947 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13948 the doc string.
13949 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13950
fece895e
RT
139512011-09-10 Reuben Thomas <rrt@sc3d.org>
13952
e69df516
SM
13953 * simple.el (count-words-region): Use buffer if there's no region
13954 (bug#9429).
fece895e 13955
5e68ce4a
JL
139562011-09-09 Juri Linkov <juri@jurta.org>
13957
13958 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13959 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13960 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13961
0a6b9622
AM
139622011-09-09 Alan Mackenzie <acm@muc.de>
13963
13964 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13965 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13966
14a29deb
EZ
139672011-09-09 Eli Zaretskii <eliz@gnu.org>
13968
13969 Fix for Savannah bug#9392.
13970 * simple.el (mail-encode-mml): New defvar.
13971
13972 * mail/rmail.el (mail-encode-mml): Add a defvar.
13973 (rmail-enable-mime-composing): Default to t.
13974 (rmail-forward): Use MIME method of forwarding only if both
13975 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13976 Set mail-encode-mml non-nil if the MIME method was used.
13977
13978 * mail/sendmail.el (mml-to-mime): Add autoload form.
13979 (mail-encode-mml): Add a defvar.
13980 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13981 to nil.
13982 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13983 message through mml-to-mime, and reset mail-encode-mml to nil.
13984
28c45130
GM
139852011-09-09 Glenn Morris <rgm@gnu.org>
13986
13987 * woman.el (woman-if-body): When processing an .el block,
13988 do not delete the next .el block as well. (Bug#9447)
69f4b618 13989 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13990
9b1c252e
MR
139912011-09-08 Martin Rudalics <rudalics@gmx.at>
13992
13993 * window.el (window-deletable-p): Make sure window is live before
13994 invoking window-prev-buffers.
13995
567457e3
LL
139962011-09-08 Leo Liu <sdl.web@gmail.com>
13997
13998 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13999
97f05794
JL
140002011-09-08 Juri Linkov <juri@jurta.org>
14001
14002 * progmodes/compile.el (compilation-environment): Make it
14003 a defcustom (bug#8340).
14004
8b0874b5
MR
140052011-09-08 Martin Rudalics <rudalics@gmx.at>
14006
14007 * window.el (frame-auto-delete): Rename to window-auto-delete.
14008 Make it control auto-deletion of windows and/or frames.
14009 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14010 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14011 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14012 Rewrite handling of case when window/frame can be deleted.
14013 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14014 argument t. (Bug#9456)
8b0874b5 14015
4feb6e73
CY
140162011-09-07 Chong Yidong <cyd@stupidchicken.com>
14017
14018 * help-mode.el (help-mode): Restore autoload.
14019
91ab9c13
JL
140202011-09-07 Juri Linkov <juri@jurta.org>
14021
14022 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14023 `compilation-environment'. Set buffer-local
14024 `compilation-environment' to `thisenv' later after (funcall mode).
14025 (Bug#8340)
14026
14027 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14028 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14029 instead of replacing its value. (Bug#8340)
14030
0527e251
JL
140312011-09-07 Juri Linkov <juri@jurta.org>
14032
14033 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14034 based on text properties put by `grep-filter' instead of matching
14035 escape sequences.
14036 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14037 to the value of `grep-error-screen-columns' (bug#9438).
14038
249f792c
JL
140392011-09-07 Juri Linkov <juri@jurta.org>
14040
14041 * simple.el (next-error-highlight, next-error-highlight-no-select):
14042 Doc fix (bug#9432).
14043
ff7271b9
OT
140442011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14045
14046 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14047 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14048
183fc730
LL
140492011-09-07 Leo Liu <sdl.web@gmail.com>
14050
14051 * net/rcirc.el (rcirc-mode): Conditionally initialize
14052 rcirc-input-ring.
14053
77694924
SM
140542011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 * emacs-lisp/find-func.el (find-function-C-source): Only set
14057 find-function-C-source-directory after checking that we found a source
14058 file there (bug#9440).
14059
d809b8eb
AM
140602011-09-06 Alan Mackenzie <acm@muc.de>
14061
14062 * isearch.el (isearch-other-meta-char): Wherever a key list is
14063 unread, "unread" the prefix arg, too. This fixes bug #8901.
14064
453de99f
OG
140652011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14066
14067 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14068
90439906
JL
140692011-09-05 Juri Linkov <juri@jurta.org>
14070
14071 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14072
f62bd846
JL
140732011-09-05 Juri Linkov <juri@jurta.org>
14074
14075 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14076 keeping point where processing of grep matches begins, and
14077 continue to delete remaining escape sequences from the same point.
14078 (grep-filter): Make leading zero optional in "0?1;31m" because
14079 git-grep emits "\033[1;31m" escape sequences unlike expected
14080 "\033[01;31m" as GNU Grep does (bug#9408).
14081 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14082
045820ec
JL
140832011-09-05 Juri Linkov <juri@jurta.org>
14084
14085 * subr.el (y-or-n-p): Capitalize "yes".
14086
f5e29b9b
MA
140872011-09-04 Michael Albinus <michael.albinus@gmx.de>
14088
14089 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14090 `tramp-cache-unload-hook' where appropriate.
14091 (tramp-methods): Rename `tramp-remote-sh' to
14092 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14093 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14094
14095 * net/tramp-sh.el (top): Don't require 'shell.
14096 (tramp-methods): Add `tramp-remote-shell' and
14097 `tramp-remote-shell-args' entries.
14098 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14099 (tramp-sh-handle-shell-command): Remove.
14100 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14101 Use `tramp-remote-shell'.
14102
2784c434
CY
141032011-09-03 Chong Yidong <cyd@stupidchicken.com>
14104
393a301e 14105 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14106 (sendmail-query-once): Save directly to send-mail-function.
14107 Update message-send-mail-function too.
14108
14109 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14110
464cdf56
CS
141112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14112
14113 * progmodes/python.el (python-mode-map): Use correct function to
14114 start python interpreter from menu-bar (as reported by Geert
14115 Kloosterman).
14116 (inferior-python-mode-map): Fix typo.
393a301e 14117 (python-shell-map): Remove.
464cdf56 14118
d37e5c87
DD
141192011-09-03 Deniz Dogan <deniz@dogan.se>
14120
14121 * net/rcirc.el (rcirc-print): Simplify code for
14122 rcirc-scroll-show-maximum-output. There is no need to walk
14123 through all windows to find the right one.
14124
f3ada0ee
CS
141252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14126
14127 * help.el (help-return-method): Doc fix.
14128
1f3c99ca
MR
141292011-09-03 Martin Rudalics <rudalics@gmx.at>
14130
14131 * window.el (window-deletable-p): Don't return a non-nil value
14132 when there's a buffer that was shown in the window before.
14133 (Bug#9419)
393a301e
SM
14134 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14135 Set window's previous buffers to nil.
1f3c99ca 14136
a3cf097f
EZ
141372011-09-03 Eli Zaretskii <eliz@gnu.org>
14138
14139 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14140 newline before and after the tag line, so it doesn't interfere
14141 with determining the paragraph direction of bidirectional text.
14142
3d03de90
LL
141432011-09-03 Leo Liu <sdl.web@gmail.com>
14144
14145 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14146
c3313451
CY
141472011-09-02 Chong Yidong <cyd@stupidchicken.com>
14148
393a301e 14149 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14150 (pop-to-buffer): Change interactive spec. Pass second argument
14151 directly to display-buffer.
14152 (display-buffer): Fix interactive spec. Use functionp to
14153 distinguish between a function and a list of functions.
14154
14155 * abbrev.el (edit-abbrevs):
14156 * arc-mode.el (archive-extract):
14157 * autoinsert.el (auto-insert):
14158 * bookmark.el (bookmark-bmenu-list):
14159 * files.el (find-file):
14160 * view.el (view-buffer):
14161 * progmodes/compile.el (compilation-goto-locus):
14162 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14163
89894cd8
CY
141642011-09-02 Chong Yidong <cyd@stupidchicken.com>
14165
14166 * window.el (display-buffer-alist): Doc fix.
14167 (display-buffer): Add docstring. Don't treat
14168 display-buffer-default specially.
14169 (display-buffer-reuse-selected-window)
14170 (display-buffer-same-window, display-buffer-maybe-same-window)
14171 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14172 (display-buffer-pop-up-window)
14173 (display-buffer-reuse-or-pop-window)
14174 (display-buffer-use-some-window): New functions.
14175 (display-buffer-default-action): Use them.
393a301e 14176 (display-buffer-default): Delete.
89894cd8
CY
14177 (pop-to-buffer-1): Fix choice of actions.
14178
ae0bc9fb
SM
141792011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14180
14181 * minibuffer.el (completion--insert-strings): Don't get confused by
14182 completion entries that end with an LF char.
14183
e9d90883
EZ
141842011-09-01 Eli Zaretskii <eliz@gnu.org>
14185
14186 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14187
437014c8
CY
141882011-09-01 Chong Yidong <cyd@stupidchicken.com>
14189
14190 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14191 (display-buffer-same-window, display-buffer-other-window):
14192 New functions.
437014c8
CY
14193 (pop-to-buffer-1): New function. Use the above.
14194 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14195 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14196
14197 * view.el (view-buffer-other-window, view-buffer-other-frame):
14198 Just use pop-to-buffer.
14199
a5e063d5
TV
142002011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14201
14202 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14203
793d32bb
WH
142042011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14205
14206 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14207
d65e4c15
RS
142082011-08-31 Richard Stallman <rms@gnu.org>
14209
14210 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14211 of the separation of rmail-view-buffer from rmail-buffer.
14212 If you say no to "replace original", the decrypt is in the
14213 view buffer. If you say yes, the decrypt goes into the
14214 rmail buffer also.
14215
f818cd2a
MR
142162011-08-31 Martin Rudalics <rudalics@gmx.at>
14217
14218 * window.el (display-buffer-window): Rewrite doc-string.
14219 (display-buffer-record-window): New function.
14220 (display-buffer-macro-specifiers)
14221 (display-buffer-even-window-sizes, display-buffer-set-height)
14222 (display-buffer-set-width, display-buffer-in-window)
14223 (display-buffer-reuse-window, display-buffer-split-specifiers)
14224 (display-buffer-side-specifiers, display-buffer-split-window-1)
14225 (display-buffer-split-window, display-buffer-split-atom-window)
14226 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14227 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14228 (display-buffer-other-window-means-other-frame)
14229 (display-buffer-normalize-special)
14230 (display-buffer-normalize-default)
14231 (display-buffer-normalize-argument)
14232 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14233 (display-buffer-normalize-specifiers, display-buffer-frame)
14234 (display-buffer-same-window, display-buffer-same-frame)
14235 (display-buffer-other-window)
14236 (display-buffer-same-frame-other-window)
14237 (display-buffer-other-frame, pop-to-buffer-same-window)
14238 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14239 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14240 (switch-to-buffer-same-frame)
14241 (switch-to-buffer-other-window-same-frame)
14242 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14243 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14244 (display-buffer-alist-set): Remove.
14245 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14246 (special-display-regexps, special-display-function):
14247 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14248 parameter.
14249 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14250 (special-display-frame-alist, special-display-popup-frame)
14251 (same-window-buffer-names, same-window-regexps, same-window-p)
14252 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14253 (split-window-preferred-function, split-height-threshold)
14254 (split-width-threshold, window-splittable-p)
14255 (split-window-sensibly, window--try-to-split-window)
14256 (window--frame-usable-p, even-window-heights)
14257 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14258 (window--display-buffer-2, display-buffer-other-frame):
14259 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14260 (display-buffer-default, display-buffer-assq-regexp): New functions.
14261 (display-buffer-alist): Rewrite doc-string.
14262 (display-buffer-default-action)
14263 (display-buffer-overriding-action): New variables.
14264 (display-buffer, switch-to-buffer): Rewrite.
14265 (pop-to-buffer): Restore Emacs 23 behavior but use
14266 window-normalize-buffer-to-display.
14267 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14268 Restore Emacs 23 behavior but use
14269 window-normalize-buffer-to-switch-to.
14270 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14271 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14272 Rewrite using Emacs 23 options.
f818cd2a 14273
5bc3b51d
MA
142742011-08-31 Michael Albinus <michael.albinus@gmx.de>
14275
14276 * net/tramp.el (tramp-root-regexp): Remove.
14277 (tramp-completion-file-name-regexp-unified)
14278 (tramp-completion-file-name-regexp-separate)
14279 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14280 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14281 (tramp-drop-volume-letter): Simplify definition.
14282 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14283
b1a4f8e1
SM
142842011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14285
14286 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14287 (bug#9356).
14288
5664fa7b
RT
142892011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14290
b1a4f8e1 14291 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14292
9a45d6c3
JL
142932011-08-29 Juri Linkov <juri@jurta.org>
14294
14295 * isearch.el (isearch-done): Don't display message "Mark saved"
14296 when arg `edit' is non-nil to prevent its flicker in the echo area.
14297
fb87e0fb
CY
142982011-08-28 Chong Yidong <cyd@stupidchicken.com>
14299
14300 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14301 obsolete packages for deletion.
14302
09ac1c2a
CS
143032011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14304
14305 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14306 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14307 view-mode from help-mode.
14308 (help-xref-override-view-map): Remove.
14309 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14310 view-mode is not used anymore.
14311
7a1ff57f
CY
143122011-08-28 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * server.el (server-port): Doc fix.
14315
b9696605
CY
14316 * cus-theme.el (custom-theme-choose-mode): Inherit from
14317 special-mode (Bug#9124).
14318 (custom-theme-choose-mode-map): Add special-mode to parent.
14319
ef8cdf8c
AM
143202011-08-28 Alan Mackenzie <acm@muc.de>
14321
14322 * progmodes/cc-fonts.el
14323 (c-make-font-lock-BO-decl-search-function): New function.
14324 (c-basic-matchers-after - "Fontify the clauses after various
14325 keywords"): Extract the three keyword lists for the 3 erroneous
14326 constructs from the list of four, and use the new function above
14327 in place of an old one.
14328
27de4e20
DD
143292011-08-28 Deniz Dogan <deniz@dogan.se>
14330
14331 * net/rcirc.el (rcirc-insert-prev-input)
14332 (rcirc-insert-next-input): Remove unused argument.
14333
356a3681
SM
143342011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14335
14336 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14337
3fc9b218
AM
143382011-08-27 Alan Mackenzie <acm@muc.de>
14339
14340 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14341 handle function pointer parameters properly.
14342
538a061c
MR
143432011-08-27 Martin Rudalics <rudalics@gmx.at>
14344
14345 * window.el (display-buffer-reuse-window): Fix case where
14346 selected window was reused with non-nil OTHER-WINDOW argument.
14347 (Bug#9381)
14348
35b1c40c
DD
143492011-08-27 Deniz Dogan <deniz@dogan.se>
14350
14351 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14352 oftc's NickServ messages.
14353
2f6a3e79
GM
143542011-08-27 Glenn Morris <rgm@gnu.org>
14355
14356 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14357
7254299e
CY
143582011-08-26 Chong Yidong <cyd@stupidchicken.com>
14359
14360 * emacs-lisp/package.el (package-install): Call package-initialize
14361 if called interactively.
14362
f8ccf167
LL
143632011-08-26 Leo Liu <sdl.web@gmail.com>
14364
14365 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14366
3e8cd5ce
JL
143672011-08-25 Juri Linkov <juri@jurta.org>
14368
14369 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14370 `search-whitespace-regexp' (bug#9364).
14371
93eb7113
JL
143722011-08-25 Juri Linkov <juri@jurta.org>
14373
14374 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14375 `regexp-search-ring' to their global values to protect from
14376 updating by `read-from-minibuffer' (bug#9185).
14377
f65d1611
JL
143782011-08-25 Juri Linkov <juri@jurta.org>
14379
14380 * textmodes/ispell.el (ispell-command-loop): Add newline
14381 at the end of the "Use option `i'..." line.
14382
f1cf7a31
JL
143832011-08-25 Juri Linkov <juri@jurta.org>
14384
14385 * battery.el (display-battery-mode): If `battery-status-function'
14386 or `battery-mode-line-format' is nil, display the message and set
14387 `display-battery-mode' to nil (bug#9363).
14388
0c95fcf7
EZ
143892011-08-25 Eli Zaretskii <eliz@gnu.org>
14390
14391 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14392 bidi-string-mark-left-to-right; they are unnecessary now.
14393
a2ebe600
DD
143942011-08-25 Deniz Dogan <deniz@dogan.se>
14395
14396 * net/quickurl.el: Documentation typo fixes.
14397
e4ed06f1
CY
143982011-08-25 Chong Yidong <cyd@stupidchicken.com>
14399
14400 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14401
e5f1c99e
GM
144022011-08-25 Glenn Morris <rgm@gnu.org>
14403
b2948976
GM
14404 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14405
e5f1c99e
GM
14406 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14407 (smtpmail-via-smtp): Handle nil response from smtp.
14408
f22f4808
JL
144092011-08-24 Juri Linkov <juri@jurta.org>
14410
14411 * proced.el (proced-marked): Inherit from `error' instead of
14412 `font-lock-warning-face'.
14413
14414 * ibuffer.el (ibuffer-marked-face): Change default face from
14415 `font-lock-warning-face' to `warning'.
14416 (ibuffer-deletion-face): Change default face from
14417 `font-lock-type-face' to `error'.
14418
14419 * battery.el (battery-update): Use the face `error' instead of
14420 `font-lock-warning-face' (bug#6117).
14421
6a93965e
JL
144222011-08-24 Juri Linkov <juri@jurta.org>
14423
14424 * faces.el (success): Change face color from "Green3" to
14425 "ForestGreen" on light background (bug#9353).
14426
1ed43b09
CY
144272011-08-24 Chong Yidong <cyd@stupidchicken.com>
14428
5664fa7b
RT
14429 * window.el (quit-window): Rename from quit-restore-window.
14430 Use same arglist as old quit-window.
1ed43b09
CY
14431 (frame-auto-delete): Doc fix.
14432
14433 * view.el (view-mode-exit): Use quit-window.
14434
11dcdbb2
JL
144352011-08-24 Juri Linkov <juri@jurta.org>
14436
14437 * isearch.el (isearch-ring-adjust1): Start visiting previous
14438 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14439 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14440 for empty search string (when the last search string is reused
14441 automatically) to adjust the isearch ring to the last element and
14442 prepare the correct index for further M-p commands (bug#9185).
14443
de62b4df
KH
144442011-08-24 Kenichi Handa <handa@m17n.org>
14445
14446 * international/ucs-normalize.el: If decomposition property of
14447 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14448 nil.
14449 (nfd, nfkd): Likewise.
14450
963b492b
SM
144512011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14452
14453 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14454 from process filters aren't reliably transmitted to the surrounding
14455 accept-process-output.
14456 (mpc-proc-check): New function.
14457 (mpc-proc-sync): Use it (bug#8293)
14458
93b6b5e1
SM
144592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14460
14461 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14462 Add compatibility functions (bug#9313).
14463
bca633fb
EZ
144642011-08-23 Eli Zaretskii <eliz@gnu.org>
14465
b177498a
EZ
14466 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14467
6df6ae42 14468 * international/uni-bidi.el: Regenerate.
bca633fb 14469
0902a04e
KH
144702011-08-23 Kenichi Handa <handa@m17n.org>
14471
14472 * international/charprop.el:
14473 * international/uni-bidi.el:
14474 * international/uni-category.el:
14475 * international/uni-combining.el:
14476 * international/uni-comment.el:
14477 * international/uni-decimal.el:
14478 * international/uni-decomposition.el:
14479 * international/uni-digit.el:
14480 * international/uni-lowercase.el:
14481 * international/uni-mirrored.el:
14482 * international/uni-name.el:
14483 * international/uni-numeric.el:
14484 * international/uni-old-name.el:
14485 * international/uni-titlecase.el:
14486 * international/uni-uppercase.el: Regenerate.
14487
3bbf23bc
MR
144882011-08-23 Martin Rudalics <rudalics@gmx.at>
14489
14490 * help.el (help-window-setup): Fix message displayed when other
14491 window is reused. (Bug#9341)
14492
b3fd59bd
SM
144932011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14494
1802e444
SM
14495 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14496 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14497
b3fd59bd
SM
14498 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14499 Mark obsolete.
14500 * shell.el (shell-parse-pcomplete-arguments): New function.
14501 (shell-completion-vars): Use it instead (bug#9160).
14502
4eb61348
SM
145032011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14504
867cab74
SM
14505 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14506 strings and comments (bug#9333).
14507
4eb61348
SM
14508 * emacs-lisp/debug.el (debug-arglist): New function.
14509 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14510 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14511
262a1439
JL
145122011-08-22 Juri Linkov <juri@jurta.org>
14513
56ee679c
JL
14514 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14515 Revert regexp that highlights output switches to its old
14516 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14517
262a1439
JL
14518 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14519 to check for empty output (bug#9226).
14520
f13f86fb
CY
145212011-08-22 Chong Yidong <cyd@stupidchicken.com>
14522
14523 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14524 symbol-constituent as the default, as that stops font-lock from
14525 working properly (Bug#8843).
14526
c65c9622
LMI
145272011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14528
14529 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14530 `coding-system-for-*' around the process open call to avoid
14531 auth-source side effects.
e7f2c178 14532 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14533 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14534 probe hangs.
c65c9622 14535
23a8a5ab
CY
145362011-08-21 Chong Yidong <cyd@stupidchicken.com>
14537
ff98b2dd
CY
14538 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14539
23a8a5ab
CY
14540 * emacs-lisp/find-func.el (find-function-noselect): New arg
14541 lisp-only.
14542
14543 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14544 signal an error for built-in functions (Bug#6664).
14545
f5e3c598
LMI
145462011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14547
14548 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14549 (smtpmail-try-auth-methods): Use it.
14550
a3f2468a
CY
145512011-08-21 Chong Yidong <cyd@stupidchicken.com>
14552
2c34e8da
CY
14553 * font-lock.el (font-lock-fontify-region)
14554 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14555 (font-lock-default-unfontify-buffer)
14556 (font-lock-default-fontify-region)
14557 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14558
b3fd59bd
SM
14559 * progmodes/compile.el (compilation-error-properties):
14560 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14561 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14562 `ant' regexp.
ee31aabc 14563
a3f2468a
CY
14564 * net/browse-url.el (browse-url-firefox): Don't call
14565 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14566
8e999f70
GM
145672011-08-20 Glenn Morris <rgm@gnu.org>
14568
c21a496a
GM
14569 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14570
59ee0542
GM
14571 * tutorial.el (tutorial--default-keys): Update some default bindings.
14572
8e999f70
GM
14573 * files.el (hack-local-variables): Fully ignore case for "mode:".
14574
e3715033
AM
145752011-08-20 Alan Mackenzie <acm@muc.de>
14576
14577 Resolve invalid use of a regexp in regexp-opt.
14578
4d61f28d
JB
14579 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14580 detection for a java annotation.
e3715033 14581
4d61f28d 14582 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14583 detection for a java annotation.
14584
4d61f28d
JB
14585 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14586 handling for java.
e3715033
AM
14587 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14588
04ed2e9c
CY
145892011-08-20 Chong Yidong <cyd@stupidchicken.com>
14590
14591 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14592 (Bug#9274).
14593
826cee64
AM
145942011-08-20 Alan Mackenzie <acm@muc.de>
14595
58179cce 14596 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14597 such a construct. Mainly for when jit-lock etc. starts a chunk
14598 here.
14599
58179cce 14600 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14601 variable.
58179cce 14602 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14603 c-make-font-lock-search-function.
14604 (c-make-font-lock-search-function): Use the above function.
14605 (c-make-font-lock-context-search-function): New function.
14606 (c-cpp-matchers): Enhance the preprocessor expression case with
14607 the above function
14608 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14609 which takes an expression.
14610
14611 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14612
13009bd8
MR
146132011-08-20 Martin Rudalics <rudalics@gmx.at>
14614
14615 * window.el (display-buffer-reuse-window)
14616 (display-buffer-pop-up-window): Don't reuse or split a side
14617 window.
14618
9234ff7f
GM
146192011-08-19 Glenn Morris <rgm@gnu.org>
14620
14621 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14622 Downcase "Mode:". (Bug#9331)
9234ff7f 14623
f635daa1
CY
146242011-08-18 Chong Yidong <cyd@stupidchicken.com>
14625
14626 * international/characters.el: Add L and R categories.
14627
14628 * subr.el (bidi-string-mark-left-to-right): Rename from
14629 string-mark-left-to-right. Use category search.
14630
14631 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14632
bc987f8b
JL
146332011-08-18 Juri Linkov <juri@jurta.org>
14634
14635 * faces.el (error, warning, success): New faces with definitions
14636 copied from old default values of `font-lock-warning-face',
14637 `compilation-warning', `compilation-info' (bug#6117).
14638
14639 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14640
14641 * progmodes/compile.el (compilation-error): Inherit from `error'.
14642 (compilation-warning): Inherit from `warning'.
14643 (compilation-info): Inherit from `success'.
14644
14645 * dired.el (dired-marked): Inherit from `warning'.
14646 (dired-flagged): Inherit from `error'.
14647
57173b96
LMI
146482011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14649
3e79eb87
LMI
14650 * mail/smtpmail.el (auth-source): Require to avoid problems with
14651 binding variables (bug#9298). Also clean up some unused
14652 autoloads.
14653
b3fd59bd
SM
14654 * net/network-stream.el (network-stream-open-starttls):
14655 Support using starttls.el without using gnutls-cli.
57173b96 14656
02b404de
JL
146572011-08-17 Juri Linkov <juri@jurta.org>
14658
14659 * progmodes/grep.el (rgrep): Handle the case when
14660 `grep-find-command' is a cons cell (bug#9278).
14661
8c9177f2
MR
146622011-08-17 Martin Rudalics <rudalics@gmx.at>
14663
14664 * window.el (display-buffer-pop-up-frame): Run frame creation
14665 function with BUFFER current (as special-display-popup-frame
14666 does). Reported by Drew Adams.
14667
3644a0ab
DU
146682011-08-17 Daiki Ueno <ueno@unixuser.org>
14669
14670 * epa-mail.el: Simplify GnuPG group expansion using
14671 epg-expand-group.
14672 (epa-mail-group-alist, epa-mail-group-modtime)
14673 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14674 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14675 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14676 Remove.
14677
5e617bc2 146782011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14679
14680 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14681
9c4aeabf
AM
146822011-08-16 Alan Mackenzie <acm@muc.de>
14683
14684 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14685 Correct, to avoid the inside of macros.
14686
3a99bf64
RS
146872011-08-16 Richard Stallman <rms@gnu.org>
14688
04963aa8
RS
14689 * epa-mail.el: Handle GnuPG group definitions.
14690 (epa-mail-group-alist, epa-mail-group-modtime)
14691 (epa-mail-gnupg-conf-file): New variables.
14692 (epa-mail-parse-groups, epa-mail-sync-groups)
14693 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14694 (epa-mail-expand-recipients): New functions.
14695 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14696
177549d0
RS
14697 * mail/rmail.el (rmail-epa-decrypt): New command.
14698
fe38beef
RS
14699 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14700 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14701 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14702 (epa-decrypt-armor-in-region): Make error message clearer.
14703
934eacb9
SM
147042011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14705
14706 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14707 and "a2b" to "ab" for `prefix'.
14708
d024fb4e
CY
147092011-08-14 Chong Yidong <cyd@stupidchicken.com>
14710
14711 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14712 filter groups.
de148fee
CY
14713 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14714 Fourquet (Bug#8804).
d024fb4e 14715
62f1ca49
JB
147162011-08-12 Juanma Barranquero <lekktu@gmail.com>
14717
14718 * startup.el (argi): Declare as global variable (bug#9275).
14719
9ccaaa4b
CY
147202011-08-12 Chong Yidong <cyd@stupidchicken.com>
14721
14722 * subr.el (string-mark-left-to-right): Search the entire string
14723 for RTL script, not just the terminating character. Doc fix.
14724
a3dae87a
SM
147252011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14726
6cd18349
SM
14727 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14728 New function.
14729 (js--regexp-literal, js-syntax-propertize-function): Remove.
14730 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14731 (js-mode-map): Don't rebind electric keys.
14732 (js-insert-and-indent): Remove.
14733 (js-mode): Setup electric-layout and electric-indent instead.
14734
a3dae87a
SM
14735 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14736
9d5cb631
DU
147372011-08-12 Daiki Ueno <ueno@unixuser.org>
14738
14739 * epa.el (epa-progress-callback-function): Fix the logic of
14740 displaying progress.
14741 * epa-file.el (epa-file-insert-file-contents): Make progress
14742 display more user-friendly.
14743 (epa-file-write-region): Ditto.
14744
3e26a4a2
CY
147452011-08-10 Chong Yidong <cyd@stupidchicken.com>
14746
14747 * subr.el (string-mark-left-to-right): New function.
14748
14749 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14750 Use string-mark-left-to-right.
14751 (list-buffers-noselect): Caller changed.
14752
a3dae87a
SM
14753 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14754 Use string-mark-left-to-right.
3e26a4a2
CY
14755 (tabulated-list-print): Recenter after moving point.
14756
ac8cf6e6
JL
147572011-08-10 Juri Linkov <juri@jurta.org>
14758
14759 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14760 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14761 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14762
8d96c9a4
CY
147632011-08-09 Chong Yidong <cyd@stupidchicken.com>
14764
14765 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14766 (Bug#7554).
14767
7be1c708 147682011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14769
14770 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14771 character. (Bug#6594)
14772
37e11a63
CY
147732011-08-08 Chong Yidong <cyd@stupidchicken.com>
14774
839dde57
CY
14775 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14776 (image-dired--with-db-file): New macro.
14777 (image-dired-write-tags, image-dired-remove-tag)
14778 (image-dired-create-gallery-lists, image-dired-write-comments)
14779 (image-dired-get-comment, image-dired-mark-tagged-files)
14780 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14781 (image-dired-gallery-generate): Use insert-file-contents.
14782
37e11a63
CY
14783 * time.el (display-time-world-list, display-time-world-display):
14784 * time-stamp.el (time-stamp-string):
14785 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14786 set-time-zone-rule (Bug#7337).
14787
0b4946c4
DU
147882011-08-08 Daiki Ueno <ueno@unixuser.org>
14789
14790 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14791 (epg-error-to-string, epg-errors-to-string): New function.
14792 (epg-wait-for-completion): Reverse errors list.
14793 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14794 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14795 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14796 (epg-sign-keys, epg-generate-key-from-file)
14797 (epg-generate-key-from-string): Format errors by using
14798 epg-errors-to-string (bug#9255).
14799 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14800
75bfc667
JL
148012011-08-07 Juri Linkov <juri@jurta.org>
14802
14803 * faces.el (list-faces-display): Remove extra angle bracket
14804 from `help-mode-map'.
14805
14806 * info.el (Info-history-toc-nodes): Doc fix.
14807
14808 * longlines.el (longlines-mode): Doc fix.
14809
673e08bb
SM
148102011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14811
4640dd88
SM
14812 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14813 of statements and in a few more cases (bug#9183).
14814
673e08bb
SM
14815 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14816 New functions.
14817 (cl-transform-lambda): Use them (bug#9239).
14818
89b3f019
MR
148192011-08-05 Martin Rudalics <rudalics@gmx.at>
14820
14821 * window.el (display-buffer-same-window)
14822 (display-buffer-same-frame, display-buffer-other-window)
14823 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14824 (pop-to-buffer-other-window)
14825 (pop-to-buffer-same-frame-other-window)
14826 (pop-to-buffer-other-frame): Make them defuns.
14827 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14828
640c8776
SM
148292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14830
14831 * subr.el (make-composed-keymap): Move from C. Change calling
14832 convention, and improve docstring to bring attention to a subtle point.
14833 * minibuffer.el (completing-read-default): Adjust accordingly.
14834
63648a95
MA
148352011-08-03 Michael Albinus <michael.albinus@gmx.de>
14836
14837 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14838 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14839
14840 * net/trampver.el: Update release number.
14841
b796c9b7
SM
148422011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14843
14844 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14845 "in" (bug#9190).
14846
2239d7d5
LMI
148472011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14848
e07dd7c3
LMI
14849 * mail/sendmail.el (sendmail-query-once): Restore the current
14850 buffer after querying (bug#9074).
14851
0e6a2bd7
LMI
14852 * dired.el (dired-flagged): Use different faces for marked and
14853 flagged files (bug#6117).
14854
ce887515
LMI
14855 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14856 (bug#4433).
14857
92f2affc
LMI
14858 * ido.el (ido-mode): Switch off the message if called
14859 non-interactively.
14860
57d5aff0
LMI
14861 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14862 before 587, since it appears that that's more likely to work for
14863 more people.
14864
98cd6c18 14865 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14866 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14867 exist.
14868
b96dec83
LMI
14869 * info.el: Remove the `Info-beginning-of-buffer' function
14870 (bug#8325).
14871
b796c9b7
SM
14872 * net/network-stream.el (network-stream-open-starttls):
14873 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14874
d90e2ea0
MR
148752011-08-01 Martin Rudalics <rudalics@gmx.at>
14876
14877 * window.el (display-buffer-in-window): Don't set dedicated status
14878 of window here (Bug#9215).
14879 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14880 (display-buffer-pop-up-side-window)
b796c9b7 14881 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14882
cca09170
SM
148832011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14884
14885 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14886 before binding generated-autoload-file.
14887
027b979c
DD
148882011-08-01 Deniz Dogan <deniz@dogan.se>
14889
14890 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14891
3c7ee4f3
MA
148922011-07-30 Michael Albinus <michael.albinus@gmx.de>
14893
14894 Sync with Tramp 2.2.2.
14895
14896 * net/trampver.el: Update release number.
14897
2cc8e51a
JL
148982011-07-30 Juri Linkov <juri@jurta.org>
14899
14900 * dired-aux.el (dired-touch-initial): Remove function.
14901 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14902 current time, and `default' to the last modification time of the
14903 current marked file (bug#6887).
14904
a514d856
JM
149052011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14906
14907 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14908 numeric argument to read-number (bug#9163).
a514d856 14909
8a7eddd7
MA
149102011-07-27 Michael Albinus <michael.albinus@gmx.de>
14911
14912 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14913 connection process, it could be nil.
14914
1ddd96f5
LL
149152011-07-27 Leo Liu <sdl.web@gmail.com>
14916
14917 Simplify url handling in rcirc-mode.
14918
14919 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14920 (rcirc-browse-url-at-mouse): Remove.
14921 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14922
b248a85d
AM
149232011-07-26 Alan Mackenzie <acm@muc.de>
14924
14925 Fontify bitfield declarations properly.
14926
14927 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14928 (c-symbol-chars): Now exported as a lang variable.
14929 (c-not-primitive-type-keywords): New lang variable.
14930
14931 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14932 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14933 parsed as a bitfield declaration.
b248a85d 14934
b796c9b7
SM
14935 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14936 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14937 (c-punctuation-in): New function.
14938 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14939 declarations properly.
14940
68575ab0
UJ
149412011-07-26 Ulf Jasper <ulf.jasper@web.de>
14942
14943 * calendar/icalendar.el (icalendar--all-events): Take care of
14944 multiple vcalendars in a single file.
b796c9b7 14945 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14946
0f0a88b9
DD
149472011-07-25 Deniz Dogan <deniz@dogan.se>
14948
14949 * image.el (insert-image): Clarifying docstring.
14950
0b3f36df
MA
149512011-07-24 Michael Albinus <michael.albinus@gmx.de>
14952
14953 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14954 `tramp-send-command-and-check' if there is no error.
14955 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14956
a9901f61
AM
149572011-07-22 Alan Mackenzie <acm@muc.de>
14958
14959 Prevent cc-langs.elc being loaded at run time.
14960
14961 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14962 cc-langs.
14963
4d61f28d 14964 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14965 "(require 'cc-langs)". Quote a form so it will evaluate at
14966 (cc-mode's) compilation time.
14967
11d074b2
MA
149682011-07-22 Michael Albinus <michael.albinus@gmx.de>
14969
14970 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14971 loading. (Bug#9114)
14972
938b94c8
MR
149732011-07-21 Martin Rudalics <rudalics@gmx.at>
14974
14975 * window.el (display-buffer-pop-up-window)
14976 (display-buffer-pop-up-side-window)
14977 (display-buffer-in-side-window): Call display-buffer-set-height
14978 and display-buffer-set-width after setting the new window's
b796c9b7 14979 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14980
bfa4f190
SS
149812011-07-20 Sam Steingold <sds@gnu.org>
14982
14983 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14984 (etags-tags-included-tables): Call `convert-standard-filename' on
14985 the file names contained in TAGS so that windows Emacs can handle
14986 TAGS files created by cygwin ctags.
14987
8ca42262
LMI
149882011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14989
14990 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14991 which apparently didn't work.
14992
5db2afd2 149932011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14994
5db2afd2
RW
14995 * proced.el (proced-send-signal): For *Marked Processes* buffer
14996 put point at beginning of buffer.
14997
92e15d10
SB
149982011-07-19 Stephen Berman <stephen.berman@gmx.net>
14999
15000 * proced.el (proced-format): Make header lines align with the text
15001 (bug#1779).
15002
1bfd59e5
LMI
150032011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15004
15005 * view.el (view-buffer): Allow running in `special' modes if we're
15006 visiting a file (bug#8615).
15007
f5aae37c
MR
150082011-07-19 Martin Rudalics <rudalics@gmx.at>
15009
15010 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15011 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15012 New functions.
f5aae37c
MR
15013 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15014 more accurately.
15015
bf2c1571
AM
150162011-07-18 Alan Mackenzie <acm@muc.de>
15017
15018 Fontify declarators properly when, e.g., a jit-lock chunk begins
15019 inside a declaration.
15020
15021 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15022
b796c9b7
SM
15023 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15024 New function.
bf2c1571
AM
15025 (c-complex-decl-matchers): Insert reference to
15026 c-font-lock-enclosing-decls.
15027
15028 * progmodes/cc-engine.el (c-backward-single-comment):
15029 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15030 to nil around calls to (forward-comment -1).
15031
4e190b80
LMI
150322011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15033
12dc863d
LMI
15034 * image.el (put-image): Doc typo fix.
15035
a762e966
LMI
15036 * progmodes/etags.el (tags-search): Doc typo fix.
15037
4e190b80
LMI
15038 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15039 password if we get errors 550 to 554.
15040
f019fb21
LMI
150412011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15042
b796c9b7 15043 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15044
81746738
LMI
15045 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15046 indentation character (bug#6380).
15047
3ee3a1b5
LMI
15048 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15049
c82f64de
LMI
15050 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15051 to clarify what the problem is (bug#4291).
15052
f019fb21
LMI
15053 * simple.el (current-kill): Clarify what
15054 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15055 (auto-fill-mode): Document `auto-fill-function' in relation to
15056 `auto-fill-mode' (bug#2470).
f019fb21 15057
0794775d
LM
150582011-07-16 Lawrence Mitchell <wence@gmx.li>
15059
15060 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15061 method if slot is read-only (bug#9035).
15062
be39b8cc
MR
150632011-07-16 Martin Rudalics <rudalics@gmx.at>
15064
b796c9b7 15065 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15066 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15067 selected before, see discussion of (Bug#8615), (Bug#6954).
15068 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15069
6ccf7859
GM
150702011-07-15 Glenn Morris <rgm@gnu.org>
15071
15072 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15073 Respect help-form.
6ccf7859 15074
87e86684
LM
150752011-07-09 Lawrence Mitchell <wence@gmx.li>
15076
15077 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15078 (gnutls-negotiate): Use it.
15079
d6066239
LMI
150802011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15081
b796c9b7
SM
15082 * net/gnutls.el (gnutls-negotiate):
15083 Upcase `gnutls-algorithm-priority'.
d6066239 15084
bd23ebc0
GM
150852011-07-15 Glenn Morris <rgm@gnu.org>
15086
c65bca65
GM
15087 * jka-compr.el (jka-compr-verbose): Move from here...
15088 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15089 Add missing :version tag.
15090 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15091
478615cc
LMI
150922011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15093
7b41decb
LMI
15094 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15095 (gnutls-negotiate): Use it.
15096
dbc44fcd
LMI
15097 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15098
06789f97
LMI
15099 * info.el (Info-beginning-of-buffer): New command.
15100 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15101 announcing `b' as the key (bug#8325).
ab896c37 15102 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15103
c39da690
LMI
15104 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15105
3aa5f34b
LMI
15106 * international/mule-cmds.el
15107 (describe-specified-language-support): Make the error message
15108 clearer (bug#8905).
15109
4bf0979f
LMI
15110 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15111
478615cc
LMI
15112 * isearch.el (isearch-barrier): Add a doc string, since it's
15113 mentioned in a function doc string (bug#8678).
15114
75c68aa1
MR
151152011-07-15 Martin Rudalics <rudalics@gmx.at>
15116
15117 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15118 buffer argument (Bug#9083) and self-identifying label argument.
15119
a7c33da2
GM
151202011-07-15 Glenn Morris <rgm@gnu.org>
15121
15122 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15123
2f5c6024
LMI
151242011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15125
15126 * man.el (Man-fontify-manpage): Fix message when formatting the
15127 man page (bug#7929).
15128
0bb23927 151292011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15130
15131 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15132 argument LRM; if non-nil, append an invisible LRM character to the
15133 buffer name.
15134 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15135 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15136 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15137 paragraph direction.
cce4b0a7 15138
621ef9ab
LMI
151392011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15140
d1583c48
LMI
15141 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15142 the man page name (bug#7929).
15143
6a57fb5f
LMI
15144 * image.el (put-image): Mention the `put-image' overlay property
15145 (bug#7834).
15146
d7956b14
LMI
15147 * scroll-bar.el (set-scroll-bar-mode): Mention that
15148 `scroll-bar-mode' lists the values (bug#7772).
15149
5b2d4a66
LMI
15150 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15151 command (bug#7729).
15152
7509a874
LMI
15153 * rect.el (apply-on-rectangle): Return the point after the last
15154 operation.
15155 (string-rectangle): Go to the point after the last operation
15156 (bug#7522).
15157
4fe74b19
LMI
15158 * printing.el (pr-toggle-region): Clarify the documentation
15159 slightly (bug#7493).
15160
b796c9b7
SM
15161 * time.el (display-time-update):
15162 Allow `display-time-mail-function' to return nil (bug#7158).
15163 Fix suggested by Detlev Zundel.
ab283561 15164
fc233c9d
LMI
15165 * vc/diff.el (diff): Clarify the order the file names are read
15166 (bug#7111).
15167
43f5740b
LMI
15168 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15169 the doc string (bug#7015).
15170
f2182a76
LMI
15171 * font-lock.el (font-lock-maximum-decoration): Mention what
15172 numeric levels mean (bug#6935).
15173
621ef9ab
LMI
15174 * startup.el (initial-buffer-choice): Don't mention the `none'
15175 selection, which is against policy.
15176
adc47434
MR
151772011-07-14 Martin Rudalics <rudalics@gmx.at>
15178
b796c9b7
SM
15179 * window.el (display-buffer-normalize-special):
15180 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15181
7e5bfb8f
EZ
151822011-07-14 Eli Zaretskii <eliz@gnu.org>
15183
15184 * subr.el (version<, version<=, version=): Mention "-CVS" and
15185 "-12345" alpha version numbers.
15186
27fa387a
CY
151872011-07-14 Chong Yidong <cyd@stupidchicken.com>
15188
15189 * bindings.el: Add advertised binding for set-mark-command
15190 (Bug#5772).
15191
8bdfa064
CY
151922011-07-14 Chong Yidong <cyd@stupidchicken.com>
15193
15194 * bindings.el (mode-line-other-buffer):
15195 * bookmark.el (bookmark-bmenu-2-window):
15196 * bs.el (bs-cycle-next, bs-cycle-previous):
15197 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15198 switch-to-buffer.
15199
15200 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15201 Delete.
8bdfa064 15202
5eba16a3
JB
152032011-07-14 Juanma Barranquero <lekktu@gmail.com>
15204
15205 * follow.el (follow-debug-message, follow-redisplay):
15206 * jka-cmpr-hook.el (with-auto-compression-mode):
15207 Fix typos in docstrings.
15208
15853710
LMI
152092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15210
a28e4607
LMI
15211 * subr.el (with-silent-modifications): Clarify somewhat what the
15212 macro inhibits (bug#6525).
15213
15853710
LMI
15214 * simple.el (eval-expression): Note what it does if called
15215 interactively (bug#6495).
15216
bee0fcef
CY
152172011-07-13 Chong Yidong <cyd@stupidchicken.com>
15218
b796c9b7
SM
15219 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15220 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15221
15222 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15223 Remove switch-to-buffer.
15224
58274504
LMI
152252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15226
bd2fcc8d
LMI
15227 * files.el (make-directory): Clarify that an error will be raised
15228 if there's an error (bug#6397).
15229
0f04b32c
LMI
15230 * startup.el (initial-buffer-choice): Add `none' as a choice
15231 (bug#6234).
15232
465c5fc8
LMI
15233 * subr.el (add-hook): Clarify section about buffer-local hooks
15234 (bug#6218).
15235
58274504
LMI
15236 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15237
bead9a43
JB
152382011-07-13 Juanma Barranquero <lekktu@gmail.com>
15239
15240 * tabify.el (untabify): Preserve the current column so that point
15241 doesn't move (bug#6032).
15242
3af98a7b
LMI
152432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15244
b796c9b7
SM
15245 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15246 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15247
6240145a
GM
152482011-07-13 Glenn Morris <rgm@gnu.org>
15249
15250 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15251 (dired-insert-directory): Give a message the first time
15252 if ls is found not to support --dired.
15253
1d8c2ccc
LMI
152542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15255
15256 * simple.el (toggle-truncate-lines): Clarify what is toggled
15257 (bug#5580). Text by Drew Adams.
15258
5fc4038e
CY
152592011-07-13 Chong Yidong <cyd@stupidchicken.com>
15260
15261 * simple.el (blink-matching-open): Make the error message from the
15262 last change less verbose.
15263
bf6012e5
DN
152642011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15265
15266 * font-lock.el (font-lock-comment-face): Use the high contrast
15267 "yellow" color for font-lock-comment-face on low color terminals
15268 using a dark background color (bug#4221).
15269
343c3b5a
LMI
152702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15271
7e9505c5
LMI
15272 * dired.el (dired-insert-set-properties): Make the doc string
15273 reflect what it does now (bug#5325).
15274
c26fdcf5
LMI
15275 * simple.el (blink-matching-open): Say that we were unable to find
15276 the match within the limit, if we're limited (bug#5122).
15277
bb388cc5
LMI
15278 * international/mule-cmds.el (prefer-coding-system): Add an
15279 example (bug#4869).
15280
343c3b5a
LMI
15281 * progmodes/etags.el (tags-search): Document `file-list-form'
15282 (bug#4731).
15283
2a517d45
LM
152842011-07-13 Lawrence Mitchell <wence@gmx.li>
15285
15286 * net/browse-url.el (browse-url-default-browser)
15287 (browse-url-browser-function): Make the default browser choice a
15288 bit more logical (bug#4300). Also clean up the doc string.
15289
b6c78ef2
JB
152902011-07-13 Juanma Barranquero <lekktu@gmail.com>
15291
15292 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15293 binary endings (bug#4440).
15294
1c4dd947
LMI
152952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15296
a2014063
LMI
15297 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15298 which can be pretty annoying (bug#8971).
15299
9c9c2d88
LMI
15300 * jka-compr.el (jka-compr-verbose): New variable, and use
15301 throughout (bug#8971).
15302
1c4dd947
LMI
15303 * info.el (Info-find-file): Fall back on the installation
15304 directory if we can't find the info node anywhere else.
15305
a1c9f41b
SO
153062011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15307
15308 * vc/vc.el (vc-revert-file):
15309 Don't set file time-stamp in the past. (Bug#5181)
15310
536f3d36
LMI
153112011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15312
7152b011
LMI
15313 * files.el (after-find-file): Give a better error message when
15314 trying to find a symlink that points to a file that doesn't exist
15315 (bug#4398).
15316
536f3d36
LMI
15317 * progmodes/cc-vars.el: Remove (probably) misleading comment
15318 (bug#4396).
15319
460c0fba
JB
153202011-07-12 Johan Bockgård <bojohan@gnu.org>
15321
15322 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15323
7a6bda45
CY
153242011-07-12 Chong Yidong <cyd@stupidchicken.com>
15325
15326 * mouse-sel.el: Hack restoring functionality, while keeping
15327 compatibility with 2010-07-03 changes to mouse selection.
15328 (mouse-sel-primary-overlay): New var.
15329 (mouse-sel-selection-alist): Use it.
15330 (mouse-sel-mode): Doc fix; remove points that are default features
15331 of mouse.el.
15332
c79598ef
JB
153332011-07-12 Johan Bockgård <bojohan@gnu.org>
15334
15335 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15336 Fix previous fix (bug#2490).
15337
ff8be6ef
RW
153382011-07-12 Roland Winkler <winkler@gnu.org>
15339
b796c9b7
SM
15340 * textmodes/bibtex.el (bibtex-initialize):
15341 Use pop-to-buffer-same-window.
ff8be6ef
RW
15342 (bibtex-search-entries): Fix interactive call.
15343
296ba3ee
LMI
153442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15345
f5242a02 15346 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15347 Fontise bytecomp Error lines more correctly (bug#2490).
15348 Fix suggested by Johan Bockgård.
f5242a02 15349
296ba3ee
LMI
15350 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15351
15352 * dired-x.el (dired-guess-default): Use `delete-dups'.
15353
f69fd0d2
CY
153542011-07-12 Chong Yidong <cyd@stupidchicken.com>
15355
15356 * dired.el (dired-mark-prompt):
15357 * dired-aux.el (dired-read-shell-command): Doc fix.
15358
eab5dc07
LMI
153592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15360
b796c9b7
SM
15361 * mail/sendmail.el (sendmail-query-once):
15362 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15363 emacs -Q.
15364
15365 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15366
eab5dc07
LMI
15367 * cus-edit.el (custom-file): Take an optional no-error variable.
15368 (customize-save-variable): Set the variable, and give a warning if
15369 running under "emacs -q".
15370
a1e65d42
JB
153712011-07-11 Juanma Barranquero <lekktu@gmail.com>
15372
15373 * loadhist.el (unload-feature-special-hooks):
15374 Add `auto-coding-functions', `fill-nobreak-predicate' and
15375 `find-directory-functions' (bug#5327).
15376
1d52da10
LMI
153772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15378
be958f1d
LMI
15379 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15380
5bedb26c
LMI
15381 * cus-edit.el (custom-guess-name-alist): -alist variables should
15382 use the `alist' type (bug#3120). Suggested by Drew Adams.
15383
1d52da10
LMI
15384 * printing.el: Add documentation to all the `pr-toggle-' commands.
15385
cd394be1 153862011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15387
15388 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15389 backends where it makes sense (bug#2623).
15390
dcc88d8a
LMI
153912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15392
c3de9feb
LMI
15393 * dired-x.el (dired-guess-default): Remove duplicate shell command
15394 entries (bug#2028).
8a93078b 15395 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15396 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15397
dcc88d8a
LMI
15398 * subr.el (remove-duplicates): New conveniency function.
15399
505e3645
LMI
154002011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15401
15402 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15403 (bug#1526).
15404
154052011-07-10 Martin Rudalics <rudalics@gmx.at>
15406
15407 * window.el (display-buffer-normalize-default): Don't invert
15408 meaning of even-window-heights. Reported by Eli Zaretskii
15409 <eliz@gnu.org>.
15410
455e4fa1
BR
154112011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15412
15413 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15414
8e0bc3e9
CY
154152011-07-10 Chong Yidong <cyd@stupidchicken.com>
15416
15417 * window.el (display-buffer): Fix arguments to
15418 display-buffer-reuse-window in last change.
15419
fa7c3228
CY
15420 * faces.el (link): Use a less saturated blue on light backgrounds.
15421
15422 * startup.el (fancy-startup-text, fancy-about-text)
15423 (fancy-startup-tail): Use font-lock faces, for background safety.
15424
c0a7f300
BN
154252011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15426
b796c9b7
SM
15427 * emulation/viper-cmd.el (viper-change-state-to-vi):
15428 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15429
4dc2a129
MR
154302011-07-09 Martin Rudalics <rudalics@gmx.at>
15431
15432 * window.el (display-buffer-default-specifiers): Remove.
15433 (display-buffer-macro-specifiers): Remove default specifiers.
15434 (display-buffer-alist): Default to nil.
b796c9b7 15435 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15436 (display-buffer-pop-up-window): Allow splitting internal
15437 windows. Check whether a live window was created.
15438 (display-buffer-other-window-means-other-frame)
15439 (display-buffer-normalize-arguments): Rename to
15440 display-buffer-normalize-argument and rewrite. Set the
15441 other-window specifier.
15442 (display-buffer-normalize-special): New function.
15443 (display-buffer-normalize-options): Rename to
15444 display-buffer-normalize-default and rewrite.
15445 (display-buffer-normalize-options-inhibit): Remove.
15446 (display-buffer-normalize-specifiers): Rewrite.
15447 (display-buffer): Process other-window specifier and call
15448 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15449 more faithfully.
b796c9b7 15450 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15451 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15452 (display-buffer-in-window, display-buffer-alist-set):
15453 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15454 <tassilo@member.fsf.org>.
15455
2d43b8c9
LL
154562011-07-09 Leo Liu <sdl.web@gmail.com>
15457
15458 * register.el (insert-register): Restore accidental change on
15459 2011-06-26. (Bug#9028)
15460
7f9b7c53
GM
154612011-07-09 Glenn Morris <rgm@gnu.org>
15462
15463 * subr.el (remq): Handle the empty list. (Bug#9024)
15464
f042cfd8
AS
154652011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15466
15467 * mail/sendmail.el (send-mail-function): No longer delay custom
15468 initialization.
15469 * custom.el (custom-initialize-delay): Doc fix.
15470
856b2f11
SM
154712011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15472
15473 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15474
afae1d68
MA
154752011-07-08 Michael Albinus <michael.albinus@gmx.de>
15476
15477 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15478 human-friendly prompt.
15479
0757af94
SM
154802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15481
15482 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15483 provided by a particular plugin.
15484
d760b731
LMI
154852011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15486
15487 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15488 save customizations (with "emacs -Q"), just set the variable
15489 instead of erroring out.
15490
15491 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15492
cd79ce90
JL
154932011-07-08 Juri Linkov <juri@jurta.org>
15494
15495 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15496 (archive-zip-update-case): Use 7z if found by `executable-find'.
15497 The order of searching the available programs is the same as in
15498 `archive-zip-extract' (bug#8968).
15499
14cc04aa
CY
155002011-07-07 Chong Yidong <cyd@stupidchicken.com>
15501
15502 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15503 (menu-bar-options-menu): Tweak descriptions.
15504
0a1848ec
LMI
155052011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15506
15507 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15508 menu items into verb phrases (bug#1421). Also refill to fit under
15509 80 columns.
15510
f5bd0689
CY
155112011-07-07 Chong Yidong <cyd@stupidchicken.com>
15512
538e85c6
CY
15513 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15514 (Info-read-node-name): Doc fix (Bug#1084).
15515
f5bd0689
CY
15516 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15517 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15518 (end-of-sexp, beginning-of-sexp)
15519 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15520 (forward-symbol, forward-same-syntax, word-at-point)
15521 (sentence-at-point): Doc fix (Bug#1144).
15522
56ec5115
LMI
155232011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15524
f3f8e37f
LMI
15525 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15526 should cover it (bug#1281).
15527
0757af94 15528 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15529
e9fce1ac 15530 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15531 negotiation fails, then possibly try again with a non-encrypted
15532 connection (bug#9017).
15533
56ec5115
LMI
15534 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15535 be used.
15536
c2f9aec8
RS
155372011-07-07 Richard Stallman <rms@gnu.org>
15538
15539 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15540 property, and handle its changed format.
15541 Look for the correct line number.
15542 Use file's line contents (but not past first =) to find
15543 correct line in message.
15544
ef7b981d 155452011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15546
15547 * international/characters.el (build-unicode-category-table):
15548 Delete it.
0757af94 15549 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15550
0757af94 15551 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15552 to src/chartab.c.
15553 (get-char-code-property): Call unicode-property-table-internal to
15554 load a file. Call get-unicode-property-internal where necessary.
15555 (put-char-code-property): Call unicode-property-table-internal to
15556 load a file. Call put-unicode-property-internal where necessary.
15557 put-unicode-property-internal where necessary.
0757af94
SM
15558 (char-code-property-description):
15559 Call unicode-property-table-internal to load a file.
c805dec0
KH
15560
15561 * international/charprop.el:
15562 * international/uni-bidi.el:
15563 * international/uni-category.el:
15564 * international/uni-combining.el:
15565 * international/uni-comment.el:
15566 * international/uni-decimal.el:
15567 * international/uni-decomposition.el:
15568 * international/uni-digit.el:
15569 * international/uni-lowercase.el:
15570 * international/uni-mirrored.el:
15571 * international/uni-name.el:
15572 * international/uni-numeric.el:
15573 * international/uni-old-name.el:
15574 * international/uni-titlecase.el:
15575 * international/uni-uppercase.el: Regenerate.
15576
15577 * loadup.el: Load international/charprop.el before
15578 international/characters.
15579
e14b388a
CY
155802011-07-07 Chong Yidong <cyd@stupidchicken.com>
15581
15582 * window.el (next-buffer, previous-buffer): Signal an error if
15583 called from a minibuffer window.
15584
15585 * bindings.el: Revert 2011-07-04 change.
15586
354cf0ba
RS
155872011-07-06 Richard Stallman <rms@gnu.org>
15588
15589 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15590 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15591 Treat markers like ints.
15592 (rmail-mime-entity): Doc fix.
15593
a48868a7
LMI
155942011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15595
4906cd3d
LMI
15596 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15597 defcustom again for backwards compatibility.
15598
e0457abe
LMI
15599 * simple.el (shell-command-on-region): Fill.
15600
d67f7e1f
LMI
15601 * dired-aux.el (dired-kill-line): Add a doc string.
15602
fe204702
LMI
15603 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15604 to "\\sw\\|\\s_" (bug#358).
15605
a48868a7
LMI
15606 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15607 (dired-unmark-backward): Ditto.
15608 (dired-flag-backup-files): Ditto.
15609
15610 * dired-x.el (dired-mark-sexp): Ditto.
15611
aa8a705c
RS
156122011-07-06 Richard Stallman <rms@gnu.org>
15613
15614 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15615 (rmail-mime-entity): New arg TRUNCATED.
15616 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15617 New functions.
15618 (rmail-mime-save): Warn if entity is truncated.
15619 (rmail-mime-toggle-hidden): Likewise, for showing.
15620 (rmail-mime-process-multipart): Record when an entity is truncated.
15621
a9a936b9
RS
15622 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15623 if ENTITY is a string.
15624
1f2b92cb
LMI
156252011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15626
f4f73198 15627 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15628 of faces when `M-C-x'-ing their definitions (bug#8378).
15629 Also clean up the code slightly.
f4f73198 15630
12b16734 15631 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15632 because that makes the colors go away.
12b16734 15633
f0691d22
LMI
15634 * mail/sendmail.el (send-mail-function): Change the default to
15635 `sendmail-query-once'.
9e87df06 15636 (sendmail-query-once): Add an autoload cookie.
f0691d22 15637
1f2b92cb
LMI
15638 * net/network-stream.el (network-stream-open-starttls): Try using
15639 a plain connection even if the server offered STARTTLS, and we
15640 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15641 capability. This should make smtpmail.el work in slightly more
15642 configurations.
15643
1cdd2a1b
MA
156442011-07-06 Michael Albinus <michael.albinus@gmx.de>
15645
15646 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15647 New defun.
15648 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15649
fbcc67e2
MM
156502011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15651
15652 * progmodes/sql.el: Version 3.0
0757af94 15653 (sql-product-alist): Add product :completion-object,
fbcc67e2 15654 :completion-column, and :statement attributes.
0757af94 15655 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15656 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15657 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15658 ansi keywords.
15659 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15660 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15661 (sql-oracle-show-reserved-words): New function for development.
15662 (sql-product-font-lock): Simplify for source code buffers.
15663 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15664 New functions.
15665 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15666 (sql-mode-map): Add statement movement functions.
15667 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15668 New variable.
fbcc67e2
MM
15669 (sql-statement-regexp, sql-beginning-of-statement)
15670 (sql-end-of-statement, sql-signum): New functions.
0757af94 15671 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15672 (sql-show-sqli-buffer): Bug fix.
15673 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15674 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15675 with sql-interactive-mode.
15676 (sql-save-connection): Save buffer local settings.
0757af94 15677 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15678 (sql-product-interactive): Bug fix.
15679 (sql-preoutput-hold): New variable.
15680 (sql-interactive-remove-continuation-prompt): Bug fixes.
15681 (sql-debug-redirect): New variable.
15682 (sql-str-literal): New function.
15683 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15684 Redesign.
fbcc67e2
MM
15685 (sql-oracle-save-settings, sql-oracle-restore-settings)
15686 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15687 (sql-completion-object, sql-completion-column)
15688 (sql-completion-sqlbuf): New variables.
15689 (sql-build-completions-1, sql-build-completions)
15690 (sql-try-completion): New functions.
15691 (sql-read-table-name): Use them.
15692 (sql-contains-names): New buffer local variable.
15693 (sql-list-all, sql-list-table): Use it.
15694 (sql-oracle-completion-types): New variable.
15695 (sql-oracle-completion-object, sql-sqlite-completion-object)
15696 (sql-postgres-completion-object): New functions.
15697
d4eaeab1
GM
156982011-07-06 Glenn Morris <rgm@gnu.org>
15699
15700 * window.el (pop-to-buffer): Doc fix.
15701
322b7dab 157022011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15703
15704 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15705
322b7dab 157062011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15707
322b7dab 15708 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15709
322b7dab 15710 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15711
605dd5bf
CY
157122011-07-05 Chong Yidong <cyd@stupidchicken.com>
15713
15714 * button.el (button): Inherit from link face. Suggested by Dan
15715 Nicolaescu.
15716
7dbfa719
SM
157172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15718
3db614b0
SM
15719 * progmodes/gdb-mi.el: Fit in 80 columns.
15720 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15721 switch-to-buffer.
15722
7dbfa719
SM
15723 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15724 if imenu is simply not configured (bug#8941).
15725
919d884a
KM
157262011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15727
15728 * allout.el (allout-post-undo-hook): New allout outline-change
15729 event hook to signal undo activity.
15730 (allout-post-command-business): Run allout-post-undo-hook if an
15731 undo just occurred.
7dbfa719
SM
15732 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15733 * allout-widgets.el (allout-widgets-after-undo-function):
15734 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15735 in the vicinity of an undo.
15736 (allout-widgets-mode): Include allout-widgets-after-undo-function
15737 on the new allout-post-undo-hook.
15738
450a0f09
SM
157392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15740
15741 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15742 Let define-derived-mode define it.
15743 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15744 cycles of abbrev-table inheritance (bug#8998).
15745
2de69e00
RW
157462011-07-05 Roland Winkler <winkler@gnu.org>
15747
15748 * textmodes/bibtex.el: Add support for biblatex.
15749 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15750 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15751 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15752 (bibtex-entry-alist, bibtex-field-alist): New variables.
15753 (bibtex-entry-field-alist): Obsolete alias for
15754 bibtex-BibTeX-entry-alist.
15755 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15756 (bibtex-set-dialect): New command.
15757 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15758 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15759 Bind via bibtex-set-dialect.
2de69e00
RW
15760 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15761 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15762 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15763 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15764 Define via bibtex-set-dialect.
450a0f09
SM
15765 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15766 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15767 (bibtex-vec-push, bibtex-vec-incr): New functions.
15768 (bibtex-format-entry, bibtex-field-list)
15769 (bibtex-print-help-message, bibtex-validate)
15770 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15771
2dcdbdd9
SM
157722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15773
15774 * progmodes/compile.el (compilation-goto-locus):
15775 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15776 * bs.el (bs-cycle-next, bs-cycle-previous):
15777 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15778 * bindings.el (mode-line-other-buffer):
15779 * autoinsert.el (auto-insert):
15780 * arc-mode.el (archive-extract):
15781 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15782
b27640fe
JB
157832011-07-05 Juanma Barranquero <lekktu@gmail.com>
15784
15785 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15786 Fix check of `emacs-lock-unlockable-modes'.
15787 Coerce true values of `emacs-lock--try-unlocking' to t.
15788
53bbe3ad
JB
157892011-07-05 Juanma Barranquero <lekktu@gmail.com>
15790
15791 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15792 * emacs-lock.el: New file.
15793
1d3cdbc7
JD
157942011-07-05 Julien Danjou <julien@danjou.info>
15795
15796 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15797 than `boundp' to check if face is set.
15798
9173deec
JB
157992011-07-05 Juanma Barranquero <lekktu@gmail.com>
15800
15801 * register.el (registerv-make):
15802 * window.el (window-min-height): Fix typos in docstrings.
15803
869795d6
JD
158042011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15805
9173deec 15806 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15807 Update doc string.
15808
b768cdcd
JB
158092011-07-04 Juanma Barranquero <lekktu@gmail.com>
15810
15811 * server.el (server-execute): Catch quit and call
15812 `server-return-error' to pass the error back to emacsclient and
15813 close the connection (bug#8942).
15814
13aa217b
KM
158152011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15816
15817 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15818 insecure exception for current topic. Also note that auto-saves
15819 are handled differently.
15820
5d3385a0 15821 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15822 State variables for tracking auto-save inhibition situation.
15823
15824 (allout-write-contents-hook-handler): Rename from
15825 'allout-write-file-hook-handler', and describe how it depends on
15826 write-contents-functions sensitivity to non-nil value to prevent
15827 file write.
15828
15829 (allout-auto-save-hook-handler): Remove. auto-save does not check
15830 this in individual buffers, only in the starting buffer, so this
15831 is not the right way for us to inhibit auto-save in a buffer
15832 according to its condition.
15833
15834 (allout-mode): Use new allout-write-contents-hook-handler, and
15835 only with write-contents-functions. Remove auto-save provisions -
15836 they're implemented elsewhere.
15837
15838 (allout-before-change-handler): If undo is in progress, note that
15839 for attention of allout-post-command-business.
15840
15841 (allout-post-command-business): If the command we're following was
15842 an undo, check for change in the status of encrypted items and
15843 adjust auto-save inhibitions accordingly.
15844
15845 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15846 according to whether there are or aren't any plain-text topics
15847 pending encryption.
15848
2dcdbdd9 15849 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15850 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15851 if there are plain-text topics pending encryption.
13aa217b
KM
15852
15853 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15854 buffer-saved-size and some allout state to not inhibit auto-saves
15855 if there are no longer any plain-text topics pending encryption.
15856
0757af94
SM
15857 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15858 No longer provide for exemption of the current topic.
13aa217b 15859
ac89b32c
JL
158602011-07-04 Juri Linkov <juri@jurta.org>
15861
15862 Add 7z operations to delete and save changed members (bug#8968).
15863 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15864 New defcustoms.
15865 (archive-7z-write-file-member): New function.
15866 (archive-7z-summarize): Fix the number of dashes in the
15867 listing output.
15868
8fa39615
SM
158692011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15872 (bug#8958).
15873
2f11b3f1
CY
158742011-07-04 Chong Yidong <cyd@stupidchicken.com>
15875
d66fef2b
CY
15876 * bindings.el: Ignore next-buffer and previous-buffer in
15877 minibuffer-local-map.
15878
2f11b3f1
CY
15879 * font-lock.el (font-lock-builtin-face): Change light background
15880 color to dark slate blue (Bug#6693).
15881
f932a347
WD
158822011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15883
15884 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15885
c8af70e1
SM
158862011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15887
15888 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15889 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15890 Add switch-to-buffer.
15891
f158badc
LMI
158922011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15893
15894 * isearch.el (isearch-search-fun-function): Clarify further the
15895 meaning of the function returned.
15896
6d95bd46
MA
158972011-07-04 Michael Albinus <michael.albinus@gmx.de>
15898
15899 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15900
15901 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15902 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15903 Use it.
15904 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15905 `tramp-default-remote-path' does not exist.
15906 (tramp-send-command-and-read): New optional argument NOERROR.
15907 (tramp-open-connection-setup-interactive-shell)
15908 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15909 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15910 (tramp-process-sentinel): Flush also process' connection property.
15911 (tramp-sh-handle-start-file-process): Do not set process
15912 sentinel. It is done now ...
15913 (tramp-maybe-open-connection): ... here. (Bug#8929)
15914
909e6b67
MK
159152011-07-04 MON KEY <monkey@sandpframing.com>
15916
15917 * play/animate.el (animate-string): Doc fixes and allow changing
15918 the buffer name (bug#5417).
15919
159202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15921
c8af70e1 15922 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15923
f34755dc
PE
159242011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15925
396cec72
PE
15926 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15927 This is simpler and helps future-proof the code.
15928 (timer-until): Use time-subtract and float-time.
08235028 15929 (timer--time-less-p): Use time-less-p.
f34755dc 15930
56e6cc31
JB
159312011-07-04 Juanma Barranquero <lekktu@gmail.com>
15932
3abb79e5
JB
15933 * type-break.el (timep): Use the value of `float-time' to avoid a
15934 byte-compiler warning.
15935
56e6cc31
JB
15936 * server.el (server-eval-and-print): Return any result, even nil.
15937
7b9430b4
PE
159382011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15939
15940 * type-break.el: Accept time formats that the builtins accept.
15941 (timep, type-break-time-difference): Accept any format that
15942 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15943 This is simpler and helps future-proof the code.
15944 (type-break-time-difference): Round rather than ignoring
15945 subseconds components.
15946
3034e9e7
LMI
159472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15948
15949 * info.el (Info-apropos-matches): Make non-interactive, since it
15950 doesn't seem to do anything useful as a command (bug#8829).
15951
1485f4c0
CY
159522011-07-03 Chong Yidong <cyd@stupidchicken.com>
15953
15954 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15955 Move from faces.el.
1485f4c0
CY
15956 (frame-default-terminal-background): New function.
15957
15958 * custom.el (custom-push-theme): Don't record faces in `changed'
15959 theme; this doesn't work correctly for per-frame face settings.
15960 (disable-theme): Use face-set-after-frame-default to reset faces.
15961 (custom--frame-color-default): New function.
15962
9fa3dd45
LMI
159632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15964
c8af70e1 15965 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15966 (bug#8769).
15967
6cbbc20c
KR
159682011-03-29 Kevin Ryde <user42@zip.com.au>
15969
15970 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15971 `perl-Test2' extend to match possible "fail #N" rep count
15972 (bug#8377).
15973
c7f98048
LMI
159742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15975
65676592
LMI
15976 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15977 `smtpmail-via-smtp' now returns the error instead of nil.
15978
c7f98048
LMI
15979 * isearch.el (isearch-search-fun-function): Clarify the doc string
15980 (bug#8101).
15981
56e6cc31 159822011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15983
15984 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15985 unnecessary spaces (bug#8987).
15986
2b216704
LMI
159872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15988
15989 * net/network-stream.el (open-network-stream): Use the
15990 :end-of-capability command thoughout.
15991
159922011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15993
15994 * net/network-stream.el (open-network-stream): Add the
15995 :end-of-capability command parameter, used by pop3.el.
15996
36adf6ce
LMI
159972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15998
1ca0da0e
LMI
15999 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16000
fc00f69c
LMI
16001 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16002 for list)" (bug#6475).
16003
28fd8759 16004 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16005 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16006 an error (bug#6297).
16007
0dd8b6da
LMI
16008 * man.el (Man-reference-regexp): Allow matching possible
16009 word-wrapped references (bug#6289).
16010
ce1438d6
LMI
16011 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16012 for consistency with the other vc buffers (bug#6197).
16013 (vc-checkin): Ditto.
16014
16015 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16016
36adf6ce
LMI
16017 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16018
e83cc1f7
LMI
160192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16020
8a20ca4c
LMI
16021 * custom.el (defcustom): Clarify that :set is only used in the
16022 Customize user interface (bug#6089).
16023
83319045
LMI
16024 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16025 associated with a file, refuse to run instead of erroring out
16026 (bug#6084).
16027
a8392169
LMI
16028 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16029 the doc string, since it appears that using `fill-column' always
16030 controls the width (bug#7845).
16031
e83cc1f7
LMI
16032 * simple.el (shell-command-on-region): Say where the error output
16033 went if `shell-command-default-error-buffer' is set (bug#6857).
16034
e47ca23b
KM
160352011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16036
16037 * allout.el (allout-yank-processing): Adjust cursor position for
16038 backwards-deleted space.
16039
16040 (allout-rebullet-heading): Register changes with
16041 allout-exposure-changed-hook, so the modified topic is properly
16042 decorated.
16043
5cf56143
LMI
160442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16045
08549772
LMI
16046 * minibuffer.el (completion-in-region): Document PREDICATE
16047 (bug#7136).
16048
48e96771
LMI
16049 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16050 of keyword/argument pairs (bug#6904).
16051
c8af70e1
SM
16052 * replace.el (multi-occur):
16053 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16054
e17d05e2
LMI
160552011-07-02 Drew Adams <drew.adams@oracle.com>
16056
16057 * dired.el (dired-mark-if): Make the message about whether it's
16058 marking or unmarking clearer (bug#8523).
16059
063b0e45
LMI
160602011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16061
16062 * disp-table.el (display-table-print-array): New function.
16063 (describe-display-table): Use it to print the vectors more pretty
16064 (Bug#8859).
16065
28545e04
MR
160662011-07-02 Martin Rudalics <rudalics@gmx.at>
16067
16068 * window.el (window-state-get-1): Don't assign clone numbers.
16069 Add clone-of item to list of window parameters.
16070 (window-state-put-2): Don't process clone numbers.
16071 (display-buffer-alist): Fix doc-string.
16072
3349e122
SM
160732011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16074
16075 * subr.el (remq): Don't allocate if it's not needed.
16076 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16077 (keymap--merge-bindings): New functions.
16078 (keymap-canonicalize): Use them to refine the canonicalization.
16079 * minibuffer.el (minibuffer-local-completion-map)
16080 (minibuffer-local-must-match-map): Move initialization from C.
16081 (minibuffer-local-filename-completion-map): Move initialization from C;
16082 don't inherit from anything here.
16083 (minibuffer-local-filename-must-match-map): Make obsolete.
16084 (completing-read-default): Use make-composed-keymap to combine
16085 minibuffer-local-filename-completion-map with either
16086 minibuffer-local-must-match-map or
16087 minibuffer-local-filename-completion-map.
16088
d224ac83
GM
160892011-07-01 Glenn Morris <rgm@gnu.org>
16090
3de63bf8
GM
16091 * type-break.el (type-break-time-sum): Use dolist.
16092
d224ac83
GM
16093 * textmodes/flyspell.el (flyspell-word-search-backward):
16094 Replace CL function.
16095
1a1e3f32
SM
160962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16097
fe3f64d5
SM
16098 * mouse.el (mouse--strip-first-event): New function.
16099 (function-key-map): Use it to map fringe clicks to normal clicks
16100 by default.
16101
eb604e34
SM
16102 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16103 (vc-bzr-revision-completion-table): Add support for annotate and date.
16104
1a1e3f32
SM
16105 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16106 inherit from parent.
16107
5bd35902
LMI
161082011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16109
ace6c69c 16110 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16111 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16112
191e2bed
LMI
16113 * dired.el (dired-mode): Fix up the doc string as suggested by
16114 Drew Adams (bug#8817).
16115
5bd35902
LMI
16116 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16117 cookie, since the manual says that it should be possible to add
16118 this function to `find-file-hook' (bug#8709).
16119
eee8207a
TZ
161202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16121
16122 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16123 here. Noted Ted Zlatanov as the maintainer.
16124 (cfengine-common-settings, cfengine-common-syntax): New functions
16125 to set up common things between `cfengine-mode' and
16126 `cfengine3-mode'.
16127 (cfengine3-mode): New mode.
16128 (cfengine3-defuns cfengine3-defuns-regex
16129 (cfengine3-class-selector-regex cfengine3-category-regex)
16130 (cfengine3-vartypes cfengine3-font-lock-keywords)
16131 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16132 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16133
36b148cf
MA
161342011-07-01 Michael Albinus <michael.albinus@gmx.de>
16135
16136 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16137
16138 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16139
0bf4ba9a
MR
161402011-07-01 Martin Rudalics <rudalics@gmx.at>
16141
16142 * window.el (same-window-buffer-names, same-window-regexps)
16143 (same-window-p, special-display-frame-alist)
16144 (special-display-popup-frame, special-display-function)
16145 (special-display-buffer-names, special-display-regexps)
16146 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16147 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16148 (split-window-preferred-function, split-height-threshold)
16149 (split-width-threshold, even-window-heights)
16150 (display-buffer-mark-dedicated, window-splittable-p)
16151 (split-window-sensibly, window-safely-shrinkable-p):
16152 Un-obsolete.
16153 (display-buffer): Don't spread args with function specifier
16154 because special-display-popup-frame won't like it.
16155
35837f51
PE
161562011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16157
d0672f86
PE
16158 Time-stamp simplifications and fixes.
16159 These improve accuracy slightly, and future-proof the code
16160 against some potential changes to current-time format.
16161
b9444d97
PE
16162 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16163 by using time-since and float-time.
16164
0ef923dc
PE
16165 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16166 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16167 + NNN microseconds".
16168
2f81380d
PE
16169 * type-break.el (type-break-time-sum): Rewrite using time-add.
16170
845b5c3e
PE
16171 * play/hanoi.el (hanoi-current-time-float): Remove.
16172 All uses replaced by float-time.
16173
ee6f1be0
PE
16174 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16175 This yields a more-accurate answer.
16176 (rng-time-to-float): Remove; no longer needed.
16177
fe955043
PE
16178 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16179
5777162a
PE
16180 * calendar/timeclock.el (timeclock-seconds-to-time):
16181 Defalias to seconds-to-time, since they're the same thing.
16182
3103f8b6 16183 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16184 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16185 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16186
0e61a35f
SM
161872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * window.el (bury-buffer): Don't iconify the only frame.
16190 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16191 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16192
ddd63a1e
CY
161932011-07-01 Chong Yidong <cyd@stupidchicken.com>
16194
0e61a35f
SM
16195 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16196 Add mouse-yank-primary.
ddd63a1e 16197
055f4923
TZ
161982011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16199
16200 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16201
6a2fb145
SM
162022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16203
16204 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16205 (find-library-name): Use it to find relative load names when provided
16206 absolute file name (bug#8803).
16207
fd4983f2
LMI
162082011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16209
887d14ad
LMI
16210 * textmodes/flyspell.el (flyspell-word): Consider words that
16211 differ only in case as potential doublons (bug#5687).
16212
c53dc7fc
LMI
16213 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16214 Remove two rather uninteresting debugging-like messages to make
16215 debbugs.el more silent.
16216
fd4983f2
LMI
16217 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16218 a password-like phrase.
16219
7a71b18d 162202011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16221
16222 * progmodes/cc-guess.el: New file.
16223
6a2fb145 16224 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16225
16226 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16227 derived from `c-basic-common-init'.
16228
16229 * progmodes/cc-mode.el (top-level): Require cc-guess.
16230 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16231
1fa280a3
LM
162322011-06-30 Lawrence Mitchell <wence@gmx.li>
16233
16234 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16235
e6597158
AM
162362011-06-30 Alan Mackenzie <acm@muc.de>
16237
1fa280a3
LM
16238 * progmodes/cc-engine.el (c-guess-continued-construct):
16239 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16240 lock is disabled. Name this case as "CASE G".
16241
68ba37fb
KM
162422011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16243
16244 * allout.el (allout-yank-processing): Fix injection of extra space
16245 between bullet and non-whitespace character in first topic when
16246 pasting, ensuring that the actual spacing in the pasted topic
16247 following the bullet char is preserved. This extra space was
16248 causing pasted encrypted topics to get a decrypted status even
16249 when the content was actually still encrypted. Now the decryption
16250 status from before the paste is preserved.
16251
16252 (allout-flag-region): Set all allout overlays so they evaporate
16253 when reduced to zero length (evanescent), to prevent overlay
16254 leakage.
16255
887a0b34
GM
162562011-06-30 Glenn Morris <rgm@gnu.org>
16257
94b9acce
GM
16258 * w32-fns.el (w32-charset-info-alist): Declare.
16259
1d9b46d4
GM
16260 * find-dired.el (find-grep-options): Simplify.
16261
cc232200
GM
16262 * term/ns-win.el (ns-set-resource): Declare.
16263
28e77c46
GM
16264 * ses.el (row, col): Declare dynamic variables honestly.
16265
887a0b34
GM
16266 * textmodes/reftex-parse.el (index-tags): Declare.
16267
658d8eb8
CY
162682011-06-30 Chong Yidong <cyd@stupidchicken.com>
16269
16270 * cus-edit.el (customize-push-and-save): New function.
16271
16272 * files.el (hack-local-variables-confirm): Use it.
16273
1fa280a3
LM
16274 * custom.el (load-theme): New arg NO-CONFIRM.
16275 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16276 (custom-enabled-themes): Doc fix.
16277
16278 * cus-theme.el (customize-create-theme)
16279 (custom-theme-merge-theme): Callers to load-theme changed.
16280
bb617717
LMI
162812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16282
d61bdd5d
LMI
16283 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16284 short URLs have at least one dot in them (bug #7614).
16285
bb617717
LMI
16286 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16287 nil, because using a pty is apparently too slow (bug #895).
16288
2f31f37a
LMI
162892011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16290
16291 * mail/sendmail.el (sendmail-query-once): New function.
16292 (sendmail-query-once-function): New variable.
16293
3076b24e
GM
162942011-06-29 Glenn Morris <rgm@gnu.org>
16295
faf2a174
GM
16296 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16297
3076b24e
GM
16298 * ses.el (top-level): Require cl when compiling.
16299 (ses-set-localvars): Fix error statement.
16300 Call it at compile time to silence a storm of warnings.
16301
5386012d
MR
163022011-06-29 Martin Rudalics <rudalics@gmx.at>
16303
16304 * window.el (normalize-live-buffer): Rename to
16305 window-normalize-buffer.
16306 (normalize-live-frame): Rename to window-normalize-frame.
16307 (normalize-any-window): Rename to window-normalize-any-window.
16308 (normalize-live-window): Rename to window-normalize-live-window.
16309 (make-window-atom): Rename to window-make-atom.
16310 (window-resize-reset): Rename to window--resize-reset.
16311 (window-resize-reset-1): Rename to window--resize-reset-1.
16312 (resize-mini-window): Rename to window--resize-mini-window.
16313 (resize-subwindows-skip-p): Rename to
16314 window--resize-subwindows-skip-p.
16315 (resize-subwindows-normal): Rename to
16316 window--resize-subwindows-normal.
16317 (resize-subwindows): Rename to window--resize-subwindows.
16318 (resize-other-windows): Rename to window--resize-siblings.
16319 (resize-this-window): Rename to window--resize-this-window.
16320 (resize-root-window): Rename to window--resize-root-window.
16321 (resize-root-window-vertically): Rename to
16322 window--resize-root-window-vertically.
16323 (normalize-buffer-to-display): Rename to
16324 window-normalize-buffer-to-display.
16325 (normalize-buffer-to-switch-to): Rename to
16326 window-normalize-buffer-to-switch-to.
16327 Correspondingly update all callers of the functions listed
16328 above.
16329 (display-buffer-alist, display-buffer-normalize-arguments)
16330 (display-buffer-normalize-options, display-buffer)
16331 (display-buffer-alist-set): Use "function" instead of
16332 "fun-with-args".
16333
1176868d
CY
163342011-06-28 Chong Yidong <cyd@stupidchicken.com>
16335
16336 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16337 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16338 debbugs.gnu.org. Mention acknowledgment email.
16339
20a7a65f
LMI
163402011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16341
16342 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16343 buffer multibyteness, since it shouldn't matter.
16344
5f45cca5
MR
163452011-06-28 Martin Rudalics <rudalics@gmx.at>
16346
16347 * window.el (display-buffer-in-side-window): Handle dedicated
16348 windows as in display-buffer-reuse-window.
16349 (display-buffer-normalize-alist): Use value of override
16350 specifier.
16351 (display-buffer-normalize-specifiers): Use value of
16352 other-window-means-other-frame specifier.
16353 (display-buffer-alist): Rewrite some texts in widgets.
16354 (display-buffer): Spread arguments when calling function
16355 specified by fun-with-args.
16356
ad85fe1f
DD
163572011-06-28 Deniz Dogan <deniz@dogan.se>
16358
1fa280a3
LM
16359 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16360 Unnest `let'.
da68c4c8 16361
ad85fe1f
DD
16362 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16363 selectors (Bug#5732).
ec49bd31 16364 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16365
a08cc025
JA
163662011-06-27 Jari Aalto <jari.aalto@cante.net>
16367
16368 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16369 (eshell-ls-date-format): New defcustom.
16370 (eshell-ls-file): Use it.
16371
e2b551c5
SM
163722011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16373
16374 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16375
8982b231
KY
163762011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16377
16378 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16379 (ange-ftp-make-tmp-name): New arg.
16380 (ange-ftp-file-local-copy): Use it.
16381
36c9fa27
J
163822011-06-27 Jambunathan K <kjambunathan@gmail.com>
16383
16384 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16385 no-conversion (Bug#8870).
16386
d68443dc
MR
163872011-06-27 Martin Rudalics <rudalics@gmx.at>
16388
16389 * window.el (window-right, window-left, window-child)
16390 (window-child-count, window-last-child)
16391 (window-iso-combination-p, walk-window-tree-1)
16392 (window-atom-check-1, window-tree-1, delete-window)
16393 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16394 new naming conventions - window-vchild, window-hchild,
16395 window-next and window-prev are now called window-top-child,
16396 window-left-child, window-next-sibling and window-prev-sibling
16397 respectively.
d615d6d2
MR
16398 (resize-window-reset): Rename to window-resize-reset.
16399 (resize-window-reset-1): Rename to window-resize-reset-1.
16400 (resize-window): Rename to window-resize.
16401 (window-min-height, window-min-width)
16402 (resize-mini-window, resize-this-window, resize-root-window)
16403 (resize-root-window-vertically, adjust-window-trailing-edge)
16404 (enlarge-window, shrink-window, maximize-window)
16405 (minimize-window, delete-window, quit-restore-window)
16406 (split-window, balance-windows, balance-windows-area-adjust)
16407 (balance-windows-area, window-state-put-2)
16408 (display-buffer-even-window-sizes, display-buffer-set-height)
16409 (display-buffer-set-width, set-window-text-height)
16410 (fit-window-to-buffer): Rename all "resize-window" prefixed
16411 calls to use the "window-resize" prefix convention.
16412 (display-buffer-alist): Fix symbol for label specifier.
16413 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16414 corresponding specifier.
16415 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16416
b6458526
VB
164172011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16418
16419 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16420 convention.
16421 (ses-call-printer): Does not pass an empty string to formatter when the
16422 cell is empty to keep from barking printer Calc math-format-value.
16423
d31fd9ac
RS
164242011-06-27 Richard Stallman <rms@gnu.org>
16425
43d5bf84
RS
16426 * battery.el (battery-mode-line-limit): New variable.
16427 (battery-update): Handle it.
16428
d31fd9ac
RS
16429 * mail/rmailmm.el (rmail-mime-process-multipart):
16430 Handle truncated messages.
16431
819a6054
GM
164322011-06-27 Glenn Morris <rgm@gnu.org>
16433
16434 * progmodes/flymake.el (flymake-err-line-patterns):
16435 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16436
cedc73f2
VB
164372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16438
819a6054 16439 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16440 (ses--clean-!, ses--clean-_): New functions.
16441 (ses-range): Add configurability of readout order, and conversion
16442 to Calc vector.
16443
5e5d49b6
VB
16444 * ses.el (ses-repair-cell-reference-all): New function.
16445 (ses-cell-symbol): Set macro as safe, so that it can be used in
16446 formulas.
16447
56e6cc31 16448 * ses.el: Update cycle detection algorithm.
90ca8b49 16449 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16450 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16451 (ses-set-localvars): New function.
16452 (ses-make-cell): Add property-list as a cell element.
16453 (ses-cell-property-get-fun, ses-cell-property-get)
16454 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16455 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16456 New functions.
90ca8b49
VB
16457 (ses-cell-property-set, ses-cell-property-pop)
16458 (ses-cell-property-get-handle): New macro.
16459 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16460 New aliases, used for code readability.
16461 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16462 cycle detection.
16463 (ses-self-reference-early-detection): New defcustom.
fac916bf 16464 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16465 (ses-mode): Use ses-set-localvars.
16466 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16467 before lauching the update processing.
16468 (ses-initialize-Dijkstra-attempt): New function.
16469 (ses-recalculate-cell): Update for cycle detection based on
16470 Dijkstra algorithm.
16471
2bb63e81
VB
16472 * ses.el: Fix commenting and indenting convention.
16473
c9d29fb8
SM
164742011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16475
16476 * bs.el (bs-cycle-next): Complete last change.
16477
d8e4b68b
JB
164782011-06-27 Drew Adams <drew.adams@oracle.com>
16479
16480 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16481
40098786
LMI
164822011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16483
c9d29fb8
SM
16484 * net/network-stream.el (network-stream-open-starttls):
16485 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16486 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16487
40098786
LMI
16488 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16489 to binary to possibly avoid line encoding issues on Windows (among
16490 other things).
16491
468d09d4
LMI
164922011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16493
16494 * net/network-stream.el (open-network-stream): Return an :error
16495 saying what the problem was, if possible.
16496
16497 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16498 server.
16499
16500 * net/network-stream.el (network-stream-open-starttls): If we
16501 wanted to use STARTTLS, and the server offered it, but we weren't
16502 able to because we had no STARTTLS support, then close the connection.
16503 (open-network-stream): Return an :error element, if present.
16504
16f07dd7
CY
165052011-06-26 Chong Yidong <cyd@stupidchicken.com>
16506
88821ca0
CY
16507 * hl-line.el (hl-line-sticky-flag): Doc fix.
16508 (global-hl-line-sticky-flag): New option (Bug#8323).
16509 (global-hl-line-highlight): Obey it.
16510
16f07dd7
CY
16511 * vc/vc.el (vc-revert-show-diff): Default to t.
16512
6b5ccddf
KM
165132011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16514
c9d29fb8
SM
16515 * allout-widgets.el (allout-widgets-post-command-business):
16516 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16517 undecorated when an isearch is continued past, and isearch
16518 automatically collapses them. This leads to "widget leaks", where
16519 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16520 hidden widgets can slow down cursor travel, substantially.
16521 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16522 so we're doing without this nicety.
16523
16524 (allout-widgets-tally-string): Don't try to do a hash-table-count
16525 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16526 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16527 *Messages* when allout-widgets-maintain-tally is t.
16528
355f2e07
MR
165292011-06-26 Martin Rudalics <rudalics@gmx.at>
16530
16531 * window.el (display-buffer-normalize-argument): Rename to
16532 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16533 LABEL argument. Respect special-display-function when popping up
16534 a new frame. Fix code searching for a window showing the buffer
16535 on another frame.
c9d29fb8
SM
16536 (display-buffer-normalize-specifiers):
16537 Call display-buffer-normalize-arguments.
355f2e07
MR
16538 (display-buffer-in-window): Don't undedicate the window if its
16539 buffer remains the same.
16540 Reported by Drew Adams <drew.adams@oracle.com>.
16541 (display-buffer-alist): Add choice for same-window macro
16542 specfier.
16543 (display-buffer): Mention special meaning of LABEL argument in
16544 doc-string. Fix quoting. Don't pop up a new frame even as
16545 fallback.
16546
7ca8fc42
JB
165472011-06-26 Juanma Barranquero <lekktu@gmail.com>
16548
16549 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16550 avoid deleting the current window in some cases (bug#8911).
16551
bc312254
AS
165522011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16553
16554 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16555 (Bug#8934)
16556
2db18f3f
LMI
165572011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16558
c9d29fb8
SM
16559 * net/network-stream.el (network-stream-open-starttls):
16560 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16561 (network-stream-open-tls): Ditto.
16562
6302e0d3
LL
165632011-06-26 Leo Liu <sdl.web@gmail.com>
16564
16565 * register.el (registerv): New struct.
16566 (registerv-make): New function.
c9d29fb8
SM
16567 (jump-to-register, describe-register-1, insert-register):
16568 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16569 struct. (Bug#8415)
16570
5fdd4046
CY
165712011-06-26 Chong Yidong <cyd@stupidchicken.com>
16572
2afef60a
CY
16573 * vc/vc.el (vc-revert-show-diff): New defcustom.
16574 (vc-diff-internal): New arg specifying diff buffer.
16575 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16576 reuse an existing *vc-diff* buffer (Bug#8927).
16577
5fdd4046
CY
16578 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16579
e93db24a
GM
165802011-06-26 Glenn Morris <rgm@gnu.org>
16581
16582 * progmodes/f90.el (f90-critical-indent): New option.
16583 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16584 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16585 (f90-mode): Doc fix.
16586 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16587 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16588 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16589 (f90-match-end): Handle block, critical.
16590
eefff499
GM
165912011-06-25 Glenn Morris <rgm@gnu.org>
16592
f6ba4cc9
GM
16593 * calendar/diary-lib.el (diary-included-files): Doc fix.
16594 (diary-include-files): New function, extracted from
16595 diary-include-other-diary-files and diary-mark-included-diary-files.
16596 (diary-include-other-diary-files, diary-mark-included-diary-files):
16597 Just call diary-include-files.
16598 (diary-mark-entries): Reset diary-included-files on first call.
16599
16712304
GM
16600 * calendar/diary-lib.el (diary-mark-entries)
16601 (diary-mark-included-diary-files):
16602 Visit included diary-files in temp buffers.
16603
5d8e0d43
GM
16604 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16605 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16606 (f90-start-block-re, f90-imenu-generic-expression)
16607 (f90-looking-at-program-block-start, f90-no-block-limit):
16608 Add support for submodules.
16609
ccf7a5d5
GM
16610 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16611 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16612
11fdef7d 166132011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16614
16615 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16616 buffer-file-type before setting its value, to avoid disastrous
eefff499 16617 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16618
74f53697
JB
166192011-06-25 Juanma Barranquero <lekktu@gmail.com>
16620
16621 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16622
16623 * ses.el (ses-unload-function):
16624 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16625
16626 * proced.el (proced-unload-function):
16627 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16628
18a4ce5e
AR
166292011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16630
16631 * server.el (server-create-window-system-frame): Add parameters arg.
16632 (server-process-filter): Doc fix. Handle frame-parameters.
16633
519d22cc
JB
166342011-06-25 Juanma Barranquero <lekktu@gmail.com>
16635
16636 Fix bug#8730, bug#8781.
16637
16638 * loadhist.el (unload--set-major-mode): New function.
16639 (unload-feature): Use it.
16640
16641 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16642 (python-unload-function): New function.
16643
c206f5b0
SM
166442011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16645
16646 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16647
f9ad64f3
GS
166482011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16649
16650 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16651 the candidates list.
16652
7d0da90e
JB
166532011-06-24 Juanma Barranquero <lekktu@gmail.com>
16654
16655 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16656
14b4e83d
RS
166572011-06-23 Richard Stallman <rms@gnu.org>
16658
16659 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16660 (rmail-variables): Set next-error-move-function.
16661 (rmail-what-message): Take argument POS.
16662 (rmail-next-error-move): New function.
16663
273d2baf
SM
166642011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16665
16666 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16667 messages for adjacent non-terminals.
16668
56c2cc9a
RS
166692011-06-23 Richard Stallman <rms@gnu.org>
16670
16671 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16672 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16673 (rmail-start-mail): Don't specify use of rmail-mail-return;
16674 that's done by mail-bury now.
16675 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16676
d59eb518
MA
166772011-06-23 Michael Albinus <michael.albinus@gmx.de>
16678
16679 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16680 SIZE is a number.
16681
02cfc6d6
MR
166822011-06-23 Martin Rudalics <rudalics@gmx.at>
16683
16684 * window.el (get-lru-window, get-mru-window)
16685 (get-largest-window): Never return a minibuffer window.
16686 (display-buffer-pop-up-window): Fix a bug that could lead to
16687 reusing the minibuffer window.
16688 (display-buffer): Pass original specifier argument to
16689 display-buffer-function instead of the normalized one.
16690 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16691
4e323265
LL
166922011-06-22 Leo Liu <sdl.web@gmail.com>
16693
16694 * minibuffer.el (completing-read-function)
1f9f395d 16695 (completing-read-default): Move from minibuf.c.
4e323265 16696
7a70468f
RS
166972011-06-22 Richard Stallman <rms@gnu.org>
16698
50718fc2
RS
16699 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16700 to Rmail even if not started by a special Rmail command.
16701
7a70468f
RS
16702 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16703 Copy the buffer currently showing just one message.
16704
297dde5a
RW
167052011-06-22 Roland Winkler <winkler@gnu.org>
16706
16707 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16708 (bibtex-clean-entry): First delete the old key so that a
16709 customized algorithm for generating the new key does not get
16710 confused by the old key.
16711 (bibtex-url): Obey regexp of first step.
16712 (bibtex-search-entries): Do not use add-to-list with local
16713 list-var.
16714
97bb1093
LMI
167152011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16716
16717 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16718 stored a user name, then query for the password first, instead of
16719 waiting for SMTP to give an error message and the trying again.
16720
1c0f1a19
JD
167212011-06-22 Lawrence Mitchell <wence@gmx.li>
16722
16723 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16724 BUFFER in call-process.
16725
396f7c9d
LMI
167262011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16727
16728 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16729 QUIT twice.
ddb7ffee
LMI
16730 (smtpmail-try-auth-methods): Require user name and password from
16731 auth-source.
396f7c9d 16732
8998d1b3
MR
167332011-06-22 Martin Rudalics <rudalics@gmx.at>
16734
16735 * window.el (display-buffer-default-specifiers)
16736 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16737 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16738 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16739
16740 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16741 (special-display-frame-alist, special-display-popup-frame):
16742 Remove duplicate declarations. These are now in window.el.
16743
4ea31e07
LMI
167442011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16745
c9d29fb8
SM
16746 * mail/smtpmail.el (smtpmail-via-smtp):
16747 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16748 server supports it. SMTP servers that support STARTTLS commonly
16749 require it.
16750
16751 * net/network-stream.el (network-stream-open-starttls): Support
16752 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16753 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16754
95f41d9a
LMI
16755 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16756 upgrades with `open-network-stream', and rely solely on
16757 auth-source for all credentials. Big changes throughout the file,
16758 but in particular:
c9d29fb8
SM
16759 (smtpmail-auth-credentials): Remove.
16760 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16761 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16762 MAIL FROM, too.
95f41d9a 16763
c9d29fb8
SM
16764 * net/network-stream.el (network-stream-open-starttls):
16765 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16766 STARTTLS.
16767 (auth-source): Require.
16768 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16769 (network-stream-certificate): Change cert-cert to cert and
16770 cert-key to key.
4ea31e07 16771
065ec2c7
MA
167722011-06-21 Michael Albinus <michael.albinus@gmx.de>
16773
16774 * net/tramp-cache.el (top): Don't load the persistency file when
16775 "emacs -Q" has been called.
16776
cd93b359
DR
167772011-06-21 Tim Harper <timcharper@gmail.com>
16778
d8e4b68b
JB
16779 * term/ns-win.el (ns-initialize-window-system):
16780 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16781 resource to NO as it is not yet supported by the NS port.
16782
ae9c0411
JB
167832011-06-21 Juanma Barranquero <lekktu@gmail.com>
16784
16785 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16786 (list-dynamic-libraries): ...not here.
16787
7f3f739f
LL
167882011-06-21 Leo Liu <sdl.web@gmail.com>
16789
16790 * subr.el (sha1): Implement sha1 using secure-hash.
16791
327c8fb1
MR
167922011-06-21 Martin Rudalics <rudalics@gmx.at>
16793
16794 * window.el (display-buffer-alist): In default value do not
16795 enforce searching a window on any but the selected frame.
16796 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16797 (display-buffer-select-window): Remove function.
16798 (display-buffer-in-window): When a window on another frame gets
16799 reused, do not select it any more but just raise its frame if
16800 necessary (Bug#8851) and (Bug#8856).
16801 (display-buffer-normalize-options): Handle pop-up-frames related
16802 options more faithfully.
16803 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16804 window if it is on another frame.
c9d29fb8
SM
16805 (display-buffer-alist, display-buffer-default-specifiers):
16806 Don't make new frame unsplittable by default.
9e9de014
MR
16807 (display-buffer-normalize-argument): Fix doc-string typo and use
16808 'same-frame-other-window instead of 'other-window when associating
16809 with display-buffer-macro-specifiers.
327c8fb1 16810
7cf3f556
VB
168112011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16812
16813 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16814 New functions.
16815 (5x5-mode-map, 5x5-mode-menu): Bind them.
16816 (5x5-draw-grid): Tweak the solver's rendering.
16817
60a406cf
SM
168182011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16819
16820 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16821 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16822
d8e4b68b 168232011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16824
16825 * menu-bar.el: Use function variable instead of switch-to-buffer.
16826 (menu-bar-select-buffer-function): New variable.
60a406cf 16827 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16828
478d6f95
SM
168292011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16830
16831 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16832 variable's status.
16833
ca530739
JD
168342011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16835
16836 * x-dnd.el (x-dnd-version-from-flags)
16837 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16838 and long as number (Bug#8899).
16839 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16840
bcd70d97
SM
168412011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16842
60a406cf 16843 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16844 (completion-try-completion, completion-all-completions): Compute the
16845 metadata argument if it's missing; make it optional (bug#8795).
16846
60a406cf 16847 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16848 (widget-complete): Use new :completion-function property.
16849 (widget-completions-at-point): New function.
16850 (default): Use :completion-function instead of :complete.
60a406cf
SM
16851 (widget-default-completions): Rename from widget-default-complete;
16852 Rewrite.
bcd70d97
SM
16853 (widget-string-complete, widget-file-complete, widget-color-complete):
16854 Remove functions.
16855 (file, symbol, function, variable, coding-system, color):
16856 * international/mule-cmds.el (default-input-method, charset)
16857 (language-info-custom-alist):
16858 * cus-edit.el (face): Use new property :completions.
16859
16860 * progmodes/pascal.el (pascal-completions-at-point): New function.
16861 (pascal-mode): Use it.
16862 (pascal-mode-map): Use completion-at-point.
16863 (pascal-toggle-completions): Make obsolete.
16864 (pascal-complete-word, pascal-show-completions):
16865 * progmodes/octave-mod.el (octave-complete-symbol):
16866 Redefine as obsolete alias.
16867 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16868 Signal absence of completion info for old Octave,
16869 (inferior-octave-complete): Redefine as obsolete alias.
16870 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16871 (meta-completions-at-point): Rename from meta-complete-symbol and
16872 adapt it for use on completion-at-point-functions.
16873 (meta-common-mode): Use it.
16874 (meta-looking-at-backward, meta-match-buffer): Remove.
16875 (meta-complete-symbol): Redefine as obsolete alias.
16876 (meta-common-mode-map): Use completion-at-point.
16877 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16878 (makefile-mode-map): Use completion-at-point.
16879 (makefile-completions-at-point): Rename from makefile-complete and
16880 adapt it for use on completion-at-point-functions.
16881 (makefile-mode): Use it.
16882 (makefile-complete): Redefine as obsolete alias.
16883
aebf69c8
DD
168842011-06-20 Deniz Dogan <deniz@dogan.se>
16885
16886 * net/rcirc.el: Delete trailing whitespaces once and for all.
16887
bfbbb27d
DC
168882011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16889
16890 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16891
d264a46b
CY
168922011-06-19 Chong Yidong <cyd@stupidchicken.com>
16893
4ca009e5
CY
16894 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16895
d264a46b
CY
16896 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16897
fbf5b3ce
MR
168982011-06-19 Martin Rudalics <rudalics@gmx.at>
16899
16900 * window.el (display-buffer-other-window-means-other-frame):
16901 Call display-buffer-normalize-alist.
16902 (display-buffer-normalize-specifiers-1): Rename to
16903 display-buffer-normalize-argument. New argument other-frame.
16904 Rewrite.
16905 (display-buffer-normalize-specifiers-2): Rename to
16906 display-buffer-normalize-options.
16907 (display-buffer-normalize-alist-1): New function.
16908 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16909 display-buffer-normalize-alist.
16910 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16911 (display-buffer-normalize-options-inhibit): New variable.
16912 (display-buffer-normalize-specifiers): Rewrite calling
16913 display-buffer-normalize-alist,
16914 display-buffer-normalize-argument, and
16915 display-buffer-normalize-options. Don't call the latter if
16916 display-buffer-normalize-options-inhibit is non-nil.
16917 (frame-auto-delete): New option.
16918 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16919 (window-list-no-nils, window-state-ignored-parameters)
16920 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16921 (window-state-put-1, window-state-put-2, window-state-put):
16922 New functions.
9a028c23
MR
16923 (display-buffer-normalize-options): Move special-display-p group
16924 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16925
6d10d800
CY
169262011-06-18 Chong Yidong <cyd@stupidchicken.com>
16927
6420d28b
CY
16928 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16929 groups (Bug#8776).
16930 (rx-submatch-n): New function.
16931 (rx): Document it.
16932
ddb8b596
CY
16933 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16934 (Bug#8768).
16935
16936 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16937
77080289
CY
16938 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16939
61dfb316
CY
16940 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16941 anytime existing face settings are present (Bug#8889).
16942
6d10d800
CY
16943 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16944 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16945 Remove unused argument.
16946
be3fb2b8
MR
169472011-06-18 Martin Rudalics <rudalics@gmx.at>
16948
bcd70d97
SM
16949 * window.el (display-buffer-default-specifiers):
16950 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16951 pop-up-window-min-width, and another reuse-window specifier
16952 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16953 (display-buffer-normalize-specifiers-2):
16954 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16955 pop-up-windows is unset. Add a reuse-window specifier for the
16956 case popping up a new window fails.
16957 (special-display-popup-frame): Remove double quoting.
28dec25a 16958 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16959
1c6d8c76
SM
169602011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16961
16962 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16963 according to comint-completion-addsuffix.
16964
16965 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16966 (pcomplete-suffix-list): Mark as obsolete.
16967 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16968 pcomplete-seen in the closure.
16969 (pcomplete-comint-setup): Setup completion-at-point as well.
16970 (pcomplete--entries): New function.
16971 (pcomplete--env-regexp): New var.
16972 (pcomplete-entries): Rewrite to work with partial-completion and
16973 without relying on pcomplete-suffix-list.
16974 (pcomplete-pare-list): Remove, unused.
16975
25aef8b8
MR
169762011-06-17 Martin Rudalics <rudalics@gmx.at>
16977
16978 * window.el (display-buffer-alist): Set pop-up-window-min-height
16979 and pop-up-window-min-width in default value. Reported by
16980 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16981 other-window-means-other-frame.
16982 (display-buffer-macro-specifiers): Comment out entry for
16983 other-window specifier.
16984 (display-buffer-other-window-means-other-frame): New function.
16985 (display-buffer-normalize-specifiers-1): New arguments
16986 buffer-name and label. Treat other-window case specially.
16987 (display-buffer-normalize-specifiers-2): Treat other-window case
16988 specially.
16989 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16990 (display-buffer-normalize-specifiers):
16991 Call display-buffer-normalize-specifiers-3.
25aef8b8 16992
dbad4f69
MR
169932011-06-17 Martin Rudalics <rudalics@gmx.at>
16994
16995 * window.el (same-window-p): Fix two typos introduced when
16996 adding with-no-warnings.
d1067961
MR
16997 (display-buffer-normalize-specifiers-1): Don't check
16998 pop-up-frames for 'unset initialization.
16999 (display-buffer-normalize-specifiers-2): Major rewrite using
17000 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17001 (pop-up-frames, display-buffer-reuse-frames)
17002 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17003 Suggested by David Engster <deng@randomsample.de>.
17004 (even-window-heights): Initialize to 'unset.
17005 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17006 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17007 other window case.
dbad4f69 17008
9b9c9e3a
MR
170092011-06-16 Martin Rudalics <rudalics@gmx.at>
17010
bcd70d97
SM
17011 * window.el (display-buffer-normalize-specifiers-1):
17012 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17013 second argument of display-buffer (Bug#8865).
981d5c09
MR
17014 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17015 (switch-to-buffer-other-window-same-frame)
17016 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17017 Adams (Bug#8875).
9c2755e9
MR
17018 (display-buffer): Don't check noninteractive when calling
17019 display-buffer-pop-up-frame.
17020 (display-buffer-pop-up-frame): Never pop up a frame in
17021 noninteractive mode (Bug#8857).
67222e1d
MR
17022 (enlarge-window, shrink-window): Don't report an error when the
17023 window can't be resized as requested (Bug#8862).
9b9c9e3a 17024
2b75be67
SM
170252011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17026
9ffdd3ba
SM
17027 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17028
cb581a67
SM
17029 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17030
2b75be67
SM
17031 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17032
8c0e3589
AM
170332011-06-15 Alan Mackenzie <acm@muc.de>
17034
cb581a67
SM
17035 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17036 for declarators, disable knr checking to speed up for normal files.
17037 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17038
b96e6cde
LMI
170392011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17040
4bba86e6
LMI
17041 * net/network-stream.el (open-network-stream): Add the keyword
17042 :always-query-capabilities for the case where you want to force a
17043 `plain' network connection, but the protocol still requires the
17044 capabilitiy command (i.e., SMTP and EHLO).
17045
2b75be67 17046 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17047 consistency with other `-live-p' functions.
17048
efdcdbf8
SM
170492011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17050
17051 * window.el (same-window-buffer-names, same-window-regexps)
17052 (special-display-frame-alist, special-display-popup-frame)
17053 (special-display-function, special-display-buffer-names)
17054 (special-display-regexps, pop-up-frame-alist)
17055 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17056 (pop-up-windows, split-window-preferred-function)
17057 (split-height-threshold, split-width-threshold, even-window-heights)
17058 (display-buffer-mark-dedicated): Don't encourage the use of
17059 display-buffer-alist from Elisp code.
17060
c5cde042
DN
170612011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17062
17063 * progmodes/python.el (python-mode): Derive from prog-mode.
17064 * progmodes/ps-mode.el (ps-mode):
17065 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17066 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17067 * progmodes/ld-script.el (ld-script-mode): Likewise.
17068
baa1c9ab
MR
170692011-06-15 Martin Rudalics <rudalics@gmx.at>
17070
17071 * window.el (display-buffer-alist): Trim default value to avoid
17072 popping up a new frame (Bug#8857) or reusing an arbitrary window
17073 on another frame.
17074 (display-buffer): Do not fall back on popping up a new frame in
17075 batch mode (Bug#8857).
17076
c5dd5a51
CY
170772011-06-14 Chong Yidong <cyd@stupidchicken.com>
17078
17079 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17080 (custom-theme-summary): New function.
17081 (customize-themes): Use it.
17082
d647b7c4
GM
170832011-06-13 Glenn Morris <rgm@gnu.org>
17084
17085 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17086
9481c002
MR
170872011-06-13 Martin Rudalics <rudalics@gmx.at>
17088
357f93d2
MR
17089 * help.el (help-window): Remove variable.
17090 (help-window-point-marker, temp-buffer-max-height)
17091 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17092 (help-print-return-message): Don't set help-window.
17093 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17094 (help-window-setup-finish): Remove.
17095 (help-window-display-message, help-window-setup)
17096 (with-help-window): Major rewrite based on new
17097 display-buffer-window variable.
17098
17099 * help-mode.el (help-mode-finish): Remove help-window related
17100 code.
17101
17102 * view.el (view-exits-all-viewing-windows): Remove reference to
17103 view-return-to-alist in doc-string.
17104 (view-return-to-alist): Make obsolete.
17105 (view-buffer): Call pop-to-buffer-same-window and remove
17106 undo-window code.
17107 (view-buffer-other-window): Call pop-to-buffer-other-window and
17108 simplify code. Ignore second argument.
17109 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17110 simplify code. Ignore second argument.
17111 (view-return-to-alist-update): Make obsolete.
17112 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17113 Rewrite using quit-restore window parameters.
2b75be67
SM
17114 (view-mode-exit): Rename second argument to EXIT-ONLY.
17115 Rewrite using quit-restore-window.
357f93d2
MR
17116 (View-exit, View-exit-and-edit, View-leave, View-quit)
17117 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17118 appropriate arguments.
17119 (view-end-message): Use quit-restore window parameter.
17120
9481c002
MR
17121 * window.el (display-buffer-function): Rewrite doc-string.
17122 (display-buffer-window, display-buffer-alist): New variables.
17123 (display-buffer-split-specifiers)
17124 (display-buffer-side-specifiers)
17125 (display-buffer-macro-specifiers): New constants.
17126 (display-buffer-even-window-sizes, display-buffer-set-height)
17127 (display-buffer-set-width, display-buffer-select-window)
17128 (display-buffer-in-window, display-buffer-reuse-window)
17129 (display-buffer-split-window-1, display-buffer-split-window)
17130 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17131 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17132 (display-buffer-in-side-window, normalize-buffer-to-display)
17133 (display-buffer-normalize-specifiers-1)
17134 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17135 (display-buffer-normalize-specifiers, display-buffer-frame):
17136 New functions.
9481c002
MR
17137 (display-buffer): Major rewrite.
17138 (display-buffer-other-window, display-buffer-other-frame)
17139 (pop-to-buffer, switch-to-buffer-other-window)
17140 (switch-to-buffer-other-frame): Rewrite.
17141 (display-buffer-same-window, display-buffer-same-frame)
17142 (display-buffer-same-frame-other-window)
17143 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17144 (pop-to-buffer-other-window)
17145 (pop-to-buffer-same-frame-other-window)
17146 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17147 (switch-to-buffer-other-window-same-frame): New functions.
17148 (same-window-p, special-display-p): Rewrite disabling warnings.
17149 Make obsolete.
17150 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17151 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17152 Make obsolete
17153 (same-window-buffer-names, same-window-regexps)
17154 (special-display-frame-alist, special-display-popup-frame)
17155 (special-display-function, special-display-buffer-names)
17156 (special-display-regexps, pop-up-frame-alist)
17157 (pop-up-frame-function, split-window-preferred-function)
17158 (split-height-threshold, split-width-threshold)
17159 (even-window-heights): Make obsolete.
17160
9db51aca
GM
171612011-06-12 Glenn Morris <rgm@gnu.org>
17162
17163 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17164 Misc simplifications.
9db51aca 17165
39cffb44
MR
171662011-06-12 Martin Rudalics <rudalics@gmx.at>
17167
17168 * window.el (window-safely-shrinkable-p): Restore function which
17169 was inadvertently removed in change from 2011-06-11. Declare as
17170 obsolete.
17171
2b75be67
SM
17172 * calendar/calendar.el (calendar-generate-window):
17173 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17174 window-safely-shrinkable-p.
17175
a8955be7
GM
171762011-06-12 Glenn Morris <rgm@gnu.org>
17177
17178 * progmodes/fortran.el (fortran-mode-syntax-table):
17179 * progmodes/f90.el (f90-mode-syntax-table):
17180 Set % to punctuation. (Bug#8820)
17181 (f90-find-tag-default): Remove, no longer needed.
17182
f0d4059d
DC
171832011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17184
17185 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17186
1100a63c
CY
171872011-06-11 Chong Yidong <cyd@stupidchicken.com>
17188
17189 * image.el (image-animated-p): Return animation delay in seconds.
17190 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17191 (image-animate-timeout): Remove DELAY argument. Don't assume
17192 every subimage has the same delay; get it from image-animated-p.
17193 (image-animate): Caller changed.
17194
def722bf
MA
171952011-06-11 Michael Albinus <michael.albinus@gmx.de>
17196
17197 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17198 to ignored backtrace functions.
17199
0a2bb1a9
GM
172002011-06-11 Glenn Morris <rgm@gnu.org>
17201
17202 * calendar/appt.el (appt-disp-window-function): Doc fix.
17203 (appt-check): Handle overlapping appointments. (Bug#8337)
17204
6198ccd0
MR
172052011-06-11 Martin Rudalics <rudalics@gmx.at>
17206
17207 * window.el (window-tree-1, window-tree): New functions, moving
17208 the latter to window.el.
17209 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17210 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17211 (bw-refresh-edges): Remove.
17212 (balance-windows-1, balance-windows-2): New functions.
17213 (balance-windows): Rewrite in terms of window tree functions,
17214 balance-windows-1 and balance-windows-2.
17215 (bw-adjust-window): Remove.
17216 (balance-windows-area-adjust): New function with functionality of
17217 bw-adjust-window but using resize-window.
2b75be67
SM
17218 (set-window-text-height): Rewrite doc-string.
17219 Use normalize-live-window and resize-window.
17220 (enlarge-window-horizontally, shrink-window-horizontally):
17221 Rename argument to DELTA.
6198ccd0
MR
17222 (window-buffer-height): New function.
17223 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17224 Rewrite using new window resize routines.
2b75be67
SM
17225 (kill-buffer-and-window, mouse-autoselect-window-select):
17226 Use ignore-errors instead of condition-case.
6198ccd0
MR
17227 (quit-window): Call delete-frame instead of delete-windows-on
17228 for the only buffer on frame.
17229
9397e56f
MR
172302011-06-10 Martin Rudalics <rudalics@gmx.at>
17231
17232 * loadup.el (top-level): Load window before files for the sake
17233 of replace-buffer-in-windows.
17234
17235 * files.el (read-buffer-to-switch)
17236 (switch-to-buffer-other-window)
2b75be67
SM
17237 (switch-to-buffer-other-frame, display-buffer-other-frame):
17238 Move to window.el.
9397e56f
MR
17239
17240 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17241 (previous-buffer): Move to window.el.
17242
17243 * bindings.el (unbury-buffer): Move to window.el.
17244
17245 * window.el (delete-other-windows-vertically): Move after
17246 definition of delete-other-windows.
17247 (other-window, delete-windows-on, replace-buffer-in-windows):
17248 Move here from window.c.
17249 (record-window-buffer, unrecord-window-buffer)
17250 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17251 (switch-to-next-buffer): New functions.
17252 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17253 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17254 (previous-buffer): Move here from simple.el.
17255 Call switch-to-prev-buffer.
9397e56f
MR
17256 (bury-buffer): Move here from buffer.c. Switch to previous
17257 buffer when window cannot be deleted.
17258 (unbury-buffer): Move here from bindings.el.
17259 (ctl-x-map): Move binding for other-window from window.c to
17260 here.
17261 (read-buffer-to-switch, switch-to-buffer-other-window)
17262 (switch-to-buffer-other-frame): Move here from files.el.
17263 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17264 (switch-to-buffer): Move here from buffer.c.
17265 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17266
562dd5e9
MR
172672011-06-10 Martin Rudalics <rudalics@gmx.at>
17268
17269 * window.el (window-min-height, window-min-width): Move here
17270 from window.c. Add defcustoms and rewrite doc-strings.
17271 (resize-mini-window, resize-window): New functions.
17272 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17273 Move here from window.c.
17274 (maximize-window, minimize-window): New functions.
17275 (delete-window, delete-other-windows, split-window): Move here
17276 from window.c.
17277 (window-split-min-size): New function.
17278 (split-window-keep-point): Mention split-window-above-each-other
17279 instead of split-window-vertically.
2b75be67 17280 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17281 Rename split-window-vertically to split-window-above-each-other
17282 and provide defalias for old definition.
17283 (split-window-side-by-side, split-window-horizontally):
17284 Rename split-window-horizontally to split-window-side-by-side
17285 and provide defalias for the old definition.
562dd5e9
MR
17286 (ctl-x-map): Move bindings for delete-window,
17287 delete-other-windows and enlarge-window here from window.c.
17288 Replace bindings for split-window-vertically and
17289 split-window-horizontally by bindings for
17290 split-window-above-each-other and split-window-side-by-side.
17291
17292 * cus-start.el (all): Remove entries for window-min-height and
17293 window-min-width. Add entries for window-splits and
17294 window-nest.
17295
f0da764a
GM
172962011-06-09 Glenn Morris <rgm@gnu.org>
17297
80675c21
GM
17298 * calendar/appt.el (appt-mode-line): New function.
17299 (appt-check, appt-disp-window): Use it.
17300
f0da764a
GM
17301 * files.el (hack-one-local-variable-eval-safep):
17302 Allow minor-modes with explicit +/-1 arguments.
17303
59f623b7
TZ
173042011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17305
17306 * term/xterm.el (xterm): Add defgroup.
17307 (xterm-extra-capabilities): Add defcustom to supply known xterm
17308 capabilities, skip querying them, or query them (default).
17309 (terminal-init-xterm): Use it.
17310 (terminal-init-xterm-modify-other-keys): New function to set up
17311 modifyOtherKeys support to simplify `terminal-init-xterm'.
17312
9aab8e0d
MR
173132011-06-09 Martin Rudalics <rudalics@gmx.at>
17314
17315 * window.el (resize-window-reset, resize-window-reset-1)
17316 (resize-subwindows-skip-p, resize-subwindows-normal)
17317 (resize-subwindows, resize-other-windows, resize-this-window)
17318 (resize-root-window, resize-root-window-vertically)
17319 (window-deletable-p, window-or-subwindow-p)
17320 (frame-root-window-p): New functions.
17321
e8b08aee
GM
173222011-06-09 Glenn Morris <rgm@gnu.org>
17323
17324 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17325 (ange-ftp-get-files): Use it.
17326
254c37a5
AK
173272011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17328
17329 * mail/sendmail.el (mail-recover-1, mail-recover):
17330 * files.el (recover-file, recover-session):
17331 Handle dired-listing-switches not being just a single short option.
17332
35d7dbd3
GM
173332011-06-09 Glenn Morris <rgm@gnu.org>
17334
17335 * calendar/appt.el (appt-display-message, appt-disp-window):
17336 Handle lists of appointments.
17337
387522b2
MR
173382011-06-08 Martin Rudalics <rudalics@gmx.at>
17339
2b75be67
SM
17340 * window.el (one-window-p): Move down in code.
17341 Rewrite doc-string.
17342 (window-current-scroll-bars): Rewrite doc-string.
17343 Normalize live window argument.
387522b2
MR
17344 (walk-windows, get-window-with-predicate, count-windows):
17345 Rewrite doc-string. Use window-list-1.
17346 (window-in-direction-2, window-in-direction, get-mru-window):
17347 New functions.
17348
d8e4b68b 173492011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17350
17351 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17352 Doc fix (Bug#8713).
17353
173542011-06-08 Chong Yidong <cyd@stupidchicken.com>
17355
17356 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17357
173582011-06-08 Juanma Barranquero <lekktu@gmail.com>
17359
17360 * loadhist.el (unload-feature-special-hooks):
17361 Add `comint-output-filter-functions'.
17362
0de12c52
IK
173632011-06-08 Ivan Kanis <gnu@kanis.fr>
17364
17365 * calendar/appt.el (appt-check): Move some initializations into the let.
17366
f3d1777e
MR
173672011-06-08 Martin Rudalics <rudalics@gmx.at>
17368
17369 * window.el (window-height): Defalias to window-total-height.
17370 (window-width): Defalias to window-body-width.
17371
18af70d0
CY
173722011-06-07 Chong Yidong <cyd@stupidchicken.com>
17373
17374 * image-mode.el (image-toggle-animation): New command.
17375 (image-mode-map): Bind it to RET.
17376 (image-mode): Update message.
17377 (image-toggle-display-image): Avoid a spurious cache flush.
17378 (image-transform-rotation): Doc fix.
17379 (image-transform-properties): Return quickly in the normal case.
17380 (image-animate-loop): Rename from image-animate-max-time.
17381
2b75be67 17382 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17383 (create-animated-image): Remove unnecessary function.
17384 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17385 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17386 (image-animate-timer): Use car-safe.
17387 (image-animate-timeout): Rename argument.
17388
190b47e6
MR
173892011-06-07 Martin Rudalics <rudalics@gmx.at>
17390
17391 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17392 window.c. Rename first argument to ALL-FRAMES.
17393 Rephrase doc-strings.
17394 (get-buffer-window-list): Rewrite using window-list-1.
17395 Rephrase doc-string.
a1511caf
MR
17396 (window-safe-min-height, window-safe-min-width): New constants.
17397 (window-size-ignore, window-min-size, window-min-size-1)
17398 (window-sizable, window-sizable-p, window-size-fixed-1)
17399 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17400 (window-max-delta-1, window-max-delta, window-resizable)
17401 (window-resizable-p, window-total-height, window-total-width)
17402 (window-body-width): New functions.
17403 (window-full-height-p, window-full-width-p): Rewrite using
17404 window-total-size.
17405 (window-body-height): Rewrite using window-body-size.
190b47e6 17406
85cc1f11
MR
174072011-06-06 Martin Rudalics <rudalics@gmx.at>
17408
17409 * window.el (window-right, window-left, window-child)
17410 (window-child-count, window-last-child, window-any-p)
17411 (normalize-live-buffer, normalize-live-frame)
17412 (normalize-any-window, normalize-live-window)
17413 (window-iso-combination-p, window-iso-combined-p)
17414 (window-iso-combinations)
17415 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17416 (windows-with-parameter, window-with-parameter)
17417 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17418 (window-atom-check, window-side-check, window-check):
17419 New functions.
85cc1f11
MR
17420 (ignore-window-parameters, window-sides, window-sides-vertical)
17421 (window-sides-slots): New variables.
17422 (window-size-fixed): Move down in code. Minor doc-string fix.
17423
e7156492
AS
174242011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17425
17426 * comint.el (comint-dynamic-complete-as-filename)
17427 (comint-dynamic-complete-filename): Correctly call
17428 completion-in-region.
17429
7e821d0d
DD
174302011-06-05 Deniz Dogan <deniz@dogan.se>
17431
17432 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17433 in last change.
17434
ac09b8a1
DD
174352011-06-05 Deniz Dogan <deniz@dogan.se>
17436
17437 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17438 (rcirc): Use it to prompt for encryption.
17439
34699b85
RW
174402011-06-05 Roland Winkler <winkler@gnu.org>
17441
17442 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17443 (bibtex-search-entries): New command bound to C-c C-a.
17444 (bibtex-display-entries): New function.
17445
004dedd3
RW
174462011-06-05 Roland Winkler <winkler@gnu.org>
17447
17448 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17449 (bibtex-insert-kill): After yanking insert newline if necessary.
17450 (bibtex-initialize): Call bibtex-string-files-init only once.
17451 (bibtex-mode): Do not call easy-menu-add.
17452 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17453 (bibtex-yank): Set arg properly if nil.
17454
022fe7ce
RW
174552011-06-05 Roland Winkler <winkler@gnu.org>
17456
2b75be67
SM
17457 * textmodes/bibtex.el (bibtex-search-entry-globally):
17458 New variable.
022fe7ce
RW
17459 (bibtex-search-entry): Use it.
17460
b7c3692a
RW
174612011-06-05 Roland Winkler <winkler@gnu.org>
17462
17463 * textmodes/bibtex.el (bibtex-entry-format): New option
17464 sort-fields.
17465 (bibtex-format-entry, bibtex-reformat): Honor this option.
17466 (bibtex-parse-entry): Return fields in proper order.
17467
8eda563d
JB
174682011-06-05 Juanma Barranquero <lekktu@gmail.com>
17469
17470 * doc-view.el (doc-view-remove-if): Move computation of result out
17471 of `dolist' to silence misleading lexical-binding warning.
17472
7dbe3dbc
CY
174732011-06-04 Chong Yidong <cyd@stupidchicken.com>
17474
17475 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17476 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17477
0c33dd17
MA
174782011-06-04 Michael Albinus <michael.albinus@gmx.de>
17479
17480 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17481 "SunOS 5.10".
17482
f8f91c2b
MA
174832011-06-04 Michael Albinus <michael.albinus@gmx.de>
17484
17485 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17486 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17487 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17488 (tramp-parse-putty):
17489 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17490 (tramp-completion-function-alist-ssh)
17491 (tramp-completion-function-alist-telnet)
17492 (tramp-completion-function-alist-su)
17493 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17494 cookie.
17495
17496 * net/tramp-ftp.el:
17497 * net/tramp-sh.el:
17498 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17499 load "tramp.el" `tramp-set-completion-function'.
17500
e17d9003
SM
175012011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17502
17503 * shell.el: Require and use pcomplete.
17504 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17505 (shell-completion-vars): Set pcomplete-default-completion-function.
17506
6c4cab03
DD
175072011-06-04 Deniz Dogan <deniz@dogan.se>
17508
17509 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17510 `memq' (Bug#8799).
17511
ea9fafe0
SM
175122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17513
17514 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17515
b3e945d3
JB
175162011-06-02 Juanma Barranquero <lekktu@gmail.com>
17517
17518 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17519 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17520 * vc/log-view.el (log-view-beginning-of-defun):
17521 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17522 (smerge-refine-forward, smerge-refine-chopup-region):
17523 Silence warning for unused `dotimes' counter variables.
17524
7d520089
SM
175252011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17526
17527 * net/tramp.el (tramp-with-progress-reporter): Rename from
17528 with-progress-reporter. Use `declare'.
17529 * net/tramp-smb.el:
17530 * net/tramp-sh.el:
17531 * net/tramp-gvfs.el: Update all uses.
17532
a1c2400f
JB
175332011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17534
17535 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17536 buffer isn't killed before making it current.
17537
2403c841
SM
175382011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17539
17540 Silence various byte-compiler warnings.
17541 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17542 `access-type' and new obsolescence format.
17543 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17544 new format.
17545 (byte-compile-check-variable): New `access-type' argument.
17546 Only warn if the access-type is obsolete.
17547 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17548 (byte-compile-variable-set): Adjust callers.
17549 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17550 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17551 setting it as obsolete.
17552 * simple.el (minibuffer-completing-symbol):
17553 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17554 access as obsolete.
17555 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17556 obsolete yet.
17557 * international/quail.el (quail-mouse-choose-completion): Remove unused
17558 code referring to obsolete var.
17559 (quail-choose-completion-string): Remove.
17560 * server.el (server-clients-with, server-kill-buffer-query-function)
17561 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17562 * proced.el (proced-send-signal):
17563 * emacs-lisp/lisp.el (lisp-complete-symbol):
17564 Replace completion-annotate-function with completion-extra-properties.
17565
2462470b
SM
175662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17567
fb5b2591
SM
17568 * simple.el (goto-line): Use read-number.
17569 (overriding-map-is-bound): Remove.
17570 (saved-overriding-map): Change default.
17571 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17572 Take the map as argument.
17573 (universal-argument, negative-argument, digit-argument): Use it.
17574 (restore-overriding-map): Adjust.
17575 (do-auto-fill): Use fill-forward-paragraph.
17576 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17577
fd6fa53f
SM
17578 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17579 (minibuffer-inactive-mode): New major mode.
17580 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17581 the *Messages* buffer" hack.
17582 (mouse-popup-menubar): Don't burp if the event is a normal key.
17583
2462470b
SM
17584 Miscellaneous tweaks.
17585 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17586 lexical scoping as in subr.el's dolist and dotimes.
17587 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17588 Silence compiler warning.
17589 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17590 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17591 * international/ccl.el (ccl-compile): Trivial simplification.
17592 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17593 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17594 `printflag' argument.
17595 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17596 Purecopy the whole obsolescence data.
17597
108bf785
LL
175982011-06-01 Leo Liu <sdl.web@gmail.com>
17599
17600 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17601 improve doc-string as suggested by Marco Pessotto
17602 <melmothx@gmail.com>.
17603 (rcirc-print): Fix last change.
17604
30a23501
SM
176052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17606
17607 * minibuffer.el (complete-with-action): Return nil for the metadata and
17608 boundaries of non-functional tables.
17609 (completion-table-dynamic): Return nil for the metadata.
17610 (completion-table-with-terminator): Add default case, using
17611 complete-with-action.
17612 (completion--metadata): New function.
17613 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17614 to try and avoid pathological performance problems.
17615 (completion--embedded-envvar-table): Return `category' metadata.
17616
bcd54f83
LMI
176172011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17618
17619 * subr.el (process-alive-p): New tiny convenience function.
17620
e227544d
SM
176212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17622
17623 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17624 content but also its previous major mode.
17625
e8296fdc
HE
176262011-05-31 Helmut Eller <eller.helmut@gmail.com>
17627
4d61f28d 17628 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17629 *Backtrace* buffer when we exit with C-M-c.
17630
620c53a6
SM
176312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17632
17633 * minibuffer.el: Add metadata method to completion tables.
17634 (completion-category-overrides): New defcustom.
17635 (completion-metadata, completion--field-metadata)
17636 (completion-metadata-get, completion--styles)
17637 (completion--cycle-threshold): New functions.
17638 (completion-try-completion, completion-all-completions):
17639 Add `metadata' argument to choose completion-styles.
17640 (completion--do-completion): Use metadata to choose cycling.
17641 (completion-all-sorted-completions): Use metadata for sorting.
17642 Remove :completion-cycle-penalty which is not needed any more.
17643 (completion--try-word-completion): Add `metadata' argument.
17644 (minibuffer-completion-help): Check metadata for annotation function
17645 and sorting.
17646 (completion-file-name-table): Return `category' metadata.
17647 (minibuffer-completing-file-name): Make obsolete.
17648 * simple.el (minibuffer-completing-symbol): Make obsolete.
17649 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17650 completion-try-completion.
17651
1257e755
SM
176522011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17653
17654 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17655
3767e706
LL
176562011-05-30 Leo Liu <sdl.web@gmail.com>
17657
17658 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17659 (rcirc-print): Decode all incoming messages (bug#8744).
17660 (rcirc-decode-coding-system): Allow value nil for automatic coding
17661 system detection.
3767e706 17662
d1a5d56a
GM
176632011-06-01 Glenn Morris <rgm@gnu.org>
17664
17665 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17666
e8cbec34
CY
176672011-05-29 Chong Yidong <cyd@stupidchicken.com>
17668
17669 * image.el (image-animate-max-time): Allow nil and t values.
17670 Default to nil.
17671 (create-animated-image): Doc fix.
17672 (image-animate-start): Remove second arg; just use
17673 image-animate-max-time.
17674 (image-animate-timeout): Doc fix. Args changed.
17675
17676 * image-mode.el (image-toggle-display-image): Ensure that the
17677 image spec passed to the animate timer is the same object as in
58179cce 17678 the buffer's display property (Bug#6981).
e8cbec34
CY
17679 (image-transform-properties): Doc fix.
17680
17681 * image.el (image-animate-max-time): Default to nil.
17682
159daf87
MR
176832011-05-29 Martin Rudalics <rudalics@gmx.at>
17684
17685 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17686 entire buffer list (Bug#8184).
17687
d66c4c7c
CY
176882011-05-29 Chong Yidong <cyd@stupidchicken.com>
17689
17690 * image.el (imagemagick-types-inhibit)
17691 (imagemagick-register-types): Doc fix.
17692
80aec780
DD
176932011-05-29 Deniz Dogan <deniz@dogan.se>
17694
17695 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17696 default.
17697
1dd3c2d9
CY
176982011-05-29 Chong Yidong <cyd@stupidchicken.com>
17699
17700 * select.el: Don't perform clipboard-manager saving in hooks;
17701 leave the hooks empty.
17702
60e56523
LL
177032011-05-28 Leo Liu <sdl.web@gmail.com>
17704
17705 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17706 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17707 (occur-edit-mode): New major mode (Bug#8463).
17708 (occur-after-change-function): New function.
17709 (occur-engine): Give Occur tags a read-only property.
17710
2b1e1a22
KR
177112011-05-28 Kevin Ryde <user42@zip.com.au>
17712
17713 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17714
5d344e88
CY
177152011-05-28 Chong Yidong <cyd@stupidchicken.com>
17716
8e6ca83d
CY
17717 * bindings.el (help-echo): Make the initial non-indicator dash
17718 empty on graphical terminals (Bug#7295).
17719
5d344e88
CY
17720 * files.el (auto-mode-alist): Move config rule after the
17721 in-stripping one (Bug#8547).
17722
bfbbace7
CY
17723 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17724
fbeba6e2
CY
17725 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17726 setting (Bug#8740).
17727
60ed8c72
AA
177282011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17729
4ac619f0
AA
17730 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17731 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17732 (Bug#8539).
60ed8c72 17733
23db196e
CY
177342011-05-28 Chong Yidong <cyd@stupidchicken.com>
17735
17736 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17737
5012f24c
DK
177382011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17739
17740 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17741 (hs-hide-block-at-point, hs-find-block-beginning)
17742 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17743 (Bug#8279).
17744
6a639b16
GM
177452011-05-28 Glenn Morris <rgm@gnu.org>
17746
17747 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17748
d43eaf2c
CY
177492011-05-28 Chong Yidong <cyd@stupidchicken.com>
17750
5199bde1
CY
17751 * help-fns.el (describe-function-1): If the function is a derived
17752 major mode, print the parent mode.
17753
d43eaf2c
CY
17754 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17755 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17756
423428a8
SM
177572011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17758
0ff8e1ba 17759 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17760 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17761 * progmodes/etags.el (tags-completion-at-point-function):
17762 * info-look.el (info-lookup-completions-at-point): Mark as
17763 non-exclusive.
17764 (info-complete): Adjust accordingly.
17765
423428a8
SM
17766 * info-look.el: Convert to lexical-binding and completion-at-point.
17767 (info-lookup-completions-at-point): New function.
17768 (info-complete): Use it and completion-in-region.
17769
b74aa22b
DA
177702011-05-28 Drew Adams <drew.adams@oracle.com>
17771
17772 * isearch.el: Let M-e start with point at the first mismatched char.
17773 (isearch-fail-pos): New function.
17774 (isearch-edit-string): Use it.
17775
66e2e71d
DK
177762011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17777
17778 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17779
b1890b0f 177802011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17781
17782 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17783 traversal functions for avl-trees.
17784 (avl-tree--stack): New struct.
17785 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17786 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17787 (avl-tree--do-enter): Add optional `updatefun' arg.
17788 Change return value.
eb95d01d 17789 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17790 (avl-tree--do-delete): Add `test' and `nilflag' args.
17791 Change return value.
eb95d01d
TC
17792 (avl-tree-member): Add optional `nilflag'
17793 (avl-tree-member-p): New function.
17794 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17795 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17796 (avl-tree-stack-empty-p): New functions.
17797
3769ddcf
TC
17798 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17799 avl-tree--del-balance1 and make it work both ways.
17800 (avl-tree--del-balance2): Remove.
17801 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17802 make it work both ways.
17803 (avl-tree--enter-balance2): Remove.
17804 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17805 New macros.
17806 (avl-tree--mapc, avl-tree-map): Add direction argument.
17807
eb95d01d 178082011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17809
17810 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17811
a9f737ee
CY
178122011-05-27 Chong Yidong <cyd@stupidchicken.com>
17813
17814 * select.el: Support clipboard managers with built-in function
17815 x-clipboard-manager-save, via delete-frame-functions and
17816 kill-emacs-hook.
17817 (xselect-convert-to-targets): Add MULTIPLE target to list.
17818 (xselect-convert-to-save-targets): New function.
17819
c92a1e54
KH
178202011-05-27 Kenichi Handa <handa@m17n.org>
17821
17822 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17823 let-binding rfc2047-encode-encoded-words to nil.
17824
e145f188
GM
178252011-05-27 Glenn Morris <rgm@gnu.org>
17826
5ec8a862
GM
17827 * mail/emacsbug.el: Don't require url-util.
17828
4b29d9fb
GM
17829 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17830
e145f188
GM
17831 * files.el (set-auto-mode):
17832 Also respect mode: entries at the end of the file. (Bug#8586)
17833
7d15102b
GM
178342011-05-26 Glenn Morris <rgm@gnu.org>
17835
98f593b8
GM
17836 * files.el (hack-local-variables-prop-line, hack-local-variables):
17837 Downcase mode names, as seems to be traditional.
27b48e63 17838 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17839
7d15102b
GM
17840 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17841 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17842
51d5b4ec
JD
178432011-05-25 Julien Danjou <julien@danjou.info>
17844
17845 * textmodes/rst.el (rst-define-level-faces): Do not define face
17846 symbol if it is already defined.
17847
91513f63
VB
178482011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17849
17850 * play/5x5.el (5x5-new-game, 5x5-randomize):
17851 Reset 5x5-solver-output to nil when a new grid is cast.
17852 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17853 these debugging traces, as defmacro breaks the compiled code.
17854
4d90d6d0
DK
178552011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17856
17857 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17858
e1b90ef6
LL
178592011-05-24 Leo Liu <sdl.web@gmail.com>
17860
17861 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17862 (vc-bzr-sha1): Adapt.
17863
d8e4b68b 17864 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17865
17866 * bindings.el: Provide sha1 feature.
17867
db0406bb 178682011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17869
17870 * mail/sendmail.el: Require `rfc2047'.
17871 (mail-insert-from-field): Do not perform RFC2047 encoding.
17872 (mail-encode-header): New function.
17873 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17874 buffer to the return value of select-message-coding-system.
17875 Call mail-encode-header.
b8d747b9
KH
17876
17877 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17878
db0406bb 178792011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17880
4d90d6d0
DK
17881 * mail/supercite.el (sc-default-cite-frame):
17882 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17883
eb8a5e9b
GM
178842011-05-24 Glenn Morris <rgm@gnu.org>
17885
f8630703
GM
17886 * progmodes/python.el (brm-menu): Declare.
17887
8831bbed
GM
17888 * emulation/viper.el (viper-set-hooks): Declare.
17889
eb8a5e9b
GM
17890 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17891 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17892 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17893 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17894 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17895 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17896
a2a25d24
SM
178972011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17898
17899 Add an :exit-function for completion-at-point.
17900
17901 * minibuffer.el (completion--done): New fun.
17902 (completion--do-completion): Use it. New arg `expect-exact'.
17903 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17904 since completion--do-completion does it for us now.
17905 (minibuffer-force-complete): Use completion--done and
17906 completion--replace. Handle sole-completion case with more care.
17907 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17908 (completion-extra-properties): New var.
17909 (completion-annotate-function): Make obsolete.
17910 (minibuffer-completion-help): Adjust accordingly.
17911 Use completion-list-insert-choice-function.
17912 (completion-at-point, completion-help-at-point):
17913 Bind completion-extra-properties.
17914 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17915 * simple.el (completion-list-insert-choice-function): New var.
17916 (completion-setup-function): Preserve it.
17917 (choose-completion): Pay attention to it, shuffle the code a bit.
17918 (choose-completion-string): New arg `insert-function'.
17919
17920 * textmodes/bibtex.el: Convert to lexical binding.
17921 (bibtex-mode-map): Use completion-at-point.
17922 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17923 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17924 (bibtex-complete): Define as obsolete alias.
17925 (bibtex-complete-internal): Remove.
17926 (bibtex-format-entry): Remove unused sub-group in regexp.
17927 * shell.el (shell--command-completion-data)
17928 (shell-environment-variable-completion):
17929 * pcomplete.el (pcomplete-completions-at-point):
17930 * comint.el (comint--complete-file-name-data): Use :exit-function
17931 instead of completion-table-with-terminator so it also works for
17932 choose-completion.
17933
e44e373d
SM
179342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17935
4f91a816
SM
17936 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17937
782fc819
SM
17938 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17939 (bug#8710).
17940
e44e373d
SM
17941 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17942
381987c3
KM
179432011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17944
17945 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17946 customization variable and implement: If non-nil, auto-fill will
17947 be inhibited while on topic's header line.
17948
b776bc70
VB
179492011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17950
17951 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17952 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17953 always have a solution in grid size = 5 cases.
17954 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17955 (5x5-solver-output, 5x5-log-buffer): New vars.
17956 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17957 Make these variables buffer local to achieve 5x5 multi-session-ness.
17958 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17959 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17960 (5x5-solve-suggest): New funs.
17961 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17962 randomize a grid so that we ensure that there is always a solution.
17963 (5x5-make-random-grid): Allow other movement than flipping.
17964
7de88b6e
KR
179652011-05-23 Kevin Ryde <user42@zip.com.au>
17966
17967 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17968 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17969 advice and passes PREDICATE.
17970
b1ef1257
SM
179712011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17972
bbca48fe
SM
17973 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17974 byte-compile-lambda if it's actually a lambda.
17975
b1ef1257
SM
17976 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17977 Fix function quoting. Use backquote better.
17978
92a9cc65
YS
179792011-05-22 Yuanle Song <sylecn@gmail.com>
17980
17981 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17982 matching (Bug#8516).
17983
f0fb8059
JA
179842011-01-22 Jari Aalto <jari.aalto@cante.net>
17985
17986 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17987 different face (Bug#8178).
17988
d5b44c93
CY
179892011-05-22 Chong Yidong <cyd@stupidchicken.com>
17990
17991 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17992 defface (Bug#8144).
17993
79106a44
SM
179942011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17995
9c848d8a
SM
17996 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17997 funcall as well (bug#8712). Warn when performing those conversions.
17998 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17999
79106a44
SM
18000 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18001
88dfa756
GM
180022011-05-22 Glenn Morris <rgm@gnu.org>
18003
18004 * files.el (hack-local-variables-prop-line): Small simplifications.
18005 (hack-local-variables, hack-local-variables-prop-line):
18006 If MODE-ONLY, return the mode, rather than just `t'.
18007
b7cf2c79
SM
180082011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18009
18010 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18011
3f1a8558
GM
180122011-05-21 Glenn Morris <rgm@gnu.org>
18013
7e4ccca3
GM
18014 * files.el (hack-local-variables-prop-line, hack-local-variables):
18015 If only interested in the mode, don't bother doing the other stuff.
18016
637d46ca
GM
18017 * image-mode.el (image-after-revert-hook):
18018 Redraw all frames on which the image is visible. (Bug#8567)
18019
973d955b
GM
18020 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18021
3f1a8558
GM
18022 * wid-edit.el (widget-checklist-match-inline):
18023 Fix 2011-04-19 change. (Bug#8649)
18024
96479927
SM
180252011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18026
1dcf791f
SM
18027 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18028 Also allow singlespace after single-letter capitals followed by a dot.
18029
96479927
SM
18030 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18031 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18032
35fd0881
N
180332011-05-20 Nix <nix@esperi.org.uk>
18034
18035 * files.el (basic-save-buffer-2):
18036 Fix handling of break-hardlink-on-save with non-existent files.
18037
82745640
DD
180382011-05-19 Deniz Dogan <deniz@dogan.se>
18039
18040 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18041 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18042
4a720484
GM
180432011-05-19 Glenn Morris <rgm@gnu.org>
18044
d1f21341
GM
18045 * progmodes/f90.el (f90-type-def-re):
18046 Handle "type, bind(c)". (Bug#8691)
18047
4a720484
GM
18048 * emacs-lisp/autoload.el (batch-update-autoloads):
18049 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18050
2fb0a219
MA
180512011-05-18 Michael Albinus <michael.albinus@gmx.de>
18052
18053 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18054 property for the correct connection in case of multihops.
18055
e565dd37
GM
180562011-05-18 Glenn Morris <rgm@gnu.org>
18057
c2571358 18058 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18059 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18060
e565dd37
GM
18061 Rationalize calendar handling of day and month abbrev-arrays.
18062 * calendar/calendar.el (calendar-customized-p): New function.
18063 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18064 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18065 Add :set function.
18066 (calendar-abbrev-length, calendar-day-abbrev-array)
18067 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18068 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18069 Elements may no longer be nil.
18070 (calendar-day-name, calendar-month-name):
18071 Update for changed nature of abbrev arrays.
18072 * calendar/diary-lib.el (diary-name-pattern):
18073 Update for changed nature of abbrev arrays.
18074 (diary-mark-entries-1): Update calendar-make-alist calls.
18075 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18076 * calendar/cal-html.el (cal-html-day-abbrev-array):
18077 Simply inherit from calendar-day-abbrev-array.
18078
1d99a745
SM
180792011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18080
18081 * progmodes/grep.el (grep-mode): Disable default
18082 compilation-directory-matcher setting (bug#8684).
18083
7c1d9aa0
MA
180842011-05-17 Michael Albinus <michael.albinus@gmx.de>
18085
18086 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18087 instead of "head" and "tail". There were problems with SunOS 5.9,
18088 and it performs better.
18089
3952e9d8
GM
180902011-05-17 Glenn Morris <rgm@gnu.org>
18091
2dd12e7f
GM
18092 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18093
e4157b9c
GM
18094 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18095 Replace obsolete function.
18096
8e249bbd
GM
18097 * shell.el (pcomplete-parse-arguments-function): Declare.
18098
3952e9d8
GM
18099 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18100 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18101 (appt-check): Doc fixes.
18102 (appt-disp-window-function, appt-delete-window-function):
18103 Remove needless special case in custom :type.
18104 (appt-display-count): Default to 0, not nil.
18105 (appt-check): Reset appt-display-count to 0, not nil.
18106
c71a0d48 181072011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18108
c71a0d48
GM
18109 * progmodes/python.el (python-font-lock-keywords):
18110 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18111
31d55be9
SM
181122011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18113
18114 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18115
3bfacb2f
KR
181162011-05-16 Kevin Ryde <user42@zip.com.au>
18117
18118 * info-look.el (makefile-automake-mode): New setups, looking in
18119 automake manual, then makefile-mode.
18120 (makefile-mode): Remove automake manual, have it just in
18121 makefile-automake-mode since there's various things different or
18122 not relevant to plain make.
18123 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18124 believe a hypothetical automake-mode would go to makefile-mode,
18125 not the other way around.
18126
c8e83751
CY
181272011-05-15 Chong Yidong <cyd@stupidchicken.com>
18128
5e9e35cd
CY
18129 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18130 hunk-end tags (Bug#8672).
18131
c8e83751
CY
18132 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18133 vc-annotate-show-diff-revision-at-line (Bug#8671).
18134
50b23e5a
GM
181352011-05-14 Glenn Morris <rgm@gnu.org>
18136
7210a739
GM
18137 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18138 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18139 (change-log-font-lock-keywords): Also handle multiple author lines
18140 with leading tabs. (Bug#8644)
7210a739 18141
4691905a
GM
18142 * calendar/appt.el (appt-check): Rename some local variables.
18143 Some simplification/reordering.
18144
50b23e5a
GM
18145 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18146 (feedmail-sendmail-f-doesnt-sell-me-out)
18147 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18148 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18149 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18150 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18151 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18152 (feedmail-binmail-gnulinuxish-template):
18153 Rename from feedmail-binmail-linuxish-template.
18154 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18155 Use insert-buffer-substring.
18156
215cda7c
BC
181572011-05-14 Bill Carpenter <bill@carpenter.org>
18158
18159 * mail/feedmail.el (feedmail-patch-level): Increase.
18160 (feedmail-debug): New custom group.
18161 (feedmail-confirm-outgoing-timeout)
18162 (feedmail-sendmail-f-doesnt-sell-me-out)
18163 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18164 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18165 (feedmail-sender-line, feedmail-from-line)
18166 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18167 (feedmail-spray-this-address)
215cda7c
BC
18168 (feedmail-spray-address-fiddle-plex-list)
18169 (feedmail-queue-use-send-time-for-date)
18170 (feedmail-queue-use-send-time-for-message-id)
18171 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18172 (feedmail-buffer-eating-function):
18173 Doc fixes.
18174 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18175 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18176 (feedmail-message-action-scroll-down): New functions.
18177 (feedmail-queue-directory, feedmail-queue-draft-directory):
18178 Use expand-file-name.
18179 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18180 Remove C-v help entry.
18181 (feedmail-queue-buffer-file-name): New variable.
18182 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18183 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18184 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18185 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18186 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18187 (feedmail-message-action-toggle-spray)
18188 (feedmail-run-the-queue-no-prompts)
18189 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18190 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18191 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18192 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18193 (feedmail-envelope-deducer, feedmail-fiddle-from)
18194 (feedmail-fiddle-sender, feedmail-default-date-generator)
18195 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18196 (feedmail-fiddle-spray-address)
18197 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18198 (feedmail-fiddle-list-of-fiddle-plexes)
18199 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18200 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18201 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18202 Change default. Doc fix.
18203 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18204 (feedmail-binmail-linuxish-template): New constant.
18205 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18206 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18207 (feedmail-send-it): Add debug call.
18208 Use feedmail-queue-buffer-file-name, and
18209 feedmail-send-it-immediately-wrapper.
18210 (feedmail-message-action-send): Add debug call.
18211 Use feedmail-send-it-immediately-wrapper.
18212 (feedmail-queue-express-to-queue): Add debug call.
18213 Run feedmail-queue-express-hook.
18214 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18215 (feedmail-message-action-help-blat):
18216 Rename from feedmail-queue-send-edit-prompt-help-first.
18217 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18218 Check line-endings. Handle errors better.
18219 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18220 Doc fix. Add debug call.
18221 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18222 Use feedmail-queue-send-edit-prompt-inner.
18223 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18224 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18225 from feedmail-queue-send-edit-prompt.
18226 (feedmail-queue-send-edit-prompt-help)
18227 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18228 (feedmail-tidy-up-slug): Add debug call.
18229 Respect feedmail-queue-slug-suspect-regexp.
18230 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18231 (feedmail-dump-message-to-queue): Add debug call.
18232 Expand queue-directory.
18233 (feedmail-dump-message-to-queue): Change message slightly.
18234 Use feedmail-say-chatter.
18235 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18236 (feedmail-send-it-immediately-wrapper): New function.
18237 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18238 Insert empty string rather than newline. Handle full-frame case.
18239 Use catch/throw. Use feedmail-say-chatter.
18240 (feedmail-fiddle-from): Try mail-host-address.
18241 (feedmail-default-message-id-generator): Doc fix.
18242 Bind system-time-locale. Handle missing end.
18243 (feedmail-fiddle-x-mailer): Add debug call.
18244 Handle feedmail-x-mailer-line being nil.
18245 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18246 Add debug call. Use buffer-substring-no-properties.
18247 (feedmail-say-debug, feedmail-say-chatter): New functions.
18248 (feedmail-find-eoh): Give an explicit error.
18249
42c7e61e
UJ
182502011-05-13 Ulf Jasper <ulf.jasper@web.de>
18251
c2571358 18252 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18253 family from helvetica to sans.
c2571358 18254 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18255 etc/images/newsticker.
18256
c2571358 18257 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18258 family from helvetica to sans.
18259
18260 * net/newst-plainview.el (newsticker-new-item-face)
18261 (newsticker-old-item-face, newsticker-immortal-item-face)
18262 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18263 (newsticker-statistics-face): Change default family from
42c7e61e 18264 helvetica to sans.
c2571358 18265 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18266 etc/images/newsticker.
18267
5d3385a0
JB
18268 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18269 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18270 auto-marking.
18271
8497a297
DV
182722011-05-13 Didier Verna <didier@xemacs.org>
18273
18274 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18275 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18276 TODO entries.
8497a297
DV
18277 (lisp-lambda-list-keyword-parameter-indentation)
18278 (lisp-lambda-list-keyword-parameter-alignment)
18279 (lisp-lambda-list-keyword-alignment): New customizable user options.
18280 (lisp-indent-defun-method): Improve docstring.
18281 (extended-loop-p): Fix comment.
18282 (lisp-indent-lambda-list-keywords-regexp): New variable.
18283 (lisp-indent-lambda-list): New function.
18284 (lisp-indent-259): Use it.
18285 (lisp-indent-defmethod): Support for more than one
18286 method qualifier and properly indent methods lambda-lists.
18287 (defgeneric): Provide a missing common-lisp-indent-function property.
18288
f278f87f
SM
182892011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18290
18291 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18292 bounds for the empty string (bug#8667).
18293
5233edd7
GM
182942011-05-13 Glenn Morris <rgm@gnu.org>
18295
5237a44f
GM
18296 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18297
8340026c 18298 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18299 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18300
5233edd7 18301 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18302 (appt-time-msg-list): Doc fix.
a5464014 18303 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18304
92d10796
AS
183052011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18306
18307 * progmodes/ld-script.el (ld-script-keywords)
18308 (ld-script-builtins): Update keywords list.
18309
914a0ae1
SM
183102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18311
c89be45f
SM
18312 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18313
914a0ae1
SM
18314 * shell.el (shell-completion-vars): New function.
18315 (shell-mode):
18316 * simple.el (read-shell-command): Use it.
18317 (blink-matching-open): No need for " [...]" in minibuffer-message.
18318
98dc3df3
GM
183192011-05-12 Glenn Morris <rgm@gnu.org>
18320
18321 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18322 (appt-check): Simplify.
18323
d2fc7e3d 183242011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18325
4d61f28d 18326 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18327 literal "/dev/null".
18328
d2fc7e3d 183292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18330
18331 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18332 Fix typo.
18333
d2fc7e3d 183342011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18335
3f254caa
SM
18336 * progmodes/which-func.el (which-function):
18337 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18338 which might not be defined (Bug#8260).
18339
d45885f7
GM
183402011-05-12 Glenn Morris <rgm@gnu.org>
18341
18342 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18343 Let byte-compile-initial-macro-environment always take precedence.
18344
488086f4
SM
183452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18346
18347 * net/rcirc.el: Add support for SSL/TLS connections.
18348 (rcirc-server-alist): New field `encryption'.
18349 (rcirc): Check `encryption' settings.
18350 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18351 Merge make-local-variable into `set'.
18352 (rcirc--connection-open-p): New function.
18353 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18354 the process is not a network process (e.g. running gnutls-cli).
18355 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18356 Make rcirc-(en|de)code-coding-system local here.
18357 (rcirc-mode): Merge make-local-variable into `set'.
18358 (rcirc-parent-buffer): Make permanent buffer-local.
18359 (rcirc-multiline-minor-mode): Don't do it here.
18360 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18361 there's no server buffer.
18362
7d3b9d44
GM
183632011-05-11 Glenn Morris <rgm@gnu.org>
18364
f64049c6
GM
18365 * newcomment.el (comment-kill): Prefix "unused" local.
18366
93c9df73
GM
18367 * term/w32console.el (get-screen-color): Declare.
18368
7d3b9d44
GM
18369 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18370 Handle symbol elements of byte-compile-initial-macro-environment.
18371
9e2dd53f
LL
183722011-05-10 Leo Liu <sdl.web@gmail.com>
18373
488086f4
SM
18374 * bookmark.el (bookmark-bmenu-mode-map):
18375 Bind bookmark-bmenu-search to `/'.
8b340240 18376
9e2dd53f 18377 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18378 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18379 (Footnote-unicode): New function.
18380 (footnote-style-alist): Add unicode style to the list.
18381 (footnote-style): Doc fix.
9e2dd53f 18382
79b70037
GM
183832011-05-10 Jim Meyering <meyering@redhat.com>
18384
18385 Fix doubled-word typos.
18386 * international/quail.el (quail-insert-kbd-layout): and and -> and
18387 * kermit.el: and and -> and
18388 * net/ldap.el (ldap-search-internal): to to -> to
18389 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18390 * progmodes/js.el (js-mode): and and -> and
18391 * textmodes/artist.el (artist-move-to-xy): at at -> at
18392 (artist-draw-region-trim-line-endings): if if -> if
18393 And Safetyc -> Safety.
18394 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18395
b8f82dc1 183962011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18397 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18398
18399 * files.el (hack-one-local-variable-eval-safep):
18400 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18401
4f99f44b
GM
184022011-05-10 Glenn Morris <rgm@gnu.org>
18403
18404 * calendar/diary-lib.el (diary-list-entries-hook)
18405 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18406 (diary-nongregorian-marking-hook, diary-list-entries)
18407 (diary-include-other-diary-files, diary-mark-entries)
18408 (diary-mark-included-diary-files): Doc fixes.
18409
84f29e6b
JB
184102011-05-09 Juanma Barranquero <lekktu@gmail.com>
18411
18412 * misc.el: Require tabulated-list.el during compilation.
18413
9bedd73a
CY
184142011-05-09 Chong Yidong <cyd@stupidchicken.com>
18415
488086f4
SM
18416 * progmodes/compile.el (compilation-start):
18417 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18418 (compilation-filter-hook): Doc fix.
18419
797c735c
DD
184202011-05-09 Deniz Dogan <deniz@dogan.se>
18421
18422 * wdired.el: Remove outdated installation comment. Fix usage
18423 comment.
18424
5f4b1dfe
JB
184252011-05-09 Juanma Barranquero <lekktu@gmail.com>
18426
18427 * misc.el: Implement new command `list-dynamic-libraries'.
18428 (list-dynamic-libraries--loaded-only-p): New variable.
18429 (list-dynamic-libraries--refresh): New function.
18430 (list-dynamic-libraries): New command.
18431
4c44026c
CY
184322011-05-09 Chong Yidong <cyd@stupidchicken.com>
18433
488086f4
SM
18434 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18435 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18436 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18437 higher priority to avoid clobbering by gnu.
18438
027f966d
CY
184392011-05-08 Chong Yidong <cyd@stupidchicken.com>
18440
18441 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18442 if the face has existing theme settings (Bug#8454).
18443
085f5d7d
CY
184442011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18445
488086f4
SM
18446 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18447 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18448
2a86a00c
RS
18449 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18450 special file names `.' and `..' (Bug#8259).
18451
d9c54a06
CY
184522011-05-08 Chong Yidong <cyd@stupidchicken.com>
18453
488086f4
SM
18454 * progmodes/grep.el (grep-mode-font-lock-keywords):
18455 Remove buffer-changing entries.
d9c54a06
CY
18456 (grep-filter): New function.
18457 (grep-mode): Add it to compilation-filter-hook.
18458
18459 * progmodes/compile.el (compilation-filter-hook)
18460 (compilation-filter-start): New defvars.
18461 (compilation-filter): Call compilation-filter-hook prior to
18462 updating the process mark.
18463
c4662635
SM
184642011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18465
18466 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18467
b0512a1d
EZ
184682011-05-07 Eli Zaretskii <eliz@gnu.org>
18469
605c9376
EZ
18470 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18471 mailclient-send-it even if window-system is nil. (Bug#8595)
18472
c4662635
SM
18473 * term/w32console.el (terminal-init-w32console):
18474 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18475 background-mode. (Bug#8597)
18476
d1dc2cc2
SM
184772011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18478
18479 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18480 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18481 New functions.
18482 (defgeneric, eieio--defmethod): Use them.
18483 (eieio-defgeneric): Remove.
18484 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18485
915d1300
GM
184862011-05-07 Glenn Morris <rgm@gnu.org>
18487
a3961c3e
GM
18488 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18489 Use let rather than let*.
18490 (timeclock-find-discrep): Remove unused local.
18491
314347b9
GM
18492 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18493
915d1300
GM
18494 * calendar/appt.el (appt-time-msg-list): Doc fix.
18495
275b59b0
NF
184962011-05-06 Noah Friedman <friedman@splode.com>
18497
18498 * apropos.el (apropos-print-doc): Only use
18499 emacs-lisp-docstring-fill-column when it is bound to an integer,
18500 per that variable's documentation.
18501
6c19f744
SM
185022011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18503
18504 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18505 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18506
60f884b2
GM
185072011-05-06 Glenn Morris <rgm@gnu.org>
18508
5006e634
GM
18509 * calendar/appt.el (appt-message-warning-time): Doc fix.
18510 (appt-warning-time-regexp): New option.
18511 (appt-make-list): Respect appt-message-warning-time.
18512
548d0a63
GM
18513 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18514 New options.
18515 (diary-add-to-list): Strip comments from the displayed string.
18516 (diary-mode): Set comment-start and comment-end.
18517
60f884b2
GM
18518 * vc/diff-mode.el (smerge-refine-subst): Declare.
18519 (diff-refine-hunk): Don't require smerge-mode when compiling.
18520
989681bb
JB
185212011-05-06 Juanma Barranquero <lekktu@gmail.com>
18522
18523 * simple.el (list-processes): Return nil as the docstring says.
18524
a6bc05e1
MA
185252011-05-05 Michael Albinus <michael.albinus@gmx.de>
18526
18527 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18528 to "".
18529 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18530 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18531 determining of binary transfer. (Bug#7383)
18532
23c22e9a
MA
185332011-05-05 Michael Albinus <michael.albinus@gmx.de>
18534
c4662635
SM
18535 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18536 Fix port computation bug. (Bug#8618)
23c22e9a 18537
0bff894f
GM
185382011-05-05 Glenn Morris <rgm@gnu.org>
18539
b8296902
GM
18540 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18541
1f522ce8
GM
18542 * simple.el (shell-dynamic-complete-functions)
18543 (comint-dynamic-complete-functions): Declare.
18544
cf5bee67
GM
18545 * net/network-stream.el (gnutls-negotiate):
18546 * simple.el (tabulated-list-print): Fix declarations.
18547
18548 * progmodes/gud.el (syntax-symbol, syntax-point):
18549 Remove unnecessary and incorrect declarations.
18550
0bff894f 18551 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18552 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18553
9869b3ae
SM
185542011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18555
18556 Fix earlier half-done eieio-defmethod change (bug#8338).
18557 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18558 Streamline and change calling convention.
18559 (defmethod): Adjust accordingly and simplify.
18560 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18561 new eieio--defmethod.
18562 (slot-boundp): Minor CSE simplification.
18563
9c1d5ac5
MZ
185642011-05-05 Milan Zamazal <pdm@zamazal.org>
18565
18566 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18567 (glasses-make-readable): Use glasses-separate-capital-groups.
18568
455c834e
JB
185692011-05-05 Juanma Barranquero <lekktu@gmail.com>
18570
18571 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18572 (warning-series): Doc fix.
18573 (display-warning): Don't try to create the buffer if we just found it.
18574
9ed7c8cb
CY
185752011-05-04 Chong Yidong <cyd@stupidchicken.com>
18576
18577 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18578 (autoload-find-generated-file): New function.
18579 (generate-file-autoloads): Bind generated-autoload-file to
18580 buffer-file-name.
9869b3ae
SM
18581 (update-file-autoloads, update-directory-autoloads):
18582 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18583 output file (Bug#7989).
18584 (batch-update-autoloads): Doc fix.
18585
0898ca10
JB
185862011-05-04 Juanma Barranquero <lekktu@gmail.com>
18587
18588 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18589
31dfb76c
GM
185902011-05-04 Glenn Morris <rgm@gnu.org>
18591
f330b642
GM
18592 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18593 function, so it follows changes in calendar-date-style.
18594 (diary-fancy-date-matcher): New function.
18595 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18596 (diary-fancy-font-lock-fontify-region-function):
18597 Use diary-fancy-date-pattern as a function.
18598
31dfb76c
GM
18599 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18600 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18601
48e79d6a
TZ
186022011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18603
18604 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18605 instead of positional arguments. Allow :keylist and :crlfiles
18606 arguments.
18607 (open-gnutls-stream): Call it.
18608
18609 * net/network-stream.el (network-stream-open-starttls): Adjust to
18610 call `gnutls-negotiate' with :process and :hostname arguments.
18611
dd5a5ee0
SM
186122011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18613
ef80fc09
SM
18614 * minibuffer.el (completion--message): New function.
18615 (completion--do-completion, minibuffer-complete)
18616 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18617 (completion--do-completion): Don't ignore completion-auto-help when in
18618 icomplete-mode.
18619
dd5a5ee0
SM
18620 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18621 internal encoding (e.g. tibetan zero is not whitespace).
18622 (global-whitespace-mode): Prefer save-current-buffer.
18623 (whitespace-trailing-regexp): Remove useless save-match-data.
18624 (whitespace-empty-at-bob-regexp): Minor simplification.
18625
b7d22a83
CY
186262011-05-03 Chong Yidong <cyd@stupidchicken.com>
18627
18628 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18629
5192af46
AM
186302011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18631
18632 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18633 Use `concat' to create string for insertion.
5192af46 18634
5767d190
SM
186352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18636
18637 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18638 Avoid open-line which runs post-self-insert-hook.
18639 (bibtex-fill-entry): Remove unused `end' var.
18640
bf242939
AM
186412011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18642
5767d190
SM
18643 * textmodes/ispell.el (ispell-add-per-file-word-list):
18644 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18645
25666126
LL
186462011-05-03 Leo Liu <sdl.web@gmail.com>
18647
18648 * isearch.el (isearch-yank-pop): New command.
5767d190 18649 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18650 (isearch-forward): Mention it.
18651
52d3c2d0
SM
186522011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18653
1bcace58
SM
18654 * simple.el (minibuffer-complete-shell-command): Remove.
18655 (minibuffer-local-shell-command-map): Use completion-at-point.
18656 (read-shell-command): Setup completion vars here instead.
18657 (read-expression-map): Bind TAB to symbol completion.
18658
52d3c2d0
SM
18659 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18660 error directly rather via storing it into `results'.
18661
35813471
LL
186622011-05-02 Leo Liu <sdl.web@gmail.com>
18663
18664 * vc/diff.el: Fix description.
18665
e793a940
LMI
186662011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18667
18668 * server.el (server-eval-at): New function.
18669
8de66e05
LMI
186702011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18671
18672 * net/network-stream.el (open-network-stream): Take a :nowait
18673 parameter and pass it on to `make-network-process'.
18674 (network-stream-open-plain): Ditto.
18675
dcb79f20
AS
186762011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18677
18678 * faces.el (face-spec-set-match-display): Don't match toolkit
18679 options on terminal frames.
18680
14a7fbd8
SM
186812011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18682
7eabc1be
SM
18683 * progmodes/pascal.el: Use lexical binding.
18684 (pascal-mode-map): Remove author preferences.
18685
14a7fbd8
SM
18686 * pcomplete.el (pcomplete-std-complete): Don't abuse
18687 completion-at-point.
18688
50f84510
JB
186892011-04-28 Juanma Barranquero <lekktu@gmail.com>
18690
6e087a44
JB
18691 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18692 removing code that has been dead since 1991 or so.
18693
50f84510
JB
18694 * startup.el (command-line): When warning about "_emacs", use a
18695 delayed warning to allow the user to filter it out.
18696
0ba690bd
DD
186972011-04-28 Deniz Dogan <deniz@dogan.se>
18698
18699 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18700 user has not joined.
18701
08abfaad
SM
187022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18703
18704 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18705 aren't any completions at point.
18706
638f053a
JB
187072011-04-28 Juanma Barranquero <lekktu@gmail.com>
18708
18709 * subr.el (display-delayed-warnings): New function.
18710 (delayed-warnings-hook): New variable.
18711
8fff8daa
SM
187122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18713
08abfaad
SM
18714 * minibuffer.el (completion-at-point, completion-help-at-point):
18715 Don't presume that a given completion-at-point-function will always
18716 use the same calling convention.
18717
8fff8daa
SM
18718 * pcomplete.el (pcomplete-completions-at-point):
18719 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18720 pcomplete-seen is non-nil.
18721 (pcomplete-comint-setup): Also recognize the new comint/shell
18722 completion functions.
18723 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18724 pcomplete-seen is non-nil.
18725
841a1577 187262011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18727
841a1577 18728 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18729 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18730 the first character in the entry. This allows for code to add its
211ec907
UJ
18731 own uid to the entry.
18732 (icalendar--convert-float-to-ical): Add export of
18733 `diary-float'-entries save for those with the optional DAY
18734 argument.
18735
2a782793
DC
187362011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18737
18738 * subr.el (shell-quote-argument): Use alternate escaping strategy
18739 when we spot a variable reference in a string.
18740
0438ce91
DC
187412011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18742
18743 * cus-start.el (all): Define customization for debug-on-event.
18744
841a1577 187452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18746
18747 * subr.el (shell-quote-argument): Escape correctly under Windows.
18748
d090ed6c
SM
187492011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18750
18751 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18752
bfd31217
MA
187532011-04-25 Michael Albinus <michael.albinus@gmx.de>
18754
d090ed6c
SM
18755 * net/tramp.el (tramp-process-actions): Add POS argument.
18756 Delete region between POS and (pos).
bfd31217 18757
d090ed6c
SM
18758 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18759 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18760 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18761
18762 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18763 position in `tramp-process-actions' call.
18764
18765 * net/trampver.el: Update release number.
18766
e92f3bd3
SM
187672011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18768
850256b5
SM
18769 * custom.el (defcustom): Obey lexical-binding.
18770
e92f3bd3
SM
18771 Fix octave-inf completion problems reported by Alexander Klimov.
18772 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18773 Inherit from octave-mode-syntax-table.
18774 (inferior-octave-mode): Set info-lookup-mode.
18775 (inferior-octave-completion-at-point): New function.
18776 (inferior-octave-complete): Use it and completion-in-region.
18777 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18778 comint-filename-completion.
18779 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18780 symbol elements which shouldn't be word elements.
18781 (octave-font-lock-keywords, octave-beginning-of-defun)
18782 (octave-function-header-regexp): Adjust regexps accordingly.
18783 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18784
cd22b309
JB
187852011-04-25 Juanma Barranquero <lekktu@gmail.com>
18786
18787 * net/gnutls.el (gnutls-errorp): Declare before first use.
18788
8b492194
TZ
187892011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18790
18791 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18792 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18793 default trustfile exists before going to use it. Add missing
5a5fa834 18794 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18795 Reported by Claudio Bley <claudio.bley@gmail.com>.
18796 (open-gnutls-stream): Add usage example.
18797
18798 * net/network-stream.el (network-stream-open-starttls): Give host
18799 parameter to `gnutls-negotiate'.
18800 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18801 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18802
841a1577 188032011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18804
cd22b309
JB
18805 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18806 Use correct match group (bug#8438).
05842630 18807
3ba7869c
CY
188082011-04-24 Chong Yidong <cyd@stupidchicken.com>
18809
512e3ae1
CY
18810 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18811 (package-menu--generate): New arg specifying packages to show.
18812 (package-menu-refresh, package-menu-execute, list-packages):
18813 Callers changed.
18814 (package-show-package-list): New function, replacing deleted
18815 package--list-packages (renamed because it is non-internal).
18816
18817 * finder.el (finder-list-matches): Use package-show-package-list
18818 instead of deleted package--list-packages.
18819
e92f3bd3
SM
18820 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18821 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18822 (vc-annotate-mode-map): Bind it to RET.
18823
7031be6d
UR
188242011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18825
18826 * progmodes/etags.el (next-file): Don't use set-buffer to change
18827 buffers (Bug#8478).
18828
4ef177aa
CY
188292011-04-24 Chong Yidong <cyd@stupidchicken.com>
18830
c8d173eb
CY
18831 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18832
4ef177aa
CY
18833 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18834 (apropos-accumulator): Doc fix.
18835 (apropos-function, apropos-macro, apropos-command)
18836 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18837 (apropos-plist): Add face property.
18838 (apropos-symbols-internal): Fix indentation.
18839 (apropos-print): Simplify help, and recognize apropos-multi-type.
18840 (apropos-print-doc): Use button-type-get to extract the button's
18841 face property. Fill docstring (Bug#8352).
18842
4ffd0d6b 188432011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18844
18845 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18846
c6c32125 18847 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18848 (mpuz-mode-map): Use mapc.
c6c32125
JB
18849 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18850 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18851 Fix typos in docstrings.
18852
58d468b4
JB
18853 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18854 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18855
6470c3c6
JB
18856 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18857
4ffd0d6b 188582011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18859
18860 * minibuffer.el (completion--do-completion): Avoid the "Next char
18861 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18862
3ad8bad0
CY
18863 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18864 mouse-2 into unread-command-events, it is interpreted correctly.
18865
71d73c9c 18866 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18867 (image-toggle-display): Doc fix.
71d73c9c 18868
841a1577 188692011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18870
4ffd0d6b
GM
18871 * textmodes/page.el (what-page): Use line-number-at-pos to
18872 calculate line number (Bug#6825).
6e1dbaa9 18873
c2fb1b60
JB
188742011-04-22 Juanma Barranquero <lekktu@gmail.com>
18875
18876 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18877 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18878 Pass argument NO-DEFAULT to `find-tag-interactive'.
18879
e02f48d7
JB
188802011-04-22 Juanma Barranquero <lekktu@gmail.com>
18881
18882 Lexical-binding cleanup.
18883
18884 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18885 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18886 * progmodes/ada-prj.el (ada-prj-initialize-values)
18887 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18888 (ada-prj-show-value):
18889 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18890 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18891 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18892 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18893 * progmodes/bug-reference.el (bug-reference-push-button):
18894 * progmodes/fortran.el (fortran-line-length):
18895 * progmodes/glasses.el (glasses-change):
18896 * progmodes/octave-mod.el (octave-fill-paragraph):
18897 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18898 (python-pdbtrack-grub-for-buffer, python-sentinel):
18899 * progmodes/sql.el (sql-save-connection):
18900 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18901 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18902 Mark unused parameters.
18903
18904 * progmodes/compile.el (compilation--flush-directory-cache)
18905 (compilation--flush-parse, compile-internal): Mark unused parameters.
18906 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18907 (compilation-next-error-function): Remove unused variable `timestamp'.
18908
18909 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18910 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18911
18912 * progmodes/dcl-mode.el (dcl-end-of-command):
18913 Remove unused variable `start'.
18914 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18915 (dcl-option-value-basic, dcl-option-value-offset)
18916 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18917 Mark unused parameters.
18918 (dcl-save-local-variable): Remove unused variable `val'.
18919 (mode): Declare.
18920
18921 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18922 Mark unused parameters.
18923 (delphi-ignore-changes): Move before first use.
18924 (delphi-charset-token-at): Remove unused variable `start'.
18925 (delphi-else-start): Remove unused variable `if-count'.
18926 (delphi-comment-block-start, delphi-comment-block-end):
18927 Remove unused variable `kind'.
18928 (delphi-indent-line): Remove unused variable `new-point'.
18929
18930 * progmodes/ebrowse.el (ebrowse-files-list)
18931 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18932 Mark unused parameters. Don't quote `lambda'.
18933 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18934 Don't quote `lambda'.
18935 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18936 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18937 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18938 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18939 Use `ignore-errors'.
18940 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18941 (ebrowse-view/find-file-and-search-pattern)
18942 (ebrowse-view/find-member-declaration/definition):
18943 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18944 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18945 Rename parameter PREFIX-ARG to PREFIX.
18946 (ebrowse-tags-read-name): Remove unused variables `start' and
18947 `member-info'.
18948 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18949 to `tags-file'.
18950
18951 * progmodes/etags.el (local-find-tag-hook): Declare.
18952 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18953 Mark unused parameters.
18954
18955 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18956 (executable-interpret): Mark unused parameter.
18957
18958 * progmodes/flymake.el (flymake-process-sentinel)
18959 (flymake-after-change-function)
18960 (flymake-create-temp-with-folder-structure)
18961 (flymake-get-include-dirs-dot): Mark unused parameters.
18962 (flymake-safe-delete-directory): Remove unused variable `err'.
18963
18964 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18965 (speedbar-timer-fn, speedbar-line-text)
18966 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18967 (speedbar-center-buffer-smartly): Declare functions.
18968 (gdb-find-watch-expression): Remove unused variable `array'.
18969 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18970 (gdb-starting): Mark unused parameters.
18971 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18972 (gdb-table-string): Remove unused variable `res'.
18973 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18974 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18975 (gdb-display-buffer): Remove unused variable `cur-size'.
18976
18977 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18978 allow lexical-binding compilation.
18979 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18980 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18981 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18982 Mark unused parameters.
18983 (gud-gdb-marker-filter): Remove unused variable `match'.
18984 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18985 lambda expressions and funcall them, instead of using `fset'.
18986
18987 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18988 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18989
18990 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18991 variable `header-beg'; use `let'.
18992
18993 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18994 `restart', `last-sexp' and `at-do'.
18995
18996 * progmodes/js.el (js--debug): Mark unused parameter.
18997 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18998 (js--splice-into-items): Remove unused variable `item'.
18999 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19000
19001 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19002 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19003 (makefile-complete): Remove unused variable `try'.
19004 (makefile-fill-paragraph, makefile-match-function-end):
19005 Mark unused parameters.
19006
19007 * progmodes/octave-inf.el (inferior-octave-complete):
19008 Remove unused variable `proc'.
19009 (inferior-octave-output-digest): Mark unused parameter.
19010
19011 * progmodes/perl-mode.el (perl-calculate-indent):
19012 Remove unused variable `err'.
19013
19014 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19015 (prolog-indent-line): Mark unused parameters.
19016 (prolog-indent-line): Remove unused variable `beg'.
19017
19018 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19019 (reporter-dont-compact-list): Declare.
19020
19021 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19022 Remove unused variable `char'.
19023 (sh-debug): Mark unused parameter.
19024 (sh-get-indent-info): Remove unused variable `start'.
19025 (sh-calculate-indent): Remove unused variable `var'.
19026
19027 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19028 (simula-electric-keyword): Remove unused variable `null'.
19029 (simula-search-backward, simula-search-forward): Remove unused
19030 variables `begin' and `end'.
19031
19032 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19033 Remove unused variable `pos'.
19034 (vera-electric-tab, vera-comment-uncomment-region):
19035 Mark unused parameters.
19036 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19037
7ede3b65
CY
190382011-04-22 Chong Yidong <cyd@stupidchicken.com>
19039
19040 * emacs-lisp/package.el (package--builtins, package-alist)
19041 (package-load-descriptor, package-built-in-p, package-activate)
19042 (define-package, package-installed-p)
19043 (package-compute-transaction, package-buffer-info)
19044 (package--push): Doc fix. Distinguish more clearly between
19045 version strings and version lists.
19046
121656e9
JB
190472011-04-21 Juanma Barranquero <lekktu@gmail.com>
19048
19049 Lexical-binding cleanup.
19050
19051 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19052 (5x5-make-mutate-best):
19053 * play/fortune.el (fortune-in-buffer):
19054 * play/gomoku.el (gomoku-init-display):
19055 * play/solitaire.el (solitaire, solitaire-do-check):
19056 * play/tetris.el (tetris-default-update-speed-function):
19057 Mark unused parameters.
19058
19059 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19060 (bubbles--shift): Remove unused variable `char-org'.
19061 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19062 (bubbles--show-images): Remove unused variable `char'.
19063
19064 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19065 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19066 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19067 (decipher-analyze-buffer): Use ?\s.
19068 (decipher-make-checkpoint): Remove unused variable `mapping'.
19069
19070 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19071
19072 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19073 Remove unused variable `result'; use `let'.
19074
19075 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19076 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19077 (gametree-children-shown-p, gametree-compute-reduced-score):
19078 Use `ignore-errors'.
19079
19080 * play/handwrite.el (ps-lpr-switches): Declare.
19081 (handwrite): Remove unused variables `pmin' and `lastp'.
19082
19083 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19084
19085 * play/landmark.el (landmark-init-display)
19086 (landmark-update-naught-weights): Mark unused parameters.
19087 (landmark-y): Remove unused variable `noise'. Simplify.
19088 (landmark-human-plays): Remove unused variable `score'.
19089
19090 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19091 (mpuz-try-proposal): Remove unused variable `game'.
19092
19093 * play/zone.el (life-patterns): Declare.
19094
80f499c7
JB
190952011-04-20 Juanma Barranquero <lekktu@gmail.com>
19096
19097 * vc/vc.el (ediff-vc-internal): Declare function.
19098
024ff170
SM
190992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19100
c0a193ea
SM
19101 * shell.el: Use lexical-binding and std completion UI.
19102 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19103 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19104 comint-preoutput-filter-functions rather than on
19105 comint-output-filter-functions.
19106 (shell-command-completion, shell--command-completion-data)
19107 (shell-filename-completion, shell-environment-variable-completion)
19108 (shell-c-a-p-replace-by-expanded-directory): New functions.
19109 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19110 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19111 (shell-dynamic-complete-environment-variable): Use them.
19112 (shell-dynamic-complete-as-environment-variable)
19113 (shell-dynamic-complete-as-command): Remove.
19114 (shell-match-partial-variable): Match past point.
19115 * comint.el: Clean up use of completion-at-point-functions.
19116 (comint-completion-at-point): New function.
19117 (comint-mode): Use it completion-at-point-functions.
19118 (comint-dynamic-complete): Make it obsolete.
19119 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19120 (comint-c-a-p-replace-by-expanded-history): New function.
19121 (comint-dynamic-complete-functions)
19122 (comint-replace-by-expanded-history): Use it.
19123 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19124 termination strings. Try harder to avoid second try-completion.
19125 (completion-in-region-mode-map): Disable bindings that don't work yet.
19126
2dbaa080
SM
19127 * comint.el: Use lexical-binding. Require CL.
19128 (comint-dynamic-complete-functions): Use comint-filename-completion.
19129 (comint-completion-addsuffix): Tweak custom type.
19130 (comint-filename-completion, comint--common-suffix)
19131 (comint--common-quoted-suffix, comint--table-subvert)
19132 (comint--complete-file-name-data): New functions.
19133 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19134 (comint-dynamic-list-filename-completions): Use them.
19135 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19136
2dbaa080
SM
19137 * minibuffer.el (completion-in-region-mode):
19138 Keep completion-in-region-mode--predicate global.
19139 (completion-in-region--postch):
19140 Assume completion-in-region-mode--predicate is not null.
19141
c79a6f38
SM
19142 * progmodes/flymake.el (flymake-start-syntax-check-process):
19143 Obey `dir'. Simplify.
19144
024ff170
SM
19145 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19146 we're in VC after all.
19147
1c6c854e
CS
191482011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19149
19150 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19151 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19152 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19153
bed7f140
SM
191542011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19155
332e62ab
SM
19156 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19157 add sanity check.
19158
bed7f140
SM
19159 * obsolete/erc-hecomplete.el: Make obsolete.
19160 * obsolete/: Standardize obsolescence info in the header.
19161
f195c582
GM
191622011-04-20 Glenn Morris <rgm@gnu.org>
19163
19164 * calendar/solar.el (solar-horizontal-coordinates):
19165 Use the longitude argument rather than `calendar-longitude'.
19166 (solar-date-next-longitude): Remove unused locals.
19167
cb79b8c0
VJL
191682011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19169
19170 * whitespace.el: New version 13.2.1.
19171
191722011-04-20 felix <EmacsWiki> (tiny change)
19173
d8e4b68b 19174 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19175 switching between major modes on a file.
19176
602ea69d
SM
191772011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19178
19179 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19180 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19181 multi-line comments as well.
19182
06b60517
JB
191832011-04-19 Juanma Barranquero <lekktu@gmail.com>
19184
19185 Lexical-binding cleanup.
19186
19187 * arc-mode.el (archive-mode-revert):
19188 * cmuscheme.el (scheme-interactively-start-process):
19189 * custom.el (custom-initialize-delay):
19190 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19191 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19192 * emacs-lock.el (emacs-lock-clear-sentinel):
19193 * ezimage.el (defezimage):
19194 * follow.el (follow-avoid-tail-recenter):
19195 * fringe.el (set-fringe-mode-1):
19196 * generic-x.el (bat-generic-mode-compile):
19197 * help-mode.el (help-info-variable, help-do-xref)
19198 (help-mode-revert-buffer):
19199 * help.el (view-emacs-todo):
19200 * iswitchb.el (iswitchb-completion-help):
19201 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19202 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19203 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19204 * locate.el (locate-update):
19205 * longlines.el (longlines-encode-region)
19206 (longlines-after-change-function):
19207 * outline.el (outline-isearch-open-invisible):
19208 * ps-def.el (declare-function, charset-dimension, char-width)
19209 (encode-char):
19210 * ps-mule.el (ps-mule-plot-string):
19211 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19212 (recentf-edit-list-select, recentf-edit-list-validate)
19213 (recentf-open-files-action):
19214 * rect.el (delete-whitespace-rectangle-line)
19215 (rectangle-number-line-callback):
19216 * register.el (window-configuration-to-register)
19217 (frame-configuration-to-register):
19218 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19219 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19220 (xselect-convert-to-targets, xselect-convert-to-delete)
19221 (xselect-convert-to-filename, xselect-convert-to-charpos)
19222 (xselect-convert-to-lineno, xselect-convert-to-colno)
19223 (xselect-convert-to-os, xselect-convert-to-host)
19224 (xselect-convert-to-user, xselect-convert-to-class)
19225 (xselect-convert-to-name, xselect-convert-to-integer)
19226 (xselect-convert-to-atom, xselect-convert-to-identity):
19227 * subr.el (declare, ignore, process-kill-without-query)
19228 (text-clone-maintain):
19229 * terminal.el (te-get-char, te-tic-sentinel):
19230 * tool-bar.el (tool-bar-make-keymap):
19231 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19232 * type-break.el (type-break-mode, type-break-noninteractive-query):
19233 * view.el (View-back-to-mark):
19234 * wid-browse.el (widget-browse-action, widget-browse-widget)
19235 (widget-browse-widgets, widget-browse-sexp):
19236 * widget.el (define-widget-keywords):
19237 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19238 Mark unused parameters.
19239
19240 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19241 (align-areas): Remove unused variable `look'.
19242 (align-region): Remove unused variables `real-end' and `pos-list'.
19243
19244 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19245
19246 * bindings.el (mode-line-modified, mode-line-remote):
19247 Mark unused parameters.
19248 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19249
19250 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19251 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19252
19253 * comint.el (comint-history-isearch-pop-state)
19254 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19255 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19256 (comint-substitute-in-file-name): Doc fix.
19257
19258 * completion.el (cmpl-statistics-block): Mark unused parameter.
19259 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19260 (save-completions-to-file, load-completions-from-file):
19261 Remove unused local variable `e'.
19262
19263 * composite.el (compose-chars): Remove unused variable `len'.
19264 (lgstring-insert-glyph): Remove unused variable `g'.
19265 (compose-glyph-string): Remove unused variables `ascent',
19266 `descent', `lbearing' and `rbearing'.
19267 (compose-glyph-string-relative): Remove unused variables
19268 `lbearing', `rbearing' and `wadjust'.
19269 (compose-gstring-for-graphic): Remove unused variables `header',
19270 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19271 (compose-gstring-for-terminal): Remove unused variables `header'
19272 and `nchars'. Use `let', not `let*'.
19273
19274 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19275 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19276 (Custom-buffer-done, custom-buffer-create-internal)
19277 (custom-browse-visibility-action, custom-browse-group-tag-action)
19278 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19279 (widget-magic-mouse-down-action, custom-toggle-parent)
19280 (custom-add-parent-links, custom-toggle-hide-variable)
19281 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19282 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19283 (custom-face-menu-create, custom-variable-menu-create, get)
19284 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19285 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19286 (customize-apropos): Remove unused variable `tests'.
19287 (custom-group-value-create): Remove unused variable `hidden-p'.
19288 (sort-fold-case): Declare.
19289
19290 * cus-theme.el (custom-reset-standard-faces-list)
19291 (custom-reset-standard-variables-list): Declare.
19292 (customize-create-theme, custom-theme-revert, custom-theme-write)
19293 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19294 Mark unused parameters.
19295
19296 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19297
19298 * delim-col.el (delimit-columns-max): Move defvar before first use.
19299
19300 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19301 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19302
19303 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19304 (auto-insert): Declare.
19305 (desktop-restore-file-buffer): Rename desktop-* parameters;
19306 mark unused ones.
19307 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19308 (desktop-buffer): Rename desktop-* parameters.
19309
19310 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19311 (dframe-reposition-frame-xemacs, dframe-help-echo)
19312 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19313 Mark unused parameters.
19314
19315 * dired-aux.el (backup-extract-version-start, overwrite-query)
19316 (overwrite-backup-query, rename-regexp-query)
19317 (rename-non-directory-query): Declare.
19318 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19319 (dired-add-entry): Remove unused variable `orig-file-name'.
19320 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19321 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19322 `dired-copy-preserve-time' directly.
19323 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19324 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19325
19326 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19327 (dired-virtual-revert, dired-make-relative-symlink):
19328 Mark unused parameters.
19329 (manual-program): Declare.
19330 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19331 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19332 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19333
19334 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19335
19336 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19337
19338 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19339 Declare.
19340
19341 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19342
19343 * electric.el (Electric-command-loop): Rename parameter
19344 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19345
19346 * expand.el (expand-in-literal): Remove unused variable `here'.
19347
19348 * facemenu.el (facemenu-add-new-color):
19349 Remove unused variable `docstring'.
19350
19351 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19352 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19353 (face-attr-construct): Mark unused parameter. Doc fix.
19354 (read-color): Remove unused variable `hex-string'.
19355
19356 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19357 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19358 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19359 (display-buffer-other-frame): Remove unused variable `old-window'.
19360 (kill-buffer-hook): Declare.
19361 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19362 Mark unused parameters.
19363 (after-find-file): Pass 1 to `auto-save-mode', not t.
19364
19365 * files-x.el (auto-insert): Declare.
19366 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19367
19368 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19369 variable `buf'. Mark unused parameter.
06b60517
JB
19370 (find-lisp-insert-directory): Mark unused parameter.
19371
19372 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19373 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19374 (format-common-tail): Remove, unused.
19375 (format-deannotate-region): Remove unused variable `loc'.
19376 (format-annotate-region): Remove unused variable `p'.
19377 (format-annotate-single-property-change): Remove unused variables
19378 `default' and `tail'.
19379
19380 * forms.el (read-file-filter): Declare.
19381 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19382
19383 * frame.el (frame-creation-function-alist): Mark unused parameter.
19384 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19385
19386 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19387 Remove unused parameters.
19388 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19389 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19390
19391 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19392 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19393 (hfy-prepare-tag-map): Mark unused parameters.
19394 (htmlfontify-buffer): Use `called-interactively-p'.
19395
19396 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19397 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19398 (ibuffer-do-occur): Mark unused parameters.
19399 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19400 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19401
19402 * ibuffer.el: Don't quote `lambda'.
19403 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19404 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19405 Mark unused parameters.
19406
19407 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19408 (ido-completing-read): Mark unused parameters.
19409 (ido-copy-current-word): Mark unused parameters;
19410 remove unused variable `name'.
19411 (ido-sort-merged-list): Remove unused parameter `dirs'.
19412
19413 * ielm.el (ielm-input-sender): Mark unused parameter.
19414 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19415 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19416 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19417 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19418 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19419
19420 * image-dired.el (image-dired-display-thumbs): Remove unused
19421 variables `curr-file' and `count'.
19422 (image-dired-remove-tag): Remove unused variable `start'.
19423 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19424 variable `curr-file'
19425 (image-dired-rotate-original): Remove unused variable `temp-file'.
19426 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19427 Remove unused variable `file'.
19428 (image-dired-gallery-generate): Remove unused variable `curr'.
19429 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19430
19431 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19432
19433 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19434
19435 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19436
19437 * isearch.el (minibuffer-history-symbol): Declare.
19438 (isearch-edit-string): Remove unused variable `err'.
19439 (isearch-message-prefix, isearch-message-suffix):
19440 Mark unused parameters.
19441
19442 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19443
19444 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19445
19446 * makesum.el (double-column): Remove unused variable `cnt'.
19447
19448 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19449 (ido-ignore-item-temp-list): Declare.
19450
19451 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19452 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19453 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19454 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19455 `mouse-col-delta'.
19456
19457 * mouse-sel.el (mouse-extend-internal):
19458 Remove unused variable `orig-window-frame'.
19459
19460 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19461 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19462 Move declarations before first use.
19463 (pcomplete-opt): Mark unused parameters; doc fix.
19464
19465 * proced.el (proced-revert): Mark unused parameter.
19466 (proced-send-signal): Remove unused variable `err'.
19467
19468 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19469 Rename parameter PREFIX-ARG to ARG.
19470 (ps-basic-plot-string, ps-basic-plot-whitespace):
19471 Mark unused parameters.
19472
19473 * replace.el (replace-count): Define.
19474 (occur-revert-function): Mark unused parameters.
19475 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19476 (isearch-case-fold-search, isearch-string): Declare.
19477 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19478 bind `case-fold-search'. Remove unused variables `beg' and `end',
19479 and simplify.
19480 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19481 COUNT and bind `replace-count'.
19482 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19483 to COUNT.
19484
19485 * savehist.el (print-readably, print-string-length): Declare.
19486
19487 * shadowfile.el (shadow-expand-cluster-in-file-name):
19488 Remove unused variable `cluster'.
19489 (shadow-copy-file): Remove unused variable `i'.
19490 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19491 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19492 (shadow-define-literal-group, shadow-define-regexp-group)
19493 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19494
19495 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19496 (shell): Use `called-interactively-p'.
19497 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19498
19499 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19500 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19501 (delete-backward-char): Remove unused variable `ocol'.
19502 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19503 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19504 (event-apply-hyper-modifier, event-apply-shift-modifier)
19505 (event-apply-control-modifier, event-apply-meta-modifier):
19506 Mark unused parameters.
19507 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19508 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19509
19510 * speedbar.el (speedbar-ignored-directory-expressions)
19511 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19512 (speedbar-find-file, speedbar-dir-follow)
19513 (speedbar-directory-buttons-follow, speedbar-tag-find)
19514 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19515 (speedbar-buffers-line-directory, speedbar-buffer-click):
19516 Mark unused parameters.
19517 (speedbar-tag-file): Remove unused variable `mode'.
19518 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19519
19520 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19521
19522 * talk.el (talk): Remove unused variable `display'.
19523
19524 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19525 (tar-write-region-annotate): Mark unused parameter.
19526
19527 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19528 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19529 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19530 warning by another.
19531
19532 * time-stamp.el (time-stamp-string-preprocess):
19533 Remove unused variable `require-padding'.
19534
19535 * tree-widget.el (widget-glyph-enable): Declare.
19536 (tree-widget-action): Mark unused parameter.
19537
19538 * w32-fns.el (x-get-selection): Mark unused parameter.
19539 (autoload-make-program, generated-autoload-file): Declare.
19540
19541 * wdired.el (wdired-revert): Mark unused parameters.
19542 (wdired-xcase-word): Remove unused variable `err'.
19543
19544 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19545 (whitespace-help-scroll): Remove unused variable `data-help'.
19546
19547 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19548 (widget-image-insert, widget-after-change, default)
19549 (widget-default-format-handler, widget-default-notify)
19550 (widget-default-prompt-value, widget-info-link-action)
19551 (widget-url-link-action, widget-function-link-action)
19552 (widget-variable-link-action, widget-file-link-action)
19553 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19554 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19555 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19556 (widget-insert-button-action, widget-delete-button-action, visibility)
19557 (widget-documentation-link-action, widget-documentation-string-action)
19558 (widget-const-prompt-value, widget-regexp-match, symbol)
19559 (widget-coding-system-prompt-value)
19560 (widget-key-sequence-value-to-external, sexp)
19561 (widget-sexp-value-to-internal, character, vector, cons)
19562 (widget-choice-prompt-value, widget-boolean-prompt-value)
19563 (widget-color--choose-action): Mark unused parameters.
19564 (widget-item-match-inline, widget-choice-match-inline)
19565 (widget-checklist-match, widget-checklist-match-inline)
19566 (widget-group-match): Rename parameter VALUES to VALS.
19567 (widget-field-value-set): Remove unused variable `size'.
19568 (widget-color-action): Remove unused variables `value' and `start'.
19569
19570 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19571 variable `dir'. Doc fix.
06b60517
JB
19572 (windmove-find-other-window): Don't pass it.
19573
19574 * window.el (count-windows): Mark unused parameter.
19575 (bw-adjust-window): Remove unused variable `err'.
19576
19577 * woman.el (woman-file-name): Remove unused variable `default'.
19578 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19579 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19580 (global-font-lock-mode): Declare.
19581 (woman-decode-region): Mark unused parameter.
19582 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19583
19584 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19585 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19586 (x-dnd-handle-moz-url): Remove unused variable `title'.
19587 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19588
19589 * xml.el (xml-parse-tag, xml-parse-attlist):
19590 Remove unused variable `pos'.
19591
bc4f7f3d
GM
195922011-04-19 Glenn Morris <rgm@gnu.org>
19593
19594 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19595 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19596 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19597 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19598 * calendar/cal-html.el (cal-html-insert-minical):
19599 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19600 (calendar-mark-date-pattern):
19601 Prefix "unused" locals.
19602
19603 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19604 optional argument `style'.
19605
19606 * calendar/appt.el (appt-make-list):
19607 * calendar/cal-china.el (calendar-chinese-date-string):
19608 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19609 (diary-hebrew-yahrzeit):
19610 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19611 * calendar/calendar.el (calendar-generate-window):
19612 * calendar/time-date.el (time-to-days):
19613 Remove unused local variables.
19614
16a43933
CY
196152011-04-18 Chong Yidong <cyd@stupidchicken.com>
19616
19617 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19618 glyphless-char-display table.
19619 (tabulated-list-glyphless-char-display): New var.
19620
7eed1860
SS
196212011-04-18 Sam Steingold <sds@gnu.org>
19622
19623 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19624 to acknowledgments.
19625
4d2d1ccd
GM
196262011-04-17 Glenn Morris <rgm@gnu.org>
19627
19628 * calendar/diary-lib.el (diary-sexp-entry):
19629 * calendar/holidays.el (holiday-sexp):
19630 Set debug-on-error rather than the removed stack-trace-on-error.
19631
239da61d
GM
196322011-04-16 Glenn Morris <rgm@gnu.org>
19633
19634 * progmodes/f90.el: Use lexical-binding.
19635 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19636
8b05752a
SM
196372011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19638
daca8ba5
SM
19639 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19640 (mail-mode): Setup mailalias completion here instead.
19641 * mail/mailalias.el: Use lexical-binding.
19642 (pattern, mailalias-done): Declare dynamic.
19643 (mail-completion-at-point-function): New function, from mail-complete.
19644 (mail-complete): Use it.
19645 (mail-completion-expand): New function.
19646 (mail-get-names): Use it.
19647 (mail-directory, mail-directory-process, mail-directory-stream):
19648 Don't use `pattern' for lexically bound arg.
19649
6f542485
SM
19650 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19651
037e7c3f
SM
19652 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19653 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19654 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19655
8b05752a
SM
19656 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19657 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19658 (byte-interactive-p): Define them again, for use when inlining
19659 old code.
19660
49093f60
JB
196612011-04-15 Juanma Barranquero <lekktu@gmail.com>
19662
19663 * loadup.el: Use `string-to-number', not `string-to-int'.
19664
b5b8e7de
SM
196652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19666
19667 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19668 gud-gdb-complete-command.
19669 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19670 (gud-gdb-completion-at-point): New function.
19671 (gud-gdb-completions): Remove.
19672
f42efeb5
MA
196732011-04-14 Michael Albinus <michael.albinus@gmx.de>
19674
49093f60
JB
19675 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19676 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19677 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19678 whether `executable-find' is bound.
f42efeb5
MA
19679
19680 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19681
e240cc21
SM
196822011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19683
19684 * minibuffer.el (completion-in-region-mode-predicate)
19685 (completion-in-region-mode--predicate): New vars.
19686 (completion-in-region, completion-in-region--postch)
19687 (completion-in-region-mode): Use them.
19688 (completion--capf-wrapper): Also return the hook function.
19689 (completion-at-point, completion-help-at-point):
19690 Adjust and provide a predicate.
c2bd2ab0
SM
19691
19692 Preserve arg names for advice of subr and lexical functions (bug#8457).
19693 * help-fns.el (help-function-arglist): Consolidate the subr and
19694 new-byte-code cases. Add argument `preserve-names' to extract names
19695 from the docstring when needed.
19696 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19697 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19698 (ad-arglist): Use help-function-arglist's new arg.
19699 (ad-definition-type): Use cond.
19700
c183f693
JB
197012011-04-13 Juanma Barranquero <lekktu@gmail.com>
19702
06641a47
JB
19703 * autorevert.el (auto-revert-handler):
19704 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19705 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19706 Don't quote lambda.
19707
c183f693
JB
19708 * image-mode.el (image-transform-set-scale):
19709 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19710
1e3b6001
G
197112011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19712
19713 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19714 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19715 Upgrades via gnutls-cli are too slow to be done opportunistically.
19716
2d6af8dd
JB
197172011-04-12 Juanma Barranquero <lekktu@gmail.com>
19718
19719 * dframe.el (dframe-current-frame): Remove spurious quote.
19720
c0749a51
GM
197212011-04-12 Glenn Morris <rgm@gnu.org>
19722
088d0d61
GM
19723 * calendar/cal-tex.el (cal-tex-end-document):
19724 Try to automatically use latin1 input if needed.
19725
c0749a51
GM
19726 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19727 Don't try to cons a mark onto an empty element.
19728
5c90fde0
LL
197292011-04-11 Leo Liu <sdl.web@gmail.com>
19730
19731 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19732 buffers.
19733 (ido-kill-buffer-at-head): Support killing virtual buffers.
19734
369e974d
CY
197352011-04-10 Chong Yidong <cyd@stupidchicken.com>
19736
19737 * minibuffer.el (completion-show-inline-help): New var.
19738 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19739 (minibuffer-force-complete, minibuffer-complete-word):
19740 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19741
19742 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19743 to avoid interference from inline help (Bug#5849).
19744
37f1c930
LL
197452011-04-10 Leo Liu <sdl.web@gmail.com>
19746
099c39a4
JB
19747 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19748 Fix typo.
37f1c930 19749
a32d4040
CY
197502011-04-09 Chong Yidong <cyd@stupidchicken.com>
19751
19752 * image-mode.el (image-toggle-display-image): Signal an error if
19753 not in Image mode.
19754 (image-transform-mode, image-transform-resize)
19755 (image-transform-set-rotation): Doc fix.
daca8ba5 19756 (image-transform-set-resize): Delete.
a32d4040
CY
19757 (image-transform-set-scale, image-transform-fit-to-height)
19758 (image-transform-fit-to-width): Handle image-toggle-display-image
19759 and image-transform-resize directly.
19760
099c39a4 197612011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19762
19763 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19764 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19765 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19766 (doc-view-mode-map): Add bindings for the new functions.
19767
099c39a4 197682011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19769
4d61f28d 19770 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19771 Fix typo in docstring.
19772
3726838a
EZ
197732011-04-08 Eli Zaretskii <eliz@gnu.org>
19774
04f33f1e
EZ
19775 * files.el (file-size-human-readable): Produce one digit after
19776 decimal, like "ls -lh" does.
19777
19778 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19779 the file size representation.
19780
3726838a
EZ
19781 * simple.el (list-processes): If async subprocesses are not
19782 available, error out with a clear error message.
19783
cbb59342
CY
197842011-04-08 Chong Yidong <cyd@stupidchicken.com>
19785
19786 * help.el (help-form-show): New function, to be called from C.
19787 Put help-form output in a buffer named differently than *Help*.
19788
e3971c44
EZ
197892011-04-08 Eli Zaretskii <eliz@gnu.org>
19790
19791 * files.el (file-size-human-readable): New function.
19792
19793 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19794 computing the representation inline. Don't require `cl'.
19795
12544bbe
GM
197962011-04-08 Glenn Morris <rgm@gnu.org>
19797
a1de6c6a
GM
19798 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19799
3c4671f4
GM
19800 * net/browse-url.el (browse-url-firefox):
19801 Test system-type, not system-configuration.
19802
b605679c
GM
19803 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19804 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19805 Use log-edit-empty-buffer-p. (Bug#7598)
19806
56442f0c
GM
19807 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19808 (rlogin-mode-map): Initialize in the defvar.
19809 (rlogin): Use ignore-errors.
19810
12544bbe
GM
19811 * replace.el (occur-mode-map): Some fixes for menu items.
19812
eb237b0f
AH
198132011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19814
19815 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19816
7d668f2c
CY
198172011-04-06 Chong Yidong <cyd@stupidchicken.com>
19818
e67a13ab
CY
19819 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19820 issuing unused warnings.
19821
19822 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19823 macro directly.
19824
7d668f2c
CY
19825 * simple.el: Lisp reimplement of list-processes. Based on an
19826 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19827 (process-menu-mode): New major mode.
19828 (list-processes--refresh, list-processes):
19829 (process-menu-visit-buffer): New functions.
19830
19831 * files.el (save-buffers-kill-emacs): Don't assume any return
19832 value of list-processes, which is undocumented anyway.
19833
a83ec3c9
CY
198342011-04-06 Chong Yidong <cyd@stupidchicken.com>
19835
19836 * emacs-lisp/tabulated-list.el: New file.
19837
e91a96fe
CY
19838 * emacs-lisp/package.el: Use Tabulated List mode.
19839 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19840 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19841 table format using Tabulated List mode variables.
19842 (package--push): New macro, replacing package-list-maybe-add.
19843 (package-menu--generate): Use package--push. Renamed from
19844 package--generate-package-list.
19845 (package-menu-refresh, list-packages): Use it.
daca8ba5 19846 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19847 Return insertion data instead of inserting it directly.
099c39a4
JB
19848 (package-menu-describe-package, package-menu-execute):
19849 Use tabulated-list-get-id.
e91a96fe
CY
19850 (package-menu-mark-delete, package-menu-mark-install)
19851 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19852 (package-menu-mark-obsolete-for-deletion):
19853 Use tabulated-list-put-tag.
e91a96fe
CY
19854 (package--list-packages, package-menu-revert)
19855 (package-menu-get-package, package-menu-get-version)
19856 (package-menu-sort-by-column): Functions deleted.
19857 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19858 (package-menu--status-predicate, package-menu--version-predicate)
19859 (package-menu--name-predicate)
19860 (package-menu--description-predicate): Handle arguments in the
19861 Tabulated List format.
19862 (package-list-packages-no-fetch): Call list-packages.
19863
3e214b50
JB
198642011-04-06 Juanma Barranquero <lekktu@gmail.com>
19865
19866 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19867 (after-find-file): Don't bind it.
3e214b50
JB
19868 (revert-buffer-in-progress-p): New variable.
19869 (revert-buffer): Bind it.
19870 Pass nil for `after-find-file-from-revert-buffer'.
19871
19872 * saveplace.el (save-place-find-file-hook): Use new variable
19873 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19874
3f0f1700
GM
198752011-04-06 Glenn Morris <rgm@gnu.org>
19876
c0274801
GM
19877 * Makefile.in (AUTOGEN_VCS): New variable.
19878 (autoloads): Use $AUTOGEN_VCS.
19879
3f0f1700
GM
19880 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19881 * calendar/calendar.el (calendar-mode-map):
19882 Check for toolkit scroll bars. (Bug#8305)
19883
41ea9e48
CY
198842011-04-05 Chong Yidong <cyd@stupidchicken.com>
19885
19886 * minibuffer.el (completion-in-region--postch)
19887 (completion-in-region-mode): Remove unnecessary messages.
19888
6194c800
JB
198892011-04-05 Juanma Barranquero <lekktu@gmail.com>
19890
33256f14
JB
19891 * font-lock.el (font-lock-refresh-defaults):
19892 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19893 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19894
6194c800
JB
19895 * info.el (Info-directory-list, Info-read-node-name-2)
19896 (Info-split-parameter-string): Doc fixes.
19897 (Info-virtual-nodes): Reflow docstring.
19898 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19899 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19900 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19901 Fix typos in docstrings.
19902 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19903 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19904 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19905 (Info-restore-desktop-buffer): Mark unused parameters.
19906 (Info-directory-find-file, Info-directory-find-node)
19907 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19908 (Info-virtual-index-find-node, Info-apropos-find-file)
19909 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19910 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19911 (Info-virtual-index): Remove unused local variable `nodename'.
19912
b87a8200 199132011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19914
b87a8200
DD
19915 * net/rcirc.el: Update my e-mail address.
19916 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19917
3b2ff876
CY
199182011-04-05 Chong Yidong <cyd@stupidchicken.com>
19919
19920 * startup.el (command-line): Save the cursor's theme-face
19921 directly, instead of using face-override-spec.
19922
19923 * custom.el (load-theme): Minor optimization in assigning faces.
19924
8d17e7ca
JB
199252011-04-04 Juanma Barranquero <lekktu@gmail.com>
19926
19927 * help-fns.el (describe-variable): Complete all variables having
19928 documentation, including keywords.
19929 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19930
2fbc1934
JB
199312011-04-04 Juanma Barranquero <lekktu@gmail.com>
19932
19933 Convert to lexical-binding.
19934
19935 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19936 (bs--get-marked-string, bs--get-modified-string)
19937 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19938 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19939 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19940
19941 * ehelp.el (electric-help-execute-extended)
19942 (electric-help-ctrl-x-prefix):
19943 * hexl.el (hexl-revert-buffer-function):
19944 * linum.el (linum-after-change, linum-after-scroll):
19945 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19946
19947 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19948
74f50695
DU
199492011-04-04 Daiki Ueno <ueno@unixuser.org>
19950
19951 * epa-dired.el:
19952 * epa-mail.el:
19953 * epa-hook.el:
19954 * epa-file.el:
19955 * epa.el:
19956 * epg.el: Use lexical binding.
19957
c11325f7
CY
199582011-04-03 Chong Yidong <cyd@stupidchicken.com>
19959
0d9e9a12
CY
19960 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19961
c11325f7 19962 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19963 dictionary case for flyspell-mark-duplications-exceptions.
19964 Use regexp matching for languages.
c11325f7
CY
19965 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19966 default dictionary (Bug#7926).
19967
da91b5f2
CY
199682011-04-02 Chong Yidong <cyd@stupidchicken.com>
19969
099c39a4
JB
19970 * emacs-lisp/package.el (package--with-work-buffer):
19971 Recognize https URLs.
da91b5f2 19972
099c39a4
JB
19973 * net/network-stream.el: Move from gnus/proto-stream.el.
19974 Change prefix to network-stream throughout.
da91b5f2
CY
19975 (open-protocol-stream): Merge into open-network-stream, leaving
19976 open-protocol-stream as an alias. Handle nil BUFFER args.
19977
19978 * subr.el (open-network-stream): Move to net/network-stream.el.
19979
afa8e9f6
GM
199802011-04-02 Glenn Morris <rgm@gnu.org>
19981
1d2e369d
GM
19982 * find-dired.el (find-exec-terminator): New option.
19983 (find-ls-option): Test for -ls support.
19984 (find-ls-subdir-switches): Test for -b in find-ls-option.
19985 (find-dired, find-grep-dired): Doc fixes.
19986 (find-dired): Use find-exec-terminator.
19987
8abb7da8 19988 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19989 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19990 (find-name-arg): Remove purecopy.
8abb7da8 19991
f3ca7378
GM
19992 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19993 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19994 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19995 accordingly. Don't add the null-device if not needed.
19996
afa8e9f6
GM
19997 * files.el (save-some-buffers): Doc fix.
19998
35eae264
EZ
199992011-04-02 Eli Zaretskii <eliz@gnu.org>
20000
20001 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20002
26b51db5
JB
200032011-04-01 Juanma Barranquero <lekktu@gmail.com>
20004
20005 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20006 Use `dolist' rather than `mapcar'.
20007
7200d79c
SM
200082011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20009
03408648 20010 Add lexical binding.
7200d79c 20011
03408648
SM
20012 * subr.el (apply-partially): Use new closures rather than CL.
20013 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20014 (dolist, dotimes): Use slightly different expansion for lexical code.
20015 (functionp): Move to C.
20016 (letrec): New macro.
20017 (with-wrapper-hook): Use it and apply-partially instead of CL.
20018 (eval-after-load): Preserve lexical-binding.
20019 (save-window-excursion, with-output-to-temp-buffer): Turn them
20020 into macros.
7200d79c 20021
03408648
SM
20022 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20023
20024 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20025 than the arglist.
20026 (help-add-fundoc-usage): Don't add `Not documented'.
20027 (help-function-arglist): Handle closures, subroutines, and new
20028 byte-code-functions.
20029 (help-make-usage): Remove leading underscores.
20030 (describe-function-1): Handle closures.
20031 (describe-variable): Use special-variable-p for completion.
20032
20033 * files.el (lexical-binding): Declare safe.
f488fb65 20034
03408648
SM
20035 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20036 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20037 (pcase): Add `let' pattern.
20038 Change memoization so it actually works.
20039 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20040 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20041 <let>: New case.
f488fb65 20042
03408648
SM
20043 * emacs-lisp/macroexp.el: Use lexical binding.
20044 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20045 Don't convert ' to #' without checking that it's indeed quoting
20046 a lambda.
20047
20048 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20049 Use eval-sexp-add-defvars.
03408648
SM
20050 (eval-sexp-add-defvars): New fun.
20051
20052 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20053
20054 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20055 Don't autoload.
20056 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20057 than the internal `byte-compile-lambda'.
20058 (defmethod): Don't hide code under quotes.
20059 (eieio-defmethod): New `code' argument.
20060
20061 * emacs-lisp/eieio-comp.el: Remove.
20062
20063 * emacs-lisp/edebug.el (edebug-eval-defun)
20064 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20065 (edebug-toggle): Avoid `eval'.
20066
20067 * emacs-lisp/disass.el (disassemble-internal): Handle new
20068 `closure' objects.
20069 (disassemble-1): Handle new byte codes.
20070
20071 * emacs-lisp/cl.el (pushnew): Silence warning.
20072
20073 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20074 (cl-byte-compile-throw): Remove.
20075 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20076
20077 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20078 closures.
20079
20080 * emacs-lisp/cconv.el: New file.
20081
20082 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20083 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20084 (byte-compile-initial-macro-environment):
20085 Handle declare-function here.
20086 (byte-compile--lexical-environment): New var.
20087 (byte-stack-ref, byte-stack-set, byte-discardN)
20088 (byte-discardN-preserve-tos): New lap codes.
20089 (byte-interactive-p): Don't use any more.
20090 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20091 New macros.
20092 (byte-compile-lapcode): Use them and handle new lap codes.
20093 (byte-compile-obsolete): Remove.
20094 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20095 (byte-compile-arglist-warn): Check late def of inlinable funs.
20096 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20097 since they should have been expanded by now.
20098 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20099 (byte-compile-from-buffer): Remove unused second arg.
20100 (byte-compile-preprocess): New function.
20101 (byte-compile-toplevel-file-form): New function to distinguish
20102 file-form calls from outside from file-form calls from hunk-handlers.
20103 (byte-compile-file-form): Simplify.
20104 (byte-compile-file-form-defsubst): Remove.
20105 (byte-compile-file-form-defmumble): Simplify now that
20106 byte-compile-lambda always returns a byte-code-function.
20107 (byte-compile): Preprocess.
20108 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20109 Remove, not used any more.
20110 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20111 (byte-compile-make-args-desc): New funs.
20112 (byte-compile-lambda): Handle lexical functions. Always return
20113 a byte-code-function.
20114 (byte-compile-reserved-constants): New var, to make up room for
20115 closed-over variables.
20116 (byte-compile-constants-vector): Obey it.
20117 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20118 (byte-compile-macroexpand-declare-function): New function.
20119 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20120 byte-code-functions.
20121 (byte-compile-form): Check obsolescence here.
20122 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20123 (byte-compile-variable-ref): Remove.
20124 (byte-compile-dynamic-variable-op): New fun.
20125 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20126 (byte-compile-variable-set): New funs.
20127 (byte-compile-discard): Add 2 args.
20128 (byte-compile-stack-ref, byte-compile-stack-set)
20129 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20130 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20131 macroexpand-all instead.
20132 (byte-compile-quote-form): Remove.
20133 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20134 (byte-compile-bind, byte-compile-unbind): New funs.
20135 (byte-compile-let): Handle let* and lexical binding.
20136 (byte-compile-let*): Remove.
20137 (byte-compile-catch, byte-compile-unwind-protect)
20138 (byte-compile-track-mouse, byte-compile-condition-case):
20139 Handle a new :fun-body form, used for lexical scoping.
20140 (byte-compile-save-window-excursion)
20141 (byte-compile-with-output-to-temp-buffer): Remove.
20142 (byte-compile-defun): Simplify.
20143 (byte-compile-stack-adjustment): New fun.
20144 (byte-compile-out): Use it.
20145 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20146
20147 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20148 handler any more.
20149
20150 * emacs-lisp/byte-opt.el: Use lexical binding.
20151 (byte-inline-lapcode): Remove (to bytecomp).
20152 (byte-compile-inline-expand): Pay attention to inlining to/from
20153 lexically bound code.
20154 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20155 any more.
20156 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20157 any more and don't call compiler-macros.
20158 (byte-compile-splice-in-already-compiled-code): Remove.
20159 (byte-code): Don't inline any more.
20160 (disassemble-offset): Receive `bytes' as argument rather than via
20161 dynamic scoping.
20162 (byte-compile-tag-number): Declare before first use.
20163 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20164 `return' even if make-spliceable.
20165 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20166 obsolete interactive-p.
20167 (byte-optimize-lapcode): Optimize new lap-codes.
20168 Don't trip up on new form of `byte-constant' lap code.
20169
20170 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20171
20172 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20173
20174 * custom.el (custom-initialize-default, custom-declare-variable):
20175 Use `defvar'.
20176
20177 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20178 New variables.
20179 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20180 (COMPILE_FIRST): Add macroexp and cconv.
20181 * makefile.w32-in: Mirror changes in Makefile.in.
20182
20183 * vc/cvs-status.el:
20184 * vc/diff-mode.el:
20185 * vc/log-edit.el:
20186 * vc/log-view.el:
20187 * vc/smerge-mode.el:
20188 * textmodes/bibtex-style.el:
090bd7cb 20189 * textmodes/css-mode.el:
03408648
SM
20190 * startup.el:
20191 * uniquify.el:
da91b5f2
CY
20192 * minibuffer.el:
20193 * newcomment.el:
20194 * reveal.el:
20195 * server.el:
20196 * mpc.el:
20197 * emacs-lisp/smie.el:
20198 * doc-view.el:
20199 * dired.el:
03408648
SM
20200 * abbrev.el: Use lexical binding.
20201
0f0c1f27
EZ
202022011-04-01 Eli Zaretskii <eliz@gnu.org>
20203
20204 * info.el (info-display-manual): New function.
20205
c82b2579
SM
202062011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20207
20208 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20209
221ddf68
TH
202102011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20211
20212 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20213 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20214
cba6e77e
GM
202152011-03-31 Glenn Morris <rgm@gnu.org>
20216
e040639f
GM
20217 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20218
cba6e77e
GM
20219 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20220
6d0f1c9e
CS
202212011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20222
20223 * progmodes/python.el (python-default-interpreter)
20224 (python-python-command-args, python-jython-command-args)
20225 (python-which-shell, python-which-args, python-which-bufname)
20226 (python-file-queue, python-comint-output-filter-function)
20227 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20228 variables and functions.
20229
3e2d70fd
SM
202302011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20231
20232 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20233 (completion-in-region-mode): New minor mode.
20234 (completion-in-region): Use it.
20235 (completion-in-region--data, completion-in-region-mode-map): New vars.
20236 (completion-in-region--postch): New function.
20237 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20238 New vars.
20239 (completion--capf-wrapper): New function.
20240 (completion-at-point): Use it to track well-behavedness of
20241 hook functions.
20242 (completion-help-at-point): New command.
20243
f3e4086c
JM
202442011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20245
20246 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20247 syntax class to search for whitespace on a single line
20248 (Message-ID: <4D938140.4030905@redhat.com>).
20249
eb7ffc14
LL
202502011-03-30 Leo Liu <sdl.web@gmail.com>
20251
20252 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20253 New commands.
20254 (edit-abbrevs-map): Bind them here.
20255 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20256
d806ab68
KM
202572011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20258
20259 * allout.el (allout-hide-by-annotation, allout-flag-region):
20260 Reduce possibility of overlay leakage by making them volatile.
20261
20262 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20263 hash is not shared between buffers. Mode initialization is
20264 responsible for giving it a useful starting value.
20265 (allout-item-span): Reduce possibility of overlay leakage by
20266 making them volatile.
20267 (allout-widgets-count-buttons-in-region): Add diagnostic function
20268 for tracking down button overlay leaks.
20269
ea622834
LL
202702011-03-29 Leo Liu <sdl.web@gmail.com>
20271
20272 * ido.el (ido-read-internal): Use the default history var
20273 minibuffer-history if no HISTORY is specified.
20274
b62f8267
G
202752011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20276
03408648
SM
20277 * net/imap.el (imap-shell-open, imap-process-connection-type):
20278 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20279 Kerberos, SSL, other subprocesses.
20280
947b6566
LL
202812011-03-28 Leo Liu <sdl.web@gmail.com>
20282
20283 * abbrev.el (abbrev-table-empty-p): New function.
20284 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20285 nonempty ones. (Bug#5937)
20286
5ffb62aa
JD
202872011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20288
20289 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20290
7a097943
LL
202912011-03-27 Leo Liu <sdl.web@gmail.com>
20292
20293 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20294 for foreground and background colors.
20295 (ansi-color-make-color-map): Adapt.
20296
c5b40130
LL
202972011-03-25 Leo Liu <sdl.web@gmail.com>
20298
1f48f7d2
LL
20299 * midnight.el (midnight-time-float): Remove. Note it calculates
20300 the microsecond component incorrectly and seconds-to-time does the
20301 same job.
625897ec 20302 Remove redundant (require 'timer).
1f48f7d2 20303
c5b40130
LL
20304 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20305 (ido-completions): Remove unused arguments. (Bug#8329)
20306
d86d2721
SM
203072011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20308
20309 * minibuffer.el (completion--flush-all-sorted-completions):
20310 Remove itself from hook.
20311 (completion-at-point): Let the functions perform the completion
20312 immediately and return nil or t.
20313 * comint.el (comint-dynamic-complete-functions): Now identical to
20314 completion-at-point-functions.
20315 (comint-dynamic-list-input-ring): Remove unused var `index'.
20316 (comint--match-partial-filename, comint--unquote&expand-filename):
20317 New funs, split from comint-match-partial-filename.
20318 (comint-dynamic-complete): Use completion-at-point.
20319 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20320
e8974c48
DA
203212011-03-24 Drew Adams <drew.adams@oracle.com>
20322
20323 * thingatpt.el: Support `defun'.
20324
def71b5e
LL
203252011-03-23 Leo Liu <sdl.web@gmail.com>
20326
cb5af48e
LL
20327 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20328
def71b5e
LL
20329 * help-mode.el (help-mode-finish): Tweak regexp.
20330
927c53e7
GM
203312011-03-23 Glenn Morris <rgm@gnu.org>
20332
18d05bed
GM
20333 * eshell/esh-opt.el (eshell-eval-using-options):
20334 Do not bind unused local variable `eshell-option-stub'.
20335
927c53e7
GM
20336 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20337
9d0da923
JB
203382011-03-22 Juanma Barranquero <lekktu@gmail.com>
20339
20340 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20341 keymap variable in `with-no-warnings' to avoid a warning when the
20342 keymap has been already `defconst'ed.
20343
4b978a67
LL
203442011-03-22 Leo Liu <sdl.web@gmail.com>
20345
20346 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20347 encode all chars in abbrevs; otherwise use emacs-mule or
20348 utf-8-emacs. (Bug#8308)
20349
5fd62452
JB
203502011-03-22 Juanma Barranquero <lekktu@gmail.com>
20351
0b1596c6
JB
20352 * simple.el (backward-delete-char-untabify):
20353 Avoid warning about using `delete-backward-char'.
20354
5fd62452
JB
20355 * image.el (image-type-file-name-regexps): Make it variable.
20356 `imagemagick-register-types' modifies it, and the user may want
20357 to add new extensions for known image types.
20358 (imagemagick-register-types): Throw error if not using ImageMagick.
20359
0b4e93f1
LL
203602011-03-22 Leo Liu <sdl.web@gmail.com>
20361
20362 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20363 located before rcirc-prompt-end-marker.
20364 (rcirc-complete): Error if point is not after rcirc prompt.
20365 Handle the case when table is nil.
9882e214 20366 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20367
fccee4ab
CY
203682011-03-22 Chong Yidong <cyd@stupidchicken.com>
20369
20370 * custom.el (custom--inhibit-theme-enable): Make it affect only
20371 custom-theme-set-variables and custom-theme-set-faces.
20372 (provide-theme): Ignore custom--inhibit-theme-enable.
20373 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20374 (custom-enabling-themes): Delete variable.
d86d2721
SM
20375 (enable-theme): Accept only loaded themes as arguments.
20376 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20377 (custom-enabled-themes): Forbid themes from setting this.
20378 Eliminate use of custom-enabling-themes.
20379 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20380
af896da6
LL
203812011-03-21 Leo Liu <sdl.web@gmail.com>
20382
20383 * ido.el (ido-read-internal): Add ido-selected to history instead
20384 of user input.
20385
78f64af0
SM
203862011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20387
20388 * subr.el (deferred-action-list, deferred-action-function):
20389 Mark obsolete.
20390
b16ac1ec
LL
203912011-03-21 Leo Liu <sdl.web@gmail.com>
20392
810f7698
LL
20393 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20394 change on 2011-02-13 (bug#8309).
20395
b16ac1ec
LL
20396 * minibuffer.el (read-file-name-function): Change default value.
20397 (read-file-name--defaults): Rename from read-file-name-defaults.
20398 (read-file-name-default): Rename from read-file-name.
20399 (read-file-name): Call read-file-name-function.
20400
4e05e67e
GM
204012011-03-21 Glenn Morris <rgm@gnu.org>
20402
20403 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20404 Doc fixes.
20405
4359915b
CY
204062011-03-21 Chong Yidong <cyd@stupidchicken.com>
20407
20408 * cus-theme.el: Add missing provide statement.
20409 (customize-create-theme): Extract theme value correctly.
20410 (custom-theme-visit-theme): Autoload.
20411 (customize-create-theme): Prompt before inserting default faces.
20412
1fe275ee
JB
204132011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20414
20415 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20416 units and musical notes.
20417
cd394be1 204182011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20419
20420 * ido.el (ido-read-internal): Use completing-read-default.
20421 (ido-completing-read): Fix compatibility with completing-read.
20422
7d476bde
CO
204232011-03-20 Christian Ohler <ohler@gnu.org>
20424
20425 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20426 (ert-delete-all-tests): Use `called-interactively-p' rather than
20427 `interactive-p'.
20428 (ert--make-xrefs-region): Respect END.
20429
fe0fb33e
CY
204302011-03-19 Chong Yidong <cyd@stupidchicken.com>
20431
ff854b0b
CY
20432 * dired-aux.el (dired-create-directory): Signal an error if the
20433 directory already exists (Bug#8246).
20434
fe0fb33e
CY
20435 * facemenu.el (list-colors-display): Call list-faces-display
20436 inside with-help-window.
20437 (list-colors-print): Use display property to align the final
20438 column, instead of checking window-width.
20439
576bce32
EZ
204402011-03-19 Eli Zaretskii <eliz@gnu.org>
20441
4d61f28d 20442 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20443 windows-nt systems.
20444 (emerge-protect-metachars): Quote correctly for ms-dos and
20445 windows-nt systems.
20446
89c41d68 204472011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20448
20449 * info.el (info-initialize): Replace all uses of `:' with
20450 path-separator for compatibility with non-Unix systems.
20451 Cache quoting of path-separator. (Bug#8258)
20452
b14e3e21 204532011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20454
20455 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20456 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20457 (mouse-avoidance-mode): Fix typos in docstrings.
20458
4525ce3e
CY
204592011-03-19 Chong Yidong <cyd@stupidchicken.com>
20460
20461 * startup.el (package-subdirectory-regexp): Move from package.el.
20462 Omit \\` and \\', and let callers add them.
20463
20464 * emacs-lisp/package.el (package-strip-version)
20465 (package-load-all-descriptors): Add \\` and \\' to
20466 package-subdirectory-regexp before using it.
20467 (package-untar-buffer): New arg DIR; ensure that file untars only
20468 into this expected directory. Remove superfluous delete-region.
20469 (package-unpack): Caller changed.
20470 (package-tar-file-info): Use package-subdirectory-regexp.
20471
a904a09a 204722011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20473
a904a09a
SM
20474 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20475 diff-mode-shared-map (bug#8284).
20476 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20477
204782011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20479
20480 * calendar/time-date.el (format-seconds): Use assoc instead of
20481 assoc-string, since assoc-string doesn't exist in XEmacs.
20482
171fc304
JB
204832011-03-17 Juanma Barranquero <lekktu@gmail.com>
20484
20485 * custom.el (custom-known-themes): Reflow docstring.
20486 (custom-theme-load-path): Fix typo in docstring.
20487 (load-theme): Fix typo in error message.
20488 (custom-available-themes, custom-variable-theme-value):
20489 Use `let', not `let*'.
20490
d71990a1
JB
204912011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20492
20493 * calc/README: Mention inclusion of musical notes.
20494
20495 * calc/calc-units.el (calc-lu-quant): Rename from
20496 `calc-logunits-quantity'.
20497 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20498 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20499 (calc-db): Rename from `calc-dblevel'.
20500 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20501 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20502 (calc-np): Rename from `calc-nplevel'.
20503 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20504 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20505 (calc-lu-plus): Rename from `calc-logunits-add'.
20506 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20507 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20508 (calc-lu-minus): Rename from `calc-logunits-sub'.
20509 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20510 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20511 (calc-lu-times): Rename from `calc-logunits-mul'.
20512 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20513 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20514 (calc-lu-divide): Rename from `calc-logunits-div'.
20515 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20516 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20517
20518 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20519 functions being autoloaded.
20520
20521 * calc/calc.el (calc-lu-power-reference): Rename from
20522 `calc-logunits-power-reference'.
20523 (calc-lu-field-reference): Rename from
20524 `calc-logunits-field-reference'.
20525
7a71b18d
GM
20526 * calc/calc-help.el (calc-l-prefix-help):
20527 Mention musical note functions.
d71990a1 20528
40c2934b
SM
205292011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20530
20531 * minibuffer.el (completion-all-sorted-completions):
20532 Use :completion-cycle-penalty text property if present.
20533
b0911414
KM
205342011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20535
20536 * allout.el (allout-yank-processing): Adjust for new rebulleting
20537 regime so bullet being yanked is used without prompting the user
20538 for a choice.
20539
8a05b668
JB
205402011-03-16 Juanma Barranquero <lekktu@gmail.com>
20541
20542 * startup.el (command-line): Warn the user that _emacs is deprecated.
20543
5ba5fb81
JB
205442011-03-16 Juanma Barranquero <lekktu@gmail.com>
20545
20546 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20547 (delphi-verbose, delphi-comment-face, delphi-string-face)
20548 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20549 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20550 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20551 (delphi-new-comment-line, delphi-font-lock-defaults)
20552 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20553 Fix typos in docstrings.
20554
2dab465b
KM
205552011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20556
5ba5fb81 20557 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20558 Invert the roles of character and string values for INSTEAD, so a
20559 string is used for the more common case of a defaulting prompt.
20560
0adf5618
SM
205612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20562
20563 * progmodes/ruby-mode.el (ruby-backward-sexp):
20564 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20565 * play/gamegrid.el (gamegrid-make-face):
20566 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20567 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20568 * notifications.el (notifications-notify):
20569 * net/xesam.el (xesam-search-engines):
20570 * net/quickurl.el (quickurl-list-insert):
20571 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20572
d72700e5
CY
205732011-03-15 Chong Yidong <cyd@stupidchicken.com>
20574
20575 * startup.el (command-line): Update package subdirectory regexp.
20576
49c5410a
SM
205772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20578
c6eee9aa
SM
20579 * allout.el (allout-abbreviate-flattened-numbering)
20580 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20581
49c5410a
SM
20582 * subr.el (read-char-choice): Only show the cursor after the prompt,
20583 not after the answer.
20584
047b2bb9
KR
205852011-03-15 Kevin Ryde <user42@zip.com.au>
20586
20587 * help-fns.el (variable-at-point): Skip leading quotes, if any
20588 (bug#8253).
20589
0a57d256
SM
205902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20591
20592 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20593 warning message.
20594
77c992bc
MA
205952011-03-14 Michael Albinus <michael.albinus@gmx.de>
20596
20597 * shell.el (shell): When called interactively, offer to change the
20598 shell file name on remote hosts.
20599
eebc475d
TZ
206002011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20601
20602 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20603 integration for LDAP parameters. The host, base, user or binddn,
20604 and secret tokens can be specified in a netrc file, for instance.
20605 This is optional because an `auth-source' parameter must be
20606 specified in the search attributes.
20607
9d05d1ba
JB
206082011-03-13 Juanma Barranquero <lekktu@gmail.com>
20609
20610 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20611
09d9db2c
GM
206122011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20613
20614 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20615 into declaration. Remove redundant and harmful binding.
20616
206172011-03-12 Eli Zaretskii <eliz@gnu.org>
20618
20619 * files.el (file-ownership-preserved-p): Pass `integer' as an
20620 explicit 2nd argument to `file-attributes'. If the file's owner
20621 is the Administrators group on Windows, and the current user is
20622 Administrator, consider that a match.
20623
20624 * server.el (server-ensure-safe-dir): Consider server directory
20625 safe on MS-Windows if its owner is the Administrators group while
20626 the current Emacs user is Administrator. Use `=' to compare
20627 numerical UIDs, since they could be integers or floats.
20628
219bd536
JB
206292011-03-12 Juanma Barranquero <lekktu@gmail.com>
20630
20631 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20632
f3afd36b
MA
206332011-03-12 Michael Albinus <michael.albinus@gmx.de>
20634
20635 Sync with Tramp 2.2.1.
20636
20637 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20638
20639 * net/trampver.el: Update release number.
20640
3aaaa6f1
SM
206412011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20642
94642599
SM
20643 * progmodes/compile.el (compilation--previous-directory): Fix up
20644 various nil/dead-marker mismatches (bug#8014).
20645 (compilation-directory-properties, compilation-error-properties):
20646 Don't call it at a position past the one we're about to change.
20647
3aaaa6f1
SM
20648 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20649 Disable obsolescence warnings in the file that declares it.
20650
14239447
KM
206512011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20652
099c39a4
JB
20653 * allout-widgets.el (allout-widgets-tally):
20654 Initialize allout-widgets-tally as a hash table rather than nil to
20655 prevent mode-line redisplay warnings. Also, clarify the module
20656 description and fix a comment typo.
14239447 20657
135e287c
JB
206582011-03-11 Juanma Barranquero <lekktu@gmail.com>
20659
20660 * help-fns.el (describe-variable): Don't complete keywords.
20661 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20662
ffbf300e
CY
206632011-03-10 Chong Yidong <cyd@stupidchicken.com>
20664
ba08b241
CY
20665 * emacs-lisp/package.el (package-version-join): Impose a standard
20666 string representation for pre/alpha/beta version lists.
20667 (package-unpack-single): Standardize the directory name by passing
20668 it through package-version-join.
20669 (package-strip-rcs-id): Accept any version string that does not
20670 signal an error in version-to-list.
ffbf300e 20671
f346fd6b
MA
206722011-03-10 Michael Albinus <michael.albinus@gmx.de>
20673
20674 * simple.el (delete-trailing-whitespace): Return nil for the
20675 benefit of `write-file-functions'.
20676
ccb55d27
GM
206772011-03-10 Glenn Morris <rgm@gnu.org>
20678
5ceaac0c
GM
20679 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20680
02da65ff
GM
20681 * vc/vc-git.el (vc-git-program): New option.
20682 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20683 (vc-git--call): Use it.
20684
b2f603cc
GM
20685 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20686
5772caab
GM
20687 * cus-edit.el (Custom-newline): If no button at point, look
20688 for a subgroup button at start-of-line. (Bug#2298)
20689
ccb55d27
GM
20690 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20691
ec6ecaed
JD
206922011-03-10 Julien Danjou <julien@danjou.info>
20693
20694 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20695 `cursor-type' is nil.
20696
9d5aa01d
JB
206972011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20698
20699 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20700
b6a5875b
KM
207012011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20702
7a71b18d 20703 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20704 preserves the existing header prefix, rebulleting it if necessary,
20705 rather than replacing it. This is necessary for proper operation
20706 of cooperative addons like allout-widgets.
1154d12e
JB
20707 (allout-make-topic-prefix, allout-rebullet-heading):
20708 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20709 value as alternate bullet to be used, instead of prompting the user
20710 for a bullet character.
b6a5875b 20711
ee545c35
MA
207122011-03-09 Michael Albinus <michael.albinus@gmx.de>
20713
d86d2721
SM
20714 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20715 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20716 `tramp-default-port'.
20717
c47971d7
DD
207182011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20719
20720 * net/rcirc.el (rcirc-handler-001): Remove useless
20721 with-rcirc-process-buffer.
20722 (rcirc-check-auth-status): Swap arguments to string-match.
20723
13522cb4
GM
207242011-03-09 Glenn Morris <rgm@gnu.org>
20725
0be6f4f1
GM
20726 * shell.el (shell-mode):
20727 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20728
13522cb4
GM
20729 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20730 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20731
515de2e3
CY
207322011-03-08 Chong Yidong <cyd@stupidchicken.com>
20733
20734 * emacs-lisp/package.el (package-refresh-contents)
20735 (package-menu-execute): Use condition-case-no-debug.
20736
b511b994
MA
207372011-03-08 Michael Albinus <michael.albinus@gmx.de>
20738
20739 * simple.el (shell-command-to-string): Use `process-file'.
20740
20741 * emacs-lisp/package.el (package-tar-file-info): Handle also
20742 remote files.
20743
d86d2721
SM
20744 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20745 Use `equal' for upload base check.
b511b994 20746
25bbfb31
AM
207472011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20748
20749 * textmodes/texinfo.el (texinfo-environments):
20750 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20751
be996521
GM
207522011-03-08 Glenn Morris <rgm@gnu.org>
20753
e9c8529f
GM
20754 * cus-start.el (cursor-in-non-selected-windows):
20755 Fix :set quoting oddness. (Bug#8192)
20756
be996521
GM
20757 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20758 in some setf expressions. (Bug#2159)
20759
2bb5649e
CY
207602011-03-08 Chong Yidong <cyd@stupidchicken.com>
20761
20762 * custom.el (custom-available-themes): Return themes in
20763 alphabetical order.
20764
33383987 20765See ChangeLog.15 for earlier changes.
e3d51b27
MR
20766
20767;; Local Variables:
20768;; coding: utf-8
e3d51b27
MR
20769;; End:
20770
acaf905b 20771 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20772
20773 This file is part of GNU Emacs.
20774
20775 GNU Emacs is free software: you can redistribute it and/or modify
20776 it under the terms of the GNU General Public License as published by
20777 the Free Software Foundation, either version 3 of the License, or
20778 (at your option) any later version.
20779
20780 GNU Emacs is distributed in the hope that it will be useful,
20781 but WITHOUT ANY WARRANTY; without even the implied warranty of
20782 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20783 GNU General Public License for more details.
20784
20785 You should have received a copy of the GNU General Public License
20786 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.