Fix a race condition that causes Emacs to mess up glib.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0f7b074f
CY
12012-11-03 Chong Yidong <cyd@gnu.org>
2
3 * cus-start.el: Make cursor-type customizable (Bug#11633).
4
3a6851d9
GM
52012-11-02 Glenn Morris <rgm@gnu.org>
6
00a3b041
GM
7 * filecache.el: No need to load find-lisp when compiling.
8 (find-lisp-find-files): Autoload it.
9 (file-cache-add-directory-recursively): Don't require find-lisp.
10
11fef14a
GM
11 * image.el (image-type-from-file-name): Trivial simplification.
12
3a6851d9
GM
13 * emacs-lisp/bytecomp.el (byte-compile-eval):
14 Decouple "noruntime" and "cl-functions" warnings.
15
b4b096e4
SB
162012-11-01 Stephen Berman <stephen.berman@gmx.net>
17
18 * play/gomoku.el (gomoku-display-statistics): Update mode line
19 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
20
218e997a
MR
212012-10-31 Martin Rudalics <rudalics@gmx.at>
22
23 * window.el (quit-restore-window): If the window has been
24 created on an existing frame and ended up as the sole window on
25 that frame, do not delete it (Bug#12764).
26
b08b6da7
SM
272012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
28
3618df45
SM
29 * progmodes/sh-script.el (sh--inside-noncommand-expression):
30 Rename from sh--inside-arithmetic-expression, handle more cases
31 (bug#11263).
32
b08b6da7
SM
33 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
34 (sh-font-lock-open-heredoc): Use it (bug#12770).
35
4ddedf94
GM
362012-10-30 Glenn Morris <rgm@gnu.org>
37
f43a5263
GM
38 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
39
4ddedf94
GM
40 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
41
748b0d84
CY
422012-10-29 Chong Yidong <cyd@gnu.org>
43
b5dd9a77
CY
44 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
45 function key is stored in a keyboard macro (Bug#4894).
46
748b0d84
CY
47 * thingatpt.el (number-at-point): Apply a thing-at-point property.
48
e07fcbdc
SM
492012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
50
d7f9cc85
SM
51 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
52 header comments".
53 (diff-unified->context, diff-context->unified)
54 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
55
c606253c
SM
56 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
57
e07fcbdc
SM
58 * files.el (find-alternate-file): Only ask one question (bug#12487).
59
894b9dd9
CY
602012-10-29 Chong Yidong <cyd@gnu.org>
61
1dc2755a
CY
62 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
63 Suggested by Dan Nicolaescu (Bug#6326).
64
329c48d8
CY
65 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
66
2230fa5b 67 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 68
e84cad57
CY
69 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
70
1913c5f5
CY
71 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
72
894b9dd9
CY
73 * face-remap.el (face-remap-add-relative): Handle the case where a
74 face-remapping-alist entry is a cons cell (Bug#12762).
75
329c48d8
CY
762012-10-29 Kevin Ryde <user42@zip.com.au>
77
78 * woman.el (woman-parse-numeric-value): Handle picas correctly
79 (Bug#12639).
80
a0ccbcbd
GM
812012-10-29 Glenn Morris <rgm@gnu.org>
82
83 * emacs-lisp/cl.el (defsetf): Doc fix.
84
b3871e59
SM
852012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
88 syntax to the matching opener, if any (bug#12547).
89 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
90 matching open as a "case-(".
91 (sh-smie-rc-grammar): Add a corresponding rule for it.
92
cd44022c
DH
932012-10-28 Daniel Hackney <dan@haxney.org>
94
95 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
96 "PKGNAME-autoloads.el" in case we created it.
97
70edffb1
SM
982012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
99
86957a0c
SM
100 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
101 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 102 (completion--twq-all): Disable too-strict assertions.
86957a0c 103
70edffb1
SM
104 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
105
d069271c
EZ
1062012-10-27 Eli Zaretskii <eliz@gnu.org>
107
108 * profiler.el (profiler-report-make-entry-part): Fix help-echo
109 text to match the real keybindings.
110
e2f022a3
JL
1112012-10-27 Juri Linkov <juri@jurta.org>
112
113 * wdired.el (wdired-keep-marker-rename): New defcustom.
114 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
115 (Bug#11795)
116
117 * dired.el (dired-keep-marker-rename): Add reference to
118 `wdired-keep-marker-rename' in the docstring.
119 Add default character value ?R to display initially in
120 Customization UI instead of ?@.
121
df171c23
MR
1222012-10-27 Martin Rudalics <rudalics@gmx.at>
123
124 * window.el (display-buffer): In doc-string describe
125 window-height and window-width alist entries.
126
127 * time.el (display-time-world): Restore fit-window-to-buffer
128 behavior.
129
05b621a6
CY
1302012-10-27 Chong Yidong <cyd@gnu.org>
131
132 * subr.el (insert-buffer-substring-as-yank): Doc fix.
133
55f197b2
J
1342012-10-26 Jambunathan K <kjambunathan@gmail.com>
135
136 * minibuffer.el (completion-category-overrides): New completion
137 category `bookmark' (bug#11131).
138
372212df
SM
1392012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
140
150f809c
SM
141 * emacs-lisp/advice.el (ad-assemble-advised-definition):
142 Silence bogus compiler warnings for ad-do-it.
143
372212df
SM
144 * bookmark.el (bookmark-completing-read): Set the completion category
145 to `bookmark' (bug#11131).
146
c5772569
B
1472012-10-26 Bastien <bzg@altern.org>
148 Stefan Monnier <monnier@iro.umontreal.ca>
149
150 * face-remap.el: Use lexical-binding.
151 (text-scale-adjust): Improve docstring. Use itself for the temporary
152 overlay-map bindings, so as to repeat the "Use..." message each time.
153
a2be0357
SM
1542012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
155
63314e57
SM
156 * emacs-lisp/macroexp.el (macroexp--expand-all):
157 Obey byte-compile-warning-enabled-p (bug#12486).
158
a2be0357
SM
159 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
160 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
161
8c7727c3
MR
1622012-10-26 Martin Rudalics <rudalics@gmx.at>
163
164 * mouse.el (mouse-drag-line): Move last form into preceding when
165 clause (Bug#12731).
166
167 * help.el (resize-temp-buffer-window): Fix doc-string.
168
3f2a848d
DE
1692012-10-25 David Engster <deng@randomsample.de>
170
171 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 172 Remove. This feature is already integrated in imenu.
3f2a848d
DE
173
174 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
175 always loaded. Require `speedbar' unconditionally.
176
a7723be6
SM
1772012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
178
aaabfc8b
SM
179 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
180
414a8595
SM
181 * minibuffer.el (minibuffer-force-complete): Fix thinko.
182
fb5b9475
SM
183 * net/ldap.el (ldap-search-internal): The official ldif format starts
184 with a "version: 1" header (bug#12724).
185
a7723be6
SM
186 * emacs-lisp/package.el (package-installed-p): Warn if not ready
187 (bug#12721).
188
a05cb6e3
GM
1892012-10-25 Glenn Morris <rgm@gnu.org>
190
191 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
192
3c92de70
SM
1932012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * minibuffer.el (minibuffer-force-complete): Use one more marker
196 for the temporary-overlay-map command (bug#12619).
197
a4b6d7c6
CY
1982012-10-24 Chong Yidong <cyd@gnu.org>
199
200 * time.el (display-time-world-mode): Derive from special-mode.
201 (display-time-world): Use display-buffer (Bug#12708).
202 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
203 (display-time-world-display): Wrap the final delete-char inside
204 inhibit-read-only.
a4b6d7c6 205
75e8f9d2
CY
2062012-10-24 Chong Yidong <cyd@gnu.org>
207
cd996018
CY
208 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
209 Doc fix.
210
75e8f9d2
CY
211 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
212
d92df117
SM
2132012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * minibuffer.el (completion--all-sorted-completions-location): New var.
216 (completion--cache-all-sorted-completions)
217 (completion--flush-all-sorted-completions): Use it.
218 (completion-in-region, completion-in-region--postch)
219 (completion-at-point, completion-help-at-point): Use markers in
220 completion-in-region--data (bug#12619).
221
9c3e39f3
SM
2222012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
223
c79825bd
SM
224 * progmodes/compile.el (compilation-start): Try to handle common
225 quoting of `cd' argument (bug#12640).
226
9c3e39f3
SM
227 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
228 (bug#12671).
229
a6709bc7
GM
2302012-10-23 Glenn Morris <rgm@gnu.org>
231
232 * progmodes/gud.el (gud-menu-map):
233 Check gdb-active-process is bound. (Bug#12358)
234
d1069532
SM
2352012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
236
d20d69c0
SM
237 * repeat.el (repeat): Set real-this-command (bug#12232).
238
d1069532
SM
239 * htmlfontify.el (hfy-post-html-hook):
240 * filesets.el (filesets-cache-fill-content-hook):
241 * arc-mode.el (archive-extract-hook):
242 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
243 * net/rcirc.el (rcirc-sentinel-functions)
244 (rcirc-receive-message-functions, rcirc-activity-functions)
245 (rcirc-print-functions):
246 * net/dbus.el (dbus-event-error-functions):
247 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
248 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
249 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
250 * term/sun.el (sun-raw-prefix-hooks):
251 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
252
f7eac6d8
MA
2532012-10-23 Michael Albinus <michael.albinus@gmx.de>
254
d1069532
SM
255 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
256 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
257 (tramp-smb-wait-for-output): Add timeout to
258 `tramp-accept-process-output' calls.
259
608d9d7c
CY
2602012-10-23 Chong Yidong <cyd@gnu.org>
261
49238e7f
CY
262 * faces.el (font-list-limit): Define as an obsolete variable.
263
264 * startup.el (command-line):
265 * cus-start.el: Don't refer to font-list-limit.
266
608d9d7c
CY
267 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
268
4ff5b1b2
SM
2692012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * subr.el (internal-temp-output-buffer-show): Rename from
272 temp-output-buffer-show, since previously compiled files expect this name.
273
ea1d4aac
GM
2742012-10-23 Glenn Morris <rgm@gnu.org>
275
276 * image.el (image-type-from-file-name): If multiple types match,
277 return the first one that is supported. (Bug#9045)
278
eda82a31
GM
2792012-10-22 Glenn Morris <rgm@gnu.org>
280
281 * image.el (imagemagick-enabled-types): Doc fix.
282
4f020bec
TA
2832012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
284
285 * progmodes/which-func.el (which-func-current): The hash-table may have
286 an explicit nil (bug#12338).
287
c77d37e2
SM
2882012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * electric.el (electric-pair-delete-selection-self-insert-function):
291 Rename to electric-pair-will-use-region, return a boolean.
292 (electric-pair-mode): Adjust accordingly. Don't require delsel.
293
294 * delsel.el (delete-selection-helper): Use a function instead of a hook.
295 (delete-selection-pre-hook): Use use-region-p.
296 (delete-selection-self-insert-function): Remove.
297 (self-insert-command): Obey self-insert-uses-region-functions.
298 (self-insert-iso): Revert to previous setting, since we don't actually
299 know what that command does.
300 (delete-selection-self-insert-hooks): Remove.
301
b1d39ccc
SL
3022012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
303
304 * delsel.el (delete-selection-helper): New function, extracted from
305 delete-selection-pre-hook.
306 (delete-selection-pre-hook): Use it.
307 (delete-selection-self-insert-function): New function.
308 (delete-selection-self-insert-hooks): New hook.
309 (self-insert-command, self-insert-iso): Use it.
310 * electric.el (electric-pair-syntax): New function, extracted from
311 electric-pair-post-self-insert-function.
312 (electric-pair-post-self-insert-function): Use it.
313 (electric-pair-delete-selection-self-insert-function): New function.
314 (electric-pair-mode): Require delsel and setup
315 delete-selection-self-insert-hooks (bug#11520).
316
045ef729
CY
3172012-10-20 Chong Yidong <cyd@gnu.org>
318
4c5d08a8
CY
319 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
320 no changes to show (Bug#12586).
321
045ef729
CY
322 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
323 list explicitly (Bug#12571).
324
3503c798 3252012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 326
b1d39ccc
SL
327 * progmodes/flymake.el (flymake-create-temp-inplace):
328 Use file-truename.
79e1997a 329
2068905b
EZ
3302012-10-20 Eli Zaretskii <eliz@gnu.org>
331
332 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
333
4c9e9550
JB
3342012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
335
336 * calc/calc-units.el (math-extract-units): Properly extract powers
337 of units.
338
1a6e7e38
DC
3392012-10-20 Daniel Colascione <dancol@dancol.org>
340
341 * frame.el (make-frame): Set x-display-name as we used to in order
342 to unbreak creating an X11 frame from an Emacs daemon started
343 without a display.
344
8e808318
SM
3452012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
346
347 * minibuffer.el (minibuffer-force-complete): Make the next completion use
348 the same completion-field (bug@12221).
349
fb0104da
MR
3502012-10-19 Martin Rudalics <rudalics@gmx.at>
351
352 * emacs-lisp/debug.el (debug): Record height of debugger window
353 also when debugger will be back (Bug#8789).
354
8c27235e
CY
3552012-10-18 Chong Yidong <cyd@gnu.org>
356
357 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
358 Convert to defcustom.
359 (gdb-get-source-file): Don't bind pop-up-windows.
360
361 * progmodes/gud.el (gud-display-line): Don't specially re-use
362 other frames for the gdb-mi case (Bug#12648).
363
90eacf99
SM
3642012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
365
aaf0c300
SM
366 * emacs-lisp/advice.el: Clean up commentary a bit.
367 (ad-do-advised-functions, ad-with-originals): Use `declare'.
368 (byte-code-function-p): Never redefine.
369
90eacf99
SM
370 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
371
281c9d2b
GM
3722012-10-18 Glenn Morris <rgm@gnu.org>
373
40714e3d
GM
374 * dired.el (dired-sort-toggle): Some ls implementations only allow
375 a single option string. (Bug#12666)
376
281c9d2b
GM
377 * minibuffer.el (completion-cycle-threshold): Doc fix.
378
b278604e
KH
3792012-10-17 Kenichi Handa <handa@gnu.org>
380
90eacf99
SM
381 * international/mule.el (set-keyboard-coding-system):
382 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
383 Supply TERMINAL arg to set-input-meta-mode.
384
df171c23 3852012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
386
387 * wdired.el (wdired-old-marks): New variable.
388 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
389 (wdired-do-renames): Move point with renamed file and don't lose
390 mark status (Bug#11795).
391
e5a94ec4
JL
3922012-10-16 Juri Linkov <juri@jurta.org>
393
394 * replace.el (query-replace-help): Mention multi-buffer replacement
395 keys in the Help message. (Bug#12655)
396
d18a0d24
CY
3972012-10-15 Chong Yidong <cyd@gnu.org>
398
399 * emacs-lisp/byte-run.el (defsubst): Doc fix.
400
8111f5e6
EZ
4012012-10-14 Eli Zaretskii <eliz@gnu.org>
402
7b9abf24
EZ
403 * window.el (display-buffer): Doc fix.
404
8111f5e6
EZ
405 * progmodes/compile.el (compilation-error-regexp-alist-alist):
406 Adjust the msft regexp to the output of Studio 2010, and move msft
407 before edg-1. See the discussion on emacs-devel,
408 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
409 for the details.
410
5046ef67
SM
4112012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
412
9760c73c
SM
413 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
414 (oset): Move uses of object-class-fast macro after its definition.
415
5046ef67
SM
416 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
417
0d11ff1c
CY
4182012-10-13 Chong Yidong <cyd@gnu.org>
419
420 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
421 enabled, re-enable it (Bug#11963).
422
88ded8ac
MR
4232012-10-13 Martin Rudalics <rudalics@gmx.at>
424
425 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
426 non-nil, restore window configuration (Bug#12623).
427
bd0ffffd
SM
4282012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
429
06485aa8
SM
430 * help-fns.el (describe-variable, describe-function-1):
431 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
432
bd0ffffd
SM
433 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
434
3a989246
GM
4352012-10-12 Glenn Morris <rgm@gnu.org>
436
437 * mail/rmailsum.el (rmail-header-summary):
438 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
439
55cd00c8
FEG
4402012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
441
bd0ffffd
SM
442 * progmodes/python.el (python-mode-map):
443 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
444 (python-nav--up-list): Fix behavior for blocks on the same level.
445
ac9fc2c7
SM
4462012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
447
d8cc4c00 448 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 449
5253a5fd
SM
450 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
451 changes to the format of load-history.
452
ac9fc2c7
SM
453 * international/mule-cmds.el (read-char-by-name): Move let-binding of
454 completion-ignore-case in case that var is buffer-local (bug#12615).
455
cde44a77
KH
4562012-10-11 Kenichi Handa <handa@gnu.org>
457
458 * international/eucjp-ms.el: Re-generated.
459
4ef4a10d
KH
4602012-10-10 Kenichi Handa <handa@gnu.org>
461
462 * select.el (xselect--encode-string): If a coding is specified for
463 selection, and that is compatible with COMPOUND_TEXT, use it.
464
9d7f027b
MR
4652012-10-10 Martin Rudalics <rudalics@gmx.at>
466
467 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
468 (switch-to-buffer):
469 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 470
238f3a58
SM
4712012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
474 Don't document nil as a useful value (bug#12583).
475
1d51f99c
MA
4762012-10-09 Michael Albinus <michael.albinus@gmx.de>
477
238f3a58
SM
478 * net/tramp.el (tramp-debug-message):
479 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
480 (with-tramp-progress-reporter): Rename from
481 `tramp-with-progress-reporter'.
238f3a58
SM
482 (with-tramp-file-property, with-tramp-connection-property):
483 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
484 `with-connection-property', respectively.
485
486 * net/tramp-cache.el: Remove `with-file-property' and
487 `with-connection-property'.
488
489 * net/tramp.el:
490 * net/tramp-gvfs.el:
491 * net/tramp-sh.el:
492 * net/tramp-smb.el: Adapt callees.
493
494 * net/trampver.el: Update release number.
495
26b77251
GM
4962012-10-09 Glenn Morris <rgm@gnu.org>
497
9a5f296f
GM
498 * w32-fns.el (set-message-beep):
499 * term/w32-win.el (set-message-beep): Update declarations.
500
94c66ce5
SM
5012012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
502
10766e9e
SM
503 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
504 (mode-line-widen, mode-line-input-method-map)
505 (mode-line-coding-system-map, mode-line-remote)
506 (mode-line-unbury-buffer, mode-line-bury-buffer)
507 (mode-line-next-buffer, mode-line-previous-buffer):
508 Replace save-selected-window+select-window => with-selected-window.
509
f754db08
SM
510 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
511 * progmodes/cc-vars.el (bq-process): Remove, unused.
512
94c66ce5
SM
513 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
514
a4ff7fe1
FEG
5152012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
516
517 Implemented `backward-up-list'-like navigation.
518 * progmodes/python.el (python-nav-up-list)
519 (python-nav-backward-up-list): New functions.
520 (python-mode-map): Define substitute key for backward-up-list to
521 python-nav-backward-up-list.
522
24517d82
FEG
5232012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
524
525 * progmodes/python.el (python-fill-paragraph): Rename from
526 python-fill-paragraph-function. Fixed fill-paragraph for
527 decorators (Bug#12605).
528
51867ae2
FEG
5292012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
530
531 * progmodes/python.el (python-shell-output-filter): Handle extra
532 carriage return in OSX (Bug#12409).
533
a5b773c4
FEG
5342012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
535
536 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 537 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
538 (python-syntax-propertize-function): Use it.
539 (python-shell-output-syntax-table): New var.
540 (inferior-python-mode): Prevent unbalanced parens/quotes from
541 previous output mess with current input context.
542
13373538
JB
5432012-10-08 Juanma Barranquero <lekktu@gmail.com>
544
545 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
546 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
547
775a132d
MA
5482012-10-08 Michael Albinus <michael.albinus@gmx.de>
549
550 * ffap.el (ffap-replace-file-component): Support Tramp file name
551 syntax, not only ange-ftp's one.
552
3ab44929
GM
5532012-10-08 Glenn Morris <rgm@gnu.org>
554
57f1dee4
GM
555 * cus-start.el (message-log-max): Set :version.
556
3ab44929
GM
557 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
558
6a088630
MR
5592012-10-08 Martin Rudalics <rudalics@gmx.at>
560
561 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
562 the minibuffer window (Bug#10851).
563
8dbce54c
FEG
5642012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
565
566 Enhancements on forward-sexp movement.
567 * progmodes/python.el (python-nav-beginning-of-statement)
568 (python-nav-end-of-statement): Return point-marker.
569 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
570 (python-info-current-symbol)
571 (python-info-statement-starts-block-p): Rename from
572 python-info-beginning-of-block-p.
573 (python-info-statement-ends-block-p): Rename from
574 python-info-end-of-block-p.
575 (python-info-beginning-of-statement-p)
576 (python-info-end-of-statement-p)
577 (python-info-beginning-of-block-p, python-info-end-of-block-p):
578 New functions.
579
5acd2b3e
SM
5802012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
583 frame-selected-windows.
584
e08348a0
DC
5852012-10-08 Daniel Colascione <dancol@dancol.org>
586
587 * battery.el (battery-status-function): Check for
588 w32-battery-status itself, not system-time windows-nt.
589
590 * frame.el: Require cl-lib.
591 (display-format-alist): New variable mapping frame types to
592 functions that initialize them.
593 (window-system-for-display): New function: interprets
594 display-format-alist.
595 (make-frame-on-display): Remove existing display-selection logic
596 and just forward to make-frame, which will now DTRT.
597 (make-frame): Restructure to use window-system-for-display to
598 figure out how to create a frame on a given display.
599 (display-mouse-p): Look for frame-type w32, not a particular
600 system-type.
601
602 * loadup.el: Load w32 lisp code when we have the w32 feature.
603
604 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
605 system-type windows-nt.
606
607 * server.el (server-create-window-system-frame): Look for window
608 type.
609 (server-proces-filter): Only force a window system when windows-nt
610 _and_ w32. Explain why.
611
612 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
613 of window systems we configure for the mode.
614
615 * startup.el (command-line): Mark window system is initialized
616 after we've done it.
617
618 * common-win.el (x-select-text): Look for w32, not windows-nt.
619
620 * ns-win.el: Require cl-lib. Add ourselves to
621 display-format-alist.
622 (ns-initialize-window-system): Assert we're not initialized twice.
623
624 * w32-win.el: Enable lexical binding; require cl-lib; add
625 ourselves to display-format-alist.
626 (w32-handle-dropped-file): Convert incoming dropped files from
627 Windows paths to Cygwin ones before passing them on to the rest of
628 Emacs.
629 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
630 (w32-initialize-window-system): Assert we're not initialized twice.
631
632 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
633 (x-initialize-window-system): Assert we're not initialized twice.
634
635 * w32-common-fns.el: New File.
636 (w32-version, w32-using-nt, w32-get-clipboard-data)
637 (w32-set-clipboard-data, x-set-selection, x-get-selection)
638 (w32-charset-info-alist, x-last-selected, text)
639 (x-get-selection-value, x-selection-value): Move here.
640
641 * w32-fns.el: Require w32-common-fns.
642 (w32-version, w32-using-nt, w32-get-clipboard-data)
643 (w32-set-clipboard-data, x-set-selection, x-get-selection)
644 (w32-charset-info-alist, x-last-selected, text)
645 (x-get-selection-value, x-selection-value): Move to
646 w32-common-fns.
647
648 * w32-vars.el:
649 (w32-allow-system-shell, w32-system-shells): Define only in
650 non-cygwin case.
651
795b1482
SM
6522012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
655 (read-passwd): Remove a few more potential sources of leaks.
656
f27c99dc
FEG
6572012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
658
659 * progmodes/python.el (inferior-python-mode)
795b1482 660 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
661 variables copied from parent buffer.
662
fcacb558
JD
6632012-10-07 Jan Djärv <jan.h.d@swipnet.se>
664
665 * term/ns-win.el (ns-read-file-name): Update declaration to match
666 nsfns.m.
667 (ns-respond-to-change-font): Change fontsize separatly so we are sure
668 it is set when font is acted upon.
669
be0d5bae
FEG
6702012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
671
672 Enhancements to indentation.
673 * progmodes/python.el (python-indent-context): Give priority to
674 inside-string context. Make comments indentation markers.
675 (python-indent-region): Do not mess with strings, unless it's the
676 enclosing set of quotes.
677
13af0d10
SM
6782012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
679
662a9d0e
SM
680 * window.el (internal--before-save-selected-window)
681 (internal--after-save-selected-window): New functions extracted from
682 save-selected-window. Make sure we return the `alist' we construct.
683 (save-selected-window): Use them.
684
685 * textmodes/tex-mode.el (tex-recenter-output-buffer):
686 Use with-selected-window.
687
13af0d10
SM
688 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
689 forms that define macros (bug#12593).
690
6aa75fb6
KH
6912012-10-07 Kenichi Handa <handa@gnu.org>
692
13af0d10
SM
693 * international/mule-conf.el (compound-text-with-extensions):
694 Add :mime-charset property as x-ctext.
6aa75fb6 695
78d876b9
SM
6962012-10-07 Stefan Merten <smerten@oekonux.de>
697
698 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
699 (rst-indent-literal-normal, rst-indent-literal-minimized)
700 (rst-indent-comment): Correct :version tag.
557337e9 701 (rst-official-cvs-rev): Correct version string.
78d876b9 702
99a1e701
GM
7032012-10-07 Glenn Morris <rgm@gnu.org>
704
705 * mail/rmailmm.el (rmail-mime-process-multipart):
706 Do not confuse a multipart message with an epilogue
707 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
708
08f18c3d
FEG
7092012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
710
711 Fix shell output retrieval and comint-prompt-regexp init.
712 * progmodes/python.el (inferior-python-mode):
713 (python-shell-make-comint): Fix initialization of
714 comint-prompt-regexp from copied file local variables.
715 (python-shell-fetched-lines): Remove var.
716 (python-shell-output-filter-in-progress): Rename from
717 python-shell-fetch-lines-in-progress.
718 (python-shell-output-filter-buffer): Rename from
719 python-shell-fetch-lines-string.
720 (python-shell-fetch-lines-filter): Delete function.
721 (python-shell-output-filter): New function.
722 (python-shell-send-string-no-output): Use them.
723
82ed3ab4
GM
7242012-10-07 Glenn Morris <rgm@gnu.org>
725
1595ecfa
GM
726 * hi-lock.el (hi-lock-process-phrase):
727 Try to make it less fragile. (Bug#7161)
728
82ed3ab4
GM
729 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
730
f1f4dba0
GM
7312012-10-06 Glenn Morris <rgm@gnu.org>
732
addc11ed 733 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
734 non-existent mode `help'.
735 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 736
460042b8
GM
737 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
738 (reftex-create-bibtex-footer): Fix custom types.
739
67667c70
GM
740 * progmodes/sh-script.el (sh-indent-after-continuation):
741 Add explicit :group.
742
18dec750
GM
743 * textmodes/rst.el (rst-preferred-decorations)
744 (rst-shift-basic-offset): Clarify obsolescence versions.
745
d1a1c7e6
GM
746 * profiler.el (profiler): Add missing group :version tag.
747 * avoid.el (mouse-avoidance-banish-position):
748 * proced.el (proced-renice-command):
749 * calc/calc.el (calc-ensure-consistent-units):
750 * calendar/icalendar.el (icalendar-import-format-uid):
751 * net/tramp.el (tramp-save-ad-hoc-proxies):
752 * progmodes/bug-reference.el (bug-reference-bug-regexp):
753 * progmodes/flymake.el (flymake-error-bitmap)
754 (flymake-warning-bitmap, flymake-fringe-indicator-position):
755 * progmodes/sh-script.el (sh-indent-after-continuation):
756 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
757 (verilog-before-save-font-hook, verilog-after-save-font-hook):
758 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
759 (vhdl-array-index-record-field-in-sensitivity-list)
760 (vhdl-indent-comment-like-next-code-line):
761 * textmodes/reftex-vars.el (reftex-ref-style-alist)
762 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
763 (reftex-cite-key-separator, reftex-create-bibtex-header)
764 (reftex-create-bibtex-footer):
765 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
766 (rst-indent-literal-normal, rst-indent-literal-minimized)
767 (rst-indent-comment): Add missing custom :version tags.
768
ef35abb4
GM
769 * calendar/timeclock.el (timeclock-modeline-display):
770 Add missing obsolete alias for renamed user option.
771
d1aae614
GM
772 * strokes.el (strokes-modeline-string):
773 * emulation/crisp.el (crisp-mode-modeline-string):
774 * eshell/esh-mode.el (eshell-status-in-modeline):
775 Aliases to defcustoms must come before the defcustom.
776
f1f4dba0
GM
777 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
778 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
779 (cal-tex-cursor-week-monday): Doc fixes.
780 (cal-tex-cursor-week2-summary): Doc fix.
781 Rename from cal-tex-cursor-week-at-a-glance.
782
783 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
784 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
785
786 * calendar/calendar.el (calendar-mode-map):
787 Add cal-tex-cursor-week2-summary.
788
d39109c3
SM
7892012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
790
685f87b0
SM
791 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
792
d39109c3
SM
793 * subr.el (read-passwd-map): New var.
794 (read-passwd): Use `read-string' again.
795 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
796
5694896d
J
7972012-10-06 Jambunathan K <kjambunathan@gmail.com>
798
799 * register.el (append-to-register, prepend-to-register):
800 Deactivate mark, as does `copy-to-register' (bug#12389).
801
9414dd8d
CY
8022012-10-06 Chong Yidong <cyd@gnu.org>
803
804 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
805
2b89bca4
KH
8062012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
807
808 * international/characters.el: Fix simple mistake ((car chars) ->
809 elt), delete duplicated code.
810
d5acb99a
GM
8112012-10-06 Glenn Morris <rgm@gnu.org>
812
813 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
814
123ec157
JS
8152012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
816
817 * color.el (color-hsl-to-rgb): Fix incorrect results for
818 small and large hue values. (Bug#12559)
819
7fa36ccb
FEG
8202012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
821
822 Enhancements to docstring formatting when filling paragraphs.
823 * progmodes/python.el (python-fill-docstring-style): Rename from
824 python-fill-string-style. Added new style.
825 (python-fill-string): Use new style. Better checks for
826 docstrings.
827
d8788e1e
GM
8282012-10-05 Glenn Morris <rgm@gnu.org>
829
204f3953
GM
830 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
831
d8788e1e
GM
832 * color.el (color-name-to-rgb, color-rgb-to-hex)
833 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
834 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
835 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
836 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
837
8d956cef
GM
838 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
839
e8757f09 8402012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
841
842 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
843 to get the correct size across symlinks.
844
e8757f09
GM
845 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
846
0e2ae83d
JL
8472012-10-04 Juri Linkov <juri@jurta.org>
848
849 * replace.el (query-replace-interactive): Declare obsolete.
850 (query-replace-read-from): Add the last incremental search string
851 to the list of default values accessible via M-n.
852 (map-query-replace-regexp): Use `read-regexp'.
853 (query-replace, query-replace-regexp, query-replace-regexp-eval)
854 (map-query-replace-regexp, replace-string, replace-regexp):
855 Fix docstrings to replace mentions of `query-replace-interactive'
856 with alternatives. (Bug#12526)
857
93cacb6d
JL
8582012-10-04 Juri Linkov <juri@jurta.org>
859
860 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
861 (dired-pop-to-buffer): Declare obsolete.
862 (dired-mark-pop-up): Doc fix.
863
fc345011
FEG
8642012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
865
866 Allow user to set docstring style for fill-paragraph.
867 * progmodes/python.el
868 (python-fill-comment-function, python-fill-string-function)
869 (python-fill-decorator-function, python-fill-paren-function):
870 Remove :safe for defcustoms.
871 (python-fill-string-style): New defcustom
5694896d 872 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
873 (python-fill-string): Honor python-fill-string-style settings.
874
6bab5d8b
MR
8752012-10-04 Martin Rudalics <rudalics@gmx.at>
876
877 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
878 after setting its buffer (Bug#10805).
879
a1a9f411
FEG
8802012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
881
882 Fix cornercase for string syntax.
883 * progmodes/python.el (python-syntax-propertize-function):
884 Simplify and enhance the regexp for unescaped quotes. Now it also
885 matches quotes in weird situations like the single quote in
886 "something\"'".
887 (python-syntax-stringify): Simplify num-quotes detecting code.
888
05e153a6
GM
8892012-10-03 Glenn Morris <rgm@gnu.org>
890
891 * help-macro.el (three-step-help):
892 Revert 2012-09-29 change. (Bug#12567)
893
2e566ecb
MR
8942012-10-03 Martin Rudalics <rudalics@gmx.at>
895
96ef9ccd
MR
896 * menu-bar.el (kill-this-buffer): Don't do anything when
897 `menu-frame' is not alive or visible (Bug#8184).
898
2e566ecb
MR
899 * emacs-lisp/debug.el (debug): When quitting the debugger window
900 restore current buffer (Bug#12502).
901
a96e1cb7
CY
9022012-10-02 Chong Yidong <cyd@gnu.org>
903
5694896d
J
904 * progmodes/hideif.el (hif-lookup, hif-defined):
905 Handle semantic-c-takeover-hideif.
a96e1cb7 906
b3ecad33
PE
9072012-10-02 Paul Eggert <eggert@cs.ucla.edu>
908
909 Change sampling interval units from ms to ns.
910 * profiler.el (profiler-sampling-interval): Change units
911 from ms to ns, multiplying the default by 1000000 so that
912 it remains 1 ms.
913 (profiler-report-cpu-line-format): Give enough room for
914 the maximum counters on 64-bit hosts.
915 (profiler-report-render-calltree-1): Call them "CPU samples",
916 not "Time (ms)", since they are not milliseconds now (and
917 never really were).
918
8cb51b66 9192012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 920
5694896d
J
921 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
922 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 923
fd795bf4
CY
9242012-10-02 Chong Yidong <cyd@gnu.org>
925
926 * emacs-lisp/eieio.el: Restore Version header.
927
fe0a74f9
SM
9282012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
929
6be9197e
SM
930 * vc/diff-mode.el (diff--auto-refine-data): New var.
931 (diff-hunk): Use it to delay refinement.
932 (diff-mode): Remove overlays when we turn off font-lock.
933
18486139
SM
934 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
935 (table-initialize-table-fixed-width-mode)
936 (table-set-table-fixed-width-mode): Remove functions.
937 (table-command-list): Move initialization into declaration.
938 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
939 (table-with-cache-buffer): Use `declare'.
940 (table-span-cell): Simplify via CSE.
941 (table-fixed-width-mode): Use define-minor-mode.
942 (table-call-interactively, table-funcall, table-apply): Remove.
943 (table-function): New function, to replace them.
944
d83ef976
SM
945 * bookmark.el (bookmark-search-pattern): Remove var.
946 (bookmark-read-search-input): Remove function.
947 (bookmark-bmenu-search): Reimplement using a minibuffer.
948
cd386662
SM
949 * faces.el (modeline): Remove obsolete face name.
950
fe0a74f9
SM
951 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
952 and give a non-nil default value.
953 (add-change-log-entry): Simplify accordingly.
954
9f7b98f8
DG
9552012-10-01 Dmitry Gutov <dgutov@yandex.ru>
956
957 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
958 (vc-git-log-edit-toggle-amend): New function.
959 (vc-git-log-edit-toggle-signoff): New function.
960 (vc-git-log-edit-mode): New major mode.
961 (vc-git-log-edit-mode-map): Keymap for it.
962 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
963
964 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
965 header names.
966 (log-edit-toggle-header): New function.
967 (log-edit-extract-headers): Accept function values in HEADERS alist.
968
62a81506
CY
9692012-10-01 David Engster <deng@randomsample.de>
970
971 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
972 from symbol property and change message to be more consistent with
973 Emacs proper.
974 (eieio-describe-generic): Add filename for each implementation.
975 Fix indices for generic and normal methods.
976 (eieio-method-def, eieio-class-def): New buttons.
977 (eieio-help-find-method-definition)
978 (eieio-help-find-class-definition): New functions.
979 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
980 class, constructor and method definitions.
981
982 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
983 information in symbol property.
984 (scoped-class): Remove.
985 (eieio-slot-name-index, call-next-method): Check if it is bound.
986
9872012-10-01 Leo P. White <lpw25@cam.ac.uk>
988
989 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
990 (eieio-custom-mode): New major mode.
991 (eieio-customize-object): Use it.
992
9932012-10-01 Eric Ludlam <zappo@gnu.org>
994
995 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
996 specifying the expected class, and whether subclassing is allowed.
997 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
998 (eieio-persistent-validate/fix-slot-value)
999 (eieio-persistent-slot-type-is-class-p): New functions.
1000 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1001
1002 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1003 Stop using unused publd variable.
1004
1005 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1006 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1007 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1008 (eieio-speedbar-handle-click): Do not specify a class for the
1009 method. Fixes method invocation order problems with EDE.
1010
375e49d4
SM
10112012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1014 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1015
16ce6ccd
KF
10162012-10-01 Karl Fogel <kfogel@red-bean.com>
1017
1018 * bookmark.el (bookmark-version-control): Give tags in the
1019 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1020 (bookmark-write-file): Bind `print-circle' to `t' to allow
1021 circular custom bookmark types. (Bug#12503)
16ce6ccd 1022
19e54a4d
PE
10232012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1024
86ec63ba
PE
1025 Revert the FOLLOW-SYMLINKS change for file-attributes.
1026 * files.el (remote-file-name-inhibit-cache, after-find-file):
1027 * time.el (display-time-file-nonempty-p): Undo last change.
1028
19e54a4d
PE
1029 * profiler.el (profiler-sampling-interval): Change default back to 1.
1030 See Stefan Monnier in
1031 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1032
0478776b
FEG
10332012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1034
1035 Shell output catching a la gud-gdb.
1036 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1037 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1038 New Vars.
0478776b
FEG
1039 (python-shell-fetch-lines-filter): New function.
1040 (python-shell-send-string-no-output): Use them.
1041
c22bac2c
TM
10422012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1043
1044 * profiler.el (profiler-sampling-interval): Rename from
1045 profiler-sample-interval.
1046 (profiler-sampling-interval): Default to 10.
1047 (profiler-find-profile): New command (was profiler-find-log).
1048 (profiler-find-profile-other-window): New command.
1049 (profiler-find-profile-other-frame): New command.
1050 (profiler-profile): Introduce API-level data structure.
1051
e7a2937b
PE
10522012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1053
1054 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1055 * files.el (remote-file-name-inhibit-cache):
1056 * time.el (display-time-file-nonempty-p): Use it.
1057 * files.el (after-find-file): Don't chase links before calling
1058 file-exists-p, as file-exists-p already does the right thing.
1059
4f595e15
RA
10602012-09-30 Ralf Angeli <angeli@caeruleus.net>
1061
1062 Merge from standalone RefTeX repository.
1063
1064 The following ChangeLog entries are shortened versions of the
1065 original ones with file paths adapted. A not so strongly edited
1066 version of the original ChangeLog can be found in the commit log.
1067
1068 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1069 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1070 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1071
1072 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1073 that entries with whitespace at various places are found.
1074 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1075 Include @String definitions in the resulting bib file. Add header
1076 and footer defined in `reftex-create-bibtex-header' and
1077 `reftex-create-bibtex-footer'.
1078 (reftex-do-citation): Make it possible again to insert
1079 non-existent entries. Save match data when asking for optional
1080 arguments. Return all keys, not just the first one.
1081 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1082 all citations in the same line.
1083 (reftex-parse-bibtex-entry): Accept additional optional argument
1084 `raw' and keep quotes or braces if it is non-nil. Match fields
1085 containing hyphens besides word constituents.
1086 (reftex-get-string-refs): New function.
1087 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1088 and ask if it should be reread in case it did.
1089 (reftex-pop-to-bibtex-entry)
1090 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1091 entries with spaces or tabs in front of arguments.
1092 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1093 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1094 Match entries containing numbers and symbol constituents.
1095 (reftex-do-citation, reftex-figure-out-cite-format):
1096 Use `reftex-cite-key-separator'.
4f595e15
RA
1097
1098 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1099 (reftex-mouse-view-crossref): Explain why point is set.
1100
1101 * textmodes/reftex-global.el: Whitespace changes.
1102
1103 * textmodes/reftex-index.el: Move provide statement to end of
1104 file.
1105 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1106 (reftex-index-visit-phrases-buffer): Set marker when visiting
1107 buffer. This allows for returning from the phrases file to the
1108 file one was just editing instead of the file where the last
1109 phrases was added from.
1110 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1111 punctuation syntax as it usually is not used as string quote in
1112 TeX-related modes and may occur unmatched. The change also
1113 prevents fontification of quoted content.
1114 (reftex-index-phrases-mode): Use it.
1115
375e49d4
SM
1116 * textmodes/reftex-parse.el (reftex-parse-from-file):
1117 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1118 (reftex-parse-from-file): Use beginning of match instead of end as
1119 bound.
1120
1121 * textmodes/reftex-ref.el: Adapt creation of
1122 `reftex-<package>-<macro>' functions to new structure of
1123 `reftex-ref-style-alist'.
375e49d4
SM
1124 (reftex-reference): Use `reftex-ref-style-list' function.
1125 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1126 reference macro if `reftex-ref-macro-prompt' is non-nil.
1127 (reftex-reference): Pass refstyle to `reftex-format-special'.
1128 Determine reference macro by looking at
375e49d4
SM
1129 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1130 Use only one special format function.
4f595e15
RA
1131 (reftex-varioref-vref, reftex-fancyref-fref)
1132 (reftex-fancyref-Fref): Remove definitions. The functions are now
1133 generated from `reftex-ref-style-alist'.
1134 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1135 Remove.
1136 (reftex-format-special): New function.
1137
1138 * textmodes/reftex-sel.el
1139 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1140 of `reftex-ref-style-alist'. Remove code for testing macro type.
1141 (reftex-select-toggle-varioref)
1142 (reftex-select-toggle-fancyref): Remove.
1143 (reftex-select-cycle-ref-style-internal)
1144 (reftex-select-cycle-ref-style-forward)
1145 (reftex-select-cycle-ref-style-backward): New functions.
1146 (reftex-select-label-map): Use `v' and `V' for general cycling
1147 through reference styles. Add `p' for switching between number
1148 and page reference types.
1149
375e49d4
SM
1150 * textmodes/reftex-toc.el (reftex-re-enlarge):
1151 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1152 the horizontal version throws an error even if the parameter is 0.
1153
1154 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1155 (reftex-plug-into-AUCTeX): Doc fix.
1156 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1157 string. Adapt to new name.
1158 (reftex-ref-style-alist): Change structure so that it is not
1159 possible to use multiple different package names within a style.
375e49d4
SM
1160 Remove the symbols for symbols for macro type distinction.
1161 Add characters for macro selection.
4f595e15
RA
1162 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1163 (reftex-create-bibtex-footer): New variables.
1164 (reftex-format-ref-function): Mention third argument of special
1165 format function.
375e49d4
SM
1166 (reftex-ref-style-alist, reftex-ref-style-default-list):
1167 New variables.
4f595e15
RA
1168 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1169 to new implementation. Mark as obsolete. Add compatibility code
1170 for honoring the variable values in case they are set.
375e49d4
SM
1171 (reftex-cite-format-builtin, reftex-bibliography-commands):
1172 Add support for ConTeXt.
1173 (reftex-format-ref-function, reftex-format-cite-function):
1174 Fix custom type.
4f595e15
RA
1175 (reftex-cite-key-separator): New variable.
1176
1177 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1178 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1179 `reftex-syntax-table' because parens have to retain their paren
1180 syntax in order for parsing of BibTeX entries like @book(...) to
1181 work.
1182 (reftex-in-comment): Do not error out if `comment-start-skip' is
1183 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1184 (reftex-tie-multifile-symbols): Add doc string.
1185 Initialize `reftex-ref-style-list'.
4f595e15
RA
1186 (reftex-untie-multifile-symbols): Add doc string.
1187 (reftex-add-index-macros): Doc fix.
1188 (reftex-ref-style-activate, reftex-ref-style-toggle)
1189 (reftex-ref-style-list): New functions.
1190 (reftex-mode-menu): Use them. Adapt to new structure of
1191 `reftex-ref-style-alist'.
1192 (reftex-select-with-char): Kill the RefTeX Select buffer when
1193 done.
1194 (reftex-remove-if): New function.
1195 (reftex-erase-all-selection-and-index-buffers)
1196 (reftex-mode-menu): Reference styles are now computed from
1197 `reftex-ref-style-alist'. Fix typo.
1198 (reftex-report-bug): New function.
1199 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1200 algorithms with O(n log n). Introduce optional argument SORT (not
1201 yet used).
1202
440ba395
FEG
12032012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1204
1205 Enhancements for triple-quote string syntax.
375e49d4
SM
1206 * progmodes/python.el (python-syntax-propertize-function):
1207 Match both quote cases in one regexp.
440ba395
FEG
1208 (python-syntax-stringify): Handle matches properly.
1209
4c478e6b
JL
12102012-09-30 Juri Linkov <juri@jurta.org>
1211
1212 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1213 to nil around the call to `insert' to prevent
4c478e6b
JL
1214 directory time modification by lock_file. (Bug#2295)
1215 * tar-mode.el (tar-summarize-buffer): Idem.
1216
d80d54b2
JL
12172012-09-30 Juri Linkov <juri@jurta.org>
1218
1219 * facemenu.el (list-colors-sort): Add option "Luminance".
1220 (list-colors-sort-key): Implement it.
1221
1222 * vc/diff-mode.el (diff-refine-removed):
1223 * vc/ediff-init.el (ediff-fine-diff-A):
1224 * vc/smerge-mode.el (smerge-refined-removed):
1225 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1226
d7e642cc
JD
12272012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1228
1229 * term/ns-win.el (x-file-dialog): New function.
1230
ee41332b
JB
12312012-09-30 Juanma Barranquero <lekktu@gmail.com>
1232
1233 * ido.el (ido-max-directory-size): Default to nil; the current
1234 default is small for POSIX systems, and impractical on Windows 7
1235 now that lstat returns directory sizes for NTFS.
1236
5938d519
MR
12372012-09-30 Martin Rudalics <rudalics@gmx.at>
1238
1239 In buffer display functions handle window-height/window-width
1240 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1241 * window.el (window--display-buffer): New argument ALIST.
1242 Obey window-height and window-width alist entries.
1243 (window--try-to-split-window): New argument ALIST.
1244 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1245 changed and window-combination-limit equals `window-size'.
1246 (display-buffer-in-atom-window)
1247 (display-buffer-in-major-side-window)
1248 (display-buffer-in-side-window, display-buffer-same-window)
1249 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1250 (display-buffer-pop-up-window, display-buffer-below-selected)
1251 (display-buffer-at-bottom, display-buffer-in-previous-window)
1252 (display-buffer-use-some-window): Adjust all callers of
1253 window--display-buffer and window--try-to-split-window.
1254 (fit-frame-to-buffer): New option.
1255 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1256 is non-nil.
1257 (display-buffer-in-major-side-window): Evaluate window-height /
1258 window-width alist entries.
1259
1260 * help.el (temp-buffer-resize-frames)
1261 (temp-buffer-resize-regexps): Remove options.
1262 (temp-buffer-resize-mode): Adjust doc-string.
1263 (resize-temp-buffer-window): Don't consult
1264 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1265 temp-buffer-resize-frames.
1266
375e49d4
SM
1267 * dired.el (dired-mark-pop-up):
1268 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1269 entry.
1270
c4c0c2df
CY
12712012-09-30 Chong Yidong <cyd@gnu.org>
1272
48de8b12
CY
1273 * server.el (server-host): Document the security implications.
1274 (server-auth-key): Doc fix.
1275
1276 * startup.el (initial-buffer-choice): Doc fix.
1277
1278 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1279
a97dc380
CY
1280 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1281 restriction change.
1282
d39d3c8e
CY
1283 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1284
c4c0c2df
CY
1285 * help-fns.el (help-fns--obsolete): Fix last change.
1286
98a5e33b
SM
12872012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1288
34cf6f39
SM
1289 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1290 (minor-mode-map-alist): Remove redundant code.
1291
e01c13fe
SM
1292 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1293 visited in a buffer.
1294 (cvs-insert-visited-file): New function.
1295 (find-file-hook): Use it.
1296
1297 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1298
02661b3a
SM
1299 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1300 chose face.
1301 (log-edit-empty-buffer-p): Don't require a space after a header.
1302
43711d4b
SM
1303 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1304
38a30d64
SM
1305 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1306
4ffb41a9
SM
1307 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1308 a proper minor-mode.
1309
98a5e33b
SM
1310 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1311
de82e29b
GM
13122012-09-29 Glenn Morris <rgm@gnu.org>
1313
5cc2e639
GM
1314 * winner.el (winner-mode): Remove variable (let define-minor-mode
1315 handle it).
1316 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1317 Doc fixes.
1318 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1319 (winner-mode): Use define-minor-mode.
1320
7bd302eb
GM
1321 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1322 the full definition in loaddefs, rather than duplicating it.
1323
2923922f 1324 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1325
0e3e4156
GM
1326 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1327 (inferior-lisp-program, inferior-lisp-load-command)
1328 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1329 No need to autoload defcustoms.
0e3e4156 1330
de82e29b
GM
1331 * hippie-exp.el (hippie-expand-try-functions-list)
1332 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1333 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1334 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1335 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1336 * progmodes/vhdl-mode.el (vhdl-line-expand):
1337 Explicitly load hippie-exp, so it does not get autoloaded
1338 while hippie-expand-try-functions-list is let-bound.
1339
e60b51ab
GM
13402012-09-28 Glenn Morris <rgm@gnu.org>
1341
277f0cfa
GM
1342 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1343
e60b51ab
GM
1344 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1345 Only "cl.el" counts as cl these days.
1346
53baf48a
JL
13472012-09-28 Juri Linkov <juri@jurta.org>
1348
1349 Display archive errors in the echo area instead of inserting
1350 to the file buffer.
1351
1352 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1353 to STDERR-TEST that can be a regexp matching a successful output.
1354 Create a temporary file and redirect stderr to it. Search for
1355 STDERR-TEST in the stderr output and display it in the echo area
1356 if no match is found.
1357 (archive-extract-by-file): New function like
1358 `archive-extract-by-stdout' but extracting archives to files
1359 and looking for successful matches in stdout. Function body is
1360 mostly copied from `archive-rar-extract'.
1361 (archive-rar-extract): Use `archive-extract-by-file'.
1362 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1363
9c1228c3
LL
13642012-09-28 Leo Liu <sdl.web@gmail.com>
1365
375e49d4
SM
1366 * pcomplete.el (pcomplete-show-completions):
1367 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1368
9c1228c3
LL
1369 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1370
7f457c06
SM
13712012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1372
3df749b0
SM
1373 * type-break.el: Use lexical-binding.
1374 (type-break-mode): Use define-minor-mode.
1375
7f457c06
SM
1376 * emacs-lisp/pcase.el (pcase--mark-used): New.
1377 (pcase--u1): Use it (bug#12512).
1378
1379 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1380 in load-history with the right file name.
1381
c00ebc98
TH
13822012-09-28 Tassilo Horn <tsdh@gnu.org>
1383
1384 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1385 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1386 (doc-view-get-bounding-box): Make bounding box slicing work for
1387 ODF and DVI documents.
1388
96fb7170
GM
13892012-09-28 Glenn Morris <rgm@gnu.org>
1390
1391 * type-break.el (type-break-mode, type-break-interval)
1392 (type-break-good-rest-interval, type-break-keystroke-threshold):
1393 No need to autoload.
1394 (type-break-good-rest-interval, type-break-keystroke-threshold):
1395 Add :set-after.
1396
5bc93c67
CY
13972012-09-28 Chong Yidong <cyd@gnu.org>
1398
1399 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1400 Add :version tag.
1401
9cad61d6
SM
14022012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1403
e28e67b3 1404 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1405
daee954c
GM
14062012-09-27 Glenn Morris <rgm@gnu.org>
1407
a88324d4
GM
1408 * faces.el (x-display-name): Declare (for without-x builds).
1409
8e5064e5
GM
1410 * linum.el (linum-format): Don't autoload it. Improve :type.
1411
cc1783c2
GM
1412 * progmodes/tcl.el: Don't require outline when compiling.
1413 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1414 * textmodes/sgml-mode.el: Don't require outline when compiling.
1415 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1416
48c339f2
GM
1417 * term.el (term-ansi-reset):
1418 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1419
daee954c
GM
1420 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1421 files for RCS and SCCS. (Bug#9781)
1422
b7f42161
CY
14232012-09-27 Chong Yidong <cyd@gnu.org>
1424
1425 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1426 change; value should be t.
1427
a2e770db
SM
14282012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1429
83600dc8
SM
1430 * image-mode.el: Use lexical-binding.
1431 (image-mode-winprops): Use t to stand for the window of
1432 a buffer that's not displayed.
1433 * doc-view.el (doc-view-new-window-function): Handle the new
1434 t in winprops.
1435 (doc-view-enlarge): Make it a real nop if the size is not changed.
1436 (doc-view-display): Handle the case where the buffer is not (yet?)
1437 displayed in any window.
1438 (doc-view-saved-settings): New var.
1439 (doc-view-mode): Use it.
1440 (doc-view-fallback-mode): Set it.
1441
a2e770db
SM
1442 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1443 Set lexical-binding.
1444 (minibuffer-eldef-shorten-default): New var.
1445 (minibuffer-default-in-prompt-regexps): Use it for new default.
1446 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1447
e3b60857
JB
14482012-09-26 Juanma Barranquero <lekktu@gmail.com>
1449
1450 * international/uni-bidi.el:
1451 * international/uni-category.el:
1452 * international/uni-name.el:
1453 * international/uni-numeric.el: Regenerate.
1454
3a880af4
SM
14552012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1456 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * profiler.el: New file.
1459
07b1a5fb
SM
14602012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1463 (testcover-reinstrument): Simplify with CSE.
1464
42019c2e
JB
14652012-09-26 Juanma Barranquero <lekktu@gmail.com>
1466
1467 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1468
179f044b
WS
14692012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1470
1471 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1472 (verilog-auto-input, verilog-auto-insert-lisp)
1473 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1474 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1475 (verilog-auto-unused, verilog-auto-wire)
1476 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1477 newline. Reported by Andrew Jones.
1478 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1479 Reported by Brad Dobbie.
07b1a5fb
SM
1480 (verilog-batch-delete-trailing-whitespace):
1481 Create verilog-batch-delete-trailing-whitespace.
1482 Reported by Brad Dobbie.
179f044b
WS
1483 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1484 parameters from another module. Reported by Dan Katz.
1485 (verilog-auto, verilog-auto-assign-modport)
1486 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1487 AUTOINOUTMODPORT for UVM interface module shell generation.
1488 Reported by Brad Dobbie.
1489 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1490 standard behavior.
1491 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1492 Reported by Matt Martin.
1493
9c52dd5a
MR
14942012-09-25 Martin Rudalics <rudalics@gmx.at>
1495
1496 * window.el (window--resize-child-windows): When resizing child
1497 windows proportionally, process them in reverse order to
1498 preserve the "when splitting a window the new one gets the odd
1499 line" behavior.
1500 (window--resize-root-window-vertically): When resizing the
1501 minibuffer window try to affect only windows at the bottom of the
1502 frame. (Bug#12419)
1503
863666eb
CY
15042012-09-25 Chong Yidong <cyd@gnu.org>
1505
1506 * subr.el (declare): Doc fix.
1507
1508 * help-fns.el (help-fns--obsolete): Handle macros properly.
1509
59f7af81
CY
15102012-09-25 Chong Yidong <cyd@gnu.org>
1511
1512 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1513 this function obsolete.
1514
1515 * calendar/cal-x.el (calendar-two-frame-setup)
1516 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1517 * calendar/calendar.el (american-calendar, european-calendar)
1518 (calendar-for-loop):
1519 * comint.el (comint-dynamic-simple-complete)
1520 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1521 * desktop.el (desktop-load-default):
1522 * dired-x.el (dired-omit-here-always)
1523 (dired-hack-local-variables, dired-default-directory):
1524 * emacs-lisp/derived.el (derived-mode-class):
1525 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1526 * emacs-lock.el (toggle-emacs-lock):
1527 * epa.el (epa-display-verify-result):
1528 * epg.el (epg-sign-keys, epg-start-sign-keys)
1529 (epg-passphrase-callback-function):
1530 * eshell/esh-util.el (eshell-for):
1531 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1532 (eshell-add-to-window-buffer-names):
1533 * files.el (locate-file-completion):
1534 * imenu.el (imenu-example--create-c-index)
1535 (imenu-example--create-lisp-index)
1536 (imenu-example--lisp-extract-index-name)
1537 (imenu-example--name-and-position):
1538 * international/mule-cmds.el (princ-list):
1539 * international/mule-diag.el (decode-codepage-char):
1540 * international/mule-util.el (detect-coding-with-priority):
1541 * iswitchb.el (iswitchb-read-buffer):
1542 * mail/mailalias.el (mail-complete):
1543 * mail/sendmail.el (mail-sent-via):
1544 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1545 (mouse-major-mode-menu):
1546 * password-cache.el (password-read-and-add):
1547 * pcomplete.el (pcomplete-parse-comint-arguments):
1548 * progmodes/sh-script.el (sh-maybe-here-document):
1549 * replace.el (query-replace-regexp-eval):
1550 * savehist.el (savehist-load):
1551 * simple.el (choose-completion-delete-max-match):
1552 * term.el (term-dynamic-simple-complete):
1553 * vc/ediff-init.el (ediff-check-version):
1554 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1555 * vc/vc.el (vc-diff-switches-list):
1556 * view.el (view-return-to-alist-update): Likewise.
1557
1558 * subr.el (eval-next-after-load, makehash, insert-string)
1559 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1560 mark obsolete.
1561 (mode-line-inverse-video): Variable deleted.
1562
1563 * international/mule-util.el (string-to-sequence): Remove.
1564
1565 * calendar/calendar.el (calendar-version):
1566 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1567 (icalendar-convert-diary-to-ical):
1568 * cus-edit.el (custom-mode):
1569 * ansi-color.el (ansi-color-unfontify-region):
1570 * international/latin1-disp.el (latin1-char-displayable-p):
1571 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1572 * progmodes/which-func.el (which-func-update-1):
1573 Use define-obsolete-function-alias.
59f7af81
CY
1574
1575 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1576 * net/newst-treeview.el (newsticker-groups-filename):
1577 Fix incorrect obsolescence declaration.
59f7af81
CY
1578
1579 * allout.el (allout-passphrase-hint-string): Likewise.
1580 (allout-init): Use a declare form to mark obsolete.
1581
1582 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1583 this applies to functions.
1584
1585 * iswitchb.el (iswitchb-read-buffer): Move code of
1586 iswitchb-define-mode-map here, and delete that obsolete function.
1587
1588 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1589 font-lock-reference-face.
1590
cca96c97
GM
15912012-09-25 Glenn Morris <rgm@gnu.org>
1592
b06eeda8
GM
1593 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1594 Doc fixes.
1595
cca96c97
GM
1596 * eshell/em-term.el (eshell-term-name):
1597 Default to term-term-name. (Bug#12485)
1598
dc4f818b
FEG
15992012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1600
cca96c97
GM
1601 * progmodes/python.el (python-shell-send-buffer): Better handling
1602 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1603
289c24bd
GM
16042012-09-24 Glenn Morris <rgm@gnu.org>
1605
1606 * eshell/esh-cmd.el (eshell-find-alias-function):
1607 Tighten up file-name regexp. (Bug#12499)
1608
8fb8b88f
FEG
16092012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1610
1611 Enhancements for triple-quote string syntax.
1612 * progmodes/python.el (python-quote-syntax): Remove.
1613 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1614 (python-syntax-count-quotes, python-syntax-stringify):
1615 New functions.
8fb8b88f 1616
6c27f0f8
CY
16172012-09-24 Chong Yidong <cyd@gnu.org>
1618
a5f2b6ec
CY
1619 * mail/supercite.el (sc-version): Remove obsolete function.
1620 (sc-describe): Don't mark as obsolete, since it is bound.
1621 (sc-submit-bug-report): Remove.
1622
1623 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1624 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1625 (log-edit-require-final-newline)
1626 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1627
1628 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1629 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1630 * vc/vc.el (vc-checkout-carefully): Likewise.
1631
1632 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1633 (emerge-version): Remove.
1634
1635 * progmodes/compile.el (compile-internal): Remove.
1636 (compilation-parse-errors-function): Fix typo.
1637
1638 * international/mule.el (set-char-table-default): Remove.
1639 (set-coding-priority, make-coding-system, generic-char-p)
1640 (charset-list, charset-bytes, charset-id): Use declare to mark
1641 functions as obsolete.
1642
1643 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1644 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1645 * vc/vc-hooks.el (vc-default-registered): Don't use
1646 vc-master-templates.
1647
07b1a5fb
SM
1648 * font-lock.el (font-lock-reference-face):
1649 Use define-obsolete-variable-alias.
6c27f0f8
CY
1650
1651 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1652 * calendar/calendar.el (calendar-font-lock-keywords):
1653 * calendar/diary-lib.el (diary-font-lock-keywords)
1654 (diary-fancy-font-lock-keywords):
1655 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1656 * textmodes/reftex-index.el (reftex-insert-index):
1657 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1658 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1659 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1660 * progmodes/prolog.el (prolog-font-lock-keywords):
1661 * progmodes/idlwave.el (idlwave-idl-keywords):
1662 * progmodes/ada-mode.el (ada-font-lock-keywords):
1663 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1664
bcc0adbf
GM
16652012-09-24 Glenn Morris <rgm@gnu.org>
1666
1667 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1668
095bb823
FEG
16692012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1670
1671 * progmodes/python.el (python-indent-line): More consistent cursor
1672 movement behavior.
1673
70efc5c9
SM
16742012-09-23 Stefan Merten <smerten@oekonux.de>
1675
1676 * textmodes/rst.el: Fix compiler warning.
1677
2f438239
RW
16782012-09-23 Roland Winkler <winkler@gnu.org>
1679
07b1a5fb
SM
1680 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1681 Transcribe also LaTeX hyphenation.
2f438239
RW
1682 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1683 bibtex-reformat-previous-options.
1684
936ad041
RW
16852012-09-23 Roland Winkler <winkler@gnu.org>
1686
1687 * proced.el (proced-renice-command): New variable.
1688 (proced-marked-processes): New function.
1689 (proced-with-processes-buffer): New macro.
1690 (proced-send-signal): Use them.
1691 (proced-renice): New command bound to r.
1692
6fab0274
RW
16932012-09-23 Roland Winkler <winkler@gnu.org>
1694
1695 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1696 ibuffer-saved-filter-groups has one element, shortcut the call of
1697 completing-read. (Bug#12331)
1698
9a930676
CY
16992012-09-23 Chong Yidong <cyd@gnu.org>
1700
1701 * bindings.el (mode-line-toggle-read-only):
1702 * bs.el (bs-toggle-readonly):
1703 * buff-menu.el (Buffer-menu-toggle-read-only):
1704 * dired.el (dired-toggle-read-only):
1705 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1706
d07ff9db
CY
17072012-09-23 Chong Yidong <cyd@gnu.org>
1708
1709 * image.el (image-type-available-p): Adapt to init-image-library
1710 argument changes.
1711
51c4474e
JL
17122012-09-22 Juri Linkov <juri@jurta.org>
1713
1714 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1715 `dired-toggle-read-only'. (Bug#12462)
1716
43bf5e8e
MR
17172012-09-22 Martin Rudalics <rudalics@gmx.at>
1718
1719 * subr.el (temp-output-buffer-show): New function.
1720 (with-output-to-temp-buffer): Call temp-output-buffer-show
1721 instead of internal-temp-output-buffer-show.
1722
c88b867f
CY
17232012-09-22 Chong Yidong <cyd@gnu.org>
1724
3df47cd5
CY
1725 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1726 (Bug#12462).
1727
c88b867f
CY
1728 * repeat.el (repeat): Doc fix (Bug#12348).
1729
1730 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1731 (Bug#10909).
1732
1733 * simple.el (shell-command-on-region): Doc fix.
3171e303 1734 (read-only-mode): Doc fix.
c88b867f 1735
df9685f3
EZ
17362012-09-22 Eli Zaretskii <eliz@gnu.org>
1737
1738 * emacs-lisp/timer.el (run-with-idle-timer)
1739 (timer-activate-when-idle): Warn against reinvoking an idle timer
1740 from within its own timer action. (Bug#12447)
1741
8e17c9ba
MR
17422012-09-22 Martin Rudalics <rudalics@gmx.at>
1743
1744 * cus-start.el (window-combination-limit): Add new optional
1745 values.
1746 * window.el (temp-buffer-window-show)
1747 (window--try-to-split-window): Handle new values of
1748 window-combination-limit (Bug#1806).
1749 (split-window): Test window-combination-limit for t instead of
1750 non-nil.
1751 (display-buffer-at-bottom): New buffer display action function.
1752 * help.el (temp-buffer-resize-regexps): New option.
1753 (temp-buffer-resize-mode): Rewrite doc-string.
1754 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1755 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1756
48a24920
SM
17572012-09-22 Stefan Merten <smerten@oekonux.de>
1758
70efc5c9 1759 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1760 (rst-official-version)
1761 (rst-package-emacs-version-alist): Sync with official version
1762 V1.4.0.
1763 (rst-faces-defaults, rst-set-level-default)
1764 (rst-level-face-max, rst-level-face-base-color)
1765 (rst-level-face-base-light, rst-level-face-format-light)
1766 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1767 (rst-adornment-faces-alist): Match new setup.
1768 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1769 (rst-level-5, rst-level-6): New faces.
1770
82f8cd94
CY
17712012-09-22 Chong Yidong <cyd@gnu.org>
1772
1773 * simple.el (undo): Handle indirect buffers (Bug#8207).
1774
acfa068f 17752012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1776
1777 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1778 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1779 (ido-set-matches-1): Use it. (Bug#2042)
1780
acfa068f 17812012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1782
1783 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1784 Fix 2011-05-17 change. (Bug#12418)
1785
acfa068f 17862012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1787
1788 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1789
acfa068f 17902012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1791
1792 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1793 Be more robust about locating simple.el.
1794
acfa068f 17952012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1796
1797 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1798
acfa068f
CY
17992012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1800
1801 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1802
41a97e6f
JL
18032012-09-20 Juri Linkov <juri@jurta.org>
1804
eb2deaff
JL
1805 * replace.el (query-replace-read-from): Use `read-regexp' instead
1806 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1807 (occur-read-primary-args): Use `read-regexp' instead of
1808 `read-string'.
1809 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1810 `read-from-minibuffer'.
1811 * isearch.el (isearch-occur): Use `read-regexp' instead of
1812 `read-string'.
1813 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1814 `read-from-minibuffer'.
1815 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1816 of `read-string'. (Bug#7567)
1817
5825610b
JL
1818 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1819 and allow accepting a list of strings prepended to a list of
1820 standard default values. Doc fix. (Bug#12321)
1821
eebbf404
JL
1822 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1823
41a97e6f
JL
1824 * replace.el (read-regexp): Don't add ": " when PROMPT already
1825 ends with a colon and space. (Bug#12321)
1826
c9e452d3
TH
18272012-09-20 Tassilo Horn <tsdh@gnu.org>
1828
1829 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1830 error.
1831
ee97deee
SM
18322012-09-20 Stefan Merten <smerten@oekonux.de>
1833
70efc5c9 1834 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1835 Fixes feature request bug#11711.
1836 (rst-mode): Create `imenu-create-index-function'.
1837 (rst-get-stripped-line): Delete after refactoring.
1838 (rst-section-tree, rst-section-tree-rec)
1839 (rst-section-tree-point): Refactor and document properly.
1840 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1841 (rst-imenu-convert-cell, rst-imenu-create-index):
1842 New function.
ee97deee 1843
f490dab9
SM
18442012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1845
95b9712e
SM
1846 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1847 (macroexp--expand-all): Use it.
1848 (macroexp--funcall-and-return): Remove by folding it into its sole
1849 caller (macroexp--warn-and-return).
1850 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1851 Use macroexp--obsolete-warning.
1852
f490dab9
SM
1853 * calc/calc.el: Fix last change by removing the whole chunk, since it
1854 was only needed back when Calc was not bundled.
1855
96e8d411
MR
18562012-09-20 Martin Rudalics <rudalics@gmx.at>
1857
1858 * emacs-lisp/debug.el (debug): Restore assignment to
1859 debugger-old-buffer removed on 2012-09-08.
1860
0876a82d
JL
18612012-09-20 Juri Linkov <juri@jurta.org>
1862
1863 * dired-aux.el (dired-diff): Remove (require 'diff) since
1864 `diff-latest-backup-file' is now autoloaded.
1865
9f7c28f0
CY
18662012-09-20 Chong Yidong <cyd@gnu.org>
1867
1868 * vc/diff.el (diff-latest-backup-file): Autoload.
1869
7a04bee9
SM
18702012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1871
e6f0a80d
SM
1872 * calc/calc.el: Remove redundant autoload shape check.
1873 (sel-mode): Don't defvar.
1874 (calc-get-stack-element): Add `sel-mode' arg instead.
1875 (calc-top, calc-top-list): Pass it this additional argument.
1876 * calc/calc-store.el (calc-store-map):
1877 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1878 (calc-map-equation, calc-outer-product, calc-inner-product):
1879 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1880
7a04bee9
SM
1881 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1882
12734222
JL
18832012-09-19 Juri Linkov <juri@jurta.org>
1884
1885 * dired-aux.el (dired-diff): Add (require 'diff) because
1886 `diff-latest-backup-file' is not autoloaded.
1887 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1888 of `dired-get-filename' to t to not report error when there is
1889 no default file on the current line.
1890
46624b4f
SM
18912012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1892
ce97595b
SM
1893 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1894 macroexp--eval-if-compile.
1895 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1896 (macroexp--expand-all): Use them (bug#12371).
1897
46624b4f
SM
1898 * doc-view.el (doc-view-guess-paper-size)
1899 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1900
db8a5a18
TH
19012012-09-19 Tassilo Horn <tsdh@gnu.org>
1902
1903 New feature: set optimal slice from BoundingBox information.
1904 * doc-view.el (doc-view-mode-map): Add keybinding.
1905 (doc-view-menu): Add menu entry.
1906 (doc-view-set-slice): Adapt docstring.
1907 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1908 (doc-view-scale-bounding-box)
1909 (doc-view-set-slice-from-bounding-box): New functions.
1910 (doc-view-paper-sizes): New defvar.
1911
69f6644c
GM
19122012-09-19 Glenn Morris <rgm@gnu.org>
1913
35f5b19d
GM
1914 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1915 (byte-compile-log-warning): Autoload. (Bug#12371)
1916
69f6644c
GM
1917 * calendar/calendar.el (calendar-american-month-header)
1918 (calendar-european-month-header, calendar-iso-month-header)
1919 (calendar-month-header): New options.
1920 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1921 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1922
e543ae91
JD
19232012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1924
1925 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1926
2fd5e67d
JL
19272012-09-18 Juri Linkov <juri@jurta.org>
1928
1929 * dired-aux.el (dired-diff): Restore original functionality of
1930 getting the default value, but keep new feature of using the
1931 latest existing backup file (`diff-latest-backup-file').
1932
42917e79
JL
19332012-09-18 Juri Linkov <juri@jurta.org>
1934
1935 * dired.el (dired-mark): If the region is active in Transient Mark
1936 mode, mark all files in the active region. Doc fix.
1937 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1938 Doc fix. (Bug#10624)
1939
20f70ede
JL
19402012-09-18 Juri Linkov <juri@jurta.org>
1941
1942 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1943 attributes for M-n are pulled from the file at point.
1944 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1945 Suggested by Drew Adams. (Bug#10624)
1946
32fb8162
DG
19472012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1948
1949 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1950 whitespace after "end".
1951 (ruby-do-end-to-brace): Collapse block to one line if it fits
1952 within fill-column.
1953
37ab5092
MR
19542012-09-18 Martin Rudalics <rudalics@gmx.at>
1955
1956 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1957 value.
1958 (debug): Don't remove debugger window when debugger is expected
1959 to be back.
1960
ed1f0bd3
CY
19612012-09-18 Chong Yidong <cyd@gnu.org>
1962
1963 * custom.el (defface): Doc fix.
1964
1965 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1966
a11035b8
MB
19672012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1968
1969 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1970 to initialize query-on-exit; then test that instead (bug#12288).
1971
64f6a736
SM
19722012-09-17 Stefan Merten <smerten@oekonux.de>
1973
70efc5c9 1974 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1975 (rst-defcustom-testcover, rst-testcover-add-compose)
1976 (rst-testcover-add-1value): New functions.
1977 (rst-portable-mark-active-p): Replace by `use-region-p'.
1978 (rst-update-section, rst-classify-adornment)
1979 (rst-find-title-line): Mark `1value' forms.
1980 (rst-classify-adornment): Remove superfluous form.
1981 (rst-update-section, rst-get-adornments-around)
1982 (rst-adornment-complete-p, rst-get-next-adornment)
1983 (rst-adjust, rst-promote-region)
1984 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1985 (rst-find-pfx-in-region, rst-section-tree-rec)
1986 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1987 (rst-toc-node, rst-toc, rst-forward-section)
1988 (rst-iterate-leftmost-paragraphs)
1989 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1990 (rst-bullet-list-region)
1991 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1992 (rst-compile-find-conf, rst-compile)
1993 (rst-repeat-last-character): Fix style.
1994
580bd868
CY
19952012-09-17 Chong Yidong <cyd@gnu.org>
1996
1997 * comint.el (comint--complete-file-name-data): Don't add a space
1998 if the status is `sole'; that adds a gratuitous space in the
1999 completion-cycling case (Bug#12092).
2000
2001 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2002
69de3ec6
RS
20032012-09-17 Richard Stallman <rms@gnu.org>
2004
0dee970c
RS
2005 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2006 only in the mime-shown mode, not in raw mode.
2007 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2008 mime processing. (Bug#12305)
0dee970c 2009
6b250df6
GM
2010 * mail/rmail.el (rmail-retry-failure):
2011 Turn off mime processing first. (Bug#12037)
acb1c47b 2012
69de3ec6
RS
2013 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2014
d079ee5f
CY
20152012-09-17 Chong Yidong <cyd@gnu.org>
2016
2017 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2018 (shell-dynamic-complete-functions): Convert to defcustom.
2019 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2020
865fe16f
CY
2021 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2022 * comint.el (comint-prompt-read-only):
2023 * custom.el (defcustom):
2024 * hi-lock.el (hi-lock-mode):
2025 * ibuffer.el (ibuffer-formats):
2026 * ielm.el (ielm-prompt-read-only):
2027 * novice.el (disable-command):
2028 * saveplace.el (toggle-save-place):
2029 * speedbar.el (speedbar-supported-extension-expressions):
2030 * startup.el (auto-save-list-file-prefix, init-file-user)
2031 (after-init-hook, inhibit-startup-echo-area-message):
2032 * strokes.el (strokes-help):
2033 * time-stamp.el (time-stamp):
2034 * calendar/calendar.el (calendar, diary-file):
2035 * calendar/diary-lib.el (diary-mail-entries, diary)
2036 (diary-list-entries-hook):
2037 * calendar/holidays.el (holidays, calendar-holidays):
2038 * calendar/lunar.el (lunar-phases):
2039 * calendar/solar.el (sunrise-sunset):
2040 * emulation/edt.el (edt-load-keys):
2041 * emulation/viper.el (viper-mode):
2042 * eshell/em-alias.el (eshell-command-aliases-list):
2043 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2044 * international/ogonek.el (ogonek-information):
2045 * net/tramp-cmds.el (tramp-bug):
2046 * net/quickurl.el (quickurl-reread-hook-postfix):
2047 * play/decipher.el (decipher-font-lock-keywords):
2048 * progmodes/cc-styles.el (c-set-style):
2049 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2050 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2051 * progmodes/octave-mod.el (octave-mode):
2052 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2053 * progmodes/verilog-mode.el (verilog-read-defines):
2054 * textmodes/two-column.el (2C-mode): Likewise.
2055
48093eb9
KY
20562012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2057
2058 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2059 that holds many addresses.
2060
c584eaf9
CY
20612012-09-16 Chong Yidong <cyd@gnu.org>
2062
40d70ecb
CY
2063 * align.el (align-areas): Call the indication function with
2064 positions instead of markers for arguments (Bug#12343).
2065
1667e065
CY
2066 * files.el (parse-colon-path): Use split-string (Bug#12351).
2067
fdc2806d 2068 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2069 (display-buffer-function): Mark as obsolete.
fdc2806d 2070
f1be615c 2071 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2072 values similar to font-lock-keywords (Bug#12136).
2073 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2074 (compilation-error-regexp-alist): Doc fix.
2075
f40a9709
GM
20762012-09-15 Glenn Morris <rgm@gnu.org>
2077
72aa16e1
GM
2078 * version.el (emacs-bzr-version-bzr): New function.
2079 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2080
82375160
GM
2081 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2082 checkouts, check the parent dirstate matches the branch.
2083 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2084 empty string.
2085
f40a9709
GM
2086 * version.el (emacs-bzr-version): Doc fix.
2087 (emacs-bzr-version-dirstate): New function.
2088 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2089 is local try and check that it matches the branch. If not, just
2090 use dirstate information. (Bug#12441)
2091
cb26b7f5
JL
20922012-09-14 Juri Linkov <juri@jurta.org>
2093
2094 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2095 (Bug#12399)
2096
2de39f08
SM
20972012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2098
0fb3cb7c
SM
2099 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2100
2de39f08
SM
2101 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2102 Remove obsolete byte-compiler hack that tried to silence some warnings.
2103 (edebug-submit-bug-report): Remove.
2104 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2105 Remove aliases, use the un-prefixed name instead.
2106 (edebug-pop-to-buffer): Consider other frames.
2107 (edebug-original-read):: Make it more obvious that it's always defined.
2108 (edebug--make-form-data-entry, edebug--form-data-name)
2109 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2110 single-dashed name, and implement with cl-defstruct.
2111 (edebug-set-form-data-entry): Use the standard accessors.
2112 (edebug-make-top-form-data-entry): Use push.
2113 (edebug-no-match): Drop useless `funcall'.
2114 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2115 to functions.
2116 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2117 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2118 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2119 (easy-menu-define, with-custom-print): Remove redundant specs.
2120 (edebug-outside-overriding-local-map)
2121 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2122 (edebug--display): Bind unread-command-events directly to nil rather
2123 than binding it to unread-command-events and later setting it to nil.
2124 (edebug--display): Kill edebug-eval-buffer here...
2125 (edebug--recursive-edit): ...rather than here.
2126 Bind standard-output and standard-input.
2127 (edebug-eval): Check cl-macroexpand-all is fboundp.
2128 (edebug-temp-display-freq-count): Fix last change.
2129
2130 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2131 * subr.el (noreturn, 1value): Add `debug' spec.
2132 * emacs-lisp/advice.el: Require cl-lib.
2133 (ad-copy-tree): Remove, use copy-tree instead.
2134 (ad-dolist): Remove use dolist or cl-dolist instead.
2135 (ad-do-return): Remove, use cl-return instead.
2136 (defadvice): Add `debug' spec.
2137
5b68b333
JL
21382012-09-13 Juri Linkov <juri@jurta.org>
2139
2140 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2141 (Bug#12399)
2142
b9800ec4
GM
21432012-09-13 Glenn Morris <rgm@gnu.org>
2144
6a2e6868
GM
2145 * calc/calc.el (math-compose-expr):
2146 * calc/calc-ext.el (math-compose-expr):
2147 * progmodes/cc-defs.el (cl-macroexpand-all):
2148 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2149 (cl-macroexpand-all): Update declarations.
2150
b9800ec4
GM
2151 * vc/vc.el: No need to require ediff.
2152 (ediff-load-version-control): Declare.
2153 (ediff-vc-internal): Fix declaration.
2154 (vc-version-ediff): Require ediff.
2155
c18e885b
PE
21562012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2157
2158 Use a more backwards-compatible timer format (Bug#12430).
2159 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2160 being right after USECS, as that better supports old code that
2161 inadvisedly looked directly at the timer vector.
2162
d607d303
KH
21632012-09-13 Kenichi Handa <handa@gnu.org>
2164
2165 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2166 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2167 `coding-priority' property of these language environment.
2168
72eac303
PE
21692012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2170
2171 Fix glitches caused by addition of psec to timers (Bug#12430).
2172 * image.el (image-animate-timer):
2173 * time.el (display-time-world-timer):
2174 Use timer--function and timer--args rather than raw access to
2175 timer vector.
2176
2168fe4f
GM
21772012-09-13 Glenn Morris <rgm@gnu.org>
2178
2179 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2180 If not compiling a file, try using load-file-name.
2181
bd8d6108
SM
21822012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2183
c0c54fbd
SM
2184 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2185 Fix last change.
2186 (edebug-update-eval-list): Use `push'.
2187
bd8d6108
SM
2188 * emacs-lisp/edebug.el: Use lexical-binding.
2189 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2190 Mark unused args with underscore.
2191 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2192 (edebug-form-data): Use defvar-local.
2193 (edebug-make-before-and-after-form, edebug-make-after-form):
2194 Use backquote.
2195 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2196 Not dynamically scoped any more.
2197 (edebug--enter-trace): Add arguments `function' and `args'.
2198 Rename from edebug-enter-trace.
2199 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2200 (edebug--update-coverage): Add `after-index' and `value' args.
2201 Rename from edebug-update-coverage.
2202 (edebug-slow-after): Call it accordingly.
2203 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2204 edebug-recursive-edit.
2205 (edebug--display): Call it accordingly. Add args `value',
2206 `offset-index', and `arg-mode'. Rename from edebug-display.
2207 (edebug-debugger, edebug): Call it accordingly.
2208 (edebug-eval-display-list): Use dolist.
2209
a9f9d9de
JL
22102012-09-12 Juri Linkov <juri@jurta.org>
2211
2212 * info.el (Info-search): Don't check for isearch-mode and
2213 isearch-regexp before let-binding search-spaces-regexp to
2214 Info-search-whitespace-regexp.
2215 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2216 search-whitespace-regexp if isearch-lax-whitespace or
2217 isearch-regexp-lax-whitespace is non-nil.
2218 (Info-mode): Don't set local variable search-whitespace-regexp.
2219 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2220
bfeae2cf
SM
22212012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2224 (debugger-env-macro): Remove support for unread-command-char.
2225
2226 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2227 the temporary map re-appearing on emulation-mode-map-alists.
2228
2229 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2230 since 22.1.
2231
2232 * ehelp.el (with-electric-help): Accept functions in
2233 electric-help-form-to-execute.
2234 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2235 And replace unread-command-char -> unread-command-events.
2236
fbbcaf1b
MA
22372012-09-12 Michael Albinus <michael.albinus@gmx.de>
2238
2239 Sync with Tramp 2.2.6.
2240
2241 * net/tramp.el (tramp-accept-process-output): Don't use
2242 JUST-THIS-ONE in the XEmacs case.
2243
2244 * net/trampver.el: Update release number.
2245
4dece104
MR
22462012-09-12 Martin Rudalics <rudalics@gmx.at>
2247
bfeae2cf
SM
2248 * emacs-lisp/debug.el (debugger-previous-window-height):
2249 New variable.
4dece104
MR
2250 (debug): When debugger-jumping-flag is non-nil try to restore
2251 height of debugger window. (Bug#8789)
2252
45b82ad0
SM
22532012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2254
60c49c0f
SM
2255 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2256 overriding-local-map and pre/post-command-hook here.
2257 (edebug-recursive-edit): Do it here instead (bug#12345).
2258 (edebug-outside-unread-command-char): Remove all uses of
2259 unread-command-char.
2260
45b82ad0
SM
2261 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2262 inhibit-debugger is bound instead.
2263
baa26ea0
BG
22642012-09-11 Bastien Guerry <bzg@gnu.org>
2265
2266 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2267 (Bug#12346)
baa26ea0 2268
04e8abfa
BG
22692012-09-11 Bastien Guerry <bzg@gnu.org>
2270
96d03571 2271 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2272 (Bug#12347)
96d03571
BG
2273
22742012-09-11 Bastien Guerry <bzg@gnu.org>
2275
fc0c31f8 2276 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2277
04e082b0
MM
22782012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2279
2280 * progmodes/sql.el: Version 3.1
2281 (sql-db2-escape-newlines): New variable.
2282 (sql-escape-newlines-filter): Use it.
2283
399a361b
JB
22842012-09-10 Juanma Barranquero <lekktu@gmail.com>
2285
2286 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2287
0780c517
DN
22882012-09-10 Dan Nicolaescu <dann@gnu.org>
2289
45b82ad0
SM
2290 * vc/diff-mode.el (diff-mode-menu):
2291 Bind diff-remove-trailing-whitespace.
0780c517 2292
9b851e25
SM
22932012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2295 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2296 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2297 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2298 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2299 (eval-defun-2): Remove bogus interactive spec.
2300 (lisp-indent-line): Remove redundant whole-exp code, now done in
2301 indent-according-to-mode.
2302 (save-match-data): Remove redundant indent data.
2303
2304 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2305 Use `declare'.
2306
3231d532
JL
23072012-09-09 Juri Linkov <juri@jurta.org>
2308
2309 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2310 (replace-lax-whitespace, query-replace-regexp)
2311 (query-replace-regexp-eval, replace-regexp): Doc fix.
2312 (perform-replace, replace-highlight): Let-bind
2313 isearch-lax-whitespace to replace-lax-whitespace and
2314 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2315
2316 * isearch.el (isearch-query-replace): Let-bind
2317 replace-lax-whitespace to isearch-lax-whitespace and
2318 replace-regexp-lax-whitespace to
2319 isearch-regexp-lax-whitespace. (Bug#10885)
2320
70fe8236
SM
23212012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2324
8ed43f15
AM
23252012-09-09 Alan Mackenzie <acm@muc.de>
2326
70fe8236
SM
2327 * progmodes/cc-engine.el (c-state-cache-init):
2328 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2329 (c-record-parse-state-state):
2330 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2331
bfabf70a
AS
23322012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2333
2334 * register.el (register-separator): Rename from
2335 separator-register. All uses changed. Doc fix.
2336 (register): Fix version.
2337
011474aa
CY
23382012-09-09 Chong Yidong <cyd@gnu.org>
2339
2340 * replace.el (query-replace-map): Bind four new symbols for
2341 requesting window scrolling.
2342
2343 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2344 query-replace-map (Bug#8948).
2345
2346 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2347
2348 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2349 since they are now in query-replace-map.
2350
2351 * window.el (scroll-other-window-down): Make the arg optional.
2352
a8b7cd8d
CY
23532012-09-09 Chong Yidong <cyd@gnu.org>
2354
2355 * files.el (hack-local-variables-confirm): Use quit-window to kill
2356 the *Local Variables* buffer.
2357
c3268831
DG
23582012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2359
2360 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2361 not just expect to be at its beginning. Adjust callees.
2362 Succeed when do-end block has no space before the pipe character.
2363 (ruby-brace-to-do-end): When the original block is one-liner,
2364 convert to multiline. Reindent the result.
2365
0979429b
J
23662012-09-08 Jambunathan K <kjambunathan@gmail.com>
2367
2368 * register.el (register): New group.
27359e99 2369 (separator-register): New user option.
0979429b
J
2370 (increment-register): Route it to `append-to-register', if
2371 register contains text. Implication is that `C-x r +' can now be
2372 used for appending to a text register (bug#12217).
2373 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2374 `separator-register'.
0979429b 2375
ace2989a
AM
23762012-09-08 Alan Mackenzie <acm@muc.de>
2377
2378 AWK Mode: make auto-newline work when there's "==" in the pattern.
2379 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2380 correctly.
0979429b
J
2381 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2382 Test more rigorously for "=" token.
ace2989a 2383
616c6c36
DG
23842012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2385
0979429b
J
2386 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2387 Only fail when reached LIMIT.
616c6c36 2388
35d98877
CY
23892012-09-08 Chong Yidong <cyd@gnu.org>
2390
2391 * dired.el (dired-mode-map): Don't bind M-=.
2392
2393 * dired-aux.el (dired-diff): Use backup file as default.
2394
1715f2db
DA
23952012-09-08 Drew Adams <drew.adams@oracle.com>
2396
2397 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2398
6dcef6ec
CY
23992012-09-08 Chong Yidong <cyd@gnu.org>
2400
2401 * subr.el (syntax-after, syntax-class): Doc fix.
2402
fa2bcf43
MR
24032012-09-08 Martin Rudalics <rudalics@gmx.at>
2404
2405 * window.el (display-buffer-in-previous-window): New buffer
2406 display action function.
2407
2408 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2409 (debugger-previous-window): New variable.
2410 (debug): Rewrite using display-buffer-in-previous-window,
2411 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2412
daac280a
SM
24132012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2416
9dd40b00
MM
24172012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2418
daac280a
SM
2419 * progmodes/python.el (python-shell-send-string):
2420 When default-directory is remote, create temp file on remote
9dd40b00
MM
2421 filesystem.
2422 (python-shell-send-file): When file is remote, pass local view of
2423 file paths to remote Python interpreter. (Bug#12340)
2424
145823ec
CY
24252012-09-07 Chong Yidong <cyd@gnu.org>
2426
cee2e90d
CY
2427 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2428
0d7eb2ea
CY
2429 * files.el (after-find-file): Don't fail on a read-only buffer if
2430 require-final-newline is `visit' or `visit-save' (Bug#11156).
2431
145823ec
CY
2432 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2433
daac280a
SM
2434 * userlock.el (ask-user-about-supersession-threat):
2435 Use read-char-choice (Bug#12093).
145823ec 2436
74c582e6
CY
24372012-09-07 Chong Yidong <cyd@gnu.org>
2438
e5c2edf7
CY
2439 * subr.el (buffer-narrowed-p): New function.
2440
2441 * ses.el (ses-widen):
2442 * simple.el (count-words--buffer-message):
1f9f395d 2443 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2444
2445 * simple.el (count-words-region): Don't signal an error if there
2446 is a non-nil prefix arg and the mark is not set.
c640e87d 2447
74c582e6
CY
2448 * help.el (describe-key-briefly): Allow the message to be seen
2449 when invoked from the minibuffer (Bug#7014).
2450
d81ceaaf
DG
24512012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2452
2453 * progmodes/ruby-mode.el (ruby-end-of-defun)
2454 (ruby-beginning-of-defun): Simplify, allow indentation before
2455 block beginning and end keywords.
8f06acce
DG
2456 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2457 (ruby-end-of-defun): Expect that the point is at the beginning of
2458 the defun.
d81ceaaf 2459
d458ef98
SM
24602012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2463 (bug#12367).
2464 (cl--make-usage-args): Strip _ from argument names.
2465
20367d28
RS
24662012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2467
2468 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2469 obsolete alias speedbar-key-map.
2470 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2471 (vhdl-index-menu-init): Don't use obsolete variable
2472 font-lock-maximum-size.
2473
3424a4f6
CY
24742012-09-06 Chong Yidong <cyd@gnu.org>
2475
2476 * frame.el (window-system-version): Mark as obsolete.
2477
fcbfbdea
CY
2478 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2479 of obsolete variable speedbar-key-map.
2480
826b3235
JL
24812012-09-06 Juri Linkov <juri@jurta.org>
2482
2483 * replace.el (replace-lax-whitespace): New defcustom.
2484 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2485 (replace-string, replace-regexp): Mention it in docstrings.
2486 (perform-replace, replace-highlight): Let-bind
2487 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2488 to the values of replace-lax-whitespace and regexp-flag.
2489 Don't let-bind search-whitespace-regexp. (Bug#10885)
2490
2491 * isearch.el (isearch-query-replace): Let-bind
2492 replace-lax-whitespace instead of let-binding
2493 replace-search-function and replace-re-search-function.
2494 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2495 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2496 (isearch-toggle-symbol): Set isearch-regexp to nil
2497 in isearch-word mode (like in isearch-toggle-word).
2498
1ec5e41d
JL
24992012-09-06 Juri Linkov <juri@jurta.org>
2500
2501 * replace.el (replace-search-function)
2502 (replace-re-search-function): Set default values to nil.
2503 (perform-replace): Let-bind isearch-related variables based on
2504 replace-related values, call `isearch-search-fun' and let-bind
2505 the result to `search-function'. Remove code that sets
2506 `search-function' and `search-string' separately for
2507 `delimited-flag'.
2508 (replace-highlight): Add new argument `delimited-flag' and
2509 rename other arguments to the names used in `perform-replace'.
2510 Let-bind `isearch-word' to the argument `delimited-flag'.
2511 (Bug#10885, bug#10887)
2512
0ba2d4b6
DG
25132012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2514
2515 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2516 ruby-beginning-of-indent, simplify, allow all keywords to have
2517 indentation before them.
2518 (ruby-beginning-of-indent): Adjust for above. Search until the
2519 found point is not inside a string or comment.
2520 (ruby-font-lock-keywords): Allow symbols to start with "@"
2521 character, give them higher priority than variables.
2522 (ruby-syntax-propertize-function)
2523 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2524 matchers. Expression expansions are not comments when inside a
2525 string, and there comment syntax status is irrelevant.
2526 (ruby-match-expression-expansion): New function. Check that
2527 expression expansion is inside a string, and it's not escaped.
2528 (ruby-font-lock-keywords): Use it.
2529
ef654460
MR
25302012-09-05 Martin Rudalics <rudalics@gmx.at>
2531
2532 * help.el (temp-buffer-max-height): New default value.
2533 (temp-buffer-resize-frames): New option.
2534 (resize-temp-buffer-window): Optionally resize frame.
2535
2536 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2537 (fit-frame-to-buffer): New function.
2538
7e570fbf 25392012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2540
2541 * emulation/cua-rect.el (cua--init-rectangles):
2542 * textmodes/picture.el (picture-mode-map):
2543 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2544 like forward-char and backward-char. (Bug#12317)
2545
7e570fbf 25462012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2547
2548 * progmodes/flymake.el (flymake-warning-re): New variable.
2549 (flymake-parse-line): Use it.
2550
7e570fbf 25512012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2552
2553 * calendar/holidays.el (holiday-christian-holidays):
2554 Rename an entry. (Bug#12289)
2555
7e570fbf 25562012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2557
2558 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2559 (bug#12222).
2560
972debf2
SM
25612012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * loadup.el: Load macroexp. Remove hack.
2564 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2565 (macroexp--expand-all): Use it to get better warnings.
2566 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2567 (internal-macroexpand-for-load): New functions.
2568 (macroexp--pending-eager-loads): New var.
2569 (emacs-startup-hook): New hack to replace one in loadup.el.
2570 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2571 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2572 (cl-psetf): Simplify.
2573 (cl-defstruct): Add indent rule.
2574
8ce192e3
LI
25752012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2576
2577 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2578 over `user-mail-address' for the SMTP MAIL FROM envelope.
2579 (smtpmail-via-smtp): Ditto.
2580
6578b4d8
DG
25812012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2582
2583 * progmodes/ruby-mode.el: Clean up keybindings.
2584 (ruby-mode-map): Don't bind ruby-electric-brace,
2585 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2586 backward-kill-word, reindent-then-newline-and-indent.
2587 (ruby-mark-defun): Remove.
2588 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2589 (ruby-mode): Set local beginning-of-defun-function and
2590 end-of-defun-function values.
2591
c5e28e39
MR
25922012-09-03 Martin Rudalics <rudalics@gmx.at>
2593
2594 * window.el (temp-buffer-window-setup-hook)
2595 (temp-buffer-window-show-hook): New hooks.
2596 (temp-buffer-window-setup, temp-buffer-window-show)
2597 (with-temp-buffer-window): New functions.
972debf2
SM
2598 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2599 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2600
2601 * help.el (temp-buffer-resize-mode): Fix doc-string.
2602 (resize-temp-buffer-window): New optional argument WINDOW.
2603
2604 * files.el (recover-file, save-buffers-kill-emacs):
2605 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2606
73406194
MA
26072012-09-02 Michael Albinus <michael.albinus@gmx.de>
2608
2609 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2610 remote definition of `default-directory', ensure we can connect.
2611
63dd1c6f
JL
26122012-09-02 Juri Linkov <juri@jurta.org>
2613
2614 Toggle whitespace matching mode with M-s SPC.
2615 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2616
2617 * isearch.el (search-whitespace-regexp): Doc fix.
2618 Remove cons cell customization.
2619 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2620 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2621 New variables.
2622 (isearch-forward, isearch-forward-regexp): Doc fix.
2623 (isearch-toggle-lax-whitespace): New command.
2624 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2625 (re-search-forward-lax-whitespace)
2626 (re-search-backward-lax-whitespace): New functions.
2627 (isearch-whitespace-regexp): Remove function.
2628 (isearch-query-replace): Let-bind replace-search-function and
2629 replace-re-search-function.
2630 (isearch-occur): Let-bind search-spaces-regexp according to the
2631 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2632 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2633 condition for C-q SPC.
2634 (isearch-search-fun-default): Use new functions mentioned above.
2635 (isearch-search-forward, isearch-search-backward): Remove functions.
2636 (isearch-search): Don't let-bind search-spaces-regexp.
2637 (isearch-lazy-highlight-space-regexp): Remove variable.
2638 (isearch-lazy-highlight-lax-whitespace)
2639 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2640 (isearch-lazy-highlight-new-loop): Use them.
2641 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2642
af7dda05
CY
26432012-09-02 Chong Yidong <cyd@gnu.org>
2644
2645 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2646
d67d3afd
GM
26472012-09-02 Glenn Morris <rgm@gnu.org>
2648
2649 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2650
69678719
GM
26512012-09-01 Glenn Morris <rgm@gnu.org>
2652
2653 * term.el: Tidy up menu definitions.
2654 (term-mode-map): Use easymenu for In/Out, Complete menus.
2655 (term-pager-break-map): Initialize in the defvar.
2656 (term-terminal-menu, term-signals-menu): Define with easymenu.
2657 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2658 (term-pager-menu): New, extracted from term-process-pager.
2659 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2660 (term-update-mode-line): Propertize line/char and page items.
2661 (term-process-pager): Move keymap initialization elsewhere.
2662
78dd6ab1
MR
26632012-09-01 Martin Rudalics <rudalics@gmx.at>
2664
2665 * window.el (switch-to-prev-buffer): Handle additional values of
2666 BURY-OR-KILL argument. Don't switch in minibuffer window.
2667 (switch-to-next-buffer): Don't switch in minibuffer window.
2668 (quit-restore-window): New function based on quit-window.
2669 Handle additional values of former KILL argument.
2670 (quit-window): Call quit-restore-window with appropriate
2671 interpretation of KILL argument.
2672 (display-buffer-below-selected): New buffer display action
2673 function.
2674
3d10e134
SM
26752012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * minibuffer.el (completion-at-point-functions): Complete docstring
2678 (bug#12254).
2679
0e23ef9d
PE
26802012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2681
2682 Better seed support for (random).
2683 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2684 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2685 * play/mpuz.el, play/tetris.el, play/zone.el:
2686 * calc/calc-comb.el (math-init-random-base):
2687 * play/blackbox.el (bb-init-board):
2688 * play/life.el (life):
2689 * server.el (server-use-tcp):
2690 * type-break.el (type-break):
2691 Remove unnecessary call to (random t).
2692 * net/sasl.el (sasl-unique-id-function):
2693 Change (random t) to (random), now that the latter is more random.
2694 * play/life.el (life-initialized): Remove no-longer-needed var.
2695
862382df
MR
26962012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2697
2698 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2699 Consider frame's buffer predicate when choosing the buffer.
2700 (Bug#12081)
2701
262a66e1
RS
27022012-08-30 Richard Stallman <rms@gnu.org>
2703
2704 * simple.el (special-mode-map): Delete binding for `z'.
2705
f17e1d00
AS
27062012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2707
2708 * progmodes/compile.el (compilation-always-kill): Doc fix.
2709
24777832
CY
27102012-08-30 Chong Yidong <cyd@gnu.org>
2711
2712 * window.el (display-buffer-reuse-frames): Make the obsolescence
2713 message more informative.
2714
69ba1f04
GM
27152012-08-30 Glenn Morris <rgm@gnu.org>
2716
2717 * paren.el (show-paren-delay):
2718 Add a :set function. Doc fix. (Bug#12297)
2719
f0019ede
MB
27202012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2721
2722 * progmodes/compile.el (compilation-always-kill): New var.
2723 (compilation-start): Use it.
2724
35e62fc9
SM
27252012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2726
af070a1c
SM
2727 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2728 * files.el (read-only-mode): Move to simple.el.
2729
35e62fc9
SM
2730 * files.el (read-only-mode): New minor mode.
2731 (toggle-read-only): Use it and mark obsolete.
2732 (find-file--read-only):
2733 * vc/vc.el (vc-next-action, vc-checkout):
2734 * vc/vc-cvs.el (vc-cvs-checkout):
2735 * obsolete/vc-mcvs.el (vc-mcvs-update):
2736 * ffap.el (ffap--toggle-read-only): Update callers.
2737
c2c43c23
MA
27382012-08-29 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2741 remote shell scripts.
2742 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2743
2744 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2745 "/usr/local/sbin".
2746
9fba804b
SM
27472012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2748
2749 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2750
eada0861 27512012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2752
806f0cc7
LL
2753 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2754 completion-at-point. (Bug#12220)
2755
3bb213b9
LL
2756 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2757
22ab32ef
LL
2758 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2759
eada0861 27602012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2761
19c17fc1
CY
2762 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2763 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2764
eada0861 27652012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2766
2767 * progmodes/hideif.el (hif-compress-define-list):
2768 Fix typo. (Bug#11951)
2769
eada0861 27702012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2771
2772 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2773 buffer local setting.
2774
27d6c5a8
LL
2775 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2776 rcirc-encode-coding-system.
2777
eada0861 27782012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2779
2780 * net/rcirc.el (rcirc-split-message): New function.
2781 (rcirc-send-message): Use it. (Bug#12051)
2782
d44688e4
JL
27832012-08-28 Juri Linkov <juri@jurta.org>
2784
2785 * info.el (Info-fontify-node): Hide empty lines at the end of
2786 the node. (Bug#12272)
2787
34f10d41
MR
27882012-08-27 Drew Adams <drew.adams@oracle.com>
2789
2790 * dired.el (dired-pop-to-buffer): Make window start at beginning
2791 of buffer (Bug#12281).
2792
77f1f99c
CY
27932012-08-26 Chong Yidong <cyd@gnu.org>
2794
2795 * window.el (special-display-regexps, special-display-frame-alist)
2796 (special-display-buffer-names, special-display-function)
2797 (display-buffer-reuse-frames): Mark as obsolete.
2798
2799 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2800
2801 * help.el (help-print-return-message): Don't treat
2802 display-buffer-reuse-frames specially.
2803
d97af5a0
CY
28042012-08-26 Chong Yidong <cyd@gnu.org>
2805
9fba804b
SM
2806 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2807 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2808 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2809 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2810 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2811 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2812 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2813 the functions directly with gdb-display-buffer-other-frame-action.
2814 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2815 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2816 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2817 (gdb-display-registers-buffer): Define directly.
2818 (def-gdb-display-buffer): Macro deleted.
2819 (gdb-display-buffer): Remove second and third args, callers don't
2820 use them. Defer to the default display-buffer behavior, apart
2821 from making windows dedicated.
2822 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2823
2824 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2825
2826 * window.el (display-buffer-pop-up-frame): Handle a
2827 pop-up-frame-parameters alist entry.
2828 (display-buffer): Document it.
2829
dd7ffad6
CY
28302012-08-26 Chong Yidong <cyd@gnu.org>
2831
2832 * isearch.el (search-whitespace-regexp): Make string and nil
2833 values apply to both ordinary and regexp search. Allow a cons
2834 cell value to distinguish between the two.
2835 (isearch-whitespace-regexp, isearch-search-forward)
2836 (isearch-search-backward): New functions.
2837 (isearch-occur, isearch-search-fun-default, isearch-search)
2838 (isearch-lazy-highlight-new-loop): Use them.
2839 (isearch-forward, isearch-forward-regexp): Doc fix.
2840
4c47bd1e
CY
28412012-08-26 Chong Yidong <cyd@gnu.org>
2842
2843 * faces.el (help-argument-name): Always inherit from italic
2844 (Bug#12213).
2845
9aba119d
MR
28462012-08-25 Martin Rudalics <rudalics@gmx.at>
2847
2848 * window.el (window--even-window-heights): Even heights when
2849 WINDOW and the selected window form a vertical combination.
2850 (display-buffer-use-some-window): Provide that window used gets
2851 sized back by quit-window. (Bug#11880) and (Bug#12091)
2852
ca5256ad
PE
28532012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2854
2855 Fix file time stamp problem with bzr and CVS (Bug#12001).
2856 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2857 in the file's time stamp, since the version control system loses
2858 that information.
2859
d1c0d176
JL
28602012-08-22 Juri Linkov <juri@jurta.org>
2861
2862 * info.el (Info-fontify-node): Hide the suffix of the
2863 Info file name in the header line. (Bug#12187)
2864
141562ff
GM
28652012-08-22 Glenn Morris <rgm@gnu.org>
2866
2867 * calendar/cal-tex.el (cal-tex-weekly-common):
2868 Restore leading blank page.
2869
61a48e19 28702012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2871
2872 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2873 the region under `shift-select-mode'. (Bug#12231)
2874
28752012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2876
2877 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2878 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2879 gives details on why the space is never needed.
2880
ea95074e
MR
28812012-08-22 Martin Rudalics <rudalics@gmx.at>
2882
9fba804b
SM
2883 * window.el (walk-window-tree, window-with-parameter):
2884 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2885 should run on the minibuffer window.
2886 (window-at-side-list): Don't operate on minibuffer window.
2887 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2888 (window--size-ignore): Rename to window--size-ignore-p.
2889 Update callers.
caceae25
MR
2890 (display-buffer-in-atom-window, window--major-non-side-window)
2891 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2892 (delete-side-window, display-buffer-in-side-window):
2893 New functions.
caceae25
MR
2894 (window--side-check, window-deletable-p, delete-window)
2895 (delete-other-windows, split-window): Handle side windows and
2896 atomic windows appropriately.
2897 (window--display-buffer): Call display-buffer-record-window also
2898 when the window buffer did not change.
ea95074e 2899
80a51fa0
CS
29002012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2901
2902 * help-fns.el (help-fns--key-bindings):
2903 Abbreviate non-symbol remap targets. (Bug#12174)
2904
fbb6300b
MR
29052012-08-22 Martin Rudalics <rudalics@gmx.at>
2906
2907 * dired.el (dired-mark-remembered): Don't clobber point.
2908 (Bug#11795)
2909
2b2c0794
GM
29102012-08-22 Glenn Morris <rgm@gnu.org>
2911
2912 * progmodes/bug-reference.el (bug-reference): New custom group.
2913 (bug-reference-bug-regexp): Make it a defcustom.
2914
37219830
DU
29152012-08-22 Daiki Ueno <ueno@unixuser.org>
2916
2917 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2918 (js-paren-indent-offset, js-square-indent-offset)
2919 (js-curly-indent-offset): Add :safe (Bug#12257).
2920
94e0e559
EC
29212012-08-22 Edward O'Connor <hober0@gmail.com>
2922
2923 * json.el (json-key-format): Add error properties.
2924 (json-encode-key): New function.
2925 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2926 Use json-encode-key.
2927
da485f5e
GM
29282012-08-22 Glenn Morris <rgm@gnu.org>
2929
2930 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2931 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2932 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2933 Update for above change.
2934
c6cc78b8
AS
29352012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2936
2937 * cus-face.el (custom-face-attributes): Fix customize type for the
2938 :underline attribute. (Bug#11805)
2939
5481664a
MR
29402012-08-21 Martin Rudalics <rudalics@gmx.at>
2941
2942 * window.el (window-point-1, set-window-point-1): Remove.
2943 (window-in-direction, record-window-buffer)
2944 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2945 (window--state-get-1, display-buffer-record-window):
2946 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2947 window-point and set-window-point respectively.
2948
6d74698e
GM
29492012-08-21 Glenn Morris <rgm@gnu.org>
2950
b7fa2691
GM
2951 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2952 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2953 Use it.
2954
52f56d5a
GM
2955 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2956 (cal-tex-shortday): New function.
2957 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2958 (cal-tex-cursor-filofax-daily): Use the above.
2959
9f1ee09e
GM
2960 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2961 New functions.
2962 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2963 (cal-tex-cursor-filofax-week): Use them.
2964
79858159
GM
2965 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2966 New constants.
2967 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2968 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2969
d346b2b4
GM
2970 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2971 (cal-tex-end-document): Don't rely on buffer name.
2972
b2403709
GM
2973 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2974 Use cal-tex-vspace.
2975 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2976 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2977 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2978 Use cal-tex-arg.
b2403709 2979
1cebb5c0
GM
2980 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2981 (cal-tex-cursor-week, cal-tex-cursor-week2)
2982 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2983 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2984 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2985 (cal-tex-insert-preamble, cal-tex-b-document)
2986 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2987 Improve cal-tex-cmd usage.
2988
c68cd5d4
GM
2989 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2990 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2991 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2992 (cal-tex-weekly-paper): New function.
2993 (cal-tex-cursor-week, cal-tex-cursor-week2)
2994 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2995 (cal-tex-cursor-day): Use it.
2996
9dca4801
GM
2997 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2998 (cal-tex-cursor-filofax-week): Remove leading blank page.
2999
1941e134
GM
3000 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3001 Add autoload cookie. For now at least, don't use color, since
3002 no other cal-tex function does.
3003
6d74698e
GM
3004 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3005 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3006 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3007
64cde199
JL
30082012-08-21 Juri Linkov <juri@jurta.org>
3009
3010 * info.el (Info-file-attributes): New variable.
3011 (info-insert-file-contents): Add file attributes to
3012 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3013 `Info-toc-nodes' when previous modtime of the Info file is less
3014 than new modtime.
3015 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3016 of info.el. (Bug#12230)
3017
32757648
GM
30182012-08-20 Glenn Morris <rgm@gnu.org>
3019
3020 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3021 * calendar/holidays.el (calendar-holiday-list):
3022 Report errors with display-warning rather than beep'n'sleep.
3023
a32fbbcf
MA
30242012-08-20 Michael Albinus <michael.albinus@gmx.de>
3025
3026 * net/tramp.el (tramp-accept-process-output): Accept only output
3027 from PROC. Otherwise, process filters and sentinels might be
3028 confused. (Bug#12145)
3029
a05731a0
CY
30302012-08-20 Chong Yidong <cyd@gnu.org>
3031
3032 * descr-text.el (describe-text-properties-1): Use overlays-in to
3033 report on empty overlays (Bug#3322).
3034
36e8d1eb
GM
30352012-08-20 Glenn Morris <rgm@gnu.org>
3036
3d300447
GM
3037 * mail/rmailout.el (rmail-output-read-file-name):
3038 Trap and report errors in rmail-output-file-alist elements.
3039
36e8d1eb
GM
3040 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3041 since most non-font-lock faces are not also variables).
3042
b96e5814
ER
30432012-08-20 Edward Reingold <reingold@iit.edu>
3044
3045 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3046 New function. (Bug12160)
3047
7cef3569
GM
30482012-08-19 Glenn Morris <rgm@gnu.org>
3049
3050 * mail/rmailout.el (rmail-output-read-file-name):
3051 Fix previous change (when the alist is nil or does not match).
3052
17975d7f
CY
30532012-08-19 Chong Yidong <cyd@gnu.org>
3054
3055 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3056 (Bug#12228).
3057
2170b1bd
CY
30582012-08-18 Chong Yidong <cyd@gnu.org>
3059
3060 * simple.el (yank-handled-properties): New defcustom.
3061 (yank-excluded-properties): Add font-lock-face and category.
3062 (yank): Doc fix.
3063
9fba804b
SM
3064 * subr.el (remove-yank-excluded-properties):
3065 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3066 and category is now done this way, instead of being hard-coded.
3067 (insert-for-yank-1): Remove font-lock-face handling.
3068 (yank-handle-font-lock-face-property)
3069 (yank-handle-category-property): New function.
3070
ee218151
GM
30712012-08-17 Glenn Morris <rgm@gnu.org>
3072
3073 * mail/rmailout.el (rmail-output-read-file-name):
3074 Check rmail-output-file-alist against the full message body
3075 in the correct rmail buffer. (Bug#12214)
3076
4a6bc3fd
MA
30772012-08-17 Michael Albinus <michael.albinus@gmx.de>
3078
9fba804b
SM
3079 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3080 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3081
383dcbf9
CY
30822012-08-17 Chong Yidong <cyd@gnu.org>
3083
3084 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3085 font spec, set the font directly (Bug#3228).
3086
998c4a6a
MR
30872012-08-17 Martin Rudalics <rudalics@gmx.at>
3088
3089 * window.el (delete-window): Fix last fix.
3090
52162052
MR
30912012-08-16 Martin Rudalics <rudalics@gmx.at>
3092
3093 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3094 (window-child, window-child-count, window-last-child)
3095 (window-normalize-window, window-combined-p)
3096 (window-combinations, window-atom-root, window-min-size)
3097 (window-sizable, window-sizable-p, window-size-fixed-p)
3098 (window-min-delta, window-max-delta, window--resizable)
3099 (window--resizable-p, window-resizable, window-total-size)
3100 (window-full-height-p, window-full-width-p, window-body-size)
3101 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3102 (minimize-window, window-deletable-p, delete-window)
3103 (delete-other-windows, set-window-buffer-start-and-point)
3104 (next-buffer, previous-buffer, split-window, balance-windows-2)
3105 (set-window-text-height, window-buffer-height)
3106 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3107 (truncated-partial-width-window-p): Minor code adjustments.
3108 In doc-strings state whether the argument window has to denote a
85c2386b 3109 live, valid or any window.
52162052 3110
1c308380
PS
31112012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3112
3113 * progmodes/subword.el (subword-forward-function)
3114 (subword-backward-function, subword-forward-regexp)
3115 (subword-backward-regexp): New variables.
3116 (subword-forward, subword-forward-internal, subword-backward-internal):
3117 Use new variables, eg so that different "word" definitions
3118 can be easily used. (Bug#11411)
3119
94c9ece1
SM
31202012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3123 for composite selectors.
3124 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3125 operation just because we can't find a previous revision.
3126
f2045622
CY
31272012-08-15 Chong Yidong <cyd@gnu.org>
3128
3129 * frame.el (set-frame-font): Accept font objects.
3130
582db660
SM
31312012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3134
2f29c200
WJ
31352012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3136
456e62c2
WJ
3137 * man.el (Man-overstrike-face, Man-underline-face)
3138 (Man-reverse-face): Remove variables.
3139 (Man-overstrike, Man-underline, Man-reverse): New faces.
3140 (Man-fontify-manpage): Use them instead of the variables.
3141 (Man-cleanup-manpage): Comment change.
3142 (Man-ansi-color-map): New variable.
3143 (Man-fontify-manpage): Use it.
3144 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3145
2f29c200
WJ
3146 Implement ANSI SGR parameters 22-27 (bug#12146).
3147 * ansi-color.el (ansi-colors): Doc fix.
3148 (ansi-color-context, ansi-color-context-region): Doc fix.
3149 (ansi-color--find-face): New function.
3150 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3151 Rename the local variable `face' to `codes' since it is now a list of
3152 ansi codes. Doc fix.
3153 (ansi-color-get-face): Remove.
3154 (ansi-color-parse-sequence): New function, derived from
3155 ansi-color-get-face.
3156 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3157 codes 22-27.
3158
b4f5e9df
SM
31592012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * subr.el (read-passwd): Allow use from a minibuffer.
3162
ba025fbd
EZ
31632012-08-14 Eli Zaretskii <eliz@gnu.org>
3164
3165 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3166 inside comments and strings as identifiers.
3167
3168 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3169 expression to evaluate. This allows to evaluate expressions with
3170 embedded whitespace.
3171 (gud-tooltip-tips): Add a blank before the newline in the
3172 message-box text, for the benefit of message-box emulation on
3173 MS-Windows.
3174
3175 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3176 messages from GDB, pop them up in a tooltip to give feedback to
3177 user.
b4f5e9df
SM
3178 (gdb-tooltip-print-1): Quote the expression to evaluate.
3179 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3180 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3181 if the TTY name is nil or empty (which happens when communicating
3182 with the inferior via pipes, e.g. on MS-Windows).
3183 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3184 don't send that to the GUD buffer.
3185
c548f821
GM
31862012-08-14 Glenn Morris <rgm@gnu.org>
3187
3188 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3189 Optimize away setq-default with no args, as for setq. (Bug#12195)
3190
55802e4a
CY
31912012-08-14 Chong Yidong <cyd@gnu.org>
3192
4abcdac8
CY
3193 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3194
55802e4a
CY
3195 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3196 (Bug#12085).
3197
3c3cda1a
GM
31982012-08-14 Glenn Morris <rgm@gnu.org>
3199
3200 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3201
e1873bd0
MA
32022012-08-14 Michael Albinus <michael.albinus@gmx.de>
3203
3204 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3205 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3206 Use cached shell name.
3207
925411b4
FEG
32082012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3209
3210 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3211 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3212
e636fafe
DG
32132012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3214
3215 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3216 (ruby-percent-literal-beg-re): New constant.
3217 (ruby-syntax-general-delimiters-goto-beg): Rename to
3218 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3219 (ruby-syntax-propertize-general-delimiters): Rename to
3220 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3221 popular term. Adjust comments everywhere.
3222 (ruby-syntax-propertize-percent-literal): Only propertize when not
3223 inside a simple string or comment. When the literal is unclosed,
3224 leave the text after it unpropertized.
f063063a
DG
3225 (ruby-syntax-methods-before-regexp): New constant.
3226 (ruby-syntax-propertize-function): Use it to recognize regexps.
3227 Don't look at the text after regexp, just use the whitelist.
e636fafe 3228
e5b19827
AS
32292012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3230
3231 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3232 non-nil always load the compiled file if it exists. (Bug#12197)
3233
a9f6f311
CY
32342012-08-14 Chong Yidong <cyd@gnu.org>
3235
3236 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3237 (hi-lock-set-pattern): When deciding whether to use font lock or
3238 overlays, look at font-lock-mode instead of font-lock-fontified
3239 (Bug#12168).
3240 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3241 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3242
7d806b1e
DU
32432012-08-14 Daiki Ueno <ueno@unixuser.org>
3244
3245 * subr.el (internal--after-with-selected-window): Fix typo
3246 (Bug#12193).
3247
5beed586
FEG
32482012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3249
3250 Use `completion-table-dynamic' for completion functions.
3251 * progmodes/python.el
3252 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3253 (python-shell-completion--get-completions):
3254 Remove functions.
5beed586
FEG
3255 (python-shell-completion-complete-at-point): New function.
3256 (python-completion-complete-at-point): Use it.
3257
92cb3b04
J
32582012-08-13 Jambunathan K <kjambunathan@gmail.com>
3259
3260 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3261 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3262
89660017
SM
32632012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3c98c962
SM
3265 * subr.el (function-get): Refine `autoload' arg so it can also
3266 autoload functions for gv.el (bug#12191).
3267 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3268 autoloads macros.
3269
aa7c6dbe
SM
3270 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3271 Prefer pcase-let over destructuring-bind.
3272 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3273 Also, remove whitespace as we go, rather than after accumulating the
3274 various places.
3275
89660017
SM
3276 * subr.el (internal--before-with-selected-window)
3277 (internal--after-with-selected-window): Fix typo seleted->selected.
3278 (with-selected-window): Adjust callers.
3279 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3280
31cd32c9
BG
32812012-08-13 Bastien Guerry <bzg@gnu.org>
3282
0fcd3d9f 3283 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3284 enhancement. (Bug#12172)
3285
1b15d8ad
AS
32862012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3287
31e54db0
AS
3288 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3289 type 1-6.
3290 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3291 extended headers.
3292
1b15d8ad
AS
3293 * files.el (hack-local-variables-filter): Remove useless eval.
3294
35cb9c06
MR
32952012-08-13 Martin Rudalics <rudalics@gmx.at>
3296
3297 * subr.el (with-selected-window): Fix last change.
3298
1439443b
SM
32992012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * subr.el (internal--before-with-seleted-window)
3302 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3303 (with-selected-window): Use them, to replace dependency on
3304 tty-top-frame.
1439443b 3305
0d9e2599
NN
33062012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3307
3308 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3309 binding for `newline'.
3310 (ruby-move-to-block): When moving backward, stop at block opening,
3311 not indentation.
3312 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3313 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3314 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3315 `ruby-toggle-block'.
3316
ba10c48c
SM
33172012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * ibuffer.el (ibuffer-do-toggle-read-only):
3320 * dired.el (dired-toggle-read-only):
3321 * buff-menu.el (Buffer-menu-toggle-read-only):
3322 * bindings.el (mode-line-toggle-read-only):
3323 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3324
9229c658
AS
33252012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3326
3327 * descr-text.el (describe-char): Put the overlays over the
3328 "displayed as" character.
3329
0fd09128
JB
33302012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3331
3332 * calc/calc-units.el (math-default-units-table): Give an
3333 initial value.
3334 (math-put-default-units): Add options to put composite units and
3335 unit systems in the default units table.
3336 (calc-convert-units): Send composite units to
3337 `math-put-default-units' when appropriate.
3338
9ff9402d 33392012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3340
fbb5e336
GM
3341 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3342
7aacaf15
GM
3343 * tutorial.el (help-with-tutorial):
3344 * emacs-lisp/copyright.el (copyright-update-directory):
3345 * emacs-lisp/autoload.el (autoload-find-generated-file)
3346 (autoload-find-file): Disable local eval: (for insurance).
3347
f40b9f10
GM
3348 * files.el (hack-local-variables-filter): If an eval: form is not
3349 known to be safe, and enable-local-variables is :safe, then ignore
3350 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3351 This is CVE-2012-3479.
f40b9f10 3352
daa9f1a6
SM
33532012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3356 (rx-form): Simplify.
3357
9cd80478
DG
33582012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3359
0d9e2599
NN
3360 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3361 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3362 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3363 (ruby-syntax-propertize-function): Adjust for changes in
3364 `ruby-syntax-propertize-heredoc'.
3365
33662012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3367
9cd80478
DG
3368 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3369 binding (use `M-;' instead).
9cd80478 3370 (ruby-singleton-class-p): New function.
0d9e2599 3371 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3372
d301b413
SM
33732012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3376
1530c98e
CY
33772012-08-10 Chong Yidong <cyd@gnu.org>
3378
3379 * progmodes/python.el (python-shell-get-process-name): Don't mess
3380 with same-window-buffer-names.
3381
3382 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3383 (eshell-remove-from-window-buffer-names): Make obsolete.
3384 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3385 (eshell): Just use pop-to-buffer-same-window instead.
3386
e1293765
CY
33872012-08-10 Chong Yidong <cyd@gnu.org>
3388
3389 * bindings.el: Bind M-= back to count-words-region.
3390
3391 * simple.el (count-words-region): Accept a prefix arg for acting
3392 on the entire buffer.
3393 (count-words--buffer-message): New helper function.
3394
e1894109
SM
33952012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3398 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3399 (event-start, event-end): Use posn-at-point to return a more
3400 informative posn.
3401 (posnp): New function.
3402 * mouse.el (popup-menu-normalize-position): Use it.
3403
c69f56a2
MY
34042012-08-10 Masatake YAMATO <yamato@redhat.com>
3405
3406 * mouse.el (popup-menu-normalize-position): New function.
3407 (popup-menu): Use `popup-menu-normalize-position' to normalize
3408 the form for POSITION argument.
3409
3410 * term/x-win.el (x-menu-bar-open):
3411 Use the value returend from (posn-at-point) as position
3412 passed to `popup-menu'.
3413
31673780
JB
34142012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3415
3416 * calc/calccomp.el (math-compose-expr): Add extra argument
3417 indicating that parentheses should be put around products in
3418 denominators. Give multiplication precedence over division during
3419 composition.
3420
dab7711b
CY
34212012-08-09 Chong Yidong <cyd@gnu.org>
3422
dee4ef93
CY
3423 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3424 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3425 (Man-untabify-command, manual-program): Convert to defcustom
3426 (Bug#10429).
3427
73e2bbc5
CY
3428 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3429
3e861c8a
CY
3430 * descr-text.el (describe-char): Don't insert extra newlines
3431 (Bug#10127).
3432
a9f5a649
CY
3433 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3434 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3435
dab7711b
CY
3436 * align.el (align-region): Delete temporary markers (Bug#10047).
3437 Plus some code cleanups.
3438
e0cc4efa
FEG
34392012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3440
3441 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3442 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3443 (python-shell-internal-last-output): Use make-local-variable
3444 instead of make-variable-buffer-local.
3445
489af14f
FEG
34462012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3447
3448 * progmodes/python.el: Enhancements to forward-sexp.
3449 (python-nav-forward-sexp): Rename from
3450 python-nav-forward-sexp-function.
c69f56a2
MY
3451 (python-nav--forward-sexp, python-nav--backward-sexp):
3452 New functions.
489af14f 3453
0fc50303
JB
34542012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3455
3456 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3457 modes and simplification modes.
3458
5d65606a
SM
34592012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * delsel.el (delete-selection-pre-hook): Don't propagate the
3462 file-supersession signals (bug#12161).
3463
4250fdf5
SM
34642012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3467 (cl-map-extents): Add compatibility aliases (bug#12135).
3468
d9f9b465
MA
34692012-08-08 Michael Albinus <michael.albinus@gmx.de>
3470
3471 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3472 tests by `ignore-error'.
3473 (tramp-find-shell): Open also a new shell, when cache is already
3474 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3475
ce0fcefa
JL
34762012-08-08 Juri Linkov <juri@jurta.org>
3477
3478 * bookmark.el: Add `defaults' property to the bookmark record.
3479 (bookmark-current-buffer): Doc fix.
3480 (bookmark-make-record): Add `defaults' property with default values
3481 to the bookmark record.
3482 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3483 with `bookmark-insert-current-bookmark'.
3484 (bookmark-set): Get `defaults' property from the bookmark record
3485 and use it in `read-from-minibuffer'.
3486 (bookmark-insert-current-bookmark): Remove function.
3487
3488 * info.el (Info-bookmark-make-record): Add `defaults' property
3489 with values of canonical Info node name, the current Info file
3490 name and the current Info node name. (Bug#12107)
3491
53fa8652
JL
34922012-08-08 Juri Linkov <juri@jurta.org>
3493
3494 * files.el (basic-save-buffer): Use `buffer-name' as the default
3495 of `read-file-name' when buffer is not visiting a file (bug#12128).
3496
242c0a95
JL
34972012-08-08 Juri Linkov <juri@jurta.org>
3498
3499 * info.el (Info-isearch-search): Doc fix.
3500 (Info-search): Change search-failed message from "initial node" to
3501 "end of node" (bug#12078).
3502 (Info-isearch-search): Change `isearch-string-state' to
3503 `isearch--state-string'.
3504
32ac3a6b
GM
35052012-08-08 Glenn Morris <rgm@gnu.org>
3506
3507 * language/persian.el: Remove file.
f8c1afd5 3508 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3509 * loadup.el: Remove language/persian.
3510
2c2d9c9c
OF
35112012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3512
3513 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3514
2d79ec42
FEG
35152012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3516
3517 * progmodes/python.el Fixed defsubst warning.
3518 (python-syntax-context) Rename from python-info-ppss-context.
3519 (python-syntax-context-type): Rename from
3520 python-info-ppss-context-type.
3521 (python-syntax-comment-or-string-p): Rename from
3522 python-info-ppss-comment-or-string-p.
3523
2bd255dd
JB
35242012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3525
3526 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3527
c395097f
AS
35282012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3529
6125983e
AS
3530 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3531 a defcustom that is quoted with backquote.
3532
4250fdf5
SM
3533 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3534 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3535 (math-do-arg-check, math-define-function-body): Use backquote forms.
3536 * calc/calc-ext.el (math-defcache): Likewise.
3537 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3538 * allout.el (allout-new-exposure): Likewise.
3539 * calc/calcalg2.el (math-tracing-integral): Likewise.
3540 * info.el (Info-last-menu-item): Likewise.
3541 * emulation/vip.el (vip-loop): Likewise.
3542 * textmodes/artist.el (artist-funcall): Likewise.
3543 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3544 Construct menu-item directly.
3545
4250fdf5
SM
3546 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3547 Don't declare.
c395097f 3548
5fb50dd3
CY
35492012-08-07 Chong Yidong <cyd@gnu.org>
3550
3551 * simple.el (deactivate-mark): Preserve text properties when
3552 saving the primary selection (Bug#8384).
3553
54eea618
KR
35542012-08-07 Kevin Ryde <user42@zip.com.au>
3555
3556 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3557 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3558 and continue processing (Bug#12110).
3559
638eaeb9
SM
35602012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3563 syntax-propertize-function (bug#10095).
3564
ea376861
SM
35652012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3566
f91b35be
SM
3567 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3568 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3569 describe-function-1.
3570 (describe-function-1): Use them. Move compiler macro after sig.
3571 (help-fns--compiler-macro): Use function-get. Assume we're already in
3572 standard-output. Adjust layout to new call order.
3573
ea376861
SM
3574 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3575 re-binding a symbol that has a symbol-macro (bug#12119).
3576
d5be7bd0
MB
35772012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3578
3579 * language/persian.el: New file. (Bug#11812)
3580 * loadup.el: Add language/persian.el.
3581
90749b53
CY
35822012-08-06 Chong Yidong <cyd@gnu.org>
3583
3584 * window.el (window--maybe-raise-frame): New function.
3585 (window--display-buffer): Split off from here.
3586 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3587 (display-buffer-pop-up-window, display-buffer-use-some-window):
3588 Obey an inhibit-switch-frame action alist entry.
3589 (display-buffer): Update doc.
3590
3591 * replace.el (occur-after-change-function): Avoid losing focus by
3592 using the inhibit-switch-frame display parameter (Bug#12139).
3593
ba7b0154
FEG
35942012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3595
3596 Make internal shell process buffer names start with space.
3597 * progmodes/python.el (python-shell-make-comint): Add optional
3598 argument INTERNAL.
3599 (run-python-internal): Use it.
3600 (python-shell-internal-get-or-create-process): Check for new
3601 internal buffer names.
3602
5eaeacb5
GM
36032012-08-06 Glenn Morris <rgm@gnu.org>
3604
e296d94b 3605 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3606 Do less getting and setting of environment variables.
3607
b7ccbdc2
CY
36082012-08-05 Chong Yidong <cyd@gnu.org>
3609
777fe95e
CY
3610 * proced.el (proced): Add substitution string to docstring to
3611 trigger autoloading of the proced library on C-h f (Bug#1768).
3612
4250fdf5
SM
3613 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3614 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3615
3616 * imenu.el (imenu-generic-expression): Move documentation here
3617 from imenu--generic-function.
3618 (imenu--generic-function): Refer to imenu-generic-expression.
3619
9e3b7800 36202012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
3621
3622 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3623 indentation declaration.
3624 (viper-loop): Add indentation declaration (Bug#7025).
3625
e5d9c0d1
CY
36262012-08-05 Chong Yidong <cyd@gnu.org>
3627
f0422feb
CY
3628 * help-fns.el (describe-variable): Add hyperlink for
3629 directory-local variables files. Improve buffer-local and
3630 permanent-local reporting; suggested by MON KEY (Bug#6644).
3631
3632 * help-mode.el (help-dir-local-var-def): New button type.
3633
e5d9c0d1
CY
3634 * files.el (kill-buffer-hook): Provide a defvar.
3635
a4f2deaa
GM
36362012-08-05 Glenn Morris <rgm@gnu.org>
3637
3638 * eshell/esh-ext.el (eshell/addpath):
3639 Also update eshell-path-env. (Bug#12013)
3640
a9dd5754
CY
36412012-08-05 Chong Yidong <cyd@gnu.org>
3642
a4f2deaa 3643 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3644
d014c740
CY
3645 * fringe.el (fringe-styles): Add docstring.
3646 (fringe--check-mode): New function.
3647 (set-fringe-mode, set-fringe-style): Use it.
3648 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3649
a9dd5754
CY
3650 * files.el (set-auto-mode): Fix invalid setq call.
3651
7c2dc8bd
SM
36522012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3653
3654 * isearch.el: Misc simplification; use defstruct.
3655 (isearch-mode-map): Dense maps now work like sparse ones.
3656 (isearch--state): New defstruct.
3657 (isearch-string-state, isearch-message-state, isearch-point-state)
3658 (isearch-success-state, isearch-forward-state)
3659 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3660 (isearch-wrapped-state, isearch-barrier-state)
3661 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3662 replaced by defstruct's accessors.
3663 (isearch--set-state): Rename from isearch-top-state and change
3664 calling convention.
3665 (isearch-push-state): Use new isearch--get-state.
3666 (isearch-toggle-word): Disable regexp when enabling word.
3667 (isearch-message-prefix): Remove unused arg _c-q-hack.
3668 (isearch-message-suffix): Remove unused arg _ellipsis.
3669
7fcc0070
AS
36702012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3671
3672 * simple.el (list-processes--refresh): For a server use :host or
3673 :local as the address.
97ad0769 3674 (list-processes): Doc fix.
7fcc0070 3675
a11035b8 36762012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3677
3678 * lisp/mpc.el: Support password in host argument.
3679 (mpc--proc-connect): Parse and use new password element.
3680 Set mpc-proc variable instead of returning process.
3681 (mpc-proc): Adjust accordingly.
3682
6dad7178
EZ
36832012-08-03 Eli Zaretskii <eliz@gnu.org>
3684
18949c2f
EZ
3685 * whitespace.el (whitespace-display-mappings): Use Unicode
3686 codepoints, instead of emacs-mule codepoints. See
3687 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3688 for the details.
3689
6dad7178
EZ
3690 * files.el (file-truename): Don't skip symlink-chasing part on
3691 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3692 Windows into the loop that recursively chases symlinks.
3693 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3694 MS-DOS.
3695
385b0198
CY
36962012-08-03 Chong Yidong <cyd@gnu.org>
3697
6200f3c4
CY
3698 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3699
385b0198
CY
3700 * sort.el (sort-regexp-fields): Doc fix.
3701
b9e74744
TH
37022012-08-03 Tassilo Horn <tsdh@gnu.org>
3703
3704 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3705 labels regex position point at the expected place.
3706
41013cb4
MK
37072012-08-03 MON KEY <monkey@sandpframing.com>
3708
3709 * net/imap.el (imap-interactive-login, imap-authenticate)
3710 (imap-mailbox-lsub, imap-mailbox-list)
3711 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3712 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3713 (imap-parse-response): Doc fix.
3714
0ffee616
JT
37152012-08-03 João Távora <joaotavora@gmail.com>
3716
3717 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3718 if sexp scanning does not move point (Bug#5734).
3719
cfcc9cc8
TH
37202012-08-02 Tassilo Horn <tsdh@gnu.org>
3721
3722 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3723 Add listings, minted, and ctable packages.
3724 (reftex-label-alist-builtin): Move listings, minted, and ctable
3725 entries before LaTeX.
a01bbb84 3726 (reftex-label-alist): Docfix.
cfcc9cc8 3727
66ec2442
BG
37282012-08-02 Bastien Guerry <bzg@gnu.org>
3729
3730 * replace.el (occur): Fix docstring (bug#12122).
3731
837b365b
GM
37322012-08-02 Glenn Morris <rgm@gnu.org>
3733
3734 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3735
e098de97
PE
37362012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3737
3738 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3739 * international/mule-cmds.el: Create
3740 inactivate-current-input-method-function as an obsolete alias for
3741 deactivate-current-input-method-function. See Katsumi Yamaoka in
3742 <http://bugs.gnu.org/10150#46>.
3743
a0f95636
JB
37442012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3745
3746 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3747 of nested `if's.
3748
0d26d7c4
GM
37492012-08-01 Glenn Morris <rgm@gnu.org>
3750
3751 * progmodes/autoconf.el (autoconf-definition-regexp):
3752 Add AH_TEMPLATE, adjust submatch numbering.
3753 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3754 (autoconf-current-defun-function): Update for above change.
3755 (autoconf-current-defun-function): First skip to end of current word.
3756
b686ba06
RS
37572012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3758
3759 * calendar/cal-html.el (cal-html-insert-agenda-days):
3760 Fix typo. (Bug#12018)
3761
0d49da68
FEG
37622012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3763
3764 Shell processes: enhancements to startup and CEDET compatibility.
3765 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3766 (python-shell-make-comint): accept-process-output at startup.
3767 (run-python-internal): Set inferior-python-mode-hook to nil.
3768 (python-shell-internal-get-or-create-process): call sit-for.
3769 (python-preoutput-result): Add obsolete alias.
3770 (python-shell-internal-send-string): Use it.
3771 (python-shell-send-setup-code): Remove call to
3772 accept-process-output.
3773
f1a71c6e
AS
37742012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3775
3776 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3777 (Bug#12108)
3778
d2605269
JB
37792012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3780
3781 * calc-mode.el (calc-basic-simplification-mode): Rename from
3782 `calc-limited-simplification-mode'.
3783 (calc-alg-simplification-mode): New function.
fc0c31f8 3784 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3785
d2605269
JB
3786 * calc.el (calc-set-mode-line): Adjust mode line display for
3787 basic simplification mode.
3788
3789 * calc-help.el (calc-m-prefix-help): Update help message.
3790
3791 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3792 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3793
a3827a43
BG
37942012-07-31 Bastien Guerry <bzg@gnu.org>
3795
3796 * man.el (man): Fix comment. (bug#12101)
3797
502e3f89
MR
37982012-07-31 Martin Rudalics <rudalics@gmx.at>
3799
3800 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3801 Don't return a non-nil value when no suitable buffer was found.
3802
d7714961
FEG
38032012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3804
3805 * progmodes/python.el (run-python-internal): Disable font lock for
3806 internal shells.
3807
1f45e27e
SM
38082012-07-30 Stefan Merten <smerten@oekonux.de>
3809
70efc5c9 3810 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3811 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3812 (rst-official-version, rst-official-cvs-rev)
3813 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3814 (rst-mode-map): New key binding.
3815
0aee6912
PE
38162012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3817
3818 Update .PHONY listings in makefiles.
3819 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3820 autoloads, update-subdirs, updates, bzr-update, update-authors,
3821 compile-onefile, compile-calc, backup-compiled-files,
3822 compile-after-backup, compile-one-process, mh-autoloads,
3823 bootstrap-clean, distclean, maintainer-clean.
3824
9052f9f0
JB
38252012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3826
1823ac5a
JB
3827 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3828 (calc-set-mode-line): Don't display "AlgSimp ".
3829
3830 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3831 (calc-lim-simplify-mode): New function.
3832 (calc-set-simplify-mode): Default to 'alg.
3833 (calc-default-simplify-mode): Make algebraic simplifications
3834 the default.
3835
3836 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3837 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3838
8d7c7eed 3839 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3840 indicate new simplification modes.
3841
1823ac5a
JB
3842 * calc/README: Mention new default simplification mode.
3843
9052f9f0
JB
3844 * calc/calc.el (math-normalize-error): New variable.
3845 (math-normalize): Set `math-normalize-error' to t
3846 when there's an error.
3847
3848 * calc/calc-alg.el (math-simplify): Don't simplify when
3849 `math-normalize' returns an error.
3850
20ba0cb4
EZ
38512012-07-29 Eli Zaretskii <eliz@gnu.org>
3852
3853 * international/mule-cmds.el (set-locale-environment): Revert last
3854 change, since display-graphic-p returns nil when this function is
3855 called during startup. Instead...
3856
3857 * term/w32console.el (terminal-init-w32console): ...setup the
3858 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3859
a5dcc929
JL
38602012-07-29 Juri Linkov <juri@jurta.org>
3861
3862 * simple.el (goto-line): Don't display default line number in the
3863 prompt because it should be displayed by `read-number' (bug#9952).
3864 Add the current line number to the defaults of `goto-line' to
3865 allow its easier modification by users with `M-n' (bug#9201).
3866
3867 * subr.el (read-number): Support multiple default values like in
3868 other minibuffer reading functions. Replace `read' with
3869 `string-to-number' for consistency with `number-to-string'.
3870
72b255c7
PE
38712012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3872
3873 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3874 * emulation/viper-init.el (viper-deactivate-input-method-action):
3875 Rename from viper-inactivate-input-method-action.
3876 (viper-deactivate-input-method):
3877 Rename from viper-inactivate-input-method.
3878 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3879 * international/mule-cmds.el (deactivate-input-method):
3880 Rename from inactivate-input-method.
3881 Also run input-method-deactivate-hook.
3882 (deactivate-current-input-method-function):
3883 Rename from inactivate-current-input-method-function.
3884 (input-method-deactivate-hook): New hook.
3885 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3886 (inactivate-input-method): Mark obsolete.
3887
72b255c7
PE
3888 * international/quail.el (quail-activate):
3889 Also run quail-deactivate-hook.
3890 (quail-deactivate): Rename from quail-inactivate.
3891 * international/robin.el (robin-activate):
3892 Also run robin-deactivate-hook.
3893 (robin-deactivate): Rename from robin-inactivate.
3894
2549c068
CY
38952012-07-29 Chong Yidong <cyd@gnu.org>
3896
3897 * simple.el (indicate-copied-region): New function.
3898 (kill-ring-save): Split off from here.
3899
3900 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3901 (kill-rectangle): Set deactivate-mark to t on read-only error.
3902
3903 * register.el (copy-to-register, copy-rectangle-to-register):
3904 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3905 (append-to-register, prepend-to-register): Call indicate-copied-region.
3906
39072012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3908
3909 * simple.el (async-shell-command-buffer): New defcustom.
3910 (shell-command): Use it. (Bug#4719)
3911
01bd1b0d
EZ
39122012-07-28 Eli Zaretskii <eliz@gnu.org>
3913
3914 * international/mule-cmds.el (set-locale-environment): In a
3915 console session on MS-Windows, set up keyboard and terminal
3916 encoding from the OEM codepage, not the ANSI codepage.
3917 (Bug#12055)
3918
a55739d3
CY
39192012-07-28 Chong Yidong <cyd@gnu.org>
3920
3921 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3922 gdb-get-location.
3923
0e1a094f 39242012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3925
3926 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3927 the alist (bug#12029).
3928
20329d73
EZ
39292012-07-28 Eli Zaretskii <eliz@gnu.org>
3930
3931 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3932 (compile-always, compile-first)
3933 ($(lisp)/calendar/cal-loaddefs.el)
3934 ($(lisp)/calendar/diary-loaddefs.el)
3935 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3936 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3937 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3938 instead of on update-subdirs.
3939 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3940
345a2258
CY
39412012-07-28 Chong Yidong <cyd@gnu.org>
3942
1eee6341
CY
3943 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3944 directory if vc-deduce-backend returns nil (Bug#7350).
3945
345a2258
CY
3946 * simple.el (delete-trailing-lines): New option.
3947 (delete-trailing-whitespace): Obey it (Bug#11879).
3948
049a0936
DE
39492012-07-28 David Engster <deng@randomsample.de>
3950
3951 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3952 Explanation of new 'symbol-qnames feature in doc-strings.
3953 (xml-maybe-do-ns): Return expanded names as plain symbols if
3954 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3955 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3956
aa81af71
FEG
39572012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3958
3959 Consistent completion in inferior python with emacs -nw.
3960 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3961 binding in inferior-python-mode-map with "\t".
3962 (python-shell-completion-complete-at-point)
3963 (python-completion-complete-at-point): Remove interactive spec.
3964
e827b1eb
JB
39652012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3966
3967 * calc/calccomp.el (math-compose-expr): Undo previous change.
3968
a90dfb95
FEG
39692012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3970
4250fdf5 3971 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3972 run-python.
3973 (python-shell-make-comint): Fix pop-to-buffer call.
3974 (run-python): Autoload. New arg SHOW.
3975 (python-shell-get-or-create-process): Do not pop python process
3976 buffer.
3977
32770973 39782012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3979
3980 * notifications.el (notifications-on-action-signal)
3981 (notifications-on-closed-signal): Use also the bus address for the map.
3982 (notifications-notify, notifications-close-notification)
fc0c31f8 3983 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3984
86332df2
TH
39852012-07-27 Tassilo Horn <tsdh@gnu.org>
3986
4250fdf5
SM
3987 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3988 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3989 ctable macro.
3990 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3991 labels written in keyvals syntax.
3992
ca1302a4
JB
39932012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3994
3995 * calc/calccomp.el (math-compose-expr): Use parentheses when
3996 there is a product in the denominator of a fraction.
3997
f8b91036
EZ
39982012-07-26 Eli Zaretskii <eliz@gnu.org>
3999
4000 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4001 ($(lisp)/calendar/diary-loaddefs.el)
4002 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4003 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4004 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4005 rewritten while the autoload files are built at the same time,
4006 which needs to load subdirs.el.
4007
c8e5a42c
MR
40082012-07-26 Martin Rudalics <rudalics@gmx.at>
4009
4010 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4011 (mouse-drag-line): Don't exit tracking when a switch-frame or
4012 switch-window event occurs (Bug#12006).
4013
670d85ea
SM
40142012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * mouse.el (popup-menu): Fix last change.
4017
7abaf5cc
SM
40182012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 Autoload from Lisp with more care. Follow aliases when looking for
4021 function properties.
4022 * subr.el (autoloadp): New function.
4023 (symbol-file): Use it.
4024 (function-get): New function.
4025 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4026 autoload-do-load.
4027 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4028 (lisp-indent-function):
4029 * emacs-lisp/gv.el (gv-get):
4030 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4031 * emacs-lisp/byte-opt.el (byte-optimize-form):
4032 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4033 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4034 Use function-get.
4035 * emacs-lisp/cl.el: Don't propagate function properties any more.
4036
4037 * speedbar.el (speedbar-add-localized-speedbar-support):
4038 * emacs-lisp/disass.el (disassemble-internal):
4039 * desktop.el (desktop-load-file):
4040 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4041 (describe-function-1):
4042 * emacs-lisp/find-func.el (find-function-noselect):
4043 * emacs-lisp/elp.el (elp-instrument-function):
4044 * emacs-lisp/advice.el (ad-has-proper-definition):
4045 * apropos.el (apropos-safe-documentation, apropos-macrop):
4046 * emacs-lisp/debug.el (debug-on-entry):
4047 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4048 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4049 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4050
b1364986
AA
40512012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4052
4053 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4054 function, not an obsolete variable (Bug#12046).
4055
67ada220
AS
40562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4057
4058 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4059
f08088e3
CS
40602012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4061
4062 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4063 window only if it is still live (Bug#12034).
4064
8137e7b3
MR
40652012-07-25 Martin Rudalics <rudalics@gmx.at>
4066
4067 * subr.el (redirect-frame-focus): Add advertised calling
4068 convention (Bug#12030).
4069
09ae5da1
PE
40702012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4071
4072 Prefer typical American spelling for "acknowledgment".
4073 * vc/add-log.el (change-log-acknowledgment): Rename from
4074 change-log-acknowledgement, with an alias for the old name.
4075
3cc5a3a8
JB
40762012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4077
4078 * calc-alg.el (math-simplify-divide): Don't cross multiply
4079 in an equation when the lhs is a variable.
4080
b7af7f62
JD
40812012-07-24 Julien Danjou <julien@danjou.info>
4082
4083 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4084 Remove, unused.
4085
ec1b09b1
EZ
40862012-07-23 Eli Zaretskii <eliz@gnu.org>
4087
4088 * startup.el (command-line): Don't display an empty user name in
4089 the error message about non-existent home directory, when
4090 init-file-user was set to an empty string. See
4091 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4092 for the details and context.
4093
b525fd8a
VB
40942012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4095
4096 * ses.el (ses-cell-formula-aset): New macro.
4097 (ses-cell-references-aset): New macro.
4098 (ses-cell-p): New function.
4099 (ses-rename-cell): Do no longer rely on complex operations like
4100 ses-cell-set-formula or ses-set-cell to change the cell and handle
4101 the undo at the same time, but rather use lower level new macros
4102 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4103 the undo directly. Refresh the mode line.
b525fd8a 4104
2c73e345
LL
41052012-07-21 Leo Liu <sdl.web@gmail.com>
4106
670d85ea
SM
4107 * progmodes/cc-cmds.el (c-defun-name):
4108 Use match-string-no-properties instead for consistency.
2c73e345 4109
542dfbde
LL
41102012-07-20 Leo Liu <sdl.web@gmail.com>
4111
3646bcd6
LL
4112 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4113 (Bug#7879)
4114
542dfbde
LL
4115 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4116
25721031
CY
41172012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4120 * progmodes/bug-reference.el, misearch.el: Provide themselves
4121 (bug#11915).
4122
4123 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4124 of narrowed buffer (bug#11966).
4125
316e68a7
VB
41262012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4127
4128 * ses.el (ses-rename-cell): Set new name also in reference list of
4129 cells of which the renamed cell depends.
4130
bbf0e7d9
MY
41312012-07-20 Masatake YAMATO <yamato@redhat.com>
4132
4133 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4134 to check whether menu-bar is shown or not. If not shown,
4135 show the menu-bar as a popup menu instead of using tmm.
4136 * mouse.el (popup-menu): Accept `point' as `position' argument.
4137
c28662a8
DG
41382012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4139
4140 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4141 up inside string symbol literal (bug#11923).
4142
87ab808f
EZ
41432012-07-20 Eli Zaretskii <eliz@gnu.org>
4144
4145 * startup.el (fancy-startup-text): Read the whole tutorial, not
4146 just its first 256 bytes. Prevents gibberish in display of the
4147 tutorial title.
4148
89dea803
DA
41492012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4150
4151 Drop idle buffer compaction due to an absence of the
4152 proved efficiency.
4153 * compact.el: Remove.
4154
8a4e6db8
SS
41552012-07-19 Sam Steingold <sds@gnu.org>
4156
4157 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4158 vc-bzr-pull & vc-bzr-merge-branch.
4159 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4160 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4161 for consistency with compilation-error-regexp-alist.
4162 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4163 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4164 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4165 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4166
5db81e33
SM
41672012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * emacs-lisp/chart.el: Use lexical-binding.
4170 (chart-emacs-storage): Don't hardcode the list of entries.
4171
5b835e1d
DA
41722012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4173
4174 Next round of tweaks caused by Fgarbage_collect changes.
4175 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4176
9cd47b72
DA
41772012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4178
4179 Compact buffers when idle.
4180 * compact.el: New file.
4181
1d6fc0df
SM
41822012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4183
4184 * subr.el (eventp): Presume that if it looks vaguely like an event,
4185 it's an event (bug#10190).
4186
1d29cc7d
FEG
41872012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4188
4189 Enhancements to ppss related code (thanks Stefan).
4190 * progmodes/python.el (python-indent-context)
4191 (python-indent-calculate-indentation, python-indent-dedent-line)
4192 (python-indent-electric-colon, python-nav-forward-block)
4193 (python-mode-abbrev-table)
1d6fc0df 4194 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4195 for ppss context.
4196 (python-info-continuation-line-p): Cleanup.
4197 (python-info-ppss-context): Do not catch 'quote.
4198 (python-info-ppss-context-type)
4199 (python-info-ppss-comment-or-string-p): Simplify.
4200
d583cbe6
FEG
42012012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4202
4203 * progmodes/python.el: Enhancements to eldoc support.
4204 (python-info-current-symbol): New function.
4205 (python-eldoc-at-point): Use python-info-current-symbol.
4206 (python-info-current-defun): Fix cornercase on first defun scan.
4207 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4208 and signal error when no inferior python process is available.
4209
eceb6feb
DG
42102012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4211
4212 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4213 assume it's always t.
4214 (vc-git-registered): Remove caching, the function is only called
4215 once.
4216 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4217
4c8ff0fe
CY
42182012-07-18 Chong Yidong <cyd@gnu.org>
4219
19fb7186
CY
4220 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4221
9587c688
CY
4222 * simple.el (count-words): Report on narrowing (Bug#9959).
4223
0fe776a1
CY
4224 * bindings.el: Bind M-= to count-words.
4225
4c8ff0fe
CY
4226 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4227
7f5331cc
MY
42282012-07-18 Masatake YAMATO <yamato@redhat.com>
4229
4230 * progmodes/sh-script.el (sh-imenu-generic-expression):
4231 Capture a function with `function' keyword and without parentheses
4232 like "function FOO" (bug#11856).
4233
2dc2a609
TH
42342012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4235
4236 * window.el (split-window-sensibly): Make WINDOW argument
4237 optional.
4238
439f7677
CY
42392012-07-18 Chong Yidong <cyd@gnu.org>
4240
9aeb25a6
CY
4241 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4242
439f7677
CY
4243 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4244 and make C-x 8 RET exit isearch (Bug#11439).
4245
4246 * international/iso-transl.el: Move isearch-mode-map key
4247 definitions to isearch.el.
4248
12999ea8
SM
42492012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4252 (eieio-defclass): Use gv-define-setter when possible.
4253
3ab6e069
DA
42542012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4255
4256 Reflect recent changes in Fgarbage_collect.
4257 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4258 reflect new format of data returned by Fgarbage_collect.
4259
0a60bc10
FEG
42602012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4261
4262 New utility functions + python-info-ppss-context fix (Bug#11910).
4263 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4264 (python-info-ppss-comment-or-string-p): New functions.
4265 (python-info-ppss-context): Small fix for string check.
4266
6dafa0d5
JL
42672012-07-17 Juri Linkov <juri@jurta.org>
4268
4269 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4270 (dired-do-async-shell-command): Don't add `*' at the end of the
4271 command (Bug#11815).
4272 (dired-do-shell-command): Doc fix.
4273 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4274 Join the individual commands using either "&" or ";" as the
4275 separator depending on the values of these trailing characters.
4276 At the end re-add the trailing "&". (Bug#10598)
4277
4278 * simple.el (async-shell-command): Sync the interactive spec with
4279 `shell-command'. Doc fix.
4280 (shell-command): Doc fix.
4281
b19dd9d1
JL
42822012-07-17 Juri Linkov <juri@jurta.org>
4283
4284 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4285
bcdc27d7 42862012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4287
bcdc27d7 4288 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4289 * progmodes/python.el (python-nav-beginning-of-statement):
4290 Rename from python-nav-statement-start.
bcdc27d7
FEG
4291 (python-nav-end-of-statement): Rename from
4292 python-nav-statement-end.
4293 (python-nav-beginning-of-block): Rename from
4294 python-nav-block-start.
4295 (python-nav-end-of-block): Rename from python-nav-block-end.
4296
191da00e
FEG
42972012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4298
7f5331cc
MY
4299 * progmodes/python.el (python-shell-send-string-no-output):
4300 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4301 future interactions (Bug#11868).
4302
4dc7c8d5 43032012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4304
88ecaf8f
SM
4305 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4306
ef501ef0
SM
4307 * emacs-lisp/elint.el (elint-find-args-in-code):
4308 Use help-function-arglist, so as to handle lexical byte-code.
4309
aa7aaf8f
SM
4310 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4311 change (bug#11826).
4312
45fd731c
SM
43132012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4314
2143fa32
SM
4315 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4316 Avoid spuriously marking the buffer as modified because of c-is-sws.
4317
efc26dbe
SM
4318 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4319 as not-a-comment (bug#11946).
4320
f5695c9a
SM
4321 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4322 for uninterned vars.
4323
4324 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4325 Use read-event since we don't really want to read chars but bytes.
4326
45fd731c
SM
4327 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4328 $$..$$ but also $..$ using regexps (bug#11953).
4329 Use tex-verbatim for \url and \path.
4330 (tex-font-lock-keywords): Define as defconst like the others.
4331 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4332
ddfc8813
RK
43332012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4334
4335 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4336 alias for insert-char.
4337
758e556a
FEG
43382012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4339
4340 * progmodes/python.el: Simplified imenu implementation.
4341 (python-nav-jump-to-defun): Remove command.
4342 (python-mode-map): Use `imenu' instead.
4343 (python-nav-list-defun-positions-cache)
4344 (python-imenu-include-defun-type, python-imenu-make-tree)
4345 (python-imenu-subtree-root-label, python-imenu-index-alist):
4346 Remove vars.
4347 (python-nav-list-defun-positions, python-nav-read-defun)
4348 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4349 (python-imenu-make-tree, python-imenu-create-index):
4350 Remove functions.
758e556a
FEG
4351 (python-mode): Update to interact with imenu by setting
4352 `imenu-extract-index-name-function' only.
4353
032d23ab
FEG
43542012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4355
4356 * progmodes/python.el: Enhancements to navigation commands.
4357 (python-nav-backward-sentence)
4358 (python-nav-forward-sentence): Remove.
4359 (python-nav-backward-statement, python-nav-forward-statement)
4360 (python-nav-statement-start, python-nav-statement-end)
4361 (python-nav-backward-block, python-nav-forward-block)
4362 (python-nav-block-start, python-nav-block-end)
4363 (python-nav-forward-sexp-function)
4364 (python-info-current-line-comment-p)
4365 (python-info-current-line-empty-p): New functions.
4366 (python-indent-context): Use `python-nav-statement-start'.
4367
01795a1b
MA
43682012-07-16 Michael Albinus <michael.albinus@gmx.de>
4369
9328d9aa
MA
4370 * eshell/em-ls.el (eshell/ls): Use `apply'.
4371
4372 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4373 multi-hops, instead of Tramp internals.
4374
01795a1b
MA
4375 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4376
4377 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4378 when F1 and F2 are located on different hosts.
4379
63408057
CY
43802012-07-14 Chong Yidong <cyd@gnu.org>
4381
4382 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4383 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4384 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4385 (xterm-mouse--read-event-sequence-1000)
4386 (xterm-mouse--read-event-sequence-1006): New functions. For old
4387 mouse protocol, handle M-mouse-X events correctly.
4388 (xterm-mouse-event): New arg specifying mouse protocol.
4389 (turn-on-xterm-mouse-tracking-on-terminal)
4390 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4391 sequence to toggle extended coordinates on newer XTerms.
4392 This appears to be harmless on terminals which do not support this.
63408057 4393
cd276f6e
LL
43942012-07-14 Leo Liu <sdl.web@gmail.com>
4395
28ca98ac
LL
4396 Add fringe bitmap indicators for flymake. (Bug#11253)
4397 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4398 (flymake-make-overlay): New arg BITMAP.
4399 (flymake-error-bitmap, flymake-warning-bitmap)
4400 (flymake-fringe-indicator-position): New user variables.
4401
cd276f6e
LL
4402 * fringe.el: New bitmap exclamation-mark.
4403
04408072
JD
44042012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4405
4406 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4407 also (Bug#7879).
4408
b5cf7fc4
CY
44092012-07-14 Chong Yidong <cyd@gnu.org>
4410
4411 * electric.el (electric-pair-post-self-insert-function): Fix pair
4412 insertion in empty-region case (Bug#11520).
4413
be755c79
RT
44142012-07-14 Chong Yidong <cyd@gnu.org>
4415
45fd731c
SM
4416 * bindings.el: Consolidate ctl-x-r-map bindings.
4417 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4418
4419 * rect.el, register.el: Move bindings to bindings.el.
4420
44212012-07-14 Reuben Thomas <rrt@sc3d.org>
4422
4423 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4424
7f5b3198
AS
44252012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4426
4427 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4428
97662200
JB
44292012-07-13 Juanma Barranquero <lekktu@gmail.com>
4430
80185fed
JB
4431 * bindings.el (top): Use `mapc' instead of `mapcar'.
4432
97662200
JB
4433 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4434
2bb1ae55
MA
44352012-07-13 Michael Albinus <michael.albinus@gmx.de>
4436
4437 * progmodes/sql.el (sql-comint): Suppress the check for program on
4438 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4439 (Bug#11908)
4440
dea31bd3
CY
44412012-07-13 Chong Yidong <cyd@gnu.org>
4442
4443 * bindings.el: Assign a non-nil permanent-local property to
4444 per-buffer variables which lack a default value (Bug#11930).
4445
4446 * help-fns.el (describe-variable): In the "automatically becomes
4447 local" notice, take note of permanent-local variables.
4448
b68b3337
CY
44492012-07-13 Chong Yidong <cyd@gnu.org>
4450
4451 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4452 to allow printing the message when called from Lisp.
4453
4454 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4455 Remove toggle-read-only.
4456
4457 * bs.el (bs-toggle-readonly):
45fd731c
SM
4458 * buff-menu.el (Buffer-menu-toggle-read-only):
4459 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4460
4461 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4462 Remove with-no-warnings around toggle-read-only.
4463 (ffap-read-only, ffap-read-only-other-window)
4464 (ffap-read-only-other-frame): Callers changed.
4465
4466 * help-mode.el: Don't require view package.
4467 (help-mode-finish): Set buffer-read-only instead of calling
4468 toggle-read-only.
4469
4470 * bindings.el (mode-line-toggle-read-only):
4471 * dired.el (dired-toggle-read-only):
4472 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4473 with non-nil second arg.
4474
4475 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4476 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4477 directly.
4478
56bc1586
EZ
44792012-07-12 Eli Zaretskii <eliz@gnu.org>
4480
4481 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4482 not incf.
4483
a464a6c7
SM
44842012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4485
4486 More CL cleanups and reduction of use of cl.el.
4487 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4488 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4489 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4490 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4491 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4492 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4493 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4494 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4495 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4496 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4497 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4498 * eshell/em-cmpl.el, eshell/em-banner.el:
4499 * calendar/parse-time.el: Use cl-lib.
4500 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4501 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4502 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4503 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4504 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4505 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4506 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4507 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4508 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4509 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4510 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4511 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4512 `lambda' rather than with `quote'.
4513 (eshell-do-opt): Adjust accordingly.
4514 (eshell-process-option): Simplify.
4515 * eshell/esh-var.el:
4516 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4517 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4518 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4519 to `pcase--dontcare'.
4520 * emacs-lisp/cl.el (labels): Mark obsolete.
4521 (cl--letf, letf): Move to cl-lib.
4522 (cl--letf*, letf*): Remove.
4523 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4524 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4525 (cl-progv): Rewrite.
4526 (cl--letf, cl-letf): Move from cl.el.
4527 (cl-letf*): New macro.
4528 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4529
7ad4afe1
MA
45302012-07-11 Michael Albinus <michael.albinus@gmx.de>
4531
4532 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4533
9af57756
CY
45342012-07-11 Chong Yidong <cyd@gnu.org>
4535
4536 * vc/log-edit.el (log-edit-vc-backend): New variable.
4537 (log-edit): Doc fix.
4538
4539 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4540 argument of log-edit to set up all local variables.
4541 (vc-start-logentry): New optional arg specifying VC backend.
4542
4543 * vc/vc.el (vc-checkin): Use it.
4544 (vc-deduce-fileset): Handle Log Edit buffers.
4545 (vc-diff): Make first argument optional too.
4546
4547 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4548
8477cc7a
MA
45492012-07-10 Michael Albinus <michael.albinus@gmx.de>
4550
4551 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4552 command, just in case. The function is not needed anymore.
4553 (eshell-external-command): Do not call `eshell-remote-command'.
4554
19faa8e8
SM
45552012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4556
f58e0fd5
SM
4557 Reduce use of (require 'cl).
4558 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4559 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4560 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4561 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4562 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4563 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4564 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4565 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4566 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4567 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4568 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4569 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4570 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4571 (byte-compile-unfold-bcf, byte-compile-check-variable):
4572 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4573 (byte-compile-nilconstp):
4574 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4575 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4576
2519d43a
SM
4577 * emacs-lisp/gv.el (cond): Make it a valid place.
4578 (if): Simplify slightly.
4579
19faa8e8
SM
4580 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4581 (pcase--self-quoting-p): New function.
4582 (pcase--u1): Use it.
4583
c4907a5e
GM
45842012-07-10 Glenn Morris <rgm@gnu.org>
4585
4586 * emacs-lisp/authors.el (authors-fixed-entries):
4587 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4588
c4444d16
PE
45892012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4590
4591 Rename configure.in to configure.ac (Bug#11603).
4592 * emacs-lisp/authors.el (authors-canonical-file-name):
4593 * progmodes/autoconf.el (autoconf-mode):
4594 Prefer configure.ac to configure.in.
4595
d75be97d
CY
45962012-07-08 Chong Yidong <cyd@gnu.org>
4597
01ac65bd
CY
4598 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4599 Implement the mouse-1-click-follows-link handling properly.
4600
4601 * info.el (Info-link-keymap): Use follow-link mechanism for
4602 header-line links (Bug#374).
4603
d75be97d
CY
4604 * simple.el (deactivate-mark): Do not set the primary selection
4605 if another program has acquired it (Bug#11772).
4606
87a92845 46072012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4608
4609 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4610 (woman-decode-region): Replace escaped-escapes without destroying
4611 bold or underline (Bug#11552).
87a92845 4612 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4613
621b9d6c
CY
46142012-07-07 Chong Yidong <cyd@gnu.org>
4615
4616 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4617 (interprogram-cut-function, interprogram-paste-function):
4618 Mention that we typically mean the clipboard.
621b9d6c 4619
133a11fc
GM
46202012-07-06 Glenn Morris <rgm@gnu.org>
4621
0d27a45e
GM
4622 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4623
133a11fc
GM
4624 * files.el (toggle-read-only): Restrict message to interactive use.
4625
07b151f1
MA
46262012-07-06 Michael Albinus <michael.albinus@gmx.de>
4627
4628 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4629
4630 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4631
211b896b
GM
46322012-07-06 Glenn Morris <rgm@gnu.org>
4633
50394322
GM
4634 * Makefile.in (compile-one-process): Rename from "recompile".
4635
211b896b
GM
4636 * Makefile.in (bzr-update): "compile" is the same as "recompile
4637 autoloads", but parallelizable, so use that instead.
4638
4737eec9
DG
46392012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4640
4641 * window.el (quit-window): Always restore window height when
8137e7b3 4642 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4643
226c3633 46442012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4645
4646 * simple.el (kill-whole-line): Doc tweak.
4647
226c3633 46482012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4649
4650 * files.el (file-relative-name): Compare file names
4651 case-insensitively if on MS-Windows or MS-DOS, or if
4652 read-file-name-completion-ignore-case is non-nil. Don't use
4653 case-fold-search for this purpose. (Bug#11827)
4654
4dc7c8d5
SM
46552012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4656
4657 * calendar/cal-dst.el (calendar-current-time-zone):
4658 Return calendar-current-time-zone-cache if non-nil.
4659
46602012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 46612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4662
19faa8e8
SM
4663 * calendar/cal-dst.el (calendar-current-time-zone):
4664 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4665
60198fc9
GM
46662012-07-06 Glenn Morris <rgm@gnu.org>
4667
4668 * Makefile.in (cvs-update): Remove old alias.
4669
957b3189
MA
46702012-07-05 Michael Albinus <michael.albinus@gmx.de>
4671
4672 Sync with Tramp 2.2.6-pre.
4673
4674 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4675 compatible declaration.
4676
19faa8e8
SM
4677 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4678 Protect `list-load-path-shadows' call.
957b3189
MA
4679
4680 * net/tramp-compat.el (top): Require packages, which aren't
4681 autoloaded anymore for XEmacs. Protect call of
4682 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4683 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4684 it hurts at least for SXEmacs.
4685 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4686 standard-value for `temporary-file-directory'.
4687
4688 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4689 Redirect stderr to /dev/null.
4690 (tramp-sh-handle-write-region): uid and gid can be floats.
4691 Reported by Russell Sim <russell.sim@gmail.com>.
4692 (tramp-sh-handle-vc-registered): Hide errors.
4693 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4694 and `start-file-process'.
4695 (tramp-maybe-open-connection): Check also whether `non-essential'
4696 is bound.
4697
566df3fc
CY
46982012-07-04 Chong Yidong <cyd@gnu.org>
4699
4700 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4701 (xml-parse-tag): Likewise, and avoid changing entity tables.
4702 (xml-syntax-table): Define from scratch, making sure not to give
4703 x2000 and other Unicode spaces whitespace syntax, since those are
4704 not spaces in XML.
4705 (xml-parse-fragment): Delete unused function.
4706 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4707 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4708 (xml-entity-ref, xml-pe-reference-re)
4709 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4710 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4711 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4712 (xml-entity-value-re): Use syntax references in regexps where
4713 possible; no need to define inside a let-binding.
4714 (xml-parse-dtd): Use xml-pe-reference-re.
4715 (xml-entity-or-char-ref-re): New defconst.
4716 (xml-parse-string, xml-substitute-special): Use it.
4717
30eabd7a
SM
47182012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4719
0781098a
SM
4720 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4721 (find-file--read-only): New function.
4722 (find-file-read-only, find-file-read-only-other-window)
4723 (find-file-read-only-other-frame): Use it.
4724 (insert-file-contents-literally): Don't `fset'.
4725 (get-free-disk-space): Use locate-dominating-file.
4726
b5771c0d
SM
4727 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4728 function is already compiled.
4729
30eabd7a
SM
4730 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4731
b4886f6e
MA
47322012-07-03 Michael Albinus <michael.albinus@gmx.de>
4733
4734 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4735 files on the same host.
4736
b9d82339
AS
47372012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4738
4739 * help-fns.el (describe-function-1): Only call
4740 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4741
a76e6535
CY
47422012-07-03 Chong Yidong <cyd@gnu.org>
4743
4744 * xml.el: Protect parser against XML bombs.
4745 (xml-entity-expansion-limit): New variable.
4746 (xml-parse-string, xml-substitute-special): Use it.
4747 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4748
b544fef2
GM
47492012-07-03 Glenn Morris <rgm@gnu.org>
4750
4751 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4752 Allow linking to specific messages in debbugs reports (eg 123#5).
4753
a7aef6f5
CY
47542012-07-02 Chong Yidong <cyd@gnu.org>
4755
4756 * xml.el: Fix entity and character reference expansion, allowing
4757 them to expand into markup as per XML spec.
4758 (xml-default-ns): New variable.
4759 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4760 (xml-parse-region): Make first two arguments optional.
4761 Discard text properties.
4762 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4763 All callers changed.
a7aef6f5
CY
4764 (xml-parse-tag): Call xml-parse-tag-1. For backward
4765 compatibility, this function should not modify buffer contents.
4766 (xml-parse-tag-1): Fix opening-tag regexp.
4767 (xml-parse-string): Rewrite, handling entity and character
4768 references properly.
4769 (xml--entity-replacement-text): Signal an error if a parameter
4770 entity is undefined.
4771
3df31c9f
SM
47722012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4773
2b5208f1
SM
4774 * comint.el (comint-output-filter): Filter out repeated prompts.
4775
3df31c9f
SM
4776 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4777 and file-name-absolute-p.
4778 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4779 internal calls.
4780
e3ac1281
PE
47812012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4782
4783 Spelling fixes.
4784 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4785 Rename from byte-compile--refiy-function. All uses changed.
4786
fbf2e7ad
CY
47872012-07-01 Chong Yidong <cyd@gnu.org>
4788
4789 * xml.el (xml--parse-buffer): New function. Move most of
4790 xml-parse-region here.
4791 (xml-parse-region): Copy region into a temporary buffer, since
4792 parameter entity substitution requires changing buffer contents.
4793 Use xml--parse-buffer.
4794 (xml-parse-file): Use xml--parse-buffer.
4795 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4796 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4797
9bf0aa15
GM
47982012-06-30 Glenn Morris <rgm@gnu.org>
4799
bbce2853
GM
4800 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4801
9bf0aa15
GM
4802 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4803 Remove outdated and unnecessary dbus declarations.
4804
0d23c240
EZ
48052012-06-30 Eli Zaretskii <eliz@gnu.org>
4806
4807 * emacs-lisp/timer.el (timer-until): Subtract results of
4808 float-time, instead of taking float-time of the result of
4809 time-subtract, since float-time signals an error for negative time
4810 arguments.
4811
b3218de1
CY
48122012-06-30 Chong Yidong <cyd@gnu.org>
4813
4814 * xml.el (xml-*-re): Convert defvars into defconsts, and
4815 eval-and-compile them so eval-and-compile works on derivatives.
4816 (xml--entity-replacement-text): Use eval-and-comple.
4817
a40c87a0
MA
48182012-06-30 Michael Albinus <michael.albinus@gmx.de>
4819
4820 * vc/vc-git.el (vc-git-registered): Use cache property
4821 `git-registered'.
4822 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4823 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4824 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4825
ac87de97
DG
48262012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4827
4828 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4829 removed (likely outside Emacs). (Bug#11757)
ac87de97 4830
ac10fe06
SM
48312012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4832
3df31c9f 4833 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4834
7f3fbd5d
CY
48352012-06-30 Chong Yidong <cyd@gnu.org>
4836
4837 * xml.el: Implement XML parameter entities.
4838 (xml-parameter-entity-alist): New variable.
4839 (xml-parse-region, xml-parse-fragment): Preserve previous values
4840 of xml-entity-alist and xml-parameter-entity-alist, so that
4841 repeated calls on different documents do not change them.
4842 (xml-parse-tag): Fix doctype regexp.
4843 (xml--entity-replacement-text): New function.
4844 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4845 properly requires url retrieval which is unimplemented.
4846 (xml-escape-string): Doc fix.
4847
3cfbebba
SM
48482012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4849
4850 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4851
2af3565e
DA
48522012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4853
4854 * fringe.el (fringe-mode): Doc fix.
4855
929df0e7
MA
48562012-06-29 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4859 is non-nil.
4860 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4861 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4862
c8d3a25c 48632012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4864
c8d3a25c
GM
4865 * calendar/cal-dst.el (calendar-current-time-zone):
4866 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4867
c8d3a25c 48682012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4869
4870 * progmodes/which-func.el (which-func-format):
4871 Add mouse-face. (Bug#11698)
4872
c8d3a25c
GM
48732012-06-29 Leo Liu <sdl.web@gmail.com>
4874
4875 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4876
48772012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * minibuffer.el (minibuffer-confirm-exit-commands):
4880 Add completion-at-point (bug#11725).
4881
48822012-06-29 Glenn Morris <rgm@gnu.org>
4883
4884 * progmodes/f90.el (f90-font-lock-keywords-2):
4885 Add some preprocessor elements. (Bug#10499)
4886
48872012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4890 Use syntax-propertize (bug#11739).
4891
2badeec4
JB
48922012-06-28 Juanma Barranquero <lekktu@gmail.com>
4893
4894 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4895
ae4969c2
JD
48962012-06-28 Julien Danjou <julien@danjou.info>
4897
4898 * term.el (term-handle-colors-array): Use a set of new faces to
4899 color the terminal. Also uses :inverse-video property.
4900 (term-default-fg-color): Set to nil by default, deprecate in favor
4901 of `term-face'.
4902 (term-default-bg-color): Set to nil by default, deprecate in favor
4903 of `term-face'.
4904 (term-current-face): Use `term-face' by default.
4905 (term-bold-attribute): Variable deleted.
4906
1c9bd870
GM
49072012-06-28 Glenn Morris <rgm@gnu.org>
4908
4909 * simple.el (completion-list-mode-finish):
4910 Don't use toggle-read-only. (Since completion-list-mode has
4911 a special mode-class, it wasn't doing anything extra anyway.)
4912
c207708c
SM
49132012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 Make inlining of other-mode interpreted functions work (bug#11799).
4916 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4917 (byte-compile): Use it to fix compilation of lexical-binding closures.
4918 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4919 function, if needed.
4920
3fd56834
SM
49212012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4922
04901786
SM
4923 * help-mode.el (help-make-xrefs): Don't just withstand
4924 cyclic-variable-indirection but any error in documentation-property.
4925
1ec4b7b2
SM
4926 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4927 memory use.
4928 * bindings.el (bindings--define-key): New function.
4929 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4930 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4931 * bindings.el: Use it to purecopy define-key bindings.
4932
e309e2a5
SM
4933 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4934
d5c6faf9
SM
4935 * emacs-lisp/cl.el (flet): Mark obsolete.
4936 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4937 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4938 * progmodes/js.el (js-c-fill-paragraph):
4939 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4940 (ebrowse-switch-member-buffer-to-derived-class):
4941 * play/5x5.el (5x5-solver): Use cl-flet.
4942
6e9590e2
SM
4943 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4944 (cl--symbol-function): New macro.
4945 (cl--letf, cl--letf*): Use it.
4946
3fd56834
SM
4947 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4948 Strip "toggle-" if any.
4949
35ff222c
GM
49502012-06-27 Glenn Morris <rgm@gnu.org>
4951
1ba6038a
GM
4952 * info.el (Info-default-directory-list): Move here from paths.el.
4953 * paths.el: Remove file, which is now empty.
4954 * loadup.el: No longer load "paths".
4955
0ea0e51b
GM
4956 * custom.el (custom-initialize-delay): Doc fix.
4957
35ff222c
GM
4958 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4959 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4960 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4961 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4962 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4963 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4964 * eshell/eshell.el (eshell-defgroup): Remove alias.
4965
c89926a5
CY
49662012-06-27 Chong Yidong <cyd@gnu.org>
4967
4968 * help.el (help-enable-auto-load): New variable.
4969
4970 * help-fns.el (help-fns--autoloaded-p): New function.
4971 (describe-function-1): Refer to a function as "autoloaded" if it
4972 was autoloaded at any time in the past. Perform autoloading if
4973 help-enable-auto-load is non-nil.
4974
cc06e7e7
EZ
49752012-06-26 Eli Zaretskii <eliz@gnu.org>
4976
4977 * makefile.w32-in (compile, compile-always): Depend on
4978 update-subdirs, not on subdirs.el. Otherwise, several different
4979 sub-targets of 'bootstrap' running in parallel could
4980 simultaneously write to subdirs.el, producing a garbled file.
4981
d2c32364
SS
49822012-06-26 Sam Steingold <sds@gnu.org>
4983
4984 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4985 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4986 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4987 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4988 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4989 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4990 * textmodes/tex-mode.el: Use it.
4991 Did not touch cedet and org because they are maintained elsewhere.
4992
5cf983b2
MR
49932012-06-26 Martin Rudalics <rudalics@gmx.at>
4994
4995 * calendar/calendar.el (calendar-exit): Don't try to delete or
4996 iconify last frame. See:
4997 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4998
8c4f2952
JD
49992012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5000
5001 * server.el (server-process-filter): Remember dir in the
5002 process's `server-client-directory' properties.
5003
772b2e2c
CY
50042012-06-24 Chong Yidong <cyd@gnu.org>
5005
5006 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5007 non-tag text.
5008
711b11e1
JB
50092012-06-23 Juanma Barranquero <lekktu@gmail.com>
5010
5011 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5012
dc5d230c
SM
50132012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * help-fns.el (describe-variable): Don't croak when doc is not found.
5016 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5017 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5018 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5019 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5020 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5021 ((lambda ..) ..).
5022 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5023
136e1c1d
CY
50242012-06-23 Chong Yidong <cyd@gnu.org>
5025
e8c1cabf
CY
5026 * info.el (Info-mouse-follow-link): Accept symbol values of
5027 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5028 (Info-fontify-node): Use Info-link-keymap for all navigation
5029 buttons, with link-args property to perform the desired action.
5030 (Info-link-keymap): Doc fix.
5031 (Info-next-link-keymap, Info-prev-link-keymap)
5032 (Info-up-link-keymap): Delete now-unused keymaps.
5033
0e9e6c6a
CY
50342012-06-23 Chong Yidong <cyd@gnu.org>
5035
05e89fea
CY
5036 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5037
0e9e6c6a
CY
5038 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5039 system abbrevs.
5040
5041 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5042
e33c6771
SM
50432012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5044
b68581e2
SM
5045 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5046 (bug#11719).
5047
e33c6771
SM
5048 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5049 the requote function doesn't work properly (bug#11714).
5050
7117e105
GM
50512012-06-23 Glenn Morris <rgm@gnu.org>
5052
5053 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5054
36cec983
SM
50552012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5056
5057 Further GV/CL cleanups.
5058 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5059 gv-expander.
5060 (gv--defun-declaration): New function.
5061 (defun-declarations-alist): Use it.
5062 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5063 (gv-place): Autoload.
5064 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5065 original definition of dotimes and dolist.
5066 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5067 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5068 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5069 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5070 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5071 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5072 to the function's definition.
5073 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5074 * window.el:
5075 * files.el:
5076 * faces.el:
5077 * env.el: Don't use CL.
5078
d35af63c
PE
50792012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5080
5081 Support higher-resolution time stamps (Bug#9000).
5082
5083 * calendar/time-date.el (with-decoded-time-value): New arg
5084 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5085 (encode-time-value): New optional arg PICO. New type 3.
5086 (time-to-seconds) [!float-time]: Support the new picoseconds
5087 component if it's used.
5088 (seconds-to-time, time-subtract, time-add):
5089 Support ps-resolution time stamps as well.
5090
5091 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5092 (timerp): Timer vectors now have length 9, not 8.
5093 (timer--time): Support new-style (4-part) time stamps.
5094 (timer-next-integral-multiple-of-time): Time stamps now have
5095 picosecond resolution, so take a bit more care about rounding.
5096 (timer-relative-time, timer-inc-time): New optional arg psecs.
5097 (timer-set-time-with-usecs): Set psecs to 0.
5098 (timer--activate): Check psecs component, too.
5099
5100 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5101
ac77b21a
SM
51022012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5103
f143bfe3
SM
5104 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5105 Move the non-essential binding to the post/pre-command-hook where it is
5106 more obviously correct.
5107
ac77b21a
SM
5108 * subr.el (read-passwd): Don't use a history at all.
5109 * savehist.el (savehist-save): Remove password saved accidentally
5110 because of the above bug.
5111
76386c5a
BG
51122012-06-22 Bastien Guerry <bzg@gnu.org>
5113
5114 * files.el (toggle-read-only): Display a message telling whether
5115 the buffer is read-only or not (bug#11726).
5116
2ee3d7f0
SM
51172012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * emacs-lisp/gv.el: New file.
5120 * subr.el (push, pop): Extend to generalized variables.
5121 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5122 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5123 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5124 gv-define-simple-setter, and gv-define-expander.
5125 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5126 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5127 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5128 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5129 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5130 gv-letplace.
5131 (cl-defstruct): Don't define setf-method any more.
5132 * emacs-lisp/cl.el (flet): Don't autoload.
5133 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5134 (define-setf-expander, defsetf, define-modify-macro)
5135 (cl-struct-setf-expander): Move from cl-lib.el.
5136 * emacs-lisp/syntax.el:
5137 * emacs-lisp/ewoc.el:
5138 * emacs-lisp/smie.el:
5139 * emacs-lisp/cconv.el:
5140 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5141 (timer--time): Use gv-define-simple-setter.
5142 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5143 to avoid coding-system problems in subr.el. Adjust all users.
5144 (macroexp--maxsize, macroexp-small-p): New functions.
5145 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5146 * scroll-bar.el (scroll-bar-mode):
5147 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5148 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5149 * winner.el (winner-configuration, winner-make-point-alist)
5150 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5151 * files.el (locate-file-completion-table): Avoid list*.
5152
c5695d1d
CY
51532012-06-22 Chong Yidong <cyd@gnu.org>
5154
5155 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5156 (dired-create-files): Doc fix (Bug#11329).
5157 (dired-do-copy): Doc fix (Bug#11334).
5158 (dired-mark-read-string): Doc fix (Bug#11553).
5159
2ee3d7f0
SM
5160 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5161 Doc fix (Bug#11326).
c5695d1d
CY
5162 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5163 (dired-dwim-target): Doc fix.
5164
5165 * wdired.el (wdired-mode): Doc fix.
5166
89b5595a
GM
51672012-06-22 Glenn Morris <rgm@gnu.org>
5168
575db3f1
GM
5169 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5170 (pcmpl-rpm-cache-stamp-file): New constant.
5171 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5172 (pcmpl-rpm-packages): Optionally cache list of packages.
5173
a4c8dd51
GM
5174 * pcmpl-rpm.el (pcmpl-rpm): New group.
5175 (pcmpl-rpm-query-options): New option.
5176 (pcmpl-rpm-packages): No need to inline it.
5177 Use pcmpl-rpm-query-options.
5178
89b5595a
GM
5179 * calendar/calendar.el (calendar-in-read-only-buffer):
5180 Avoid some needless mode changes.
5181
e76f0800
CY
51822012-06-21 Chong Yidong <cyd@gnu.org>
5183
5184 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5185 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5186 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5187
297a8f1d
CY
51882012-06-20 Chong Yidong <cyd@gnu.org>
5189
5190 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5191
d34c18b1
DR
51922012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5193
5194 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5195 (bug#11201).
5196
32f7f28e
CY
51972012-06-20 Chong Yidong <cyd@gnu.org>
5198
5199 * term.el (term-window-width): Handle the case of a missing right
5200 fringe (Bug#8837).
5201 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5202 (term-mode): Use define-derived-mode. Minor cleanups.
5203 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5204 (term-move-columns, term-insert-char, term-emulate-terminal)
5205 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5206
493c6688
MA
52072012-06-20 Michael Albinus <michael.albinus@gmx.de>
5208
d34c18b1
DR
5209 * net/ange-ftp.el (ange-ftp-get-passwd):
5210 Bind `enable-recursive-minibuffers'.
493c6688
MA
5211 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5212
3f06ecf4
DR
52132012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5214
5215 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5216
68f12411
GM
52172012-06-19 Glenn Morris <rgm@gnu.org>
5218
5219 * progmodes/python.el (python-mode): Derive from prog-mode.
5220
b3820318
KG
52212012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5222
5223 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5224 (edt-user-menu-bar-update-buffers): New functions.
5225 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5226
c6bf3022
CY
52272012-06-19 Chong Yidong <cyd@gnu.org>
5228
5229 * subr.el (with-selected-window): Preserve the selected window's
5230 terminal's top-frame (Bug#4702).
5231
5232 * window.el (save-selected-window): Likewise.
5233
25f09295
SM
52342012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * progmodes/python.el (python-rx-constituents): Move backquote.
5237 (python-skeleton-define, python-define-auxiliary-skeleton):
5238 Use `declare'.
5239
6b11952a
MA
52402012-06-18 Michael Albinus <michael.albinus@gmx.de>
5241
5242 * minibuffer.el (read-file-name-default): Revert the patch from
5243 2012-06-17.
5244
ee4b1330
SM
52452012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5248 (pcase--u1, pcase--q1): Don't use apply-partially.
5249
35647f79
GM
52502012-06-18 Glenn Morris <rgm@gnu.org>
5251
5252 * progmodes/python.el (python-proc, python-buffer)
5253 (python-send-receive, python-send-string): Fix obsolete versions.
5254
24b0cff0
MR
52552012-06-18 Martin Rudalics <rudalics@gmx.at>
5256
5257 * window.el (special-display-p): Completely remove stringp
5258 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5259
29855149
MA
52602012-06-17 Michael Albinus <michael.albinus@gmx.de>
5261
5262 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5263
5264 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5265
5266 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5267 * net/tramp-sh.el (tramp-maybe-open-connection):
5268 Throw if `non-essential' is non-nil.
5269
07463363
MR
52702012-06-17 Martin Rudalics <rudalics@gmx.at>
5271
5272 * window.el (special-display-p): Signal an error if BUFFER-NAME
5273 is not a string (Bug#11713).
5274
48d1354e
PE
52752012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5276
5277 * progmodes/python.el (python-info-beginning-of-backslash):
5278 Rename from python-info-beginning-of-backlash, as a spelling fix.
5279
eb4a8a9a
CY
52802012-06-17 Chong Yidong <cyd@gnu.org>
5281
5282 * term.el (term-emulate-terminal): If term-check-size is called,
5283 move point to the process mark without resetting point (Bug#4635).
5284
ddfbf826 52852012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5286
5287 * international/mule-cmds.el (mule-menu-keymap)
5288 (set-language-environment, set-locale-environment): Doc tweaks.
5289
9b0e3eba
AA
52902012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5291
5292 * cus-face.el (custom-face-attributes): Add wave-style underline
5293 attribute.
5294 * faces.el (set-face-attribute): Update docstring to describe
5295 wave-style underline attribute.
5296
771e3eae
CY
52972012-06-16 Chong Yidong <cyd@gnu.org>
5298
5299 * term/xterm.el (terminal-init-xterm): Discard input before
5300 querying background mode (Bug#10959).
5301
7ae2ea10
SM
53022012-06-16 Stefan Merten <smerten@oekonux.de>
5303
5304 * textmodes/rst.el: Added and corrected some comments.
5305 (rst-re-alist-def): Improve symbol syntax.
5306 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5307 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5308 (rst-official-version, rst-official-cvs-rev): Update version
5309 information.
7ae2ea10 5310
b6974efa
JB
53112012-06-15 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5314 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5315
8826d473
GM
53162012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5317
5318 * progmodes/python.el: New python.el merge.
5319 (python-guess-indent): Obsolete var.
5320 (python-indent-guess-indent-offset): New defcustom.
5321 (python-indent): Obsolete var.
5322 (python-indent-offset): New defcustom.
5323 (python-python-command, python-jython-command): Delete var.
5324 (python-shell-interpreter): New defcustom.
5325 (python-pdbtrack-do-tracking-p): Delete var.
5326 (python-pdbtrack-activate): New defcustom.
5327 (python-use-skeletons): Obsolete var.
5328 (python-skeleton-autoinsert): New defcustom.
5329 (inferior-python-filter-regexp, python-continuation-offset)
5330 (python-honour-comment-indentation, python-indent-string-contents)
5331 (python-jython-packages, python-mode-hook)
5332 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5333 (python-shell-prompt-alist)
5334 (python-source-modes): Delete defcustoms.
5335 (python-check-buffer-name, python-eldoc-setup-code)
5336 (python-eldoc-string-code, python-ffap-setup-code)
5337 (python-ffap-string-code, python-fill-comment-function)
5338 (python-fill-decorator-function, python-fill-paren-function)
5339 (python-fill-string-function, python-imenu-include-defun-type)
5340 (python-imenu-make-tree, python-imenu-subtree-root-label)
5341 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5342 (python-shell-compilation-regexp-alist)
5343 (python-shell-completion-module-string-code)
5344 (python-shell-completion-pdb-string-code)
5345 (python-shell-completion-setup-code)
5346 (python-shell-completion-string-code)
5347 (python-shell-enable-font-lock, python-shell-exec-path)
5348 (python-shell-extra-pythonpaths)
5349 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5350 (python-shell-process-environment)
5351 (python-shell-prompt-block-regexp)
5352 (python-shell-prompt-output-regexp)
5353 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5354 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5355 (python-shell-virtualenv-path): New defcustoms.
5356 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5357 (inferior-python-mode-syntax-table, python--prompt-regexp)
5358 (python-buffer, python-command python-python-command)
5359 (python-default-template, python-imports, python-indent-index)
5360 (python-indent-list, python-indent-list-length)
5361 (python-mode-running, python-pdbtrack-is-tracking-p)
5362 (python-preoutput-continuation, python-preoutput-leftover)
5363 (python-preoutput-result, python-preoutput-skip-next-prompt)
5364 (python-prev-dir/file, python-recursing)
5365 (python-saved-check-command, python-version-checked)
5366 (python-which-func-length-limit)
5367 (view-return-to-alist): Delete vars.
5368 (python-check-custom-command, python-dotty-syntax-table)
5369 (python-imenu-index-alist, python-indent-current-level)
5370 (python-indent-dedenters, python-indent-levels)
5371 (python-nav-beginning-of-defun-regexp)
5372 (python-nav-list-defun-positions-cache)
5373 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5374 (python-shell-internal-buffer)
5375 (python-skeleton-available): New vars.
5376 (def-python-skeleton): Delete macro.
5377 (python-skeleton-define): New macro.
5378 (python-define-auxiliary-skeleton, python-rx): New macros.
5379 (python-insert-class): Delete command.
5380 (python-skeleton-class): New command.
5381 (python-insert-def): Delete command.
5382 (python-skeleton-def): New command.
5383 (python-insert-for): Delete command.
5384 (python-skeleton-for): New command.
5385 (python-insert-if): Delete command.
5386 (python-skeleton-if): New command.
5387 (python-insert-try/except, python-insert-try/finally): Delete commands.
5388 (python-skeleton-try): New command.
5389 (python-insert-while): Delete command.
5390 (python-skeleton-while): New command.
5391 (python-backspace): Delete command.
5392 (python-indent-dedent-line-backspace): New command.
5393 (python-electric-colon): Delete command.
5394 (python-indent-electric-colon): New command.
5395 (python-guess-indent): Delete command.
5396 (python-indent-guess-indent-offset): New command.
5397 (python-shift-left): Delete command.
5398 (python-indent-shift-left): New command.
5399 (python-shift-right): Delete command.
5400 (python-indent-shift-right): New command.
5401 (python-find-function): Delete command.
5402 (python-nav-jump-to-defun): New command.
5403 (python-next-statement): Delete command.
5404 (python-nav-forward-sentence): New command.
5405 (python-previous-statement): Delete command.
5406 (python-nav-backward-sentence): New command.
5407 (python-fill-paragraph): Delete command.
5408 (python-fill-paragraph-function): New command.
5409 (python-send-buffer): Delete command.
5410 (python-shell-send-buffer): New command.
5411 (python-send-defun): Delete command.
5412 (python-shell-send-defun): New command.
5413 (python-send-region, python-send-region-and-go): Delete commands.
5414 (python-shell-send-region)
5415 (python-shell-switch-to-shell): New commands.
5416 (python-send-string): Delete command.
5417 (python-shell-send-string): New command.
5418 (python-switch-to-python): Delete command.
5419 (python-shell-switch-to-shell): New command.
5420 (python-describe-symbol): Delete command.
5421 (python-eldoc-at-point): New command.
5422 (python--set-prompt-regexp, python-args-to-list)
5423 (python-after-info-look, python-check-version)
5424 (python-check-comint-prompt, python-find-imports)
5425 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5426 (python-unload-function, python-expand-template)
5427 (python-maybe-jython, python-preoutput-filter)
5428 (python-pdbtrack-get-source-buffer)
5429 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5430 (python-pdbtrack-toggle-stack-tracking)
5431 (python-pdbtrack-track-stack-file, python-initial-text)
5432 (python-first-word, python-comment-line-p, python-send-command)
5433 (python-setup-brm, python-sentinel, python-set-proc)
5434 (python-skip-out, python-input-filter, python-outdent-p)
5435 (python-outline-level, python-backslash-continuation-line-p)
5436 (python-end-of-block, python-end-of-statement, python-mark-block)
5437 (python-beginning-of-block, python-beginning-of-statement)
5438 (python-blank-line-p, python-beginning-of-string)
5439 (python-open-block-statement-p): Delete functions.
5440 (python-indent-line, python-indent-line-1): Delete functions.
5441 (python-indent-line): New function.
5442 (python-indentation-levels): Delete function.
5443 (python-indent-calculate-levels): New function.
5444 (python-proc): Delete function.
5445 (python-shell-get-process): New function.
5446 (python-send-receive): Delete function.
5447 (python-shell-send-string-no-output): New function.
5448 (python-module-path): Delete function.
5449 (python-ffap-module-path): New function.
5450 (python-completion-at-point)
5451 (python-symbol-completions): Delete functions.
5452 (python-completion-complete-at-point): New function.
5453 (python-load-file): Delete function.
5454 (python-shell-send-file): New function.
5455 (python-calculate-indentation): Delete function.
5456 (python-indent-calculate-indentation): New function.
5457 (python-skip-comments/blanks): Delete function.
5458 (python-util-forward-comment): New function.
5459 (python-continuation-line-p): Delete function.
5460 (python-info-continuation-line-p): New function.
5461 (python-which-func, python-current-defun): Delete function.
5462 (python-info-current-defun): New function.
5463 (python-beginning-of-defun): Delete function.
5464 (python-nav-beginning-of-defun): New function.
5465 (python-close-block-statement-p)
5466 (python-block-end-p): Delete function.
5467 (python-info-closing-block): New function.
5468 (python-comint-output-filter-function)
5469 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5470 (python-fill-comment, python-fill-decorator, python-fill-paren)
5471 (python-fill-string, python-imenu-make-element-tree)
5472 (python-imenu-make-tree, python-imenu-tree-assoc)
5473 (python-indent-context, python-indent-dedent-line)
5474 (python-indent-line-function)
5475 (python-indent-post-self-insert-function)
5476 (python-indent-toggle-levels)
5477 (python-info-assignment-continuation-line-p)
5478 (python-info-beginning-of-backlash)
5479 (python-info-block-continuation-line-p)
5480 (python-info-closing-block-message)
5481 (python-info-line-ends-backslash-p)
5482 (python-info-looking-at-beginning-of-defun)
5483 (python-info-ppss-context, python-info-ppss-context-type)
5484 (python-nav-list-defun-positions, python-nav-read-defun)
5485 (python-nav-sentence-end, python-nav-sentence-start)
5486 (python-pdbtrack-comint-output-filter-function)
5487 (python-pdbtrack-set-tracked-buffer)
5488 (python-shell-calculate-exec-path)
5489 (python-shell-calculate-process-environment)
5490 (python-shell-completion--do-completion-at-point)
5491 (python-shell-completion--get-completions)
5492 (python-shell-completion-complete-at-point)
5493 (python-shell-completion-complete-or-indent)
5494 (python-shell-get-or-create-process)
5495 (python-shell-get-process-name)
5496 (python-shell-internal-get-or-create-process)
5497 (python-shell-internal-get-process-name)
5498 (python-shell-internal-send-string, python-shell-make-comint)
5499 (python-shell-parse-command, python-shell-send-setup-code)
5500 (python-skeleton-add-menu-items)
5501 (python-util-clone-local-variables, python-util-position)
5502 (run-python-internal, python-indentation-levels)
5503 (python-nav-beginning-of-defun)
5504 (python-completion-complete-at-point): New functions.
5505 (run-python): Change arguments. New API requirements.
5506
4302f5ba
SM
55072012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5508
f38ea36d
SM
5509 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5510 (bug#11649).
5511
5512 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5513 (macroexp--expand-all): Use it.
5514
4302f5ba
SM
5515 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5516 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5517 Use `cl-function' instead.
5518
33377562
JB
55192012-06-14 Juanma Barranquero <lekktu@gmail.com>
5520
5521 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5522 Suggested by Stefan Monnier while discussing bug#11657.
5523
54c5ba1a
SS
55242012-06-14 Sam Steingold <sds@gnu.org>
5525
5526 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5527
f9f1b1fe
AS
55282012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5529
5530 * play/doctor.el (doctor-doc): Remove parameter and use
5531 doctor-sent instead of sent.
5532 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5533
a81068ba
SM
55342012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5a315f9c
SM
5536 * files.el: Require cl-lib.
5537 (file-name-non-special): Replace case -> cl-case.
5538
5539 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5540
a81068ba
SM
5541 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5542 mapping from #' to function*.
5543
8cca9703
CY
55442012-06-13 Chong Yidong <cyd@gnu.org>
5545
5546 * mouse.el (mouse-drag-track): Do not set the mark if the user
5547 releases the mouse without selecting anything (Bug#11588).
5548
a12ac9d7
SM
55492012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5550
ccf1dc18
SM
5551 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5552 as well (bug#11646).
5553
ef62b23d
SM
5554 * loadup.el: Count byte-code functions as well.
5555
c4c8444a
SM
5556 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5557 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5558
a12ac9d7
SM
5559 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5560 (bug#11649). Add cl-defun and cl-defmacro.
5561
87e6e64f
DA
55622012-06-13 Drew Adams <drew.adams@oracle.com>
5563
5564 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5565 Fix last change.
5566
682cefaf
MA
55672012-06-13 Michael Albinus <michael.albinus@gmx.de>
5568
5569 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5570 Otherwise, it blocks in batch mode.
5571
773e1f08
JB
55722012-06-13 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * help-mode.el (bookmark-make-record-default): Declare.
5575
60057926
CY
55762012-06-13 Chong Yidong <cyd@gnu.org>
5577
5578 * emacs-lisp/package.el (list-packages): Compute a list of
5579 packages that are newly-available since the last list-packages
5580 invocation.
5581 (package-menu--new-package-list): New var.
5582 (package-menu--generate, package-menu--print-info)
5583 (package-menu--status-predicate, package-menu-mark-install):
5584 Handle new status label "new".
5585
ad4d226c
SM
55862012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5589 conversion to backquotes.
5590
f1a4e679
CY
55912012-06-12 Chong Yidong <cyd@gnu.org>
5592
5593 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5594 Rename from gud-inhibit-global-bindings.
5595
5596 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5597
5598 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5599 hook from nxml-glyph-set-hook.
5600
5601 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5602 declaration.
5603
5604 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5605
5606 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5607 Convert to defcustom.
5608
0c9e42b5
DA
56092012-06-12 Drew Adams <drew.adams@oracle.com>
5610
5611 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5612 New functions.
5613 (help-mode): Use them.
5614
09e06855
GM
56152012-06-11 Glenn Morris <rgm@gnu.org>
5616
5617 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5618 Use preprocessor face for directives.
5619 (fortran-directive-re): Doc fix.
5620
71adb94b
SM
56212012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5622
2eb87922
SM
5623 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5624 conversion to backquotes (bug#11652).
5625
71adb94b
SM
5626 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5627 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5628 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5629 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5630 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5631 (cl-ninth, cl-tenth): Mark them as inlinable.
5632 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5633 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5634 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5635 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5636 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5637 (cl-list*, cl-adjoin): Don't put an autoload manually.
5638 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5639 (cl--compiler-macro-list*): Add autoload cookie.
5640 (cl--compiler-macro-cXXr): New function.
2eb87922 5641
71adb94b
SM
5642 * help-fns.el (help-fns--compiler-macro): New function extracted from
5643 describe-function-1; follow aliases and use `compiler-macro' property.
5644 (describe-function-1): Use it.
5645
a6674402
CY
56462012-06-11 Chong Yidong <cyd@gnu.org>
5647
5648 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5649 is uninstalled, if imagemagick is installed.
5650
bb3faf5b
SM
56512012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * emacs-lisp/cl-lib.el: Use lexical-binding.
5654 (cl-map-extents, cl-maclisp-member): Remove.
5655 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5656 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5657 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5658 * emacs-lisp/cl-extra.el: Use lexical-binding.
5659 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5660 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5661 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5662 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5663 * emacs-lisp/cl-seq.el: Use lexical-binding.
5664 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5665 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5666 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5667 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5668 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5669 CL's internals.
5670
2fe4b125
MA
56712012-06-11 Michael Albinus <michael.albinus@gmx.de>
5672
5673 Sync with Tramp 2.2.6-pre.
5674
5675 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5676 `print-length' and `print-level' to nil, in order to avoid
5677 truncation. Reported by Christopher Schmidt
5678 <christopher@ristopher.com>.
5679
5680 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5681
5682 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5683 New defmacro.
5684 (tramp-compat-copy-directory): Add optional argument
5685 COPY-CONTENTS. It is not handled yet.
5686
5687 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5688 (tramp-ftp-file-name-p): Simplify.
5689
5690 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5691 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5692 connection vector.
5693
5694 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5695 (tramp-methods): Do not use `tramp-password-end-of-line'.
5696 (tramp-completion-function-alist-putty): Handle UNIX case.
5697 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5698 (tramp-do-file-attributes-with-stat)
5699 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5700 gid as real numbers. They could run out of integer range on cygwin.
5701 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5702 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5703 (tramp-open-connection-setup-interactive-shell):
5704 Use `tramp-cleanup'. Move check for busyboxes ...
5705 (tramp-find-shell): ... here. Simplify implementation.
5706 Set "remote-shell" property also for alternative shells.
5707 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5708 If failing, a regular file would be written otherwise.
5709 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5710 (tramp-find-inline-encoding): Cache the coding commands in the
5711 process cache. Apply test command on the remote side, if defined.
5712 (tramp-find-inline-compress): Cache the compress commands in the
5713 process cache.
5714 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5715 when requested. Handle hops.
5716 (tramp-current-connection): New defvar.
87e6e64f
DA
5717 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5718 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5719 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5720 (tramp-get-inline-compress, tramp-get-inline-coding):
5721 Read connection properties from the process cache.
2fe4b125
MA
5722
5723 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5724 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5725 New defconsts.
2fe4b125
MA
5726 (tramp-smb-prompt): Extend for powershell prompt.
5727 (tramp-smb-file-name-handler-alist): Add handlers for
5728 `process-file', `shell-command' and `start-file-process'.
5729 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5730 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5731 (tramp-smb-file-name-p): Simplify.
5732 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5733 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5734 (tramp-smb-shell-quote-argument): New defuns.
5735 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5736 Implement using "tar". By this, time-stamps are preserved.
5737 (tramp-smb-handle-copy-file): Handle also the case of directories.
5738 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5739 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5740 Use `tramp-get-connection-buffer').
2fe4b125
MA
5741 (tramp-smb-handle-rename-file): Use "rename", when source and
5742 target are on the same share.
87e6e64f
DA
5743 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5744 Use `tramp-smb-server-version'.
2fe4b125
MA
5745 (tramp-smb-wait-for-output): Remove prompt.
5746
5747 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5748 (tramp-methods, tramp-rsh-end-of-line):
5749 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5750 (tramp-save-ad-hoc-proxies): New defcustom.
5751 (tramp-completion-function-alist): Adapt docstring.
5752 (tramp-default-password-end-of-line): Remove defcustom.
5753 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5754 (tramp-user-regexp, tramp-file-name-regexp-unified)
5755 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5756 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5757 (tramp-remote-file-name-spec-regexp): New defconst.
5758 (tramp-file-name-structure): Extend structure for hops.
5759 (tramp-get-method-parameter): Move up.
5760 (tramp-file-name-p, tramp-dissect-file-name)
5761 (with-parsed-tramp-file-name): Handle hops.
5762 (tramp-file-name-hop): New defun.
5763 (tramp-make-tramp-file-name): New optional arg HOP.
5764 (tramp-message-show-progress-reporter-message): New defvar.
5765 (tramp-with-progress-reporter): Use it. We cannot use
5766 `tramp-message-show-message' here, because this suppresses also
5767 error buffers.
5768 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5769 `tramp-message-show-message' is nil.
5770 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5771 (tramp-cleanup): New defun.
5772 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5773 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5774 an error unchanged.
5775 (tramp-completion-handle-file-name-all-completions): Handle hops.
5776 Fix an error when called from ido.
5777 (tramp-completion-dissect-file-name): Use better local variable
5778 name. Add hop to the vector.
5779 (tramp-handle-insert-file-contents): Use progress-reporter for the
5780 whole scenario.
5781 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5782 to `t'.
5783 (tramp-check-for-regexp): Simplify search.
5784 (tramp-enter-password): Remove it. Move implementation ...
5785 (tramp-action-password): ... here.
5786 (tramp-mode-string-to-int, tramp-local-host-p)
5787 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5788 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5789 Set tramp-autoload cookie.
2fe4b125
MA
5790
5791 * net/trampver.el: Update release number.
5792
57932012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5794 Michael Albinus <michael.albinus@gmx.de>
5795
5796 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5797 (tramp-parse-group, tramp-parse-file)
5798 (tramp-parse-shostkeys-sknownhosts): New defuns.
5799 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5800 (tramp-parse-shosts-group, tramp-parse-sconfig)
5801 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5802 (tramp-parse-sknownhosts, tramp-parse-hosts)
5803 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5804 Use them.
5805 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5806 (tramp-parse-putty-group): Don't narrow.
5807 (tramp-parse-putty): Make a loop.
5808 (tramp-file-name-handler): Catch the `suppress' signal.
5809
72834e10
CY
58102012-06-11 Chong Yidong <cyd@gnu.org>
5811
5812 * image.el (imagemagick-register-types): Put the ImageMagick entry
5813 at the end of image-type-file-name-regexps.
5814
a4712e11
JB
58152012-06-11 Johan Bockgård <bojohan@gnu.org>
5816
5817 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5818 (pcase, pcase-let*, pcase-dolist): Use them.
5819
82ad98e3
SM
58202012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5821
5822 * emacs-lisp/pcase.el (pcase--let*): New function.
5823 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5824 (pcase--expand): Use macroexp-let².
5825
f80efb86
SM
58262012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5827
5828 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5829 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5830 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5831 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5832 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5833 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5834
31ca4639 58352012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5836
31ca4639
CY
5837 * mail/rmail.el (rmail-yank-current-message): Leave point at
5838 correct position. (Bug#11660)
94f0aa34 5839
31ca4639 58402012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5841
31ca4639 5842 * allout-widgets.el: Fix code header.
9e1b8ec4 5843
31ca4639 58442012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5845
f80efb86
SM
5846 * cus-edit.el (customize-changed-options-previous-release):
5847 Bump to 24.1.
31ca4639 5848
642b6d30
AS
58492012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5850
5851 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5852
4f5d2ba1
CY
58532012-06-09 Chong Yidong <cyd@gnu.org>
5854
5855 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5856
e75852fd
MR
58572012-06-09 Martin Rudalics <rudalics@gmx.at>
5858
5859 * window.el (special-display-popup-frame): Don't use
5860 window--display-buffer (Bug#11651).
5861
1e48e282
EZ
58622012-06-09 Eli Zaretskii <eliz@gnu.org>
5863
8a26b487
EZ
5864 Fix parallel builds: make sure loaddefs.el is not being written
5865 while Lisp files are compiled.
5866 (compile): Don't depend on 'mh-autoloads'.
5867 (compile-CMD, compile-SH): Depend on 'autoloads'.
5868 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5869
1e48e282
EZ
5870 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5871
6175e34b
CY
58722012-06-09 Chong Yidong <cyd@gnu.org>
5873
5874 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5875 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5876 Doc fixes (Bug#11225).
5877
d9857e53
SM
58782012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5879
5880 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5881 a function if there's a clear indication that it has a compiler-macro.
5882 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5883 (macro-declarations-alist): Add arglist to declaration functions.
5884 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5885 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5886 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5887 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5888 Also add autoload to find the compiler macro.
5889 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5890 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5891 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5892 (cl--compiler-macro-get): New functions, replacing calls to
5893 cl-define-compiler-macro.
5894 (cl-typep) [compiler-macro]: Use macroexp-let².
5895
f81298f8 58962012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5897
5898 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5899 string properly, fixes Bug#11473.
5900
4b56d0fe
CY
59012012-06-08 Chong Yidong <cyd@gnu.org>
5902
5903 * faces.el (set-face-attribute): Doc fix.
5904 (modify-face): Don't use :bold and :italic.
5905 (error, warning, success): Tweak definitions.
5906
5907 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5908 (custom-modified, custom-set, custom-changed, custom-themed)
5909 (custom-saved, custom-button, custom-button-mouse)
5910 (custom-button-pressed, custom-state, custom-comment-tag)
5911 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5912 (custom-group-subtitle): Use new-style face specs.
5913 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5914 (custom-set-face, custom-changed-face, custom-saved-face)
5915 (custom-button-face, custom-button-pressed-face)
5916 (custom-documentation-face, custom-state-face)
5917 (custom-comment-face, custom-comment-tag-face)
5918 (custom-variable-tag-face, custom-variable-button-face)
5919 (custom-face-tag-face, custom-group-tag-face-1)
5920 (custom-group-tag-face): Remove obsolete face alias.
5921
5922 * epa.el (epa-validity-high, epa-validity-medium)
5923 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5924 (epa-field-name, epa-field-body):
5925 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5926 (font-lock-keyword-face, font-lock-builtin-face)
5927 (font-lock-function-name-face, font-lock-variable-name-face)
5928 (font-lock-type-face, font-lock-constant-face):
5929 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5930 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5931 * speedbar.el (speedbar-button-face, speedbar-file-face)
5932 (speedbar-directory-face, speedbar-tag-face)
5933 (speedbar-selected-face, speedbar-highlight-face)
5934 (speedbar-separator-face):
5935 * whitespace.el (whitespace-newline, whitespace-space)
5936 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5937 (whitespace-line, whitespace-space-before-tab)
5938 (whitespace-space-after-tab, whitespace-indentation)
5939 (whitespace-empty):
5940 * emulation/cua-base.el (cua-global-mark):
5941 * eshell/em-prompt.el (eshell-prompt):
5942 * net/newst-plainview.el (newsticker-new-item-face)
5943 (newsticker-old-item-face, newsticker-immortal-item-face)
5944 (newsticker-obsolete-item-face, newsticker-date-face)
5945 (newsticker-statistics-face, newsticker-default-face):
5946 * net/newst-reader.el (newsticker-feed-face)
5947 (newsticker-extra-face, newsticker-enclosure-face):
5948 * net/newst-treeview.el (newsticker-treeview-face)
5949 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5950 (newsticker-treeview-immortal-face)
5951 (newsticker-treeview-obsolete-face)
5952 (newsticker-treeview-selection-face):
5953 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5954 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5955 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5956 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5957 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5958 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5959 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5960 (mpuz-text):
5961 * progmodes/vera-mode.el (vera-font-lock-number)
5962 (vera-font-lock-function, vera-font-lock-interface):
5963 * textmodes/table.el (table-cell): Use new-style face specs, and
5964 don't use the old :bold and :italic attributes.
5965
5966 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5967 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5968 (ebrowse-member-class, ebrowse-progress): Likewise.
5969 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5970 (ebrowse-file-name-face, ebrowse-default-face)
5971 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5972 (ebrowse-progress-face): Remove obsolete faces.
5973
5974 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5975 Inherit from error and warning faces respectively.
5976
5977 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5978 Likewise.
f80efb86
SM
5979 (flyspell-incorrect-face, flyspell-duplicate-face):
5980 Remove obsolete aliases.
4b56d0fe 5981
03310646
MA
59822012-06-08 Michael Albinus <michael.albinus@gmx.de>
5983
5984 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5985 Avoid infloop.
5986
513749ee
SM
59872012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * startup.el (argv, argi): Make lexically scoped.
5990 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5991 * emacs-lisp/cl-macs.el: Use lexical-binding.
5992 Rename cl-bind-* to cl--bind-*.
5993 * files.el: Don't require `cl' since it doesn't use it.
5994 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5995
595ef4ad
JB
59962012-06-08 Juanma Barranquero <lekktu@gmail.com>
5997
5998 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5999 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6000 instead of calling external sort utility.
6001 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6002
e9f66fcb
EZ
60032012-06-08 Eli Zaretskii <eliz@gnu.org>
6004
6005 * descr-text.el (describe-char): Mention how to insert the
6006 character, if the current input method doesn't support it.
6007 See the discussion in this thread for the details:
6008 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6009
3d10db47
SS
60102012-06-08 Sam Steingold <sds@gnu.org>
6011
6012 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6013 XF86Back to previous-buffer.
6014 (minibuffer-local-map): Bind them to next-history-element and
6015 previous-history-element respectively.
6016 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6017 help-go-back respectively.
6018 * info.el (Info-mode-map): Bind them to Info-history-forward and
6019 Info-history-back respectively.
6020 These are the keys next to Up on the ThinkPad keyboard.
6021
de7e2b36
SM
60222012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6023
6024 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6025 * emacs-lisp/cl-macs.el: Provide itself.
6026 (cl--labels-convert-cache): New var.
6027 (cl--labels-convert): New function.
6028 (cl-flet, cl-labels): New implementation with new semantics, relying on
6029 lexical-binding.
6030 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6031 (cl-closure-vars, cl--function-convert-cache)
6032 (cl--function-convert): Move from cl-macs.el.
6033 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6034 rename by removing the "cl-" prefix.
6035 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6036
6fa6c4ae
SM
60372012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6040 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6041 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6042 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6043 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6044 (cl-hash-table-count): Add old compatibility aliases.
6045
6046 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6047 Use macroexpand-all-environment instead.
6048 (cl--old-macroexpand): New var.
6049 (cl--sm-macroexpand): New function.
6050 (cl-symbol-macrolet): Use it during macro expansion.
6051 (cl--function-convert-cache): New var.
6052 (cl--function-convert): New function, extracted from
6053 cl-macroexpand-all.
6054 (cl-lexical-let): Use it.
6055
6056 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6057 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6058 (cl-member): Remove old alias.
6059
6060 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6061 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6062 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6063 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6064 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6065 (cl-macroexpand-cmacs): Remove var.
6066 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6067 Use macroexpand-all instead.
6068
4dd1c416
SM
60692012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6072 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6073 (macroexp-copyable-p): New functions and macros.
6074 * emacs-lisp/edebug.el (edebug-unwrap):
6075 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6076 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6077 (pcase--let*): Remove.
6078 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6079 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6080 macroexp-const-p instead.
6081 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6082
6083 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6084 instead of "cl-" for internal definitions. Use macroexp-const-p.
6085 (cl-old-bc-file-form): Remove var.
6086 (cl-const-exprs-p): Remove fun.
6087 (cl-labels, cl-macrolet): Use backquote.
6088 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6089 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6090 (cl-define-setf-expander): Rename from cl-define-setf-method.
6091 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6092
6093 * international/mule-cmds.el: Don't require CL.
6094 (view-hello-file): Don't use `letf'.
6095
ed8bd4d7
SM
60962012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6097
7287f2f3
SM
6098 * tmm.el (tmm-prompt): Use string-prefix-p.
6099 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6100 (tmm-add-prompt): Use minibuffer-completion-help.
6101 (tmm-delete-map): Remove.
6102
ed8bd4d7
SM
6103 * subr.el (kbd): Make it its own function.
6104
7b4cdbf4
SM
61052012-06-07 Stefan Merten <smerten@oekonux.de>
6106
6107 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6108 Silence compiler warnings. Fix versions.
ed8bd4d7 6109 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6110 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6111 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6112 (rst-package-emacs-version-alist): Correct Emacs version to
6113 represent major merge with upstream.
ed8bd4d7 6114 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6115
2b48d721
GM
61162012-06-06 Glenn Morris <rgm@gnu.org>
6117
6118 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6119 Only print environment variables if set.
6120
fa779ab0
SM
61212012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6124 (macroexp--cons): Rename from maybe-cons.
6125 (macroexp--accumulate): Rename from macroexp-accumulate.
6126 (macroexp--all-forms): Rename from macroexpand-all-forms.
6127 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6128 (macroexp--expand-all): Rename from macroexpand-all-1.
6129
628299e0
SS
61302012-06-06 Sam Steingold <sds@gnu.org>
6131
6132 * calendar/calendar.el (calendar-in-read-only-buffer):
6133 Call `special-mode' to enable the standard read-only keybindings.
6134
b7bb5838
SM
61352012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6138 with "loading" messages (bug#11635).
6139
dfb308ba
MA
61402012-06-06 Michael Albinus <michael.albinus@gmx.de>
6141
6142 * files.el (enable-remote-dir-locals): New option.
6143 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6144
0372ee92
MA
6145 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6146 Ensure, that the temp directory is local.
6147
6148 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6149 `temporary-file-directory'.
6150
eed0bb91
MA
6151 * progmodes/python.el (python-send-region): Ensure, that the
6152 temporary file is created also in the remote case.
6153
7a58f64d
GM
61542012-06-06 Glenn Morris <rgm@gnu.org>
6155
f7dd4e98
GM
6156 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6157 (vc-rcs-update-changelog): Use it.
6158
090bd7cb 6159 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6160
7a58f64d
GM
6161 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6162 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6163 (vc-sccs-diff): Replace use of the external vcdiff script.
6164
daed4003
GM
61652012-06-05 Glenn Morris <rgm@gnu.org>
6166
6167 * ledit.el: Move to obsolete/.
6168
48c455c7
SS
61692012-06-05 Sam Steingold <sds@gnu.org>
6170
ed9265fc 6171 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6172 patch (Bug#11140).
6173
57a7d507
SM
61742012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6175
090bd7cb 6176 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6177
53aacf21
SM
6178 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6179 compiler-macro expansion.
6180
57a7d507
SM
6181 Add native compiler-macro support.
6182 * emacs-lisp/macroexp.el (macroexpand-all-1):
6183 Support compiler-macros directly. Properly follow aliases and apply
6184 the compiler macros more thoroughly.
6185 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6186 macroexpand now properly follows aliases.
6187 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6188 (cl-compiler-macroexpand): Use new prop.
6189 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6190
6191 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6192
51a5f9d8
MR
61932012-06-05 Martin Rudalics <rudalics@gmx.at>
6194
6195 * window.el (get-lru-window, get-mru-window, get-largest-window):
6196 New argument NOT-SELECTED to avoid picking the selected window.
6197 (window--display-buffer-1, window--display-buffer-2): Replace by
6198 new function window--display-buffer
6199 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6200 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6201 Use window--display-buffer.
51a5f9d8
MR
6202 (display-buffer-use-some-window): Remove temporary dedication
6203 hack by calling get-lru-window and get-largest-window with
6204 NOT-SELECTED argument non-nil. Call window--display-buffer.
6205
08f9f738
GM
62062012-06-05 Glenn Morris <rgm@gnu.org>
6207
6208 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6209 Replace external vcdiff script.
6210
e364a2b7
SM
62112012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6214
041df390
CY
62152012-06-04 Chong Yidong <cyd@gnu.org>
6216
e364a2b7
SM
6217 * image.el (imagemagick-types-inhibit): Revert last change.
6218 Add INFO and M.
47b36b94 6219 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6220
7c1898a7
SM
62212012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/cl-lib.el: Rename from cl.el.
6224 * emacs-lisp/cl.el: New compatibility file.
6225 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6226 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6227 to obey the "cl-" prefix.
6228 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6229
0c3461de
GM
62302012-06-03 Glenn Morris <rgm@gnu.org>
6231
1e266c88
GM
6232 * emacs-lisp/authors.el (authors-aliases): Addition.
6233
0c3461de
GM
6234 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6235 Fix :version.
6236
d8a52e15
SM
62372012-06-03 Stefan Merten <smerten@oekonux.de>
6238
6239 * textmodes/rst.el: Add comments.
6240 (rst-transition, rst-adornment): New faces.
6241 (rst-adornment-faces-alist): Make default safe to reevaluate.
6242 Fixes
6243 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6244 Improve customization tags.
6245 (rst-define-level-faces): Clarify meaning.
6246
5205d6f6
CY
62472012-06-03 Chong Yidong <cyd@gnu.org>
6248
6249 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6250 (compilation-mode-line-run, compilation-mode-line-exit):
6251 New faces.
5205d6f6
CY
6252 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6253
757ee657
JD
62542012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6255
7c1898a7
SM
6256 * progmodes/which-func.el (which-func-update-ediff-windows):
6257 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6258
5f2c76c6
CY
62592012-06-03 Chong Yidong <cyd@gnu.org>
6260
6261 * bindings.el: Remove explicit help text from format-mode-line.
6262 It is now supplied by mode-line-default-help-echo.
6263 (mode-line-front-space, mode-line-end-spaces)
6264 (mode-line-misc-info): New variables.
6265 (mode-line-modes, mode-line-position): Move the default value to
6266 the variable definition.
6267 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6268 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6269 (mode-line-modified-help-echo): New functions.
6270 (mode-line-mule-info, mode-line-modified): Use them.
6271 (mode-line-eol-desc, propertized-buffer-identification):
6272 Consistency fixes for help text.
cbe46e5f
CY
6273 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6274 set-buffer-file-coding-system (Bug#289).
6275 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6276
f2d6a3df
SM
62772012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * simple.el (execute-extended-command): Set real-this-command
6280 (bug#11506).
6281
37269466
CY
62822012-06-02 Chong Yidong <cyd@gnu.org>
6283
6284 Remove incorrect uses of "modeline" in comments, docstrings, and
6285 function/variable names (Bug#10329).
6286
6287 * cus-edit.el (mode-line):
6288 * dframe.el (dframe-mouse-hscroll):
6289 * emacs-lisp/re-builder.el:
6290 * emacs-lisp/easy-mmode.el (define-minor-mode):
6291 * frame.el (set-frame-name):
6292 * help.el (lookup-minor-mode-from-indicator):
6293 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6294 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6295 (c-toggle-hungry-state):
6296 * progmodes/antlr-mode.el (antlr-language-alist):
6297 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6298 * progmodes/vhdl-mode.el (vhdl-mode):
6299 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6300 * term/ns-win.el (ns-face-at-pos):
6301 * term/sup-mouse.el (sup-mouse-report):
6302 * textmodes/flyspell.el (flyspell-mode-line-string):
6303 * textmodes/ispell.el (ispell-highlight-face):
6304 * textmodes/reftex-global.el:
6305 * vc/vc-arch.el (vc-arch-mode-line-string):
6306 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6307 * vc/vc-git.el (vc-git-mode-line-string):
6308 * vc/vc-hooks.el (vc-display-status)
6309 (vc-default-mode-line-string):
6310 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6311
6312 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6313
6314 * dired.el (dired-sort-set-mode-line): Rename from
6315 dired-sort-set-modeline. All callers changed.
6316
6317 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6318 eshell-status-in-modeline.
6319
6320 * foldout.el (foldout-mode-line-string): Rename from
6321 foldout-modeline-string. All callers changed.
6322 (foldout-update-mode-line): Rename from foldout-update-modeline.
6323
6324 * subr.el (redraw-modeline): Make into obsolete alias.
6325
6326 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6327 timeclock-modeline-display. Make old name an alias.
6328 (timeclock-update-mode-line): Likewise. All callers changed.
6329 (timeclock-mode-line-display): No need to check before using
6330 add-hook.
6331 (timeclock-relative, timeclock-day-over-hook)
6332 (timeclock-use-elapsed, timeclock-mode-string)
6333 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6334
6335 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6336 crisp-mode-modeline-string.
6337
6338 * play/solitaire.el (solitaire-build-mode-line): Rename from
6339 solitaire-build-modeline. All callers changed.
6340
6341 * play/zone.el (zone-hiding-mode-line): Rename from
6342 zone-hiding-modeline. All callers changed.
6343 (zone): Remove unusued `modeline-hidden-level' property.
6344
6345 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6346 xscheme-modeline-initialize. All callers changed.
6347
6348 * strokes.el (strokes-lighter): Rename from
6349 strokes-modeline-string.
6350
6351 * textmodes/sgml-mode.el (html-face-tag-alist)
6352 (html-tag-face-alist): Use mode-line face instead of obsolete
6353 alias modeline.
6354
42152ee4
SM
63552012-06-02 Stefan Merten <smerten@oekonux.de>
6356
6357 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6358 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6359
95f520b5
CY
63602012-06-02 Chong Yidong <cyd@gnu.org>
6361
6362 * image.el (imagemagick-enabled-types): Rename from
6363 imagemagick-types-enable. Add many more types.
6364 (imagemagick-types-inhibit): Change default to nil.
6365 (imagemagick-filter-types): Caller changed.
6366
4a5f187a
SM
63672012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6368
03fef3e6
SM
6369 * emacs-lisp/cl-macs.el: Use backquotes.
6370 (cl-transform-function-property): Use eval-and-compile rather than
6371 abusing `require'.
6372 (defstruct): Use declare-function instead of with-no-warnings.
6373
4a5f187a
SM
6374 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6375 (byte-compile-output-docform): Re-add the print-circle bindings.
6376 (byte-compile-fix-header): Use #$ just because it's shorter.
6377 (byte-compile-output-file-form): Remove defun/defmacro.
6378
bd56924f
MR
63792012-06-01 Martin Rudalics <rudalics@gmx.at>
6380
6381 * simple.el (choose-completion): Remove now obsolete binding for
6382 owindow.
6383
046e38ce
MA
63842012-06-01 Michael Albinus <michael.albinus@gmx.de>
6385
6386 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6387 in order to avoid "Stack overflow in regexp matcher".
6388
32d72c2f
GM
63892012-05-31 Glenn Morris <rgm@gnu.org>
6390
6391 * image.el: For clarity, call imagemagick-register-types at
6392 top-level, rather than relying on a custom :initialize.
6393 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6394 (imagemagick-filter-types): New function. (Bug#7406)
6395 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6396 If disabling support, remove elements altogether rather
6397 than using an impossible regexp.
6398 (imagemagick-types-inhibit): Give it the default init function.
6399
dd41169b
SM
64002012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6401
4a5f187a
SM
6402 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6403 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6404
efc00ab1 64052012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6406
6407 * desktop.el (desktop-read): Clear previous and next buffers for
6408 all windows and bury *Messages* buffer (bug#11556).
6409
500fcedc
SM
64102012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6411
6412 Add `declare' for `defun'. Align `defmacro's with it.
6413 * emacs-lisp/easy-mmode.el (define-minor-mode)
6414 (define-globalized-minor-mode): Don't autoload the var definitions.
6415 * emacs-lisp/byte-run.el: Use lexical-binding.
6416 (defun-declarations-alist, macro-declarations-alist): New vars.
6417 (defmacro, defun): Use them.
6418 (make-obsolete, define-obsolete-function-alias)
6419 (make-obsolete-variable, define-obsolete-variable-alias):
6420 Use `declare'.
6421 (macro-declaration-function): Mark obsolete.
6422 * emacs-lisp/autoload.el: Use lexical-binding.
6423 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6424
6e8a1786
AM
64252012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6426
6427 * textmodes/ispell.el (ispell-with-no-warnings):
6428 Define as a macro.
500fcedc
SM
6429 (ispell-kill-ispell, ispell-change-dictionary):
6430 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6431 `interactive-p'.
6432
61b108cc
SM
64332012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6436 (macro-declaration-function): Move var from C code.
6437 (macro-declaration-function): Define function with defalias.
6438 * emacs-lisp/macroexp.el (macroexpand-all-1):
6439 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6440 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6441 defun/defmacro any more.
6442 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6443 Provide fallback for unknown arglist.
6444 (byte-compile-arglist-warn): Change calling convention.
6445 (byte-compile-output-file-form): Move print-vars binding.
6446 (byte-compile-output-docform): Simplify accordingly.
6447 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6448 (byte-compile-defmacro-declaration): Remove.
6449 (byte-compile-file-form-defmumble): Generalize to defalias.
6450 (byte-compile-output-as-comment): Return byte-positions.
6451 Simplify callers accordingly.
6452 (byte-compile-lambda): Use `assert'.
6453 (byte-compile-defun, byte-compile-defmacro): Remove.
6454 (byte-compile-file-form-defalias):
6455 Use byte-compile-file-form-defmumble.
6456 (byte-compile-defalias-warn): Remove.
6457
6d3f7c2f
SM
64582012-05-29 Stefan Merten <smerten@oekonux.de>
6459
6460 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6461 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6462
6463 (rst-mode-abbrev-table): Merge definition.
6464 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6465 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6466
6dbaa1c7
UJ
64672012-05-29 Ulf Jasper <ulf.jasper@web.de>
6468
6469 * calendar/icalendar.el
6470 (icalendar-export-region): Export UID properly.
6471
d209e2fb 64722012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6473 * calendar/icalendar.el (icalendar-import-format):
6474 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6475 (icalendar-import-format-uid): New.
6476 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6477 Export UID.
6478
6876a58d
SM
64792012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6482 different alternative patterns.
6483 (pcase-codegen): Be more careful to preserve identity.
6484 (pcase--u1): Don't forget to mark vars as used.
6485
6486 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6487 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6488 (byte-compile-from-buffer): ...rather than here.
6489
6490 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6491 functions from byte-compile-function-environment.
6492
46b7967e
TN
64932012-05-29 Troels Nielsen <bn.troels@gmail.com>
6494
6495 * window.el (window-deletable-p): Avoid deleting the root window
6496 of a frame with an active minibuffer.
6497
69d565e2
MR
64982012-05-29 Martin Rudalics <rudalics@gmx.at>
6499
6500 * simple.el (choose-completion): Use quit-window (Bug#11567).
6501
a149fa51
CY
65022012-05-29 Chong Yidong <cyd@gnu.org>
6503
6504 * whitespace.el (whitespace-cleanup): Fix usage of
6505 whitespace-empty-at-bob-regexp (Bug#11492).
6506
2b311310
AH
65072012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6508
6509 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6510 revert (Bug#11488).
6511
b9cb2387
JL
65122012-05-29 Juri Linkov <juri@jurta.org>
6513
6514 * isearch.el (isearch-mode-map): Bind `M-s _' to
6515 `isearch-toggle-symbol'. Bind `M-s c' to
6516 `isearch-toggle-case-fold'.
6517 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6518 (isearch-forward): Add `M-s _' to the docstring.
6519 (isearch-forward-symbol, isearch-toggle-case-fold)
6520 (isearch-symbol-regexp): New functions. (Bug#11381)
6521
d5e61c1c
JL
65222012-05-29 Juri Linkov <juri@jurta.org>
6523
6524 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6525 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6526 a function, call it to get the regexp.
6527 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6528 property `isearch-message-prefix' instead of the string "word ".
6529 (isearch-search-fun-default): For the case of `isearch-word',
6530 return a lambda that calls re-search-forward/re-search-backward
6531 with a regexp returned by `word-search-regexp' or by the function
6532 in `isearch-word'.
6533
8cbd80f7
JL
65342012-05-29 Juri Linkov <juri@jurta.org>
6535
6536 * isearch.el (isearch-search-fun-default): New function.
6537 (isearch-search-fun): Move default part to the new function
6538 `isearch-search-fun-default'.
6539 (isearch-search-fun-function): Set the default value to
6540 `isearch-search-fun-default'. (Bug#11381)
6541
6542 * comint.el (comint-history-isearch-end):
6543 Use `isearch-search-fun-default'.
6544 (comint-history-isearch-search): Use `isearch-search-fun-default'
6545 and remove spacial case for `isearch-word'.
6546 (comint-history-isearch-wrap): Remove spacial case for
6547 `isearch-word'.
6548
6549 * hexl.el (hexl-isearch-search-function):
6550 Use `isearch-search-fun-default'.
6551
6552 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6553 Use `word-search-regexp' for `isearch-word'.
6554
6555 * misearch.el (multi-isearch-search-fun):
6556 Use `isearch-search-fun-default'.
6557
6558 * simple.el (minibuffer-history-isearch-search):
6559 Use `isearch-search-fun-default' and remove spacial case for
6560 `isearch-word'.
6561 (minibuffer-history-isearch-wrap): Remove spacial case for
6562 `isearch-word'.
6563
6564 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6565 Remove spacial case for `isearch-word'.
6566 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6567
85c8c5b6
AM
65682012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6569
6570 Decrease XEmacs incompatibilities.
6571 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6572 Use `string-match'.
6573 (flyspell-delete-region-overlays): Use alternative definition for
6574 XEmacs.
6575 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6576 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6577 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6578 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6579 `define-obsolete-face-alias' under XEmacs, but old method.
6580
6581 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6582 `with-no-warnings' definition or Emacs alias.
6583 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6584 (ispell-word): Do not use `region-p' if XEmacs.
6585
8cab9efc
AM
65862012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6587
6588 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6589 Check for `ispell-dictionary-base-alist' instead of full
6590 `ispell-dictionary-alist'.
6591 (ispell-init-process): Show spellchecker when starting new Ispell
6592 process.
6593
fda91268
RZ
65942012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6597 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6598
694ea8e3
JB
65992012-05-27 Juanma Barranquero <lekktu@gmail.com>
6600
6601 * version.el (motif-version-string, gtk-version-string)
6602 (ns-version-string): Declare.
6603
e4d4f539
JL
66042012-05-27 Juri Linkov <juri@jurta.org>
6605
6606 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6607 after the `eval-defun-1' specialcaseing
6608 like in `edebug-eval-defun' (bug#10181).
6609
6610 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6611 like in `eval-defun-1'.
6612
33017faf 66132012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6614
fda91268
RZ
6615 * mail/sendmail.el (mail-yank-region):
6616 Recognize rmail-yank-current-message in addition to insert-buffer.
6617 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6618 a *mail* buffer created through rmail-start-mail with sendmail as
6619 mail-user-agent.
6620
33017faf
GM
66212012-05-27 Chong Yidong <cyd@gnu.org>
6622
6623 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6624 Default to 256 (Bug#11267).
6625
6626 * help.el (describe-mode): Doc fix.
6627
04188bb9
GM
66282012-05-26 Glenn Morris <rgm@gnu.org>
6629
38264cc9
GM
6630 * w32-fns.el (w32-init-info): Remove.
6631 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6632
eb7afdad
GM
6633 * info.el (info-initialize): For self-contained NS builds, put the
6634 included info/ directory at the front. (Bug#2791)
6635
04188bb9
GM
6636 * paths.el (Info-default-directory-list): Make it a defcustom,
6637 mainly so that we can use custom-initialize-delay.
6638
a179e3f7
SM
66392012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6640
43416392
SM
6641 * subr.el (buffer-has-markers-at): Mark obsolete.
6642
a179e3f7 6643 * subr.el (lambda): Use declare.
43416392 6644
a179e3f7
SM
6645 * emacs-lisp/lisp-mode.el (lambda):
6646 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6647
34a008d9
AH
66482012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6649
6650 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6651
0a3b289f
GM
66522012-05-26 Glenn Morris <rgm@gnu.org>
6653
6654 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6655
758c81e8
GM
66562012-05-25 Glenn Morris <rgm@gnu.org>
6657
f9f334f0
GM
6658 * paths.el: Remove no-byte-compile.
6659 * loadup.el: No need to load paths.el uncompiled.
6660
87eb79c2
GM
6661 * image.el (imagemagick-types-inhibit): Doc fix.
6662
758c81e8
GM
6663 * version.el: Remove no-byte-compile and associated formatting.
6664 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6665 is ancient code from when there was an "inc-vers.el".
6666
e7e85dc0
SM
66672012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * progmodes/gdb-mi.el: Minor style changes.
6670 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6671 Turn into minor modes.
6672 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6673 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6674 (gdb-shell): Remove unneeded let-binding.
6675 (gdb-get-many-fields): Eliminate O(n²) behavior.
6676
f31237a4
EZ
66772012-05-25 Eli Zaretskii <eliz@gnu.org>
6678
6679 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6680 platforms that don't link in fontset.c.
6681
bc1b21bb
JL
66822012-05-25 Juri Linkov <juri@jurta.org>
6683
6684 Use the same diff color scheme as in modern VCSes (bug#10181).
6685
6686 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6687 to avoid confusion with `diff-added' that now uses green colors.
6688 (diff-removed): Use shades of red.
6689 (diff-added): Use shades of green.
6690 (diff-changed): Leave just the yellow color.
6691 (diff-use-changed-face): New variable.
6692 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6693 how to highlight context diff changes.
6694 (diff-refine-change): Use shades of yellow.
6695 (diff-refine-removed): New face that uses shades of red.
6696 (diff-refine-added): New face that uses shades of green.
6697 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6698 `diff-refine-removed' in the call to `smerge-refine-subst'
6699 depending on the value of `diff-use-changed-face'.
6700
6701 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6702 (smerge-other): Use shades of green.
6703 (smerge-base): Use shades of yellow.
6704 (smerge-refined-change): Empty face.
6705 (smerge-refined-removed): New face that uses shades of red.
6706 (smerge-refined-added): New face that uses shades of green.
6707 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6708 args `props-r' and `props-a', and use them. Doc fix.
6709 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6710 on its value use different faces `smerge-refined-change',
6711 `smerge-refined-removed', `smerge-refined-added' in the call to
6712 `smerge-refine-subst'.
6713
6714 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6715 Add face condition `min-colors 88' with shades of red.
6716 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6717 `min-colors 88' with shades of green.
6718 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6719 `min-colors 88' with shades of yellow.
6720
6df9112c
GM
67212012-05-24 Glenn Morris <rgm@gnu.org>
6722
ead5edc0
GM
6723 * paths.el (prune-directory-list, remote-shell-program): Move to...
6724 * files.el (prune-directory-list, remote-shell-program): ...here.
6725 For the latter, delay initialization, prefer ssh, just search PATH.
6726
f18b81e6
GM
6727 * paths.el (term-file-prefix): Move to faces.el (the only user).
6728 * faces.el (term-file-prefix): Move here, make it a defcustom.
6729
ee2f89a6
GM
6730 * paths.el (news-directory, news-path, news-inews-program):
6731 Move to gnus/nnspool.el.
61a583ca 6732
f8815e4c
GM
6733 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6734
c8f3b42c
GM
6735 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6736 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6737 Make the latter a defcustom, with a delayed initialization.
6738
6df9112c
GM
6739 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6740 These were deleted from Gnus itself late 2010.
6741
5dadff36
JB
67422012-05-22 Juanma Barranquero <lekktu@gmail.com>
6743
9e1701c6
JB
6744 * progmodes/which-func.el (which-func-ff-hook):
6745 Check against user-error, not error.
6746
bd7239f5 6747 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6748 cl-specs.el, which no longer exists.
6749
3290526d
GM
67502012-05-22 Glenn Morris <rgm@gnu.org>
6751
6752 * info.el (info-emacs-bug): New command.
6753 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6754 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6755
ff0c3cfb
GM
67562012-05-21 Glenn Morris <rgm@gnu.org>
6757
6758 * makefile.w32-in (update-subdirs-SH):
6759 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6760
5814f126
SM
67612012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6762
a52c0aa0
SM
6763 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6764
5814f126
SM
6765 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6766 Simplify Maven regexp, and make sure the file can't start with a space
6767 (bug#11517).
6768
b847032c
GM
67692012-05-21 Glenn Morris <rgm@gnu.org>
6770
6771 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6772 Scrap superfluous subshells.
6773
3858bfe7
SM
67742012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6775
6776 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6777 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6778
d14b0029
JB
67792012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6780
6781 * calc/calc.el (calc-ensure-consistent-units): New variable.
6782
a52c0aa0
SM
6783 * calc/calc-units.el (math-consistent-units-p)
6784 (math-check-unit-consistency): New functions.
6785 (calc-quick-units, calc-convert-units):
6786 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6787 is non-nil.
d14b0029
JB
6788 (calc-extract-units): Fix typo.
6789
60c4db3a
SM
67902012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6791
77f3b62e
SM
6792 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6793
60c4db3a
SM
6794 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6795 (flyspell-default-deplacement-commands): Don't spell check after
6796 repeated window/frame switches (e.g. triggered by mouse-movement).
6797 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6798 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6799 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6800 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6801 Remove unused vars.
6802 (flyspell-get-casechars, flyspell-get-not-casechars):
6803 Simplify; Don't bother removing a ] just to add it back.
6804 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6805
d209e2fb 68062012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6807
6808 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6809 New functions.
bd7239f5 6810 (math-function-table): Add support for more C functions.
b1a10716 6811
3f1b25b5
AM
68122012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6813
090bd7cb
JB
6814 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6815 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6816 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6817
b581bb5c
SM
68182012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6821 their respective macro declarations.
6822 * skeleton.el (define-skeleton):
6823 * progmodes/compile.el (define-compilation-mode):
6824 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6825 (define-ibuffer-filter):
6826 * emacs-lisp/generic.el (define-generic-mode):
6827 * emacs-lisp/easy-mmode.el (define-minor-mode)
6828 (define-globalized-minor-mode):
6829 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6830 * emacs-lisp/byte-run.el (defsubst):
6831 * custom.el (deftheme): Add doc-string metadata.
6832
70b8ef8f
SM
68332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6834
6835 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6836
b1198e17
SM
68372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6838
9abdc45d
SM
6839 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6840
b1198e17
SM
6841 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6842 * emacs-lisp/cl-macs.el: Idem.
6843 * emacs-lisp/cl-specs.el: Remove.
6844
4735906a
SM
68452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6846
6847 Minor renaming of internal CL functions and variables.
6848 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6849 (cl--position): Rename from cl-position.
6850 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6851 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6852 (cl--random-state): Rename from *random-state*.
6853
ac348012
SM
68542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6857 parens around the arg list (bug#11499).
6858
a0a79cde
JL
68592012-05-17 Juri Linkov <juri@jurta.org>
6860
6861 * isearch.el (word-search-regexp, word-search-backward)
6862 (word-search-forward, word-search-backward-lax)
6863 (word-search-forward-lax): Move functions from search.c
6864 (bug#10145, bug#11381).
6865
65034a51
AM
68662012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6867
090bd7cb
JB
6868 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6869 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6870 Delay for otherchars as for normal word components.
65034a51 6871
1a72a195
SM
68722012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * minibuffer.el (completion--sifn-requote): Fix last change.
6875 (minibuffer-local-must-match-filename-map):
6876 Move define-obsolete-variable-alias before its var.
6877
fdb058c2
SM
68782012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6879
c41045e6
SM
6880 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6881
036dfb8b
SM
6882 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6883 behavior.
6884 (completion--string-equal-p): New function.
6885 (completion--twq-all): Use it to get better assertion failure data.
6886
2473256d
SM
6887 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6888 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6889 (shell--requote-argument): New functions.
6890 (shell-completion-vars): Use them.
6891 (shell--parse-pcomplete-arguments): Rename from
6892 shell-parse-pcomplete-arguments.
6893 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6894 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6895 Obey comint-file-name-quote-list.
6896
fdb058c2
SM
6897 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6898 (smie-indent-keyword): Use it.
6899
51fa99f1
SM
69002012-05-14 Stefan Merten <smerten@oekonux.de>
6901
6902 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6903
e18afed7 69042012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6905
6906 * net/rlogin.el (rlogin-mode-map): Fix last change.
6907
e18afed7 69082012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6909
6910 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6911 the following \r\n using a single `process-send-string', since the
6912 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6913 with two `process-send-string's (Bug#11444).
8633b1f4 6914
e18afed7 69152012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6916
fdb058c2
SM
6917 * shell.el (shell-parse-pcomplete-arguments):
6918 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6919
2d21d7f6
WJ
69202012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6921
e18afed7 6922 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6923 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6924 (image-transform-width, image-transform-fit-width): New functions.
6925 (image-transform-properties): Use them.
6926 (image-transform-check-size): New function.
6927 (image-toggle-display-image): Use it (for testing).
6928 (image-transform-set-rotation): Reduce angle mod 360.
6929 Delete obsolete comment.
6930
7102e6d0
WJ
69312012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6932
6933 * image-mode.el: Fix scaling (bug#11399).
6934 (image-transform-resize): Doc fix.
6935 (image-transform-properties): Default scale is 1 and height should
6936 be an integer.
6937
06bc5e6e
SM
69382012-05-13 Johan Bockgård <bojohan@gnu.org>
6939
6940 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6941 than hard-coding `car', to fix misbehavior when moving forward.
6942
0ae03b6a
CY
69432012-05-13 Chong Yidong <cyd@gnu.org>
6944
6945 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6946 (tabulated-list-entries, tabulated-list-padding)
6947 (tabulated-list-sort-key): Make permanent-local.
6948
6949 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6950 (electric-buffer-list): Put electric buffer menu
6951 command descriptions in this docstring, instead of the docstring
6952 of electric-buffer-menu-mode. Code cleanups.
6953 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6954 Electric-buffer-menu-mode.
6955 (electric-buffer-update-highlight): Minor code cleanup.
6956
205a7391
MA
69572012-05-13 Michael Albinus <michael.albinus@gmx.de>
6958
6959 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6960 (Bug#11447)
6961
e5bd0a28
SM
69622012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 Move define-obsolete-variable-alias before the var's definition.
6965 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6966 * tooltip.el (tooltip-hook):
6967 * textmodes/reftex-toc.el (reftex-toc-map):
6968 * textmodes/reftex-sel.el (reftex-select-label-map)
6969 (reftex-select-bib-map):
6970 * textmodes/reftex-index.el (reftex-index-map)
6971 (reftex-index-phrases-map):
6972 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6973 * progmodes/meta-mode.el (meta-mode-map):
6974 * novice.el (disabled-command-hook):
6975 * loadhist.el (unload-hook-features-list):
6976 * frame.el (blink-cursor):
6977 * files.el (find-file-not-found-hooks, write-file-hooks)
6978 (write-contents-hooks):
6979 * emulation/tpu-edt.el (GOLD-map):
6980 * emacs-lock.el (emacs-lock-from-exiting):
6981 * emacs-lisp/generic.el (generic-font-lock-defaults):
6982 * emacs-lisp/chart.el (chart-map):
6983 * dos-fns.el (register-name-alist):
6984 * dired-x.el (dired-omit-files-p):
6985 * desktop.el (desktop-enable):
6986 * cus-edit.el (custom-mode-hook):
6987 * buff-menu.el (buffer-menu-mode-hook):
6988 * bookmark.el (bookmark-read-annotation-text-func)
6989 (bookmark-exit-hooks):
6990 * allout.el (allout-mode-deactivate-hook)
6991 (allout-exposure-change-hook, allout-structure-added-hook)
6992 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6993 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6994 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6995 comes before the corresponding variable's definition.
6996
ac59c2f6
CY
69972012-05-12 Chong Yidong <cyd@gnu.org>
6998
6999 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7000 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7001 (Buffer-menu-mode-map): Bind it.
7002 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7003
dee6c9a3
SM
70042012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7005
2171cea5
SM
7006 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7007 (prolog-upper-case-string, prolog-lower-case-string)
7008 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7009 (prolog-use-smie, prolog-smie-grammar): New vars.
7010 (prolog-smie-forward-token, prolog-smie-backward-token)
7011 (prolog-smie-rules): New funs.
7012 (prolog-comment-indent): Remove.
7013 (prolog-mode-variables): Use default comment indentation instead.
7014 Setup SMIE.
7015 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7016 (prolog-mode): Don't call them any more.
7017 (prolog-electric-colon, prolog-electric-dash)
7018 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7019
aa0382bd
SM
7020 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7021
dbacb4bd
SM
7022 * minibuffer.el (completion--twq-all): Again, allow case differences.
7023
13bdd94c
SM
7024 * term.el: Move keymap initialization code to be more idiomatic.
7025 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7026 (term-terminal-menu): Move initialization into declaration.
7027 (term-escape-char): Let the user set it in her .emacs.
7028
ff46c759
SM
7029 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7030 Provide SMIE-based indentation (not enabled by default yet).
7031 (sh-mode-map): Don't bind electric keys.
7032 Use electric-pair-mode instead of skeleton-pair.
7033 (sh-assignment-regexp): Fit within 80 columns.
7034 (sh-indent-supported): Specify actual shell name instead of boolean.
7035 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7036 (sh-maybe-here-document): Use it. Make obsolete.
7037 (sh-electric-here-document-mode) New minor mode.
7038 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7039 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7040 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7041 (sh-smie-rc-grammar, sh-use-smie): New vars.
7042 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7043 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7044 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7045 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7046 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7047 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7048 (sh-set-shell): Use smie-setup if requested.
7049
dee6c9a3
SM
7050 * term.el (term-set-escape-char): Properly set term-escape-char.
7051 See http://stackoverflow.com/questions/10524656.
7052
9f9aa044
CY
70532012-05-10 Chong Yidong <cyd@gnu.org>
7054
7055 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7056 Use url-generic-parse-url, and handle host names and Windows
7057 filenames properly.
7058 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7059 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7060 URL schemes to work on.
7061 (ffap--toggle-read-only): New function.
7062 (ffap-read-only, ffap-read-only-other-window)
7063 (ffap-read-only-other-frame): Use it.
7064 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7065 necessary for ffap-url-unwrap-remote.
7066
836d29b3
DA
70672012-05-10 Dave Abrahams <dave@boostpro.com>
7068
7069 * cus-start.el (create-lockfiles): Add it.
7070
00fd78ed
CY
70712012-05-09 Chong Yidong <cyd@gnu.org>
7072
7073 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7074 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7075
666b903b 70762012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7077
7078 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7079
666b903b 70802012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7081
7082 * ansi-color.el (ansi-color-process-output): Check for validity of
7083 comint-last-output-start before using it. This avoids a bad
7084 interaction with gdb-mi's input/output buffer.
7085
666b903b 70862012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7087
7088 * files.el (dir-locals-read-from-file):
7089 Mention dir-locals in any error message.
7090
666b903b 70912012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7092
7093 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7094 package (Bug#11410).
7095
f677562b
CY
7096 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7097 variables into description.
7098
666b903b 70992012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7100
7101 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7102 shell-delimiter-argument-list (bug#11348).
7103 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7104
b499d8d0
JB
71052012-05-09 Juanma Barranquero <lekktu@gmail.com>
7106
8f6b6da8
JB
7107 * textmodes/rst.el: Silence byte-compiler warnings.
7108 (rst-re-alist, rst-reset-section-caches): Move around.
7109 (rst-re): Use `characterp', not `char-valid-p'.
7110 (font-lock-beg, font-lock-end): Declare.
7111
4824146a
JB
7112 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7113 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7114
b499d8d0
JB
7115 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7116
ad89bb83
GM
71172012-05-08 Glenn Morris <rgm@gnu.org>
7118
7119 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7120
8bba5a75
SM
71212012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7122
49ed9c8e
SM
7123 * vc/log-edit.el: Add GNU coding standards highlighting.
7124 (log-edit-font-lock-gnu-style)
7125 (log-edit-font-lock-gnu-keywords): New vars.
7126 (log-edit-font-lock-keywords): New fun.
7127 (log-edit-mode): Don't fold case in font-lock.
7128 (log-edit-font-lock-keywords): Do not assume case-folding.
7129
07d00b56
SM
7130 * imenu.el: Misc cleanup. Make docstrings out of comments.
7131 Use lexical-binding.
7132 (imenu--index-alist, imenu--last-menubar-index-alist)
7133 (imenu-menubar-modified-tick): Use defvar-local.
7134 (imenu--split-menu): Remove unused var.
7135 (imenu--cleanup-seen): Declare as global.
7136 (imenu--cleanup): Use dolist.
7137
8bba5a75
SM
7138 * subr.el (defvar-local): Add debug spec and doc-string position.
7139
5075bdb5
GM
71402012-05-08 Glenn Morris <rgm@gnu.org>
7141
090bd7cb 7142 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7143 * language/english.el, language/georgian.el, language/greek.el:
7144 * language/japanese.el, language/khmer.el, language/korean.el:
7145 * language/lao.el, language/misc-lang.el, language/romanian.el:
7146 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7147 * language/thai.el, language/utf-8-lang.el:
7148 Remove no-byte-compile setting.
7149
5075bdb5
GM
7150 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7151
06f679a7
AH
71522012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7153
7154 * progmodes/make-mode.el (makefile-browse):
7155 Remove unnecessary interactive. (Bug#11324)
7156
03794570
GM
71572012-05-07 Glenn Morris <rgm@gnu.org>
7158
af8630f4
GM
7159 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7160
03794570
GM
7161 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7162
f0809a9d
SM
71632012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7164
28be5ce7
SM
7165 * loadup.el: Preload newcomment.el.
7166 * newcomment.el: Move autoload-only code to toplevel.
7167
f0809a9d
SM
7168 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7169 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7170 Handle new :right-align column property.
7171 (tabulated-list-print-col): Idem, plus use `display' text-property to
7172 try and preserve alignment for variable pitch fonts.
7173
1241b724
CY
71742012-05-07 Chong Yidong <cyd@gnu.org>
7175
7176 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7177 (tabulated-list-use-header-line): New var.
7178 (tabulated-list-init-header): Use it.
7179 (tabulated-list-print-fake-header): New function.
7180 (tabulated-list-print): Use it.
7181 (tabulated-list-sort-button-map): Add non-header-line commands.
7182 (tabulated-list-init-header): Add column name property to basic
7183 labels as well.
7184 (tabulated-list-col-sort): Handle non-header-line button case.
7185 (tabulated-list--sort-by-column-name): Fix a corner case.
7186
f0809a9d
SM
7187 * buff-menu.el (list-buffers--refresh):
7188 Handle Buffer-menu-use-header-line.
1241b724 7189
e5f9458f
CY
71902012-05-06 Chong Yidong <cyd@gnu.org>
7191
7192 * buff-menu.el: Convert to Tabulated List mode.
7193 (Buffer-menu-buffer+size-width): Make obsolete.
7194 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7195 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7196 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7197 documentation into docstring of buffer-menu.
7198 (Buffer-menu-toggle-files-only): Add an informative message.
7199 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7200 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7201 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7202 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7203 (Buffer-menu-execute, Buffer-menu-select)
7204 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7205 (Buffer-menu-bury): Use Tabulated List machinery.
7206 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7207 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7208 Delete.
e5f9458f
CY
7209 (list-buffers--refresh): New function.
7210 (list-buffers-noselect): Use it.
7211 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7212 (Buffer-menu--pretty-file-name): New helper functions.
7213
7214 * loadup.el: Preload tabulated-list.
7215
7216 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7217 tabulated-list-sort-column.
7218 (tabulated-list-init-header): Add the initial aligning space even
7219 if tabulated-list-padding is zero.
7220
e129292c
CS
72212012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7222
7223 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7224 whose cdr is not a cons cell correctly (bug#11038).
7225
6632d361
CY
72262012-05-06 Chong Yidong <cyd@gnu.org>
7227
e129292c
CS
7228 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7229 Accept additional plist in column descriptors.
6632d361
CY
7230 (tabulated-list-init-header): Obey it.
7231 (tabulated-list-get-entry): New function.
7232 (tabulated-list-put-tag): Use it. Use string-width instead of
7233 length.
7234 (tabulated-list--column-number): New function.
7235 (tabulated-list-print): Use it.
e129292c
CS
7236 (tabulated-list-print-col): New function.
7237 Set `tabulated-list-column-name' property on each column's text.
6632d361 7238 (tabulated-list-print-entry): Use it.
e129292c
CS
7239 (tabulated-list-delete-entry, tabulated-list-set-col):
7240 New functions.
6632d361
CY
7241 (tabulated-list-sort-column): New command (Bug#11337).
7242
3cc99f68
CY
7243 * buff-menu.el (list-buffers): Move C-x C-b binding from
7244 buff-menu.el to bindings.el.
7245
7246 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7247 :advertised-binding feature.
7248
52b61776
TN
72492012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7250
7251 * progmodes/compile.el (compilation-internal-error-properties):
7252 Calculate start position correctly when end-col is set but
7253 end-line is not (Bug#11382).
7254
ebfe2597
WJ
72552012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7256
7257 * man.el (Man-unindent): Use text-property-default-nonsticky to
7258 prevent untabify from inheriting face properties (Bug#11408).
7259
6d3f7c2f
SM
72602012-05-05 Stefan Merten <smerten@oekonux.de>
7261
7262 * textmodes/rst.el: Major merge with upstream development up to
7263 Docutils SVN r7399 / rst.el V1.2.1.
7264
7265 Clarify maintainership and authors.
7266
7267 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7268 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7269 (rst-official-version, rst-official-cvs-rev, rst-version)
7270 (rst-package-emacs-version-alist): New functions and variables
7271 for version information.
7272
7273 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7274 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7275 (rst-mode-syntax-table, rst-mode): New and corrected functions
7276 and variables representing reStructuredText features.
7277
7278 (rst-re): New function for reStructuredText regexes. Use in
7279 many places.
7280
7281 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7282 (rst-mode-map): Rebind keys.
7283
7284 (rst-mode-lazy, rst-font-lock-keywords)
7285 (rst-font-lock-extend-region)
7286 (rst-font-lock-extend-region-internal)
7287 (rst-font-lock-extend-region-extend)
7288 (rst-font-lock-find-unindented-line-limit)
7289 (rst-font-lock-find-unindented-line-match)
7290 (rst-adornment-level, rst-font-lock-adornment-level)
7291 (rst-font-lock-adornment-match)
7292 (rst-font-lock-handle-adornment-pre-match-form)
7293 (rst-font-lock-handle-adornment-matcher): Major revision of
7294 font-locking. Integrate with other code. Use `jit-lock-mode'.
7295
7296 (rst-preferred-adornments, rst-adjust-hook)
7297 (rst-new-adornment-down, rst-preferred-bullets)
7298 (rst-preferred-bullets, rst-indent, rst-indent-width)
7299 (rst-indent-field, rst-indent-literal-normal)
7300 (rst-indent-literal-minimized, rst-indent-comment): Change,
7301 extend and improve customization.
7302
7303 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7304 (rst-normalize-cursor-position, rst-get-decoration)
7305 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7306 (rst-rstrip, rst-toc-insert-find-delete-contents)
7307 (rst-shift-fill-region, rst-compute-bullet-tabs)
7308 (rst-debug-print-tabs, rst-debug-mark-found)
7309 (rst-shift-region-guts, rst-shift-region-right)
7310 (rst-shift-region-left, rst-use-char-classes)
7311 (rst-font-lock-keywords-function)
7312 (rst-font-lock-indentation-point)
7313 (rst-font-lock-find-unindented-line-begin)
7314 (rst-font-lock-find-unindented-line-end)
7315 (rst-font-lock-find-unindented-line)
7316 (rst-font-lock-adornment-point, rst-font-lock-level)
7317 (rst-adornment-level-alist): Remove functions and variables.
7318
7319 (rst-compare-adornments, rst-get-adornment-match)
7320 (rst-suggest-new-adornment, rst-get-adornments-around)
7321 (rst-adornment-complete-p, rst-get-next-adornment)
7322 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7323 (rst-straighten-adornments): Standardize function names to
7324 use "adornment" instead of "decoration". Correct callers.
7325 Similar standardizing in many places.
7326
7327 (rst-update-section, rst-adjust, rst-promote-region)
7328 (rst-enumerate-region, rst-bullet-list-region)
7329 (rst-repeat-last-character): Correct use of `interactive'.
7330
7331 (rst-classify-adornment, rst-find-all-adornments)
7332 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7333 (rst-find-leftmost-column, rst-repeat-last-character):
7334 Refactor functions.
7335
7336 (rst-find-title-line, rst-reset-section-caches)
7337 (rst-get-adornments-around, rst-adjust-adornment-work)
7338 (rst-arabic-to-roman, rst-roman-to-arabic)
7339 (rst-insert-list-pos, rst-insert-list-new-item)
7340 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7341 New functions.
7342
7343 (rst-all-sections, rst-section-hierarchy)
7344 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7345 New variables.
7346
7347 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7348 configuration instead of only buffer. Change where necessary.
7349
7350 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7351 (rst-shift-region, rst-adaptive-fill): New functions for
7352 indentation and filling.
7353
7354 (rst-comment-line-break, rst-comment-indent)
7355 (rst-comment-insert-comment, rst-comment-region)
7356 (rst-uncomment-region): New functions for handling comments.
7357
7358 (rst-compile): Quote shell arguments.
7359
7360 (rst-compile-pdf-preview, rst-compile-slides-preview):
7361 Delete temporary files after use.
7362
a43f98b3
GM
73632012-05-05 Glenn Morris <rgm@gnu.org>
7364
48176e8b
GM
7365 * calendar/cal-html.el: Optionally include holidays in the output.
7366 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7367 (cal-html-holidays): New option.
7368 (cal-html-css-default): Add holiday entry.
7369 (holiday-in-range): Autoload it.
7370 (cal-html-htmlify-entry): Add optional class argument.
7371 (cal-html-htmlify-list): Add optional holidays argument.
7372 (cal-html-insert-agenda-days): Include holidays in the output.
7373 (cal-html-one-month): Maybe include holidays.
7374
a43f98b3
GM
7375 * calendar/holidays.el (holiday-in-range):
7376 Move here from cal-tex-list-holidays.
7377 * calendar/cal-tex.el (cal-tex-list-holidays):
7378 Make it an obsolete alias for holiday-in-range. Update all callers.
7379
fef9d149 73802012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7381
7382 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7383 Nextstep.
7384
248da2f4
RW
73852012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7386
7387 * files.el (file-auto-mode-skip): New var.
7388 (set-auto-mode-1): Use it.
7389
f95e9344
SM
73902012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7391
df96ab1e
SM
7392 * repeat.el: Use lexical-binding.
7393 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7394 (repeat-undo-count): Remove.
7395 (repeat):
7396 * progmodes/octave-mod.el (octave-abbrev-start):
7397 * progmodes/f90.el (f90-abbrev-start):
7398 * face-remap.el (text-scale-adjust):
7399 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7400
5342bb06
SM
7401 * emacs-lisp/pcase.el (pcase--let*): New function.
7402 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7403 a bit more.
7404 (pcase--split-pred): Be more clever about ruling out overlap between
7405 a predicate and some constant pattern.
7406 (pcase--q1): Use `null' instead of (eq foo nil).
7407
f95e9344
SM
7408 * subr.el (setq-local, defvar-local): New macros.
7409 (kbd): Redefine as an alias.
7410 (with-selected-window): Leave unrelated frames alone.
7411 (set-temporary-overlay-map): New function.
7412
71873e2b
SM
74132012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7414
7415 * subr.el (user-error): New function.
7416 * window.el (switch-to-buffer):
7417 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7418 (smerge-match-conflict):
7419 * simple.el (previous-matching-history-element)
7420 (next-matching-history-element, goto-history-element, undo-more)
7421 (undo-start):
7422 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7423 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7424 (next-file, tags-loop-scan, list-tags, complete-tag):
7425 * progmodes/compile.el (compilation-loop):
7426 * mouse.el (mouse-minibuffer-check):
7427 * man.el (Man-bgproc-sentinel, Man-goto-page):
7428 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7429 (Info-history-forward, Info-follow-reference, Info-menu)
7430 (Info-extract-menu-item, Info-extract-menu-counting)
7431 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7432 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7433 (Info-next-reference, Info-prev-reference, Info-index)
7434 (Info-index-next, Info-follow-nearest-node)
7435 (Info-copy-current-node-name):
7436 * imenu.el (imenu--make-index-alist)
7437 (imenu-default-create-index-function, imenu-add-to-menubar):
7438 * files.el (basic-save-buffer, recover-file):
7439 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7440 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7441 (checkdoc-message-text, checkdoc-defun):
7442 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7443 * cus-edit.el (customize-changed-options, customize-rogue)
7444 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7445 (custom-variable-mark-to-reset-standard)
7446 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7447 (custom-file):
7448 * completion.el (check-completion-length):
7449 * comint.el (comint-search-arg)
7450 (comint-previous-matching-input-string-position)
7451 (comint-previous-matching-input)
7452 (comint-replace-by-expanded-history-before-point, comint-send-input)
7453 (comint-copy-old-input, comint-backward-matching-input)
7454 (comint-goto-process-mark, comint-set-process-mark):
7455 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7456 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7457
8a61ee22
SM
74582012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7459
66408d1e
SM
7460 * dabbrev.el (dabbrev--ignore-case-p): New function.
7461 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7462 Use it.
7463
8a61ee22
SM
7464 * files.el (automount-dir-prefix): Mark as obsolete.
7465
3c74813a
GM
74662012-05-04 Glenn Morris <rgm@gnu.org>
7467
7468 * patcomp.el, play/bruce.el: Move to obsolete/.
7469
0bfcf5c5
PE
74702012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7471
7472 Fix minor Y10k bugs.
7473 * arc-mode.el (archive-unixdate):
7474 * autoinsert.el (auto-insert-alist):
7475 * calc/calc-forms.el (math-this-year):
7476 * emacs-lisp/copyright.el (copyright-current-year)
7477 (copyright-update-year, copyright):
7478 * tar-mode.el (tar-clip-time-string):
7479 * time.el (display-time-update):
7480 Don't assume years have 4 digits.
7481
78f3273a
CY
74822012-05-04 Chong Yidong <cyd@gnu.org>
7483
7484 * dos-w32.el (file-name-buffer-file-type-alist)
7485 (direct-print-region-use-command-dot-com):
7486 * ffap.el (ffap-menu-regexp):
7487 * find-file.el (ff-special-constructs):
7488 * follow.el (follow-debug):
7489 * forms.el (forms--debug):
7490 * iswitchb.el (iswitchb-all-frames):
7491 * ido.el (ido-all-frames):
7492 * emacs-lisp/timer.el (timer-max-repeats):
7493 * mail/feedmail.el (feedmail-mail-send-hook)
7494 (feedmail-mail-send-hook-queued):
7495 * mail/footnote.el (footnote-signature-separator):
7496 * mail/mailabbrev.el (mail-alias-separator-string)
7497 (mail-abbrev-mode-regexp):
7498 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7499 * progmodes/idlwave.el (idlwave-libinfo-file)
7500 (idlwave-default-completion-case-is-down)
7501 (idlwave-library-routines): Convert defvars to defcustoms.
7502
7503 * mail/rmail.el (rmail-decode-mime-charset):
7504 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7505 (idlwave-shell-fix-inserted-breaks)
7506 (idlwave-shell-activate-alt-keybindings)
7507 (idlwave-shell-use-breakpoint-glyph):
7508 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7509
f7ae6719
SM
75102012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7513
47086495
WS
75142012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7515
7516 * progmodes/verilog-mode.el (font-lock-keywords):
7517 Fix mis-highligting auto. Reported by Craig Barner.
7518 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7519 defines from global name space. Reported by Dan Dever.
47086495
WS
7520 (verilog-auto-reset, verilog-auto-reset-widths)
7521 (verilog-auto-tieoff): Support using unbased numbers for
7522 AUTORESET and AUTOTIEOFF.
7523 (verilog-submit-bug-report): Update variable list.
7524 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7525 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7526 (verilog-auto-template-lint): Fix hash error when linting modules
7527 with no used templates.
7528 (verilog-warn, verilog-warn-error)
7529 (verilog-warn-fatal): When non-interactive report multiple
7530 warnings before exiting. Suggested by Brad Dobbie.
7531 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7532 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7533 to report unused template errors. Reported by Brad Dobbie.
7534 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7535 nets, bug438. Reported by Vns Blore.
47086495
WS
7536 (verilog-auto-inout-module, verilog-auto-reg)
7537 (verilog-read-decls, verilog-read-sub-decls-sig)
7538 (verilog-signals-edit-wire-reg, verilog-signals-with):
7539 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7540 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7541 "reg" for backwards compatibility presuming Verilog 2001.
7542 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7543 (verilog-preprocess): Fix replication of preprocess output.
7544 Reported by Brad Dobbie.
7545 (verilog-auto-inst-interfaced-ports):
7546 Create verilog-auto-inst-interfaced-ports, bug429.
7547 Reported by Julian Gorfajn.
7548 (verilog-after-save-font-hook)
7549 (verilog-before-save-font-hook): New variable.
7550 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7551 (verilog-save-font-mods): Wrap disabling fontification, reported
7552 by David Rogoff.
7553 (verilog-do-indent, verilog-pretty-declarations-auto)
7554 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7555 Reported by Pierre-David Pfister.
7556 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7557 of class declarations, bug292. Reported by Kevin Heilman.
7558 (verilog-read-decls): Fix 'parameter type' not appearing in
7559 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7560 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7561 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7562 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7563 Reported by David Kravitz.
7564
75652012-05-03 Michael McNamara <mac@mail.brushroad.com>
7566
7567 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7568 assignment with tests in ifs and for loops.
7569 (verilog-extended-complete-re, verilog-complete-reg): Change so
7570 that DPI inport functions don't look like fuction declarations.
7571 (verilog-pretty-expr): Don't line up assignment
7572 operations to the test and increment in if and for loops
7573 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7574 that DPI inport functions don't look like fuction declarations.
47086495 7575
2e51d4b5
KH
75762012-05-03 Kenichi Handa <handa@m17n.org>
7577
7578 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7579 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7580 (Bug#11282).
7581
2bd785a2
SM
75822012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * emacs-lisp/bytecomp.el
7585 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7586 since cconv.el might have introduced :fun-body, internal-make-closure,
7587 and friends for bytecomp to handle (bug#11391).
7588 * custom.el (defcustom): Avoid ((λ ..) ..).
7589
99d27583
SM
75902012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7593
55a71479
JB
75942012-05-02 Juanma Barranquero <lekktu@gmail.com>
7595
7596 * notifications.el (dbus-debug):
7597 * term/linux.el (gpm-mouse-enable):
7598 * term/screen.el (xterm-register-default-colors): Declare.
7599
7b97c764
CY
76002012-05-02 Chong Yidong <cyd@gnu.org>
7601
2bc356d7
CY
7602 * cus-start.el (gc-cons-percentage, exec-suffixes)
7603 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7604 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7605 (make-cursor-line-fully-visible, void-text-area-pointer)
7606 (font-list-limit): Add customization data.
7607
7b97c764
CY
7608 * allout.el (allout-exposure-change-functions)
7609 (allout-structure-added-functions)
7610 (allout-structure-deleted-functions)
7611 (allout-structure-shifted-functions): Rename abnormal hooks from
7612 *-hook, and convert to defcustoms.
5d3385a0
JB
7613 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7614 Convert to defcustoms.
7b97c764
CY
7615 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7616
7617 * allout-widgets.el: Hook callers changed.
7618
90207a15 76192012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7620
7621 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7622 the yanked message in preference to the default value of
7623 buffer-file-coding-system.
7624
90207a15 76252012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7626
5d3385a0
JB
7627 * window.el (display-buffer--action-function-custom-type):
7628 Fix entry.
d9558cad 7629
90207a15 76302012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7631
7632 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7633
d80ac57b
GM
76342012-05-01 Glenn Morris <rgm@gnu.org>
7635
976f7668
GM
7636 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7637
beb83b5a
GM
7638 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7639
d80ac57b
GM
7640 * cus-edit.el (custom-variable-documentation): Simplify with format.
7641
b593d6a9 76422012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7643 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7644
7645 * simple.el (suggest-key-bindings, execute-extended-command):
7646 Move from keyboard.c.
7647
782fbf2a
CY
76482012-05-01 Chong Yidong <cyd@gnu.org>
7649
7650 * follow.el: Eliminate advice.
7651 (set-process-filter, process-filter, sit-for): Advice deleted.
7652 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7653 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7654 Vars deleted.
782fbf2a
CY
7655 (follow-auto): Use a :set function.
7656 (follow-mode): Rewritten. Don't advise process filters.
7657 (follow-switch-to-current-buffer-all, follow-scroll-up)
7658 (follow-scroll-down): Assume follow-mode is bound.
7659 (follow-comint-scroll-to-bottom)
7660 (follow-align-compilation-windows): New functions.
7661 (follow--window-sorter): New function.
7662 (follow-all-followers): Use it to explicitly sort windows by their
7663 positions; don't make assumptions about next-window order.
7664 (follow-windows-start-end, follow-delete-other-windows-and-split)
7665 (follow-calc-win-start): Doc fix.
7666 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7667 vertical-motion unnecessarily.
7668 (follow-adjust-window): New function.
7669 (follow-post-command-hook): Use it.
7670 (follow-call-set-process-filter, follow-call-process-filter)
7671 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7672 (follow-stop-intercept-process-output, follow-generic-filter):
7673 Functions deleted.
7674 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7675 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7676 New functions, replacing advice on scroll-bar-* commands.
87233a14 7677 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7678
7679 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7680 (comint-postoutput-scroll-to-bottom): Use it.
7681 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7682
290af740
GM
76832012-05-01 Glenn Morris <rgm@gnu.org>
7684
7685 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7686 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7687 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7688 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7689 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7690 Remove no-byte-compile setting.
7691
6eac8dc9
SM
76922012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7695 all-completions code to not return a number in the last cdr.
7696
9cc7819c
LL
76972012-04-30 Leo Liu <sdl.web@gmail.com>
7698
7699 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7700 read-only error.
7701
c93b886f
CY
77022012-04-29 Chong Yidong <cyd@gnu.org>
7703
7704 * follow.el (follow-calc-win-end): Rewrite to handle partial
7705 screen lines correctly (Bug#8390).
7706 (follow-avoid-tail-recenter): Minor cleanup.
7707
8b6c19f4
SM
77082012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 Avoid the obsolete `assoc' package.
7711 * speedbar.el (speedbar-refresh): Avoid adelete.
7712 (speedbar-file-lists): Simplify and avoid aput.
7713 * man.el (Man--sections, Man--refpages): New vars, replacing
7714 Man-sections-alist and Man-refpages-alist.
7715 (Man-build-section-alist, Man-build-references-alist):
7716 Use them; avoid aput.
7717 (Man--last-section, Man--last-refpage): New vars.
7718 (Man-follow-manual-reference): Use them.
7719 Use the `default' arg of completing-read.
7720 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7721
c5bb7569
CY
77222012-04-27 Chong Yidong <cyd@gnu.org>
7723
d1d2e2e8
CY
7724 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7725
15cd8efd
CY
7726 * startup.el (x-apply-session-resources): New function.
7727
7728 * term/ns-win.el (ns-initialize-window-system):
7729 * term/w32-win.el (w32-initialize-window-system):
7730 * term/x-win.el (x-initialize-window-system): Use it to properly
7731 set menu-bar-mode and other vars from X resources, even if the
7732 initial frame is not a window-system frame (Bug#2299).
7733
c5bb7569
CY
7734 * subr.el (read-key): Avoid running filter function when setting
7735 up temporary tool bar entries (Bug#9922).
7736
a8e7d6d7 77372012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7738
7739 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7740 (Bug#11344)
7741
a8e7d6d7 77422012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7743
7744 * select.el (xselect--encode-string): New function, split from
7745 xselect-convert-to-string.
7746 (xselect-convert-to-string): Use it.
7747 (xselect-convert-to-filename, xselect-convert-to-os)
7748 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7749 returned strings are properly encoded (Bug#11315).
7750
a8e7d6d7 77512012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7752
7753 * simple.el (delete-active-region): Move to killing custom group.
7754
a8e7d6d7 77552012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7756
7757 * progmodes/which-func.el (which-func-current): Quote %
7758 characters for mode-line processing.
7759
578c1d4b 77602012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7761
7762 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7763 reaching eob (Bug#11286).
7764
a8e7d6d7 77652012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7766
7767 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7768 (gdb): Make it buffer-local and init to zero.
7769 (gdb-control-commands-regexp): New variable.
7770 (gdb-send): Don't wrap in "-interpreter-exec console" if
7771 gdb-control-level is positive. Increment gdb-control-level
7772 whenever the command matches gdb-control-commands-regexp, and
7773 decrement it each time the command is "end". (Bug#11279)
7774
a8e7d6d7 77752012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7776
7777 * window.el (adjust-window-trailing-edge, enlarge-window)
7778 (shrink-window, window-resize):
7779 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7780 windows (Bug#11276).
7781
b3608390
CY
77822012-04-27 Chong Yidong <cyd@gnu.org>
7783
7784 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7785 fix "missing prefix" warning. All callers changed.
b3608390 7786
797e6e88
SM
77872012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * emacs-lisp/assoc.el: Move to obsolete/.
7790
e95a67dc
SM
77912012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7792
657c21e4 7793 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7794
7795 * term/ns-win.el (ns-define-service):
7796 * progmodes/pascal.el (pascal-goto-defun):
7797 * progmodes/js.el (js--read-tab):
7798 * progmodes/etags.el (tags-lazy-completion-table):
7799 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7800 * emacs-lisp/ewoc.el (ewoc--wrap):
7801 * emacs-lisp/assoc.el (aput, adelete, amake):
7802 * doc-view.el (doc-view-convert-current-doc):
7803 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7804
cb3e7ae0
CY
78052012-04-26 Chong Yidong <cyd@gnu.org>
7806
dce04f7f
CY
7807 * image.el (image-type-from-buffer): Only return supported image
7808 type (Bug#9045).
7809
cb3e7ae0
CY
7810 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7811 value, for symmetry with diff-end-of-hunk.
7812 (diff-split-hunk, diff-find-source-location)
7813 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7814 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7815 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7816 compute the relevant hunk or file properly (Bug#6005).
7817 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7818
0d42eb3e
SM
78192012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * vc/vc-mtn.el:
7822 * vc/vc-hg.el:
7823 * vc/vc-git.el:
7824 * vc/vc-dir.el:
7825 * vc/vc-cvs.el:
7826 * vc/vc-bzr.el:
7827 * vc/vc-arch.el:
7828 * vc/vc.el: Replace lexical-let by lexical-binding.
7829 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7830 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7831 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7832
f08ae1c9
CY
78332012-04-26 Chong Yidong <cyd@gnu.org>
7834
8b71081d
CY
7835 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7836 (diff-mode-shared-map): Bind it to / and [remap undo].
7837
f08ae1c9
CY
7838 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7839 (ediff-window-setup-function): Use it as the default, to set up
7840 windows based on whether the current frame is graphical (Bug#2138).
7841 (ediff-choose-window-setup-function-automatically): Make obsolete.
7842
7843 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7844
ef24141c
SM
78452012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7846
cc356a5d
SM
7847 * ffap.el: Remove old code for obsolete package.
7848 (ffap-complete-as-file-p): Remove.
7849
b4ff4f1f
SM
7850 Use completion-table-with-quoting for comint and pcomplete.
7851 * comint.el (comint--unquote&requote-argument)
7852 (comint--unquote-argument, comint--requote-argument): New functions.
7853 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7854 (comint-quote-filename): Use regexp-opt-charset.
7855 (comint--common-suffix, comint--common-quoted-suffix)
7856 (comint--table-subvert): Remove.
7857 (comint-unquote-function, comint-requote-function): New vars.
7858 (comint--complete-file-name-data): Use them with
7859 completion-table-with-quoting.
7860 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7861 * pcomplete.el (pcomplete-arg-quote-list)
7862 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7863 (pcomplete-unquote-argument-function): Default to non-nil.
7864 (pcomplete-unquote-argument): Simplify.
7865 (pcomplete--common-quoted-suffix): Remove.
7866 (pcomplete-requote-argument-function): New var.
7867 (pcomplete--common-suffix): New function.
7868 (pcomplete-completions-at-point): Use completion-table-with-quoting
7869 and completion-table-subvert.
7870
79c4eeb4
SM
7871 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7872 (minibuffer--double-dollars): Preserve properties.
7873 (completion--sifn-requote): New function.
7874 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7875
ef24141c
SM
7876 * minibuffer.el: Add support for completion of quoted/escaped data.
7877 (completion-table-with-quoting, completion-table-subvert): New funs.
7878 (completion--twq-try, completion--twq-all): New functions.
7879 (completion--nth-completion): New function.
7880 (completion-try-completion, completion-all-completions): Use it.
7881
784e7d6e
LL
78822012-04-25 Leo Liu <sdl.web@gmail.com>
7883
dd2ac746
SM
7884 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7885 Use compilation-message if available to find real filename.
784e7d6e 7886
07875ee7
CY
78872012-04-25 Chong Yidong <cyd@gnu.org>
7888
7889 * vc/diff-mode.el (diff-setup-whitespace): New function.
7890 (diff-mode): Use it.
7891
7892 * vc/diff.el (diff-sentinel):
7893 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7894 Whitespace mode variables based on diff style (Bug#8612).
7895
5055880d
LL
78962012-04-25 Leo Liu <sdl.web@gmail.com>
7897
daf75653
LL
7898 * progmodes/python.el (python-send-region): Add suffix .py to the
7899 temp file.
7900
5055880d
LL
7901 * files.el (auto-mode-alist): Use javascript-mode instead.
7902
db9b177b
AH
79032012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7904
ef24141c 7905 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7906
090bd7cb 7907 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7908 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7909 references, see Bug#9.
ef24141c 7910 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7911 when receiving a fault reply.
ef24141c 7912 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7913
090bd7cb 7914 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7915 (soap-inspect-simple-type): New function.
db9b177b 7916
090bd7cb 7917 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7918 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7919 (soap-decode-basic-type, soap-encode-basic-type):
7920 support unsignedInt and double basic types.
db9b177b 7921 (soap-resolve-references-for-simple-type)
ef24141c
SM
7922 (soap-parse-simple-type, soap-encode-simple-type): New function.
7923 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7924
090bd7cb 7925 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7926 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7927 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7928 the local name of "soapenc:Array".
7929 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7930 decoding integer, byte and anyURI xsd types.
7931
1fc6097b
CY
79322012-04-25 Chong Yidong <cyd@gnu.org>
7933
7934 * cus-edit.el (custom-buffer-create-internal): Update header text.
7935
afc6df87
EZ
79362012-04-25 Eli Zaretskii <eliz@gnu.org>
7937
7938 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7939 settings on 'system-type', not on 'window-system'. On MS-Windows,
7940 set interactive-mode on in GDB.
7941
dfbd787f
SM
79422012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7945 (ruby-syntax-propertize-regexp): Remove.
7946 (ruby-syntax-propertize-function): Split regexp into chunks.
7947 Match following code directly.
7948
85222d44
DG
79492012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7950
51a8ea2a
DG
7951 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7952 (ruby-syntax-propertize-regexp): New function.
7953 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7954 by a special keyword.
7955
85222d44
DG
7956 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7957 (ruby-syntax-general-delimiters-goto-beg)
7958 (ruby-syntax-propertize-general-delimiters): New functions.
7959 (ruby-syntax-propertize-function): Use them to handle GDL.
7960 (ruby-font-lock-keywords): Move old handling of GDL...
7961 (ruby-font-lock-syntactic-keywords): .. to here.
7962 (ruby-calculate-indent): Adjust indentation for GDL.
7963
b613912b
MA
79642012-04-24 Michael Albinus <michael.albinus@gmx.de>
7965
b5380639
MA
7966 * notifications.el (top): Remove unneeded declarations.
7967 (notifications-specification-version): Change to "1.2".
e43042fe 7968 (notifications-interface, notifications-notify-method)
b613912b
MA
7969 (notifications-close-notification-method): Fix docstring.
7970 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7971 (notifications-notify): Add :action-items, :resident and
7972 :transient hints. Change "image_data" to "image-data" and
7973 "image_path" to "image-path".
b613912b
MA
7974 (notifications-get-capabilities): New defun.
7975
257440aa
LL
79762012-04-24 Leo Liu <sdl.web@gmail.com>
7977
7978 * progmodes/python.el: Move hideshow setup to the end.
7979
b1bac16e
MR
79802012-04-24 Martin Rudalics <rudalics@gmx.at>
7981
7982 * window.el (handle-select-window): Clear echo area since this is
7983 no more done by read_char (Bug#11304).
7984
d81bd059
SM
79852012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7986
7987 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7988 and `/ M' to filter-derived-mode.
7989 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7990 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7991 (ibuffer-mark-by-mode): Use default rather than initial-input.
7992 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7993
c4cf6d91
IA
79942012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7995
7996 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7997 (ibuffer-filter-by-derived-mode): New filter.
7998 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7999
7511ded8
CY
80002012-04-23 Andreas Politz <politza@fh-trier.de>
8001
8002 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8003
775c916b
CY
80042012-04-23 Chong Yidong <cyd@gnu.org>
8005
8006 * cus-edit.el (customize-apropos, customize-apropos-options):
8007 Disable matching of non-option variables (Bug#11176).
8008 (customize-option, customize-option-other-window)
8009 (customize-changed-options): Doc fix.
8010 (customize-apropos-options, customize-apropos-faces)
8011 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8012
8013 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8014 Fix word list splitting (Bug#11132).
46c71e23
CY
8015 (apropos-symbol, apropos-keybinding, apropos-label)
8016 (apropos-property, apropos-function-button)
8017 (apropos-variable-button, apropos-misc-button): New faces.
8018 (apropos-symbol-face, apropos-keybinding-face)
8019 (apropos-label-face, apropos-property-face, apropos-match-face):
8020 Variables removed (Bug#8396).
8021 (apropos-library-button, apropos-format-plist, apropos-print)
8022 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8023
2df41f9c
MA
80242012-04-23 Michael Albinus <michael.albinus@gmx.de>
8025
8026 * net/xesam.el (xesam-mode-map): Use let-bound map in
8027 initialization. (Bug#11292)
8028
da00640a
AM
80292012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8030
8031 Preserve ispell session localwords when switching back to
8032 original buffer.
8033
090bd7cb
JB
8034 * textmodes/ispell.el (ispell-buffer-session-localwords):
8035 New buffer-local variable to hold buffer session localwords.
ed9265fc 8036 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8037 localwords.
8038 (ispell-command-loop, ispell-change-dictionary)
8039 (ispell-buffer-local-words): Preserve session localwords when
8040 needed.
8041
090bd7cb
JB
8042 * textmodes/flyspell.el (flyspell-process-localwords)
8043 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8044
f621ccf5
AM
80452012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8046
090bd7cb
JB
8047 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8048 using obsolete `translation-table-for-input'.
ef24141c
SM
8049 (ispell-word, ispell-process-line, ispell-complete-word):
8050 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8051
c2d1019e
CY
80522012-04-22 Chong Yidong <cyd@gnu.org>
8053
8054 * cus-edit.el (custom-variable-menu)
8055 (custom-variable-reset-saved, custom-face-menu)
8056 (custom-face-reset-saved): If there is no saved value, make the
8057 "reset-saved" operation bring back the default (Bug#9509).
8058 (custom-face-state): Properly detect themed faces.
8059
eeddc531
CY
8060 * faces.el (face-spec-set): Stop supporting deprecated form of
8061 third arg.
8062
dcbf5805
MA
80632012-04-22 Michael Albinus <michael.albinus@gmx.de>
8064
8065 Move functions from C to Lisp. Make non-blocking method calls
8066 the default. Implement further D-Bus standard interfaces.
8067
ef24141c
SM
8068 * net/dbus.el (dbus-message-internal): Declare function.
8069 Remove unneeded function declarations.
dcbf5805
MA
8070 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8071 (dbus-message-type-method-return, dbus-message-type-error)
8072 (dbus-message-type-signal): Declare variables. Remove local
8073 definitions.
8074 (dbus-interface-dbus, dbus-interface-peer)
8075 (dbus-interface-introspectable, dbus-interface-properties)
8076 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8077 Adapt docstring.
8078 (dbus-interface-objectmanager): New defconst.
8079 (dbus-call-method, dbus-call-method-asynchronously)
8080 (dbus-send-signal, dbus-method-return-internal)
8081 (dbus-method-error-internal, dbus-register-service)
8082 (dbus-register-signal, dbus-register-method): New defuns, moved
8083 from dbusbind.c
8084 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8085 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8086 New defuns.
dcbf5805
MA
8087 (dbus-call-method-non-blocking): Make it an obsolete function.
8088 (dbus-unregister-object, dbus-unregister-service)
8089 (dbus-handle-event, dbus-register-property)
8090 (dbus-property-handler): Obey the new structure of
8091 `bus-registered-objects'.
8092 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8093 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8094 Use `dbus-call-method'.
8095
cf20dee0
CY
80962012-04-22 Chong Yidong <cyd@gnu.org>
8097
8098 * cus-edit.el (custom-commands, custom-reset-menu)
8099 (Custom-reset-standard): Tweak labels.
8100 (custom-reset-button-menu): Change default to t.
8101 (custom-buffer-create-internal): For the custom-reset-button-menu
8102 case, put the revert button first.
8103 (custom-group-subtitle): New face.
8104 (custom-group-value-create): Align docstring to a specific column.
8105
8106 * wid-edit.el (widget-documentation-link-add): Don't handle
8107 indentation in this function.
8108 (widget-documentation-string-indent-to): New function.
8109 (widget-documentation-string-value-create): Use it.
8110
8111 * autorevert.el (auto-revert):
8112 * epg-config.el (epg):
8113 * ibuffer.el (ibuffer):
8114 * mpc.el (mpc):
8115 * ses.el (ses):
8116 * eshell/eshell.el (eshell):
8117 * net/ange-ftp.el (ange-ftp):
8118 * progmodes/ebnf2ps.el (postscript):
8119 * progmodes/flymake.el (flymake):
8120 * progmodes/prolog.el (prolog):
8121 * progmodes/verilog-mode.el (verilog-mode):
8122 * progmodes/which-func.el (which-func):
8123 * term/xterm.el (xterm):
8124 * textmodes/picture.el (picture):
8125 * textmodes/tildify.el (tildify):
8126 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8127 customization buffers.
8128
583e23bd
AM
81292012-04-22 Alan Mackenzie <acm@muc.de>
8130
8131 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8132 Adding a ) can hide the resulting (..) from searches. Fix it.
8133 Bound the backward search to the position of the existing (.
8134
7dd51bf1
JB
81352012-04-21 Juanma Barranquero <lekktu@gmail.com>
8136
8137 * progmodes/verilog-mode.el (verilog-mode): Check whether
8138 which-func-modes is t before adding verilog-mode.
8139 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8140
d64a438f
LL
81412012-04-21 Leo Liu <sdl.web@gmail.com>
8142
7dd51bf1 8143 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8144
081e8d65
MV
81452012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8146
8147 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8148 filling of the last column of a table (Bug#5635).
8149 (woman-find-next-control-line): New arg, specifying an additional
8150 regexp component for the control line.
8151 (woman2-roff-buffer): Use it.
8152 (woman-break-table): New function.
8153 (woman2-TS): Use it.
8154
81552012-04-21 Chong Yidong <cyd@gnu.org>
8156
8157 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8158 (woman-horizontal-escapes, woman-negative-vertical-space)
8159 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8160 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8161
ed571ccb
SM
81622012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * minibuffer.el (completion-file-name-table): Complete user names.
8165
39773899
LL
81662012-04-20 Leo Liu <sdl.web@gmail.com>
8167
8168 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8169 and pcase-let*.
8170
de6ff46d
CY
81712012-04-20 Chong Yidong <cyd@gnu.org>
8172
8173 * server.el (server-execute): Respect initial-buffer-choice if it
8174 is a string and there are no files to open (Bug#2825).
8175 (server-create-window-system-frame, server-create-tty-frame):
8176 Don't switch buffers here.
2d0e8e61
CY
8177 (server-process-filter): Only try to open a window system frame if
8178 compiled with graphical support (Bug#8314).
de6ff46d 8179
54071013
DN
81802012-04-20 Dan Nicolaescu <dann@gnu.org>
8181
8182 * battery.el (battery-echo-area-format): Display remaining time
8183 for sysfs backend too (Bug#11269).
8184 (battery-linux-sysfs): Fix conditional for the charge.
8185
f30d612a
CY
81862012-04-20 Chong Yidong <cyd@gnu.org>
8187
c07a4c0b 8188 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8189 (gdb-inferior-io--init-proc): New function.
8190 (gdb-init-1): Use it.
8191 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8192 responsible for allocating a new pty and hooking it to gdb when
8193 the old pty gets an EIO due to process exit.
8194 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8195 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8196 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8197
2116e93c
EZ
81982012-04-20 Eli Zaretskii <eliz@gnu.org>
8199
8200 * window.el (window-min-size, window-sizable, window-min-delta)
8201 (window-max-delta, window--resizable, window-resizable)
8202 (window-total-size, window-full-height-p, window-full-width-p)
8203 (window-in-direction, window--resize-mini-window, window-resize)
8204 (window--resize-child-windows-normal)
8205 (window--resize-child-windows, window--resize-siblings)
8206 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8207 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8208
c07a4c0b 82092012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8210
ef24141c
SM
8211 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8212 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8213 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8214 pty process (Bug#11273).
8215 (gdb-update): New arg to suppress talking to the gdb process.
8216 (gdb-done-or-error): Use it.
8217 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8218 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8219 sentinel not being called.
8220
8221 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8222
d02766ab
CY
8223 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8224
c07a4c0b 82252012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8226
8227 * net/network-stream.el (open-network-stream): Doc fix.
8228
c07a4c0b 82292012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8230
8231 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8232
c07a4c0b 82332012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8234
8235 Ensure searching for keywords is case sensitive.
8236
8237 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8238 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8239 (c-defun-name, c-mark-function, c-cpp-define-name)
8240 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8241 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8242
ef24141c
SM
8243 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8244 Bind case-fold-search to nil.
f0f6bc35 8245
c07a4c0b 82462012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8247
8248 * mail/sendmail.el (mail-bury): Call return action with the right
8249 Rmail buffer (Bug#11242).
8250
9a864fa2
CY
8251 * server.el (server-process-filter): Handle corner case where both
8252 tty and nowait options are present (Bug#11102).
8253
539aa513
EZ
82542012-04-20 Eli Zaretskii <eliz@gnu.org>
8255
8256 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8257 (top level): Put into the executable the ident-style '$Id:' tag on
8258 windows-nt as well.
539aa513 8259
cfc7d5da
SM
82602012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * electric.el (electric-indent-post-self-insert-function): Check that
8263 electric-indent-mode is enabled in current buffer.
8264
5b01685c
JB
82652012-04-19 Juanma Barranquero <lekktu@gmail.com>
8266
8267 * imenu.el (imenu-progress-message): Restore; it is "used" in
8268 erc/erc-imenu.el and net/snmp-mode.el.
8269
4d6769e1
JB
82702012-04-19 Juanma Barranquero <lekktu@gmail.com>
8271
8272 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8273 (mouse-avoidance-nudge-mouse): Remove unused binding.
8274
8275 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8276
8277 * descr-text.el (describe-char):
8278 * progmodes/python.el (python-describe-symbol):
8279 Don't call `toggle-read-only', set `buffer-read-only'.
8280
8281 * imenu.el (imenu-default-goto-function): Mark unused args.
8282 (imenu-progress-message): Remove obsolete macro; all callers changed.
8283
8284 * subr.el (keymap-canonicalize): Remove unused binding.
8285 (read-passwd): Mark unused arg.
8286
8287 * tutorial.el (tutorial--display-changes): Remove unused binding.
8288 (tutorial--save-tutorial-to): Remove unused variable.
8289
8290 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8291 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8292 (package-generate-autoloads, package-menu--generate)
8293 (package-menu--find-upgrades): Remove unused bindings.
8294
8295 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8296 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8297 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8298 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8299 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8300 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8301 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8302 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8303 (cua-delete-char-rectangle): Mark unused args.
8304 (cua-align-rectangle): Remove unused binding.
8305
8306 * mail/rmail.el (compilation--message->loc)
8307 (epa--find-coding-system-for-mime-charset): Declare.
8308
8309 * net/dbus.el (dbus-register-service): Declare.
8310 (dbus-name-owner-changed-handler): Remove unused binding.
8311
8312 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8313 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8314 (nxml-scan-backward-within): Mark unused arg.
8315 (nxml-dynamic-markup-word): Remove unused binding.
8316
8317 * mouse.el (mouse-menu-major-mode-map):
8318 * emacs-lisp/authors.el (authors-scan-change-log)
8319 (authors-add-to-author-list):
8320 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8321 * emacs-lisp/smie.el (smie-auto-fill):
8322 * mail/sendmail.el (mail-bury):
8323 * mail/unrmail.el (unrmail):
8324 * net/tls.el (open-tls-stream):
8325 * textmodes/picture.el (picture-mouse-set-point):
8326 Remove unused bindings.
8327
8c8fc5df
MA
83282012-04-19 Michael Albinus <michael.albinus@gmx.de>
8329
8330 * net/tramp.el (tramp-action-password): Let-bind
8331 `enable-recursive-minibuffers' to t.
8332
a77b0ac9
SS
83332012-04-18 Sam Steingold <sds@gnu.org>
8334
8335 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8336 instead of 'string to accommodate values like [f11].
8337 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8338 * progmodes/gdb-mi.el: Likewise.
8339
12a106a9
LL
83402012-04-18 Leo Liu <sdl.web@gmail.com>
8341
8342 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8343 current buffer.
8344 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8345 LOCAL is nil.
8346
bc6494ef
CY
83472012-04-18 Chong Yidong <cyd@gnu.org>
8348
8349 * simple.el (line-move): Use forward-line if in batch mode
8350 (Bug#11053).
8351
c09c46b2
CS
83522012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8353
8354 * files.el (after-find-file): Do not try to add a final newline if
8355 the buffer is read-only (Bug#11156).
8356
5f6530ea
RS
83572012-04-17 Richard Stallman <rms@gnu.org>
8358
8359 * mail/rmail.el (rmail-start-mail):
8360 Pass (rmail-mail-return...) for the return-action.
8361 Pass (rmail-yank-current-message...) for the yank-action.
8362 (rmail-yank-current-message): New function.
8363 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8364 (rmail-reply): Likewise.
8365 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8366
8367 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8368 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8369 buffer, not newbuf.
8370
197b6f3c
JB
83712012-04-17 Juanma Barranquero <lekktu@gmail.com>
8372
8373 * server.el (server-ensure-safe-dir): Simplify.
8374
2311d8e5 83752012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8376
2311d8e5
GM
8377 * emacs-lisp/smie.el: Provide smarter auto-filling.
8378 (smie-auto-fill): New function.
8379 (smie-setup): Use it.
98fb480e 8380
2311d8e5
GM
8381 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8382
83832012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8384
8385 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8386 (comment-indent): Use it.
8387
2311d8e5 83882012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8389
8390 * ses.el: The overall change is to add cell renaming, that is
8391 setting fancy names for cell symbols other than name matching
8392 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8393 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8394 (ses-create-cell-variable): New defun.
2311d8e5 8395 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8396 (ses-relocate-formula): Relocate formulas only for cells the
8397 symbols of which are not renamed, i.e. symbols whose names do not
8398 match regexp "\\`[A-Z]+[0-9]+\\'".
8399 (ses-relocate-all): Relocate values only for cells the symbols of
8400 which are not renamed.
8401 (ses-load): Create cells variables as the (ses-cell ...) are read,
8402 in order to check row col consistency with cell symbol name only
8403 for cells that are not renamed.
8404 (ses-replace-name-in-formula): New defun.
8405 (ses-rename-cell): New defun.
4bdf2ad2 8406
fc72b15c
PO
84072012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8408
8409 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8410 New option (bug#11118).
8411 (perl-calculate-indent): Respect it.
8412
12e10e61
GM
84132012-04-17 Glenn Morris <rgm@gnu.org>
8414
8415 * dired-aux.el (dired-mark-read-string): Doc fix.
8416
30009afd
DA
84172012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8418
8419 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8420 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8421
41f03f4d
GM
84222012-04-17 Glenn Morris <rgm@gnu.org>
8423
8424 * mouse.el (mouse-drag-track):
8425 * speedbar.el (speedbar-frame-mode):
8426 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8427
f45f90f3
LL
84282012-04-16 Leo Liu <sdl.web@gmail.com>
8429
8430 * progmodes/python.el: Trivial cleanup.
8431
94ee8db5
GM
84322012-04-16 Glenn Morris <rgm@gnu.org>
8433
121b8917
GM
8434 * vc/vc.el (vc-string-prefix-p):
8435 * vc/pcvs-util.el (cvs-string-prefix-p):
8436 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8437 * mpc.el (mpc-string-prefix-p):
8438 Make all of these into obsolete aliases for string-prefix-p.
8439 Update callers.
8440 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8441
1197ecfa
GM
8442 * textmodes/two-column.el: Move custom options to the start.
8443 (frame-width): Remove compat definition.
8444 (2C-associate-buffer, 2C-dissociate):
8445 Use with-current-buffer rather than save-excursion.
8446 (2C-dissociate): Force a mode-line update.
8447 (2C-autoscroll): Use ignore-errors.
8448
099e7202
GM
8449 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8450 Autoload trivia.
8451
bf350d6a
GM
8452 * emacs-lisp/cl-extra.el (*random-state*):
8453 Remove unnecessary declaration.
8454
0e829eab
GM
8455 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8456
e3ad7552
GM
8457 * play/cookie1.el (cookie-snarf):
8458 Give an explicit error if input file cannot be read.
8459
68892d27
GM
8460 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8461
20f0c46d
GM
8462 * progmodes/perl-mode.el (c-macro-expand):
8463 Remove unnecessary autoload (it is in loaddefs.el).
8464
5a0978ce
GM
8465 * textmodes/picture.el (picture-desired-column)
8466 (picture-update-desired-column): Convert comments to doc-strings.
8467 (picture-substitute): Remove function.
8468 (picture-mode-map): Initialize in the defvar.
8469
6b955486
GM
8470 * woman.el: Remove eval-after-load for tar-mode.
8471 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8472 (woman-tar-extract-file): Autoload it.
8473
94ee8db5
GM
8474 * frame.el (automatic-hscrolling): Make this alias obsolete.
8475
177eca34
AM
84762012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8477
090bd7cb 8478 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8479 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8480 (ispell-dictionary-base-alist): Revert to original XEmacs
8481 friendly version for default. [:alpha:] will be added in
090bd7cb 8482 `ispell-set-spellchecker-params' if needed.
177eca34 8483
c505aaeb
CY
84842012-04-16 Chong Yidong <cyd@gnu.org>
8485
b19dd9d1 8486 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8487 (imagemagick-register-types): Use it.
8488 (imagemagick-types-inhibit): Add :set function. Allow new value
8489 of t to inhibit all types.
8490
8491 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8492 so we can preload it.
8493
8494 * loadup.el (fboundp): Preload regexp-opt, needed by
8495 imagemagick-register-types.
8496
60efac0f
CY
84972012-04-15 Chong Yidong <cyd@gnu.org>
8498
8499 * frame.el (scrolling): Remove nearly unused customization group.
8500
8501 * scroll-all.el (scroll-all-mode): Move to windows group.
8502
5dd1713e
CY
85032012-04-15 Chong Yidong <cyd@gnu.org>
8504
8505 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8506
e6fd457e
CY
85072012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8510 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8511
e153c136
GM
85122012-04-15 Glenn Morris <rgm@gnu.org>
8513
8514 * simple.el (process-file-side-effects): Doc fix.
8515
e6fd457e 85162012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8517
8518 * international/mule-cmds.el (set-language-environment): Doc fix.
8519
3603c3b1
JB
85202012-04-14 Juanma Barranquero <lekktu@gmail.com>
8521
8522 * server.el (server-auth-key, server-generate-key): Doc fixes.
8523 (server-get-auth-key): Doc fix. Use `string-match-p'.
8524 (server-start): Reflow docstring.
8525
e6de100c
LI
85262012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8527
8528 * server.el (server-generate-key): `called-interactively-p'
8529 requires a parameter.
8530
29734c21
MN
85312012-04-14 Michal Nazarewicz <mina86@mina86.com>
8532
8533 * server.el (server-auth-key): New variable.
75f1671a 8534 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8535 (server-start): Use the new variable and functions to allow
8536 setting a permanent server key (bug#9423).
8537
d65c9521
LL
85382012-04-14 Leo Liu <sdl.web@gmail.com>
8539
8540 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8541
5ae255c7
PE
85422012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8543
8544 Spelling fixes.
8545 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8546 Emacs uses American spelling.
8547
d5e6342e
JB
85482012-04-14 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8551 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8552 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8553 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8554
ab036cd7
SM
85552012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 * progmodes/which-func.el (which-func-modes): Change default.
8558
35dc09a1 85592012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8560
8561 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8562 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8563
35dc09a1 85642012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8565
8566 * custom.el (custom-theme-set-variables): Doc fix.
8567
35dc09a1 85682012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8569
8570 * international/mule.el (set-auto-coding-for-load): Doc fix.
8571
35dc09a1 85722012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8573
35dc09a1
GM
8574 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8575 imenu work again for Objective C Mode. Correct the *-index values,
8576 these having been disturbed by a previous change in 2011-08.
57f845ee 8577
0de3da9f
AM
8578 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8579 Correct two search limits.
8580
35dc09a1 85812012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8582
8583 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8584
35dc09a1 85852012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8586
8587 * international/characters.el: Fix sorting.
8588
35dc09a1 85892012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8590
8591 * international/characters.el: Add more missing Latin case pairs.
8592
35dc09a1 85932012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8594
8595 * files.el (dir-locals-set-class-variables): Doc fix.
8596
35dc09a1 85972012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8598
3f1b5bf8
EZ
8599 * international/characters.el: Add set-case-syntax-pair call for
8600 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8601 counterpart. (Bug#11209)
8602
9f847f41
EZ
8603 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8604
35dc09a1 86052012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8606
8607 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8608
35dc09a1 86092012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8610
35dc09a1
GM
8611 * textmodes/ispell.el (ispell-dictionary-base-alist):
8612 Add data for Hebrew.
e2627d21 8613
35dc09a1 86142012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8615
35dc09a1
GM
8616 * net/rcirc.el (rcirc-cmd-quit):
8617 Revert 2012-03-18 change (Bug#11192).
5c14e333 8618
35dc09a1 86192012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8620
8621 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8622
35dc09a1 86232012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8624
4517fe3a
SM
8625 * minibuffer.el (completion-in-region-mode-map):
8626 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8627
b472a594
VD
86282012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8629
8630 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8631
09b95ce3
MY
86322012-04-13 Masatake YAMATO <yamato@redhat.com>
8633
8634 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8635 to allow `C-M-f' and `C-M-b' to move to the nearest path
8636 separator (bug#9511).
8637
4b63a9ca
LI
86382012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8639
8640 * avoid.el: Require cl when compiling. And also move the
8641 `provide' to the end.
8642
7b55b8bf
TV
86432012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8644
8645 * avoid.el (mouse-avoidance-banish-position): New variable.
8646 (mouse-avoidance-banish-destination): Use it (bug#10165).
8647
adedaa1f
LL
86482012-04-13 Leo Liu <sdl.web@gmail.com>
8649
8650 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8651
70e74021
KB
86522012-04-13 Ken Brown <kbrown@cornell.edu>
8653
8654 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8655 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8656 (browse-url-filename-alist): For the same reason, don't modify
8657 file:// URLs on Cygwin.
8658
e75e89ba
SM
86592012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8662 the region on shift if the binding is already shifted (bug#11221).
8663
82f289a4
GM
86642012-04-12 Glenn Morris <rgm@gnu.org>
8665
8666 * mail/mailpost.el: Move to obsolete/.
8667
d333dc4c
DA
86682012-04-12 Drew Adams <drew.adams@oracle.com>
8669
8670 * imenu.el (imenu--generic-function): Ignore invisible definitions
8671 (bug#10123).
8672
0d15b5ba
VD
86732012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8674
8675 * hexl.el (hexl-bits): New variable.
8676 (hexl-options): Mention the variable in the doc string.
75f1671a 8677 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8678 (hexl-mode): Mention the new variable.
75f1671a
JB
8679 (hexl-mode, hexl-current-address, hexl-current-address):
8680 Use the displen.
0d15b5ba
VD
8681 (hexl-ascii-start-column): New function.
8682 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8683 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8684
64a440db
AM
86852012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8686
8687 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8688 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8689 the encoding, as expected by hunspell.
8690
6decb6c2
SM
86912012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * battery.el (battery--linux-sysfs-regexp): New const.
8694 (battery-status-function): Use it. Remove yeeloong special case.
8695 (battery-yeeloong-sysfs): Remove.
8696 (battery-echo-area-format): Remove yeeloong special case.
8697
088be6fb
SM
86982012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8699
6622e416
SM
8700 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8701 Reported by Noah Friedman.
8702
088be6fb
SM
8703 * subr.el (read-passwd): Use read-string.
8704
b49f886e
LMI
87052012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8706
8707 * vcursor.el (vcursor-move): Increase the priority of the overlay
8708 (bug#9663).
8709
a63067fc
DD
87102012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8711
8712 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8713 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8714
ac3cf14a
WS
87152012-04-11 William Stevenson <yhvh2000@gmail.com>
8716
8717 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8718 define-minor-mode (bug#10760).
8719
c4fc691b 87202012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8721
4d6769e1 8722 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8723 that directories matching `grep-find-ignored-files' won't be
8724 pruned (bug#10351).
8725
af23e2e5
CY
87262012-04-11 Chong Yidong <cyd@gnu.org>
8727
8728 * startup.el (command-line): Remove support for long-obsolete
8729 variable font-lock-face-attributes.
8730
ab7ce8c1
GM
87312012-04-11 Glenn Morris <rgm@gnu.org>
8732
8733 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8734
de8c03dc
SM
87352012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * window.el (window--state-get-1): Obey window-point-insertion-type.
8738
050cc68b
LB
87392012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8740
8741 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8742 to previous function when point is on the first character of a
75f1671a 8743 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8744
a38c310c
GM
87452012-04-11 Glenn Morris <rgm@gnu.org>
8746
effed0c2
GM
8747 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8748 not just file-errors.
8749
a38c310c
GM
8750 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8751 (vc-bzr-sha1): Use internal sha1.
8752
0221e323
SM
87532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8756
43956923
SG
87572012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8758
8759 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8760 that start in the middle of the line (bug#10496).
8761
6a8c9eaf
DN
87622012-04-10 Dan Nicolaescu <dann@gnu.org>
8763
8764 * battery.el (battery-linux-proc-acpi): Only one battery is
8765 discharged at a time, but that seems to confuse battery.el when
8766 computing `rate-type' for the battery not being discharged
8767 (bug#10332).
8768
1930bf5d
SM
87692012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8770
2a718f6f
SM
8771 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8772
599430d0
SM
8773 * international/quail.el: Use dolist and simplify.
8774 (quail-define-package, quail-update-keyboard-layout)
8775 (quail-define-rules): Use dolist.
8776 (quail-insert-kbd-layout, quail-get-translation): CSE.
8777
a2754b6c
SM
8778 * tmm.el: Use dolist, remove left over hook.
8779 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8780 Use dolist.
8781 (calendar-load-hook): Don't mess with it.
8782
1930bf5d
SM
8783 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8784 Use derived-mode-p. Run the diff asynchronously.
8785
9f67961c
LMI
87862012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8787
8788 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8789
2a8ce227
JB
87902012-04-10 Juanma Barranquero <lekktu@gmail.com>
8791
8792 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8793 (list-dynamic-libraries--loaded): New function.
8794 (list-dynamic-libraries--refresh): Use it.
8795
8f33b5f8
NW
87962012-04-10 Nathan Weizenbaum <nweiz@google.com>
8797
1930bf5d
SM
8798 * progmodes/python.el (python-fill-paragraph):
8799 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8800 disabled (bug#7018).
8801
b12f0439
L
88022012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8803
1930bf5d 8804 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8805 DOS/MS Windows for the Baltic languages. There are still plenty
8806 of texts written in this encoding/codepage (bug#6519).
b12f0439 8807
57c3bd01
GM
88082012-04-10 Glenn Morris <rgm@gnu.org>
8809
8810 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8811 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8812
6c3eab30
FA
88132012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8814
1930bf5d 8815 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8816 next-line "n" and previous-line "p" in order to make recentf more
8817 consistent with ibuffer, dired or org-mode (bug#9387).
8818
24d78a88
LMI
88192012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8820
bc72b5d9
LMI
8821 * image.el (put-image): Return the overlay created instead of the
8822 optional input string (bug#7834). Note that this may break code
8823 that is (for some reason or other) depending on `put-image'
8824 returning the string.
8825
bd2dba5a
LMI
8826 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8827
74beb59f
LMI
8828 * simple.el (zap-to-char): Allow zapping using input methods
8829 (bug#1580).
8830
24d78a88
LMI
8831 * textmodes/fill.el (fill-region): Leave point and mark where they
8832 were before filling (bug#5399).
8833
263f20cd
GM
88342012-04-09 Glenn Morris <rgm@gnu.org>
8835
8836 * version.el (emacs-bzr-get-version):
8837 Handle lightweight checkouts of local branches.
8838
58d1f797
AS
88392012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8840
263f20cd 8841 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8842
b4d3bc10
CY
88432012-04-09 Chong Yidong <cyd@gnu.org>
8844
8845 * custom.el (custom-variable-p): Return nil for non-symbol
8846 arguments instead of signaling an error.
8847 (user-variable-p): Obsolete alias for custom-variable-p.
8848
8849 * apropos.el (apropos-variable):
8850 * files-x.el (read-file-local-variable):
8851 * simple.el (set-variable):
8852 * woman.el (woman-mini-help):
8853 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8854
fd06db5d
GM
88552012-04-09 Glenn Morris <rgm@gnu.org>
8856
e5fcdb5e
GM
8857 * startup.el (normal-top-level): Don't look for leim-list.el
8858 in places where it will not be found. (Bug#910)
8859
fd06db5d
GM
8860 * international/mule-cmds.el (set-default-coding-systems):
8861 * files.el (normal-mode):
8862 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8863 This function was removed with ucs-tables.el in 2008.
8864
b39bb7e1
EZ
88652012-04-08 Eli Zaretskii <eliz@gnu.org>
8866
8867 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8868 ispell-encoding8-command to "-i", without a trailing space.
8869 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8870 separate command-line arguments, to specify the encoding, since
8871 that's how hunspell expects it.
8872
5c5b8e23
GM
88732012-04-08 Glenn Morris <rgm@gnu.org>
8874
8875 * loadup.el: Load bindings before cus-start.
8876 This reduces somewhat the number of "rogue" settings in emacs -Q.
8877
a1ed8b05
GM
88782012-04-07 Glenn Morris <rgm@gnu.org>
8879
8880 * version.el (emacs-bzr-get-version): New function.
dfae128a 8881 (emacs-bzr-version): New variable.
a1ed8b05
GM
8882 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8883 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8884
b142f158
EZ
88852012-04-07 Eli Zaretskii <eliz@gnu.org>
8886
dfae128a
GM
8887 * international/uni-bidi.el, international/uni-category.el:
8888 * international/uni-combining.el, international/uni-decimal.el:
8889 * international/uni-decomposition.el, international/uni-digit.el:
8890 * international/uni-lowercase.el, international/uni-mirrored.el:
8891 * international/uni-name.el, international/uni-numeric.el:
8892 * international/uni-titlecase.el, international/uni-uppercase.el:
8893 Update for Unicode 6.1.
b142f158 8894
9078ead6
EZ
88952012-04-07 Eli Zaretskii <eliz@gnu.org>
8896
8897 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8898
f23d2c7d
LMI
88992012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8900
8901 * window.el (shrink-window): Mention the `window-min-height'
8902 variable in the doc string.
8903
0a0a3573
BG
89042012-04-05 Bastien Guerry <bzg@altern.org>
8905
8906 * color.el (color-lighten-name): Fix typo.
8907
e5248ac9
SM
89082012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * server.el (server--on-display-p): New function.
8911 (server--on-display-p): Use it.
8912
b4243e22
GV
89132012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8914
8915 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8916 (bug#11145).
8917
305d9f44
SM
89182012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8919
8920 * comint.el (comint--common-quoted-suffix): Check string boundary
8921 before comparing (bug#11158).
8922 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8923
3d439cd1
CY
89242012-04-04 Chong Yidong <cyd@gnu.org>
8925
321cc491
CY
8926 * minibuffer.el (completion-extra-properties): Doc fix.
8927
3d439cd1
CY
8928 * subr.el (delayed-warnings-hook): Doc fix.
8929
2d562c0f
DU
89302012-04-04 Daiki Ueno <ueno@unixuser.org>
8931
8932 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8933 selection (Bug#11159).
8934 (epa-insert-keys): Inform that the default public key will be
8935 exported if no key is selected.
8936
4443f204
RS
89372012-04-04 Richard Stallman <rms@gnu.org>
8938
8939 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8940
529c06b6
CY
89412012-04-03 Chong Yidong <cyd@gnu.org>
8942
8943 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8944 mail-insert-file, not its obsolete alias mail-attach-file.
8945
66b907dc
MA
89462012-04-03 Michael Albinus <michael.albinus@gmx.de>
8947
8948 * notifications.el (notifications-notify): Fix docstring.
8949
c0ea195d
GM
89502012-04-02 Glenn Morris <rgm@gnu.org>
8951
8952 * emacs-lisp/authors.el (authors-aliases): Another addition.
8953
5ca64e00
MA
89542012-04-02 Michael Albinus <michael.albinus@gmx.de>
8955
8956 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8957 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8958 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8959
42ee526b
CY
89602012-04-01 Chong Yidong <cyd@gnu.org>
8961
8962 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8963 Handle root directory properly.
8964 (copy-directory): Caller changed.
8965
8966 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8967 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8968
0b021094
GM
89692012-03-31 Glenn Morris <rgm@gnu.org>
8970
40f86458
GM
8971 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8972
7019c177
GM
8973 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8974
a1daddd6
GM
8975 * calendar/calendar.el (calendar-window-list)
8976 (calendar-hide-window): Restore. (Bug#11140)
8977 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8978
0b021094
GM
8979 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8980
40311efc
TV
89812012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8982
8983 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8984 Check if file is a symlink (Bug#10489).
8985
8986 * files.el (copy-directory): Likewise.
8987
5319014e
CY
89882012-03-30 Chong Yidong <cyd@gnu.org>
8989
8990 * image.el (imagemagick-types-inhibit)
8991 (imagemagick-register-types): Doc fix.
8992
935d1290
AM
89932012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8994
090bd7cb 8995 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8996 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8997 and treats ~word as ordinary words in pipe mode.
935d1290 8998
61c6e8fd
GM
89992012-03-30 Glenn Morris <rgm@gnu.org>
9000
9001 * tutorial.el (help-with-tutorial): Ensure local variables don't
9002 happen to make the buffer read-only. (Bug#11127)
9003
81fdff00
SM
90042012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9007 (perl-calculate-indent): Return `noindent' in strings.
9008
6e7a6ec0
SS
90092012-03-28 Sam Steingold <sds@gnu.org>
9010
9011 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9012 instead of the broken adhockery which does not prevent calendar
9013 buffers from being displayed at random after exit.
9014 (calendar-window-list, calendar-hide-window): Remove the broken
9015 adhockery.
9016
fee88ca0
GM
90172012-03-28 Glenn Morris <rgm@gnu.org>
9018
9019 * replace.el (query-replace-map): Doc fix.
9020
38de3354
AS
90212012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9022
9023 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9024 contents. (Bug#11109)
9025
b973155e
SM
90262012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9027
9028 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9029 (bug#11077).
9030 (avl-tree--check, avl-tree--check-node): New funs.
9031
dcb6e7b3
MR
90322012-03-27 Martin Rudalics <rudalics@gmx.at>
9033
9034 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9035 (switch-to-prev-buffer, switch-to-next-buffer):
9036 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9037 showing a buffer already is done on the same frame.
9038
b4fa35fa
GM
90392012-03-27 Glenn Morris <rgm@gnu.org>
9040
9041 * startup.el (mail-host-address): Doc fix.
9042
f9210e18
SM
90432012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9046 than 197 variables.
9047
c0bf7753
AF
90482012-03-26 Ami Fischman <ami@fischman.org>
9049
9050 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9051
33da7b16
GM
90522012-03-26 Glenn Morris <rgm@gnu.org>
9053
02243d9d
GM
9054 * files.el (save-buffers-kill-emacs): Doc fix.
9055
33da7b16
GM
9056 * startup.el (normal-top-level, command-line, command-line-1):
9057 Give them doc strings.
9058
e5a69fd0
EZ
90592012-03-25 Eli Zaretskii <eliz@gnu.org>
9060
9061 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9062 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9063
9a69676a
CY
90642012-03-25 Chong Yidong <cyd@gnu.org>
9065
4125cb8b
CY
9066 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9067 theme if it was previously enabled before (Bug#11031).
9068
dd470960
CY
9069 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9070 spec with custom-face-get-current-spec if its :shown-value is not
9071 determined yet (Bug#9337).
4125cb8b 9072 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9073
9a69676a
CY
9074 * button.el (button-at): Minor addition to docstring.
9075
6e7e90fa
SL
90762012-03-24 Simon Leinen <simon.leinen@gmail.com>
9077
9078 * vc/vc.el (vc-merge): Fix a prompt.
9079
f06e2758
CY
90802012-03-24 Chong Yidong <cyd@gnu.org>
9081
9082 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9083 point (Bug#9623).
9084
6e7e90fa
SL
9085 * button.el (button-at): Minor addition to docstring.
9086
b9d0879b
SM
90872012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * newcomment.el (comment-choose-indent): No space after BOL.
9090
e71cebb3
SS
90912012-03-22 Sam Steingold <sds@gnu.org>
9092
9093 * window.el (switch-to-prev-buffer): Revert last patch because the
9094 bug turned out to be an advertised feature (Elisp manual 28.14).
9095
335aff35
GM
90962012-03-22 Glenn Morris <rgm@gnu.org>
9097
9098 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9099 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9100
c676576a
LMI
91012012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9102
9103 * net/network-stream.el (network-stream-open-starttls): Make error
9104 message under Windows be less misleading.
9105
126f3d39
LW
91062012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9107
9108 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9109 understands (bug#9942).
9110
64fee311
CY
91112012-03-22 Chong Yidong <cyd@gnu.org>
9112
9113 * simple.el (end-of-visible-line): Handle return value of
9114 next-single-property-change properly (Bug#9371).
9115
a640d29a
KH
91162012-03-22 Kenichi Handa <handa@m17n.org>
9117
9118 * international/quail.el (quail-insert-kbd-layout): Fix previous
9119 change. To avoid unwanted bidi reordering, use
9120 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9121
39675016
DG
91222012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9123
9124 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9125 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9126 (ruby-beginning-of-indent): Be more careful with the difference
9127 between word-boundary and symbol boundary.
9128 (ruby-mode-syntax-table): Make : a symbol constituent.
9129
0a6934fc 91302012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9131
3d008e4f
SM
9132 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9133
0a6934fc
SM
91342012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9135
af67c9d7
SM
9136 * progmodes/etags.el (tags-completion-at-point-function):
9137 Improve last fix.
9138
1acad97c
SM
9139 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9140
e298b5da
SS
91412012-03-21 Sam Steingold <sds@gnu.org>
9142
9143 * progmodes/etags.el (tags-completion-at-point-function):
9144 Avoid the error when point is inside the pattern.
9145
91d82a70
JY
91462012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9147
9148 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9149 line (Bug#10855).
9150
69188b79
CY
91512012-03-21 Drew Adams <drew.adams@oracle.com>
9152
9153 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9154
99fc91fe
AK
91552012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9156
9157 * ido.el (ido-set-current-directory, ido-read-internal)
9158 (ido-choose-completion-string, ido-completion-help): Handle nil
9159 value of ido-completion-buffer (Bug#11008).
9160
087bbb4c
SS
91612012-03-21 Sam Steingold <sds@gnu.org>
9162
9163 * window.el (switch-to-prev-buffer): Do not switch to a visible
9164 window previous buffer, just like with the frame previous buffers.
9165
fb5b8aca
CY
91662012-03-21 Chong Yidong <cyd@gnu.org>
9167
9168 * faces.el (make-face, make-empty-face, copy-face):
9169 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9170 Doc fixes.
9171
dc9924b8
SM
91722012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9175 (widget-complete): Remove broken use of it.
9176
f0bcceb9
CY
91772012-03-20 Chong Yidong <cyd@gnu.org>
9178
dc9924b8
SM
9179 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9180 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9181 characters.
9182
ee52ebf3
TH
91832012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9184
9185 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9186 to draw rectangles, not squares. (Regression introduced by revno
9187 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9188
4c5779ab
CY
91892012-03-18 Chong Yidong <cyd@gnu.org>
9190
9191 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9192 it is not yet defined (for temacs).
9193
15360934
LL
91942012-03-18 Leo Liu <sdl.web@gmail.com>
9195
735135f9
PE
9196 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9197 prefix.
15360934 9198
d9a8eb66
EZ
91992012-03-17 Eli Zaretskii <eliz@gnu.org>
9200
9201 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9202 (ispell-choices-win-default-height, ispell-silently-savep)
9203 (ispell-dictionary-alist, ispell-encoding8-command)
9204 (ispell-check-version, ispell-aspell-find-dictionary)
9205 (ispell-valid-dictionary-list, ispell-words-keyword)
9206 (ispell-get-word, ispell-internal-change-dictionary)
9207 (ispell-region, ispell-skip-region-list)
9208 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9209 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9210 (ispell-message-text-end, ispell-message)
9211 (ispell-buffer-local-parsing): Doc fix.
9212
f02ff80d
J
92132012-03-13 Jambunathan K <kjambunathan@gmail.com>
9214
9215 * htmlfontify.el: Add support for code block fontification for ODT
9216 export (Bug #9914).
9217 (hfy-optimisations): Define new option
9218 `body-text-only'
9219 (hfy-fontify-buffer): Honor above setting.
9220 (hfy-begin-span, hfy-end-span): New routines factored out form
9221 `hfy-fontify-buffer'.
9222 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9223 that permit insertion of custom tags.
9224 (hfy-fontify-buffer): Use above handlers.
9225 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9226 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9227 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9228 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9229 bind a special variable `hfy-user-sheet-assoc'.
9230 (htmlfontify-string): New defun.
9231 (hfy-compile-face-map): Make sure that the last char in the
9232 buffer is correctly fontified.
9233 (hfy-face-resolve-face): Whitespace only change.
9234
9ac7a13f
EZ
92352012-03-17 Eli Zaretskii <eliz@gnu.org>
9236
9237 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9238 message more clear.
9239
e2b5bdd7
LL
92402012-03-16 Leo Liu <sdl.web@gmail.com>
9241
9242 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9243
2e492df3
AM
92442012-03-16 Alan Mackenzie <acm@muc.de>
9245
9246 Further optimise the handling of large macros.
9247
9248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9249 limit to a call of `c-literal-limits'.
9250 (c-determine-+ve-limit): New function.
dc9924b8
SM
9251 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9252 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9253 In CASE 5B, restrict a search limit to 500.
9254 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9255
9256 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9257 Restrict macro bounds to +-500 from after-change's BEG END.
9258
50e94f0c
LL
92592012-03-16 Leo Liu <sdl.web@gmail.com>
9260
9261 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9262
6f09f6ed
AH
92632012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9264
9265 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9266 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9267
c7e73d51
GM
92682012-03-16 Glenn Morris <rgm@gnu.org>
9269
da986230
GM
9270 * view.el (view-buffer, view-buffer-other-window)
9271 (view-buffer-other-frame): Doc fixes re special mode-class.
9272
0835f01e
GM
9273 * subr.el (eval-after-load): If named feature is provided not from
9274 a file, run after-load forms. (Bug#10946)
9275
c7e73d51
GM
9276 * calendar/calendar.el (calendar-insert-at-column):
9277 Handle non-unit-width characters a bit better. (Bug#10978)
9278
3f2eafd1
CY
92792012-03-15 Chong Yidong <cyd@gnu.org>
9280
9281 * emacs-lisp/ring.el (ring-extend): New function.
9282 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9283
9284 * comint.el (comint-read-input-ring)
9285 (comint-add-to-input-history): Grow comint-input-ring lazily.
9286
103af3fe
SM
92872012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9288
663b1677
SM
9289 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9290 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9291
103af3fe
SM
9292 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9293 (imenu-add-to-menubar): Don't add a redundant index.
9294 (imenu-update-menubar): Handle a dynamically composed keymap.
9295
899cb7cb
KY
92962012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9297
9298 * mail/sendmail.el (mail-encode-header):
9299 Bind rfc2047-encode-encoded-words to nil.
9300
3809f91d
GM
93012012-03-13 Glenn Morris <rgm@gnu.org>
9302
9303 * calendar/calendar.el (calendar-string-spread):
9304 Handle non-unit-width characters a bit better. (Bug#10978)
9305
9e345a01
LL
93062012-03-13 Leo Liu <sdl.web@gmail.com>
9307
9308 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9309 directory and file as argument (Bug#10822).
9310
4a07df36
KS
93112012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9312
9313 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9314 For dynamically generated code, follow $PC.
9315 (gdb-disassembly-handler-custom): Handle no function name case.
9316
4aaa9356
TL
93172012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9318
9319 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9320 * emulation/ws-mode.el (ws-query-replace):
9321 * sort.el (sort-regexp-fields):
9322 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9323
225979da
SM
93242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9325
9326 * dabbrev.el: Fix cycle completion order (bug#10963).
9327 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9328 (dabbrev-completion): Don't use an obarray; provide
9329 a cycle-sort-function.
9330
e2f1fdab
LL
93312012-03-12 Leo Liu <sdl.web@gmail.com>
9332
dc9924b8 9333 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9334 (kill-do-not-save-duplicates): Doc fix.
9335
b19490ed
SM
93362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9337
9338 * dabbrev.el: Fix cycle completion (bug#10963).
9339 Use lexical binding and wrap to 80 columns.
9340 (dabbrev-completion): Delay computing the list of completions.
9341
4b05d722
KH
93422012-03-12 Kenichi Handa <handa@m17n.org>
9343
9344 * international/quail.el (quail-insert-kbd-layout): Surround each
9345 row by LRO and PDF instead of inserting many LRMs. Pad the left
9346 and right of each non-spacing marks. Insert invisible space
9347 between lower and upper characters to prevent composition.
9348
dbbc2e69
SM
93492012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * minibuffer.el (minibuffer-complete): Don't get confused when the
9352 function is run twice via different commands (bug#10958).
9353 (complete-with-action): Fix docstring.
9354
292112ed
CY
93552012-03-12 Chong Yidong <cyd@gnu.org>
9356
5d1ac394
CY
9357 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9358 (nxml-completion-at-point-function): New function.
9359 (nxml-mode): Use it.
9360 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9361
292112ed
CY
9362 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9363 Load generated autoloads file before byte compiling (Bug#10970).
9364 (package--make-autoloads-and-compile): New helper fun.
9365
4098f8f7
CS
93662012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9367
9368 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9369
8f754691
MA
93702012-03-11 Michael Albinus <michael.albinus@gmx.de>
9371
9372 * autorevert.el (auto-revert-handler): Ensure, that
9373 file-readable-p is applied only for local files or in
9374 auto-revert-tail-mode.
9375
e29ab36b
AS
93762012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9377
dbbc2e69
SM
9378 * server.el (server-eval-at): Handle non-tcp connections.
9379 Decode result string.
ad0bf5b6 9380
e29ab36b
AS
9381 * server.el (server-msg-size): New constant.
9382 (server-reply-print): New function.
9383 (server-eval-and-print): Use it.
9384 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9385 Handle -print-nonl.
9386
de5939ba
CS
93872012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9388
9389 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9390 (Bug#10987).
9391
0c93eabf
CY
93922012-03-11 Chong Yidong <cyd@gnu.org>
9393
397a688f
CY
9394 * simple.el (goto-line): Doc fix (Bug#9938).
9395
2cc775f9
CY
9396 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9397
0c93eabf
CY
9398 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9399 when finished (Bug#10963).
9400
c491fa41
MR
94012012-03-11 Martin Rudalics <rudalics@gmx.at>
9402
9403 * window.el (split-window-below): Fix bug in case where
9404 split-window-keep-point is nil (Bug#10971).
9405
300e8fa5
JL
94062012-03-11 Juri Linkov <juri@jurta.org>
9407
9408 * replace.el (replace-highlight): Set isearch-word to nil
9409 unconditionally. (Bug#10887)
9410
dbf6c5a1
EZ
94112012-03-10 Eli Zaretskii <eliz@gnu.org>
9412
9413 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9414 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9415 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9416 (mairix-widget-create-query): Add usage information about mairix
9417 search forms: negating words, searching for substrings, etc.
9418
b9e501de
JP
94192012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9420
9421 * international/fontset.el (font-encoding-alist): Add an entry for
9422 ksx1001 (Bug#5667).
9423
92795c91
RS
94242012-03-10 Richard Stallman <rms@gnu.org>
9425
1694e6c1
RS
9426 * mail/sendmail.el (mail-encode-header):
9427 Set rfc2047-encode-encoded-words.
9428
607e8555
RS
9429 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9430
de3bc99a
RS
9431 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9432 view buffer means not swapped.
9433 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9434 (rmail-write-region-annotate): Error if real text has disappeared.
9435
92795c91
RS
9436 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9437
699bd04e
CY
94382012-03-10 Chong Yidong <cyd@gnu.org>
9439
9440 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9441 * emulation/cua-base.el (cua--init-keymaps):
9442 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9443
570a1714
MR
94442012-03-10 Martin Rudalics <rudalics@gmx.at>
9445
dbbc2e69
SM
9446 * speedbar.el (speedbar-unhighlight-one-tag-line):
9447 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9448
82dcf4e4
CY
94492012-03-10 Chong Yidong <cyd@gnu.org>
9450
7a2c7ca7
CY
9451 * minibuffer.el (completion-in-region, completion-help-at-point):
9452 Give the completion field overlay a high priority (Bug#6830).
9453
82dcf4e4
CY
9454 * dired.el (dired-goto-file): Recognize absolute file name
9455 listings (Bug#7126).
9456 (dired-goto-file-1): New helper function.
9457 (dired-toggle-read-only): Inhibit warnings.
9458
052e28ac
MA
94592012-03-09 Michael Albinus <michael.albinus@gmx.de>
9460
75f1671a 9461 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9462 there are no properties.
9463
95d5e396
LL
94642012-03-09 Leo Liu <sdl.web@gmail.com>
9465
9466 * savehist.el (savehist-printable): Stricter check for string
9467 value (Bug#10937).
9468
3f018d6d
EZ
94692012-03-09 Eli Zaretskii <eliz@gnu.org>
9470
dbbc2e69
SM
9471 * mail/smtpmail.el (smtpmail-send-it):
9472 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9473 valid mbox format.
9474
f7fd3d79
GM
94752012-03-09 Glenn Morris <rgm@gnu.org>
9476
9477 * files.el (dir-locals-find-file):
9478 Don't check result is regular, readable.
9479 (dir-locals-read-from-file): Demote errors.
9480
6ff6e72f
EZ
94812012-03-08 Eli Zaretskii <eliz@gnu.org>
9482
dbbc2e69
SM
9483 * international/quail.el (quail-insert-kbd-layout):
9484 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9485 layout cell, to prevent their reordering by bidi display engine.
9486 For details, see the discussion in
9487 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9488
9cec7834
AM
94892012-03-08 Alan Mackenzie <acm@muc.de>
9490
9491 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9492 the starting position; make it extend the marked region when
9493 invoked repeatedly - all under appropriate circumstances.
9494 Fixes bugs #5525, #10906.
9495
9a40b8d4
GM
94962012-03-08 Glenn Morris <rgm@gnu.org>
9497
9498 * files.el (locate-dominating-file, dir-locals-find-file):
9499 Undo 2012-03-06 change.
9500
7a08ed35
EZ
95012012-03-07 Eli Zaretskii <eliz@gnu.org>
9502
dbbc2e69
SM
9503 * international/quail.el (quail-help):
9504 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9505 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9506 for the reason.
9507
5aca4f71 95082012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9509
9510 Avoid superfluous registering of signals. (Bug#10807)
9511
9512 * notifications.el (notifications-on-action-object)
9513 (notifications-on-close-object): New defvars.
9514 (notifications-on-action-signal, notifications-on-closed-signal):
9515 Unregister the signal if not needed any longer.
9516 (notifications-notify): Register `notifications-action-signal' or
9517 `notifications-closed-signal', if :on-action or :on-close has been
9518 passed as argument.
9519
78e8b10a
CY
95202012-03-07 Chong Yidong <cyd@gnu.org>
9521
9522 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9523 non-X platforms.
9524
69481eb8
GM
95252012-03-06 Glenn Morris <rgm@gnu.org>
9526
9527 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9528 (x-disown-selection-internal, x-get-selection-internal):
9529 Doc fix (add arglist signatures). (Bug#10783)
9530
133b8e11
KS
95312012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9532
9533 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9534 Handle breakpoints with no "type".
9535
99a83064
GM
95362012-03-06 Glenn Morris <rgm@gnu.org>
9537
9538 * files.el (locate-dominating-file): Add optional predicate argument.
9539 (dir-locals-find-file): Make use of above change.
9540
17798e78
TTN
95412012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9542
9543 * info.el (Info-insert-dir): Also try "dir.gz".
9544
eb182446
GM
95452012-03-06 Glenn Morris <rgm@gnu.org>
9546
8f2114ee
GM
9547 * files.el (dir-locals-find-file):
9548 Ignore non-readable or non-regular files. (Bug#10928)
9549
eb182446
GM
9550 * files.el (locate-dominating-file): Doc fix.
9551
24679323
AS
95522012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9553
9554 * calendar/calendar.el (calendar-set-mode-line):
9555 `getenv' returns a string. (Bug#10951)
9556
01d972a9
LL
95572012-03-05 Leo Liu <sdl.web@gmail.com>
9558
109aa8a9
LL
9559 * simple.el (backward-delete-char-untabify): Constrain point to
9560 field (Bug#10939).
9561
01d972a9
LL
9562 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9563
10607bea
CY
95642012-03-05 Chong Yidong <cyd@gnu.org>
9565
9566 * simple.el (count-words): If called from Lisp, return the word
9567 count, for symmetry with `count-lines'. Arglist changed.
9568 (count-words--message): Args changed. Consolidate counting code
9569 from count-words and count-words-region.
9570 (count-words-region): Caller changed.
9571 (count-lines-region): Make it an obsolete alias.
9572
5dd11cfe
TH
95732012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9574
9575 * saveplace.el (save-place-to-alist)
9576 (save-place-ignore-files-regexp): Allow value nil to disable this
9577 feature.
9578
c349f4e6
CY
95792012-03-04 Chong Yidong <cyd@gnu.org>
9580
9581 * faces.el (face-spec-reset-face): For the default face, reset the
9582 attributes to default values (Bug#10748).
9583
e627be4c
LMI
95842012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9585
9586 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9587 previous patch: Check `message-send-mail-function', and not the
9588 default function (bug#10897).
9589
ebeabff4
MA
95902012-03-04 Michael Albinus <michael.albinus@gmx.de>
9591
a41a6cf4
MA
9592 * notifications.el (notifications-on-action-signal)
9593 (notifications-on-closed-signal): Check for unique service name of
9594 incoming event. Fix error in removing entry.
ebeabff4 9595 (top): Register for signals with wildcard service name.
a41a6cf4 9596 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9597
c1ca42b4
CY
95982012-03-04 Chong Yidong <cyd@gnu.org>
9599
dc9924b8 9600 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9601
ea16568d
GM
96022012-03-04 Glenn Morris <rgm@gnu.org>
9603
9604 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9605 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9606 (expand-abbrev, define-abbrev-table): Doc fixes.
9607
fbae4637
LMI
96082012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9609
9610 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9611 `message-default-send-mail-function' and not `send-mail-function'
9612 when doing the prompting for `sendmail-query-once' before sending
9613 in Message buffers (bug#10897).
9614
a1e7225c
LMI
9615 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9616 This is inconsistent with all the other stream functions, which leave
9617 the setting up to the higher levels (if so wanted) (bug#10931).
9618
56d093a9
AM
96192012-03-02 Alan Mackenzie <acm@muc.de>
9620
9621 Depessimize the handling of very large macros.
9622
9623 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9624 (c-macro-cache-syntactic): New variables to implement a one
9625 element macro cache.
9626 (c-invalidate-macro-cache): New function.
9627 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9628 Adapt to use the new cache.
9629 (c-state-safe-place): Use better the cache of safe positions.
9630 (c-state-semi-nonlit-pos-cache)
9631 (c-state-semi-nonlit-pos-cache-limit):
9632 New variables for...
9633 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9634 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9635 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9636 Use c-state-semi-safe-place.
56d093a9 9637
dbbc2e69
SM
9638 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9639 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9640
817e5c3d
MA
96412012-03-02 Michael Albinus <michael.albinus@gmx.de>
9642
dbbc2e69
SM
9643 * jka-compr.el (jka-compr-call-process):
9644 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9645 not remote.
9646
a032a702
MA
96472012-03-01 Michael Albinus <michael.albinus@gmx.de>
9648
9649 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9650 access of FILE2, if FILE1 does not exist.
9651
99a54f21
MA
9652 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9653 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9654
9655 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9656 Add "PAGER=" to `process-environment'.
9657
f6561e1f
MM
96582012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9659
9660 * progmodes/sql.el: Bug fix
9661 (sql-get-login-ext): Save login values in globals.
9662 (sql-get-login): Use new version of `sql-get-login-ext'.
9663 (sql-interactive-mode): Set global `sql-connection' to nil.
9664 (sql-connect): Set global values for connection.
9665 (sql-product-interactive): Save global values as buffer local.
9666
2d44d9cc
LL
96672012-02-29 Leo Liu <sdl.web@gmail.com>
9668
9669 * abbrev.el (define-abbrevs): Reset sys to nil.
9670
96b49301 96712012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9672
bf7f9bc5
JB
9673 * files.el (file-equal-p): Rename from `files-equal-p'.
9674 Return nil when one or both files don't exist.
96b49301 9675 (file-subdir-of-p): Now only top directory must exists,
9676 return nil if it doesn't.
bf7f9bc5
JB
9677 (copy-directory): No need to test with `file-subdir-of-p' after
9678 creating dir.
9679 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9680 to `file-equal-p'.
96b49301 9681
44e97401
GM
96822012-02-28 Glenn Morris <rgm@gnu.org>
9683
9684 * shell.el (shell-mode):
9685 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9686 * play/landmark.el (landmark-font-lock-face-O):
9687 * play/handwrite.el (handwrite):
9688 * play/gomoku.el (gomoku-O):
9689 * net/browse-url.el (browse-url-browser-display):
9690 * international/mule.el (define-charset):
9691 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9692 * filesets.el (filesets-find-file-delay):
9693 * eshell/em-xtra.el (eshell-xtra):
9694 * eshell/em-unix.el (eshell-grep):
9695 * emulation/viper.el (viper-mode):
9696 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9697 * emacs-lisp/easymenu.el (easy-menu-define):
9698 * calendar/timeclock.el (timeclock-use-display-time):
9699 * bs.el (bs-mode):
9700 * bookmark.el (bookmark-save-flag):
9701 Doc fix (standardize possessive apostrophe usage).
9702
c98c6276
CY
97032012-02-27 Chong Yidong <cyd@gnu.org>
9704
bf7f9bc5
JB
9705 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9706 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9707
c98c6276
CY
9708 * font-lock.el (font-lock-specified-p): Rename from
9709 font-lock-spec-present. Callers changed.
9710
9c62cd04 97112012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9712
bf7f9bc5
JB
9713 * emacs-lisp/package.el (package-compute-transaction):
9714 Handle holding a package version to t in package-load-list.
8ac9e529 9715
530739c9
MA
97162012-02-26 Michael Albinus <michael.albinus@gmx.de>
9717
9718 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9719 (tramp-get-inode, tramp-get-device): Use cached values.
9720
487915d7
AM
97212012-02-26 Alan Mackenzie <acm@muc.de>
9722
9723 Check there is a font-lock specification before doing initial
9724 fontification.
9725
9726 * font-core.el (font-lock-mode): Move the conditional from
9727 :after-hook to font-lock-initial-fontify.
9728 (font-lock-default-function): Move the check for a specification
9729 to font-lock-spec-present.
9730
dc9924b8 9731 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9732 (font-lock-spec-present): New function.
9733
4fd96557
JB
97342012-02-26 Jim Blandy <jimb@red-bean.com>
9735
9736 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9737 (gdb-send): Apply it to the operand of the '-interpreter-exec
9738 console' command, so that we can pass arguments with (say) quotes
9739 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9740
9a4888c0
CY
97412012-02-26 Chong Yidong <cyd@gnu.org>
9742
07498861
CY
9743 * help-fns.el (describe-function-1): Clarify description of
9744 remapping (Bug#10844).
9745
9a4888c0
CY
9746 * files.el (files-equal-p): Doc fix.
9747 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9748 and quit the loop once a mismatch is found.
9749
ea8fb88d
JB
97502012-02-25 Juanma Barranquero <lekktu@gmail.com>
9751
9752 * bs.el (bs--show-with-configuration): Don't throw an error
9753 if the window cannot be split; otherwise, subsequent calls to
9754 bs-show fail, restoring a stale window config. (Bug#10882)
9755
525795c1
JD
97562012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9757
9758 * term/ns-win.el (global-map): Bind ns-drag-file to
9759 ns-find-file (Bug#5855, Bug#10050).
9760
f008086f
AS
97612012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9762
9763 * calendar/parse-time.el (parse-time-string): Allow extractor to
9764 return nil.
9765
a3fcfa99
MA
97662012-02-25 Michael Albinus <michael.albinus@gmx.de>
9767
91027d08
JB
9768 * net/tramp.el (tramp-file-name-for-operation):
9769 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9770
9771 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9772 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9773 Add COPY-CONTENTS argument.
a3fcfa99 9774
67b0de11
CY
97752012-02-25 Chong Yidong <cyd@gnu.org>
9776
9777 Add custom groups for VC backends, for consistency with vc-bzr.
9778
9779 * vc/vc-arch.el (vc-arch):
9780 * vc/vc-cvs.el (vc-cvs):
9781 * vc/vc-git.el (vc-git):
9782 * vc/vc-hg.el (vc-hg):
9783 * vc/vc-mtn.el (vc-mtn):
9784 * vc/vc-rcs.el (vc-rcs):
9785 * vc/vc-sccs.el (vc-sccs):
9786 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9787 All relevant defcustoms reassigned.
9788
3c9dfce6
CY
97892012-02-25 Chong Yidong <cyd@gnu.org>
9790
1339bf43
CY
9791 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9792
3c9dfce6
CY
9793 * term/x-win.el (x-initialize-window-system): Reduce default for
9794 x-selection-timeout to 5 seconds (Bug#8869).
9795
25b2e303 97962012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9797
ec70a47d
GM
9798 * files.el (files-equal-p, file-subdir-of-p): New functions.
9799 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9800 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9801 * dired-aux.el (dired-copy-file-recursive): Same.
9802 (dired-create-files): Modify destination when source is equal to
9803 dest when copying files.
53a46cd0 9804 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9805
914260cd
MA
98062012-02-24 Michael Albinus <michael.albinus@gmx.de>
9807
9808 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9809 (Bug#10874)
9810
2cb228f7
AM
98112012-02-23 Alan Mackenzie <acm@muc.de>
9812
9813 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9814 parameter "after-hook:" to allow the expansion to run code after
9815 the execution of the mode hooks.
9816
9817 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9818 from font-lock-mode-internal.
2cb228f7 9819
91027d08 9820 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9821 :after-hook.
9822
8f0fde21
SM
98232012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9824
3e88618b
SM
9825 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9826 (completion--cache-all-sorted-completions): New function.
9827 (completion-all-sorted-completions): Use it.
9828 (completion--do-completion, minibuffer-force-complete):
9829 Use it to re-instate the flush hook.
9830
8f0fde21
SM
9831 * icomplete.el (icomplete-completions): Replace last fix with a better
9832 one (bug#10850).
9833
8e911f6f
DG
98342012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9835
9836 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9837 when it might call us back infinitely (bug#10797).
9838
49fe4321
GM
98392012-02-23 Glenn Morris <rgm@gnu.org>
9840
9841 * minibuffer.el (completion-category-overrides): Doc fix.
9842
b291b572
SM
98432012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9846 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9847
31a9ef2e
GM
98482012-02-23 Glenn Morris <rgm@gnu.org>
9849
5e6e6794 9850 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9851 (authors-obsolete-files-regexps, authors-ignored-files)
9852 (authors-ambiguous-files, authors-renamed-files-alist):
9853 Add more entries.
9854
0bd1e074
JL
98552012-02-23 Juri Linkov <juri@jurta.org>
9856
9857 * isearch.el (isearch-occur): Sync interactive spec with occur's
9858 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9859
b617673c
JL
9860 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9861
19e9789e
JL
98622012-02-22 Juri Linkov <juri@jurta.org>
9863
9864 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9865 (ucs-insert): Doc fix. Check for hex digits in the string.
9866 Don't display `nil' in the error message. (Bug#10857)
9867
f41ce09d
AM
98682012-02-22 Alan Mackenzie <acm@muc.de>
9869
7a71b18d 9870 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9871
ac2eceee
GM
98722012-02-22 Glenn Morris <rgm@gnu.org>
9873
9874 * ffap.el (ffap-c-path):
9875 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9876
abd1f678
CY
98772012-02-22 Chong Yidong <cyd@gnu.org>
9878
9879 * custom.el (load-theme): Doc fix.
9880
f25aef2e
GM
98812012-02-22 Glenn Morris <rgm@gnu.org>
9882
9883 * dired-x.el (dired-guess-shell-alist-default):
9884 Remove escape sequences from nroff output. (Bug#172)
9885
5f8dc2ca
GM
98862012-02-21 Glenn Morris <rgm@gnu.org>
9887
6ff86ec4
GM
9888 * vc/emerge.el (emerge-defvar-local):
9889 Set `permanent-local' property rather than unused `preserved'.
9890
be3223a3 9891 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9892 (picture-mode-map): Use it. (Bug#10860)
9893 (picture-mode): Doc fix.
9894
3fe58f4f
JB
98952012-02-21 Juanma Barranquero <lekktu@gmail.com>
9896
9897 * newcomment.el (uncomment-region-default): Remove unused binding.
9898
f9a998c3
GM
98992012-02-21 Glenn Morris <rgm@gnu.org>
9900
9901 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9902 (picture-self-insert, picture-tab-chars): Doc fix.
9903 (picture-mode-map): Fix C-a, C-e.
9904
c6029348
GM
99052012-02-20 Glenn Morris <rgm@gnu.org>
9906
9907 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9908
ab1ce9d7
LL
99092012-02-20 Leo Liu <sdl.web@gmail.com>
9910
9911 * icomplete.el (icomplete-completions): Check FROM arg before
9912 passing to substring (Bug#10850).
9913
0fd40f89
CY
99142012-02-19 Chong Yidong <cyd@gnu.org>
9915
9916 * comint.el: Require ansi-color.
9917 (comint-output-filter-functions): Add ansi-color-process-output.
9918
9919 * ansi-color.el: Don't set comint-output-filter-functions; it is
9920 now in the initial value defined in comint.el.
9921 (ansi-color-apply-face-function): New variable.
9922 (ansi-color-apply-on-region): Use it.
9923 (ansi-color-apply-overlay-face): New function.
9924
9925 * shell.el (shell): No need to require ansi-color.
9926 (shell-mode): Use ansi-color-apply-face-function to highlight
9927 color escapes using font-lock-face property (Bug#10835).
9928
20af2394
CY
99292012-02-19 Chong Yidong <cyd@gnu.org>
9930
9931 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9932 mode-line formats (Bug#10839).
9933
e23a3fbe
GM
99342012-02-18 Glenn Morris <rgm@gnu.org>
9935
b474519e
GM
9936 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9937
9938 * mail/undigest.el (unforward-rmail-message): Doc fix.
9939
e23a3fbe
GM
9940 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9941
57939ff4
EZ
99422012-02-18 Eli Zaretskii <eliz@gnu.org>
9943
9944 * international/characters.el (script-list): Sync with the latest
9945 Unicode Character Database.
9946
0c23686e
AS
99472012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9948
9949 * international/titdic-cnv.el: Remove duplicate coding tag.
9950 * language/cham.el: Likewise.
9951 * language/tai-viet.el: Likewise.
9952
6818b449
GM
99532012-02-18 Glenn Morris <rgm@gnu.org>
9954
9955 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9956 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9957 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9958 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9959 * calendar/holidays.el (holiday-bahai-holidays)
9960 (calendar-holidays, list-holidays):
9961 Use utf-8 Bahá'í in doc-strings, menus, etc.
9962
0311a3fc
TH
99632012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9964
9965 * saveplace.el (save-place-ignore-files-regexp): New variable
9966 allowing for excluding files from saving their location of point.
9967 The default value matches the temporary commit message editing
9968 files from Git, SVN, Bazaar, and Mercurial.
9969 (save-place-to-alist): Use it.
9970
d209e2fb 99712012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9972 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9973
9974 * newcomment.el (uncomment-region-default): Don't leave extra space
9975 when an arg is provided (bug#8150).
9976
ee0ce425
TZ
99772012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9978
eb864a71 9979 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9980
95ddf442
GM
99812012-02-17 Glenn Morris <rgm@gnu.org>
9982
9983 * net/socks.el: Require network-stream. (Bug#10599)
9984
48dd1e39 99852012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9986
9987 * international/charprop.el:
9988 * international/uni-name.el:
9989 * international/uni-old-name.el:
9990 * international/uni-comment.el: Regenerate.
9991
d68cd087
GM
99922012-02-16 Glenn Morris <rgm@gnu.org>
9993
9994 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9995 Interactively in calendar buffer, give an error if not on a date.
9996
13932042
GM
99972012-02-15 Glenn Morris <rgm@gnu.org>
9998
9999 * shell.el (shell-delimiter-argument-list):
10000 Revert 2011-02-17 change. (Bug#8027)
10001
c3a70e2b
CY
100022012-02-15 Chong Yidong <cyd@gnu.org>
10003
60236b0d
CY
10004 * minibuffer.el (completion-at-point-functions): Doc fix.
10005
c3a70e2b
CY
10006 * custom.el (defcustom): Doc fix; note use of defvar.
10007
9f26dc24
GM
100082012-02-15 Glenn Morris <rgm@gnu.org>
10009
10010 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10011 Doc fixes.
10012
6546b134
GM
100132012-02-14 Glenn Morris <rgm@gnu.org>
10014
10015 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10016
d29b2b4c
LI
100172012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10018
10019 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10020 way the ports list is computed.
835bdcba
LI
10021 (smtpmail-query-smtp-server): Prompt the user for a port number if
10022 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10023
08dcdbc9
TZ
100242012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10025
10026 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10027
2605051a
GM
100282012-02-13 Glenn Morris <rgm@gnu.org>
10029
10030 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10031
7ee99f32
TZ
100322012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10033
10034 * net/gnutls.el (gnutls-trustfiles): New variable.
10035 (gnutls-negotiate): Use it.
10036
5f0af64f
LI
100372012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10038
10039 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10040 does its stuff if Gnus is running.
10041
c14fcc95
AM
100422012-02-13 Alan Mackenzie <acm@muc.de>
10043
10044 Fix a loop in c-set-fl-decl-start.
10045
7a71b18d 10046 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10047 c-backward-syntactic-ws actually moves backwards.
10048
142b4d90
LL
100492012-02-13 Leo Liu <sdl.web@gmail.com>
10050
10051 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10052 beginning so that all \C-o chars are removed.
10053
fa9958a6
TZ
100542012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10055
dc9924b8 10056 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10057
0bc5886a
AM
100582012-02-12 Alan Mackenzie <acm@muc.de>
10059
10060 Fix infinite loop with long macros.
4d6769e1 10061 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10062
d4bd55e7
CY
100632012-02-12 Chong Yidong <cyd@gnu.org>
10064
10065 * window.el (display-buffer): Doc fix (Bug#10785).
10066
66f3fe22
GM
100672012-02-12 Glenn Morris <rgm@gnu.org>
10068
bd7da63e
GM
10069 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10070 (x-disown-selection-internal, x-get-selection-internal):
10071 Sync docs with the xselect.c versions.
10072
66f3fe22
GM
10073 * allout-widgets.el: Add missing license notice.
10074
3e0d2fa7
GM
100752012-02-11 Glenn Morris <rgm@gnu.org>
10076
cfecdf09
GM
10077 * select.el (x-get-selection-internal, x-own-selection-internal)
10078 (x-disown-selection-internal):
10079 * x-dnd.el (x-get-selection-internal): Update declarations.
10080
6d216d7f
GM
10081 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10082
2bed3f04
GM
10083 * window.el (window-sides-slots):
10084 * tool-bar.el (tool-bar-position):
10085 * term/xterm.el (xterm-extra-capabilities):
10086 * ses.el (ses-self-reference-early-detection):
10087 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10088 (verilog-auto-wire-type)
10089 (verilog-auto-delete-trailing-whitespace)
10090 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10091 (verilog-auto-tieoff-declaration):
10092 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10093 (sql-oracle-statement-starters, sql-oracle-scan-on):
10094 * progmodes/prolog.el (prolog-align-comments-flag)
10095 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10096 (prolog-left-indent-regexp, prolog-paren-indent-p)
10097 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10098 (prolog-types, prolog-mode-specificators)
10099 (prolog-determinism-specificators, prolog-directives)
10100 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10101 (prolog-electric-dot-flag)
10102 (prolog-electric-dot-full-predicate-template)
10103 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10104 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10105 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10106 (prolog-program-switches, prolog-prompt-regexp)
10107 (prolog-debug-on-string, prolog-debug-off-string)
10108 (prolog-trace-on-string, prolog-trace-off-string)
10109 (prolog-zip-on-string, prolog-zip-off-string)
10110 (prolog-use-standard-consult-compile-method-flag)
10111 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10112 (prolog-imenu-max-lines, prolog-info-predicate-index)
10113 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10114 (prolog-char-quote-workaround):
10115 * progmodes/cc-vars.el (c-defun-tactic):
10116 * net/tramp.el (tramp-encoding-command-interactive)
10117 (tramp-local-end-of-line):
10118 * net/soap-client.el (soap-client):
10119 * net/netrc.el (netrc-file):
10120 * net/gnutls.el (gnutls):
10121 * minibuffer.el (completion-category-overrides)
10122 (completion-cycle-threshold)
10123 (completion-pcm-complete-word-inserts-delimiters):
10124 * man.el (Man-name-local-regexp):
10125 * mail/feedmail.el (feedmail-display-full-frame):
10126 * international/characters.el (glyphless-char-display-control):
10127 * eshell/em-ls.el (eshell-ls-date-format):
10128 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10129 (lisp-lambda-list-keyword-parameter-indentation)
10130 (lisp-lambda-list-keyword-parameter-alignment):
10131 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10132 * dired-x.el (dired-omit-verbose):
10133 * cus-theme.el (custom-theme-allow-multiple-selections):
10134 * calc/calc.el (calc-highlight-selections-with-faces)
10135 (calc-lu-field-reference, calc-lu-power-reference)
10136 (calc-note-threshold):
10137 * battery.el (battery-mode-line-limit):
10138 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10139 (archive-7z-update):
10140 * allout.el (allout-prefixed-keybindings)
10141 (allout-unprefixed-keybindings)
10142 (allout-inhibit-auto-fill-on-headline)
10143 (allout-flattened-numbering-abbreviation):
10144 * allout-widgets.el (allout-widgets-auto-activation)
10145 (allout-widgets-icons-dark-subdir)
10146 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10147 (allout-widgets-theme-dark-background)
10148 (allout-widgets-theme-light-background)
10149 (allout-widgets-item-image-properties-emacs)
10150 (allout-widgets-item-image-properties-xemacs)
10151 (allout-widgets-run-unit-tests-on-load)
10152 (allout-widgets-time-decoration-activity)
10153 (allout-widgets-hook-error-post-time)
10154 (allout-widgets-track-decoration):
10155 Add missing :version tags to new defcustoms and defgroups.
10156
5fec1b8e
GM
10157 * progmodes/sql.el (sql-ansi-statement-starters)
10158 (sql-oracle-statement-starters): Add custom type.
10159
3e0d2fa7
GM
10160 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10161 (prolog-system-version): Give it a type.
10162
90b671e2
EZ
101632012-02-11 Eli Zaretskii <eliz@gnu.org>
10164
10165 * term/pc-win.el (x-select-text, x-selection-owner-p)
10166 (x-own-selection-internal, x-disown-selection-internal)
10167 (x-get-selection-internal): Sync doc strings and argument lists
10168 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10169
5eac0c02
LL
101702012-02-11 Leo Liu <sdl.web@gmail.com>
10171
10172 * progmodes/python.el (python-end-of-statement): Fix infinite
10173 loop. (Bug#10788)
10174
f82cb659
GM
101752012-02-10 Glenn Morris <rgm@gnu.org>
10176
10177 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10178 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10179
cc26d239
LI
101802012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10181
10182 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10183 about SMTP before checking the From header.
10184
91027d08 10185 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10186 into own function for reuse by emacsbug.el.
10187
1be3ca5a
LL
101882012-02-10 Leo Liu <sdl.web@gmail.com>
10189
10190 * subr.el (condition-case-unless-debug): Rename from
10191 condition-case-no-debug. All callers changed.
10192 (with-demoted-errors): Fix caller.
10193
10194 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10195 * nxml/rng-valid.el (rng-do-some-validation):
10196 * emacs-lisp/package.el (package-refresh-contents)
10197 (package-menu-execute):
10198 * desktop.el (desktop-create-buffer):
91027d08 10199 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10200
b011fbfe
GM
102012012-02-10 Glenn Morris <rgm@gnu.org>
10202
b2096d72
GM
10203 * textmodes/bibtex.el:
10204 Add missing :version tags for new/changed defcustoms.
10205
b011fbfe
GM
10206 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10207
4c7e65bf
LI
102082012-02-09 Lars Ingebrigtsen <larsi@rusty>
10209
10210 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10211 (smtpmail-via-smtp): Use it, or fall back on the From address.
10212 (smtpmail-send-it): Ditto.
10213
f3934f6f
SM
102142012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10217 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10218 (byte-compile-tmp-var): New const.
10219 (byte-compile-defvar): Use it to minimize .elc size.
10220 Just use `defvar' rather than simulate it (bug#10761).
10221
a075a2c5
GM
102222012-02-09 Glenn Morris <rgm@gnu.org>
10223
cf3aa21b
GM
10224 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10225
354998cd
GM
10226 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10227 Add :version tags.
10228
dc9924b8
SM
10229 * progmodes/compile.el (compilation-error-screen-columns)
10230 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10231
dab3703d
GM
10232 * vc/log-view.el (log-view-toggle-entry-display):
10233 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10234
3f88cd72
GM
10235 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10236 (report-emacs-bug-can-use-xdg-email):
10237 (report-emacs-bug-insert-to-mailer): Doc fixes.
10238 (report-emacs-bug): Message fix.
10239
d95b247d
GM
10240 * net/browse-url.el (browse-url-can-use-xdg-open)
10241 (browse-url-xdg-open): Doc fixes.
10242
a075a2c5
GM
10243 * electric.el (electric-indent-mode, electric-pair-mode)
10244 (electric-layout-rules, electric-layout-mode): Doc fixes.
10245 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10246
ffb6157e
MR
102472012-02-08 Martin Rudalics <rudalics@gmx.at>
10248
10249 * server.el (server-unselect-display): Don't inadvertently kill
10250 the current buffer. (Bug#10729)
10251
e1ac4066
GM
102522012-02-08 Glenn Morris <rgm@gnu.org>
10253
34e8a2da
GM
10254 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10255 (sql-list-table): Doc fixes.
10256
b4ac6e8c
GM
10257 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10258 Comment out (does nothing).
10259
e1ac4066
GM
10260 * completion.el (dynamic-completion-mode):
10261 * dirtrack.el (dirtrack-debug-mode):
10262 * electric.el (electric-layout-mode):
10263 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10264 * face-remap.el (text-scale-mode, buffer-face-mode):
10265 * iimage.el (iimage-mode):
10266 * image-mode.el (image-transform-mode):
10267 * minibuffer.el (completion-in-region-mode):
10268 * scroll-lock.el (scroll-lock-mode):
10269 * simple.el (next-error-follow-minor-mode):
10270 * tar-mode.el (tar-subfile-mode):
10271 * tooltip.el (tooltip-mode):
10272 * vcursor.el (vcursor-use-vcursor-map):
10273 * wid-browse.el (widget-minor-mode):
10274 * emulation/tpu-edt.el (tpu-edt-mode):
10275 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10276 * international/iso-ascii.el (iso-ascii-mode):
10277 * language/thai-util.el (thai-word-mode):
10278 * mail/supercite.el (sc-minor-mode):
10279 * net/goto-addr.el (goto-address-mode):
10280 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10281 * progmodes/cwarn.el (cwarn-mode):
10282 * progmodes/flymake.el (flymake-mode):
10283 * progmodes/glasses.el (glasses-mode):
10284 * progmodes/hideshow.el (hs-minor-mode):
10285 * progmodes/pascal.el (pascal-outline-mode):
10286 * textmodes/enriched.el (enriched-mode):
10287 * vc/smerge-mode.el (smerge-mode):
10288 Doc fixes (minor mode argument).
10289
5e0d957f
EZ
102902012-02-07 Eli Zaretskii <eliz@gnu.org>
10291
10292 * ls-lisp.el (ls-lisp-sanitize): New function.
10293 (ls-lisp-insert-directory): Use it to fix or remove any elements
10294 in file-alist with missing attributes. (Bug#4673)
10295
98d7371e
AM
102962012-02-07 Alan Mackenzie <acm@muc.de>
10297
10298 Fix spurious recognition of c-in-knr-argdecl.
10299
10300 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10301 putative K&R region.
10302
667ced3a
AM
103032012-02-07 Alan Mackenzie <acm@muc.de>
10304
eb864a71
LM
10305 * progmodes/cc-engine.el (c-forward-objc-directive):
10306 Prevent looping in "#pragma mark @implementation".
667ced3a 10307
5b77774d
MA
103082012-02-07 Michael Albinus <michael.albinus@gmx.de>
10309
10310 * notifications.el (notifications-on-closed-signal): Make `reason'
10311 optional. (Bug#10744)
10312
af008560
GM
103132012-02-07 Glenn Morris <rgm@gnu.org>
10314
60d47423
GM
10315 * emacs-lisp/easy-mmode.el (define-minor-mode):
10316 Doc fixes for the macro and the mode it defines.
10317
dd605cc4
GM
10318 * image.el (imagemagick-types-inhibit): Doc fix.
10319
af008560
GM
10320 * cus-start.el (imagemagick-render-type): Add it.
10321
5cc59a37
LI
103222012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10323
4d6769e1
JB
10324 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10325 Set the default at load time, too, so that `font-lock-fontify-buffer'
10326 can be called without setting up the entire mode first. This fixes
10327 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10328
9a6dd747
CY
103292012-02-06 Chong Yidong <cyd@gnu.org>
10330
2d16b285
CY
10331 * simple.el (list-processes--refresh): Delete exited processes
10332 (Bug#8094).
10333
171e9b6e
CY
10334 * comint.el (comint-next-prompt): next-single-char-property-change
10335 and prev-single-char-property-change never return nil (Bug#8657).
10336
9a6dd747
CY
10337 * custom.el (defcustom): Doc fix (Bug#9711).
10338
aa4589a7
CY
103392012-02-05 Chong Yidong <cyd@gnu.org>
10340
5c2a252f
CY
10341 * cus-edit.el (custom-variable-reset-backup): Quote the value
10342 before storing it in the customized-value property (Bug#6712).
4aab9006 10343 (custom-display): Add a customization type tag.
983b9602 10344 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10345
aa4589a7
CY
10346 * wid-edit.el (widget-field-value-get): New optional arg to
10347 suppress trailing whitespace truncation.
10348 (character): Use it (Bug#2689).
10349
1ff980ae
AS
103502012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10351
10352 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10353 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10354
03988c98
CY
103552012-02-05 Chong Yidong <cyd@gnu.org>
10356
eeb6cc88
CY
10357 * cus-edit.el (custom-variable-value-create): For mismatched
10358 types, show the current value (Bug#7600).
10359
03988c98
CY
10360 * custom.el (defcustom): Doc fix.
10361
f8cdeef0
GM
103622012-02-05 Glenn Morris <rgm@gnu.org>
10363
10364 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10365
0696d255
JB
103662012-02-05 Juanma Barranquero <lekktu@gmail.com>
10367
10368 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10369 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10370 (pp-last-sexp): Use `looking-at-p'.
10371
34c99998
GM
103722012-02-04 Glenn Morris <rgm@gnu.org>
10373
8f05da42
GM
10374 * files.el (revert-buffer):
10375 Doc fix (mention revert-buffer-in-progress-p).
10376
f160676e
GM
10377 * emacs-lisp/ert-x.el (ert-simulate-command):
10378 Check deferred-action-list (which is obsolete) is bound.
10379
c7291ad9
GM
10380 * subr.el (with-wrapper-hook): Doc fixes.
10381
34c99998
GM
10382 * simple.el (filter-buffer-substring-functions)
10383 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10384
6283a7d3
LL
103852012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10386
10387 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10388 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10389
e96e3013
LL
103902012-02-04 Leo Liu <sdl.web@gmail.com>
10391
10392 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10393
8ded50f2
GM
103942012-02-04 Glenn Morris <rgm@gnu.org>
10395
82ff1d13
GM
10396 * image.el (image-extension-data): Add obsolete alias.
10397
987a0a16
GM
10398 * isearch.el (isearch-update): Doc fix.
10399
ea32ef46
GM
10400 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10401
8ded50f2
GM
10402 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10403
eea14f31
GM
104042012-02-03 Glenn Morris <rgm@gnu.org>
10405
10406 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10407 (image-animate-timeout): Doc fix.
10408
10409 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10410
12f381b7
GM
104112012-02-02 Glenn Morris <rgm@gnu.org>
10412
953cebf5
GM
10413 * server.el (server-auth-dir): Doc fix.
10414 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10415
12f381b7
GM
10416 * subr.el (run-mode-hooks): Doc fix.
10417
953a8c3b
JL
104182012-02-02 Juri Linkov <juri@jurta.org>
10419
10420 * image-mode.el (image-toggle-display-image): Remove tautological
10421 `major-mode' from the `derived-mode-p' test.
10422
c5d3843c
KH
104232012-02-02 Kenichi Handa <handa@m17n.org>
10424
9f6e692e 10425 * composite.el (compose-region): Cancel previous change.
c5d3843c 10426
159462d4 104272012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10428
10429 * composite.el (compose-region, compose-string): Signal error for
10430 a null string component (Bug#6988).
10431
9f562668
CY
104322012-02-01 Chong Yidong <cyd@gnu.org>
10433
e2cef717
CY
10434 * view.el (view-buffer-other-window, view-buffer-other-frame):
10435 Handle special modes like view-buffer (Bug#10650).
10436 (view-buffer): Simplify.
10437
9f562668
CY
10438 * frame.el (set-frame-font): Tweak meaning of third argument.
10439
9f6e692e
JB
10440 * dynamic-setting.el (font-setting-change-default-font):
10441 Use set-frame-font (Bug#9982).
9f562668 10442
781acb9f
GM
104432012-02-01 Glenn Morris <rgm@gnu.org>
10444
6035be52
GM
10445 * progmodes/compile.el (compilation-internal-error-properties):
10446 Respect compilation-first-column in the "*compilation*" buffer.
10447
781acb9f
GM
10448 * emacs-lisp/easy-mmode.el (define-minor-mode):
10449 Relax :variable's test for a named function.
10450
abbceb00
AM
104512012-01-31 Alan Mackenzie <acm@muc.de>
10452
10453 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10454 off by one error.
10455
fce3fdeb
CY
104562012-01-31 Chong Yidong <cyd@gnu.org>
10457
10458 * frame.el (set-frame-font): New arg ALL-FRAMES.
10459
10460 * menu-bar.el (menu-set-font): Use set-frame-font.
10461
10462 * faces.el (face-spec-reset-face): Don't apply unspecified
10463 attribute values to the default face.
10464
47893581
JB
104652012-01-31 Juanma Barranquero <lekktu@gmail.com>
10466
10467 * progmodes/cwarn.el (cwarn): Remove dead link.
10468 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10469 Remove * from defcustom docstrings.
10470 (turn-on-cwarn-mode): Make obsolete.
10471 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10472 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10473
e58e988a
GM
104742012-01-31 Glenn Morris <rgm@gnu.org>
10475
60dc2671 10476 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10477 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10478 Allow named functions to be used as the cdr of :variable.
e58e988a 10479
7a3f511d
GM
104802012-01-30 Glenn Morris <rgm@gnu.org>
10481
10482 * emacs-lisp/authors.el (authors-fixed-entries):
10483 Remove reference to deleted file rnewspost.el.
10484
cb882333
JB
104852012-01-29 Juanma Barranquero <lekktu@gmail.com>
10486
10487 * window.el (window-with-parameter): Remove unused variable `windows'.
10488 (window--side-check): Remove unused variable `code'.
10489 (window--resize-siblings): Remove unused variable `first'.
10490 (adjust-window-trailing-edge): Remove unused variable `failed'.
10491 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10492 Use `let', not `let*'.
10493 (balance-windows-2): Remove unused variable `found'.
10494 (window--state-put-2): Remove unused variable `splits'.
10495 (window-state-put): Remove unused variable `selected'.
10496 (same-window-p): Use `string-match-p'.
10497 (display-buffer-assq-regexp): Remove unused variable `value'.
10498 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10499 Mark argument ALIST as ignored.
10500 (pop-to-buffer): Remove unused variable `old-window'.
10501
907201af
EZ
105022012-01-29 Eli Zaretskii <eliz@gnu.org>
10503
10504 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10505 and .lzma compressed files.
10506
ea162670
CY
105072012-01-29 Chong Yidong <cyd@gnu.org>
10508
5b95ee8a
CY
10509 * frame.el (window-system-default-frame-alist): Doc fix.
10510
ea162670
CY
10511 * dynamic-setting.el (font-setting-change-default-font): Don't
10512 change the default face if SET-FONT argument is non-nil (Bug#9982).
10513
d6e6f4b1
SB
105142012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10515
10516 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10517
0f29fa41 105182012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10519
10520 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10521 breakpoints in files outside current directory (Bug#6098).
10522
db174434
CY
105232012-01-29 Chong Yidong <cyd@gnu.org>
10524
6b25e4e2
SE
10525 * progmodes/python.el: Require ansi-color at top-level.
10526
6df6ae42
JB
10527 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10528 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10529 (lisp-mode-abbrev-table): Add doc.
10530 (lisp-mode-variables): Don't set local-abbrev-table.
10531 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10532
e70ee681
RW
105332012-01-28 Roland Winkler <winkler@gnu.org>
10534
10535 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10536
ace88aa2
RW
105372012-01-28 Roland Winkler <winkler@gnu.org>
10538
10539 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10540 (bibtex-set-dialect): Use it. Either set global values of
10541 dialect-dependent variables or bind these variables buffer-locally
10542 (Bug#10254).
10543 (bibtex-mode): Call bibtex-set-dialect via
10544 hack-local-variables-hook.
eb864a71
LM
10545 (bibtex-dialect): Update docstring.
10546 Add safe-local-variable predicate.
ace88aa2
RW
10547 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10548 bibtex-set-dialect.
10549 (bibtex-mode-map): Define menu for each dialect.
10550 (bibtex-entry): Fix docstring.
10551
93376c5b
CY
105522012-01-28 Chong Yidong <cyd@gnu.org>
10553
10554 * eshell/esh-arg.el (eshell-quote-argument): New function.
10555
10556 * eshell/esh-ext.el (eshell-invoke-batch-file):
10557 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10558 first arg to eshell-parse-command (Bug#10523).
10559
4372494f
DA
105602012-01-28 Drew Adams <drew.adams@oracle.com>
10561
10562 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10563 `default-directory' is non-nil.
10564
4d4ec1f8
EZ
105652012-01-28 Eli Zaretskii <eliz@gnu.org>
10566
10567 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10568 line that displays system-configuration-options. (Bug#9924)
10569
7c188927
DA
105702012-01-28 Drew Adams <drew.adams@oracle.com>
10571
10572 * descr-text.el (describe-char): Show information about POS, in
10573 addition to information about the character at POS. Improve and
10574 update the doc string. Change "code point" to "code point in
10575 charset", to avoid confusion with the character's Unicode code
10576 point shown above that. (Bug#10129)
10577
e0da685a
EZ
105782012-01-28 Eli Zaretskii <eliz@gnu.org>
10579
10580 * descr-text.el (describe-char): Show the raw character, not only
10581 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10582 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10583 for the reasons.
10584
70550acf
PH
105852012-01-28 Phil Hagelberg <phil@hagelb.org>
10586
eb864a71
LM
10587 * emacs-lisp/package.el (package-install):
10588 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10589
0ce8e868
CY
105902012-01-28 Chong Yidong <cyd@gnu.org>
10591
cb882333
JB
10592 * emacs-lisp/package.el (package-maybe-load-descriptor):
10593 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10594 (package-maybe-load-descriptor): Use it.
10595 (package-download-transaction): Fully load required packages
10596 inside the loop, so that `require' calls work (Bug#10593).
10597 (package-install): No need to call package-initialize now.
10598
2e7f3bea
CY
105992012-01-28 Chong Yidong <cyd@gnu.org>
10600
6e9bad14
CY
10601 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10602
f823b8ca
CY
10603 * tooltip.el (tooltip-mode): Doc fix.
10604 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10605
2680c309
CY
10606 * frame.el (set-cursor-color): Doc fix (Bug#352).
10607
d7a9e63b
CY
10608 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10609 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10610
2e7f3bea
CY
10611 * cus-edit.el (custom-buffer-create-internal): Fix search button
10612 action (Bug#10542).
2ae01800 10613 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10614
fc4f7a23
EW
106152012-01-27 Eduard Wiebe <usenet@pusto.de>
10616
10617 * dired.el (dired-mark-files-regexp):
10618 Include any subdirectory components. (Bug#10445)
10619
7dd37071
ML
106202012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10621
10622 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10623 Handle [host]:port syntax. (Bug#10533)
10624
a268160b
AH
106252012-01-27 Alex Harsanyi <harsanyi@mac.com>
10626
10627 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10628
e43273ef
GM
106292012-01-26 Glenn Morris <rgm@gnu.org>
10630
10631 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10632 * term.el (term-raw-escape-map): Use Control-X-prefix.
10633 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10634
1edf595d
MR
106352012-01-25 Martin Rudalics <rudalics@gmx.at>
10636
10637 * window.el (window-state-get, window--state-get-1): Don't deal
10638 with fixed-sizeness of windows. Simplify code.
10639
fa8eafef
JC
106402012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10641
6df6ae42
JB
10642 * window.el (window--state-get-1, window--state-put-2):
10643 Don't save and restore the mark.
fa8eafef 10644
0b21c100
CY
106452012-01-25 Chong Yidong <cyd@gnu.org>
10646
10647 * custom.el (custom-variable-p): Doc fix.
10648
5ae1a6c8
GM
106492012-01-25 Glenn Morris <rgm@gnu.org>
10650
40047858
GM
10651 * dired.el (dired-goto-file): Handle some of the more common
10652 characters that `ls -b' escapes. (Bug#10596)
10653
5ddce96c
GM
10654 * progmodes/compile.el (compilation-next-error-function):
10655 Respect compilation-first-column in the "*compilation*" buffer.
10656 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10657
5ae1a6c8
GM
10658 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10659
b559f1a9
GM
106602012-01-24 Glenn Morris <rgm@gnu.org>
10661
10662 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10663
6725d21a
JD
106642012-01-24 Julien Danjou <julien@danjou.info>
10665
10666 * color.el (color-rgb-to-hsl): Fix value computing.
10667 (color-hue-to-rgb): New function.
10668 (color-hsl-to-rgb): New function.
10669 (color-clamp, color-saturate-hsl, color-saturate-name)
10670 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10671 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10672
70df4bbe
GM
106732012-01-24 Glenn Morris <rgm@gnu.org>
10674
10675 * vc/vc-rcs.el (vc-rcs-create-tag):
10676 * vc/vc-sccs.el (vc-sccs-create-tag):
10677 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10678
802a2ae2
ML
106792012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10680
10681 * eshell/esh-util.el (eshell-read-hosts-file):
10682 Skip comment lines. (Bug#10549)
10683
d7128bb1
ML
10684 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10685
d1a5c3b4
JB
106862012-01-23 Juanma Barranquero <lekktu@gmail.com>
10687
2724d9c7
JB
10688 * subr.el (display-delayed-warnings): Doc fix.
10689 (collapse-delayed-warnings): New function to collapse identical
10690 adjacent warnings.
10691 (delayed-warnings-hook): Add it.
d1a5c3b4 10692
a5509865
MA
106932012-01-22 Michael Albinus <michael.albinus@gmx.de>
10694
10695 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10696
a5509865
MA
10697 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10698 (tramp-default-user-alist): Don't add "pscp".
10699 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10700 property "login-as", if set. (Bug#10530)
10701
cc6d5805
MA
107022012-01-21 Michael Albinus <michael.albinus@gmx.de>
10703
10704 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10705 "plink1" and "psftp". (Bug#10530)
10706
107072012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10708
10709 * international/mule-cmds.el (prefer-coding-system): Show a
10710 warning message if the default value of file-name-coding-system
10711 was not changed.
10712
f0960428
JC
107132012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10714
cb882333
JB
10715 * windmove.el (windmove-reference-loc):
10716 Fix windmove-reference-loc miscalculation.
f0960428 10717
dd6f2a63
JB
107182012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10719
10720 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10721 default unit.
10722
7b447e9b
GM
107232012-01-21 Glenn Morris <rgm@gnu.org>
10724
117a9ea1
GM
10725 * international/mule.el (auto-coding-alist): Add .tbz.
10726
7b447e9b
GM
10727 * files.el (local-enable-local-variables): Doc fix.
10728 (inhibit-local-variables-regexps): Rename from
10729 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10730 Doc fix. Add some extensions from auto-coding-alist.
10731 (inhibit-local-variables-suffixes):
10732 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10733 (inhibit-local-variables-p):
10734 New function, extracted from set-auto-mode-1.
10735 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10736 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10737 (hack-local-variables): Doc fix. Make the mode-only case
10738 respect enable-local-variables and friends.
10739 Respect inhibit-local-variables-regexps for file-locals, but
10740 not for directory-locals.
10741 (set-visited-file-name):
10742 Take account of inhibit-local-variables-regexps.
10743 Whether it applies may change as the file name is changed.
10744 * jka-cmpr-hook.el (jka-compr-install):
10745 * jka-compr.el (jka-compr-uninstall):
10746 Update for inhibit-first-line-modes-suffixes name change.
10747
dd6e3cdd
MR
107482012-01-20 Martin Rudalics <rudalics@gmx.at>
10749
10750 * help-macro.el (make-help-screen): Temporarily restore original
10751 binding for minor-mode-map-alist (Bug#10454).
10752
0d0deb38
JD
107532012-01-19 Julien Danjou <julien@danjou.info>
10754
10755 * color.el (color-name-to-rgb): Use the white color to find the max
10756 color component value and return correctly computed values.
10757 (color-name-to-rgb): Add missing float conversion for max value.
10758
34a02f46
MR
107592012-01-19 Martin Rudalics <rudalics@gmx.at>
10760
10761 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10762 special state value for window-persistent-parameters.
10763 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10764 (window--state-put-2): Reset all window parameters to nil before
10765 assigning values of persistent parameters.
10766
606c44c4
AM
107672012-01-18 Alan Mackenzie <acm@muc.de>
10768
10769 Eliminate sluggishness and hangs in fontification of "semicolon
10770 deserts".
10771
cb882333
JB
10772 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10773 Change value 10000 -> 3000.
606c44c4
AM
10774 (c-state-safe-place): Reformulate so it doesn't stack up an
10775 infinite number of wrong entries in c-state-nonlit-pos-cache.
10776 (c-determine-limit-get-base, c-determine-limit): New functions to
10777 determine backward search limits disregarding literals.
10778 (c-find-decl-spots): Amend commenting.
10779 (c-cheap-inside-bracelist-p): New function which detects "={".
10780
10781 * progmodes/cc-fonts.el
10782 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10783 backward search.
10784 (c-font-lock-declarations): Fix an occurrence of point being
10785 undefined. Check additionally for point being in a bracelist or
10786 near a macro invocation without a semicolon so as to avoid a
10787 fruitless time consuming search for a declarator. Give a more
10788 precise search limit for declarators using the new
10789 c-determine-limit.
10790
f3860cea
GM
107912012-01-18 Glenn Morris <rgm@gnu.org>
10792
10793 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10794 (set-auto-mode): Doc fixes.
10795
1db03b16
GM
107962012-01-17 Glenn Morris <rgm@gnu.org>
10797
0e6038be
GM
10798 * isearch.el (search-nonincremental-instead): Fix doc typo.
10799
1db03b16
GM
10800 * dired.el (dired-insert-directory): Handle newlines in directory name.
10801 (dired-build-subdir-alist): Unescape newlines in directory name.
10802
4cb0aa75
MA
108032012-01-17 Michael Albinus <michael.albinus@gmx.de>
10804
10805 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10806 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10807 (tramp-action-terminal): Use it. (Bug#10530)
10808
1d00653d
SM
108092012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10812
6a6ee00d
MR
108132012-01-16 Martin Rudalics <rudalics@gmx.at>
10814
10815 * window.el (window-state-ignored-parameters): Remove variable.
10816 (window--state-get-1): Rename argument MARKERS to IGNORE.
10817 Handle persistent window parameters. Make copy of clone-of
10818 parameter only if requested. (Bug#10348)
10819 (window--state-put-2): Install a window parameter only if it has
10820 a non-nil value or an existing parameter shall be overwritten.
10821
97912def
MA
108222012-01-15 Michael Albinus <michael.albinus@gmx.de>
10823
10824 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10825
688070a5
EZ
108262012-01-14 Eli Zaretskii <eliz@gnu.org>
10827
10828 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10829 don't pass the (nil) value of `upnode' to string-match.
10830
301afadc
CY
108312012-01-14 Chong Yidong <cyd@gnu.org>
10832
10833 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10834 Fix values recognized by the cursorBlink resource.
301afadc 10835
9e5788aa
PE
108362012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10837
10838 * epg.el (epg--make-temp-file): Avoid permission race condition
10839 when running on old Emacs versions (bug#10403).
10840
3cdb7f5a
GM
108412012-01-14 Glenn Morris <rgm@gnu.org>
10842
10843 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10844
8c82b1b4
AM
108452012-01-13 Alan Mackenzie <acm@muc.de>
10846
10847 Fix filling for when filladapt mode is enabled.
10848
10849 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10850 c-mask-paragraph, pass in `fill-paragraph' rather than
10851 `fill-region-as-paragraph'. (This is a reversion of a previous
10852 change.)
eb864a71
LM
10853 * progmodes/cc-mode.el (c-basic-common-init):
10854 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10855
e517eda4
GM
108562012-01-13 Glenn Morris <rgm@gnu.org>
10857
1498536e
GM
10858 * dired.el (dired-switches-escape-p): New function.
10859 (dired-insert-directory): Use dired-switches-escape-p.
10860 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10861
e517eda4
GM
10862 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10863
328f984d
GM
108642012-01-12 Glenn Morris <rgm@gnu.org>
10865
10866 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10867 changes in adaptive-fill-regexp. (Bug#10276)
10868
2cc769a8
AM
108692012-01-11 Alan Mackenzie <acm@muc.de>
10870
10871 Fix Emacs bug #10463 - put `widen's around the critical spots.
10872
1d00653d 10873 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10874 widen around each invocation of c-state-pp-to-literal. Remove an
10875 unused let variable.
10876
e52c37fa
GM
108772012-01-11 Glenn Morris <rgm@gnu.org>
10878
10879 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10880 Doc fix.
e52c37fa 10881
96f8741e
CY
108822012-01-10 Chong Yidong <cyd@gnu.org>
10883
1d00653d
SM
10884 * net/network-stream.el (network-stream-open-starttls):
10885 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10886 response to the capability command.
10887
b09a806e
GM
108882012-01-10 Glenn Morris <rgm@gnu.org>
10889
10890 * mail/unrmail.el (unrmail): Tweak previous change.
10891
7655cb66
CY
108922012-01-09 Chong Yidong <cyd@gnu.org>
10893
10894 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10895
9d5a8f0b
AM
108962012-01-08 Alan Mackenzie <acm@muc.de>
10897
10898 Optimise font locking in long enum definitions.
10899
10900 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10901 arm to a cond form to handle enums.
10902 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10903 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10904
9a0115ab 109052012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10906
10907 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10908 (Bug#10401)
6bb72cbd 10909
f186bb95
LMI
109102012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10911
29232a68
LMI
10912 * faces.el (set-face-attribute): Clarify the meaning of the nil
10913 frame (bug#10294).
10914
4e5d086d
LMI
10915 * subr.el (with-selected-frame): Mention that the selected frame
10916 is restored (bug#9980).
10917
8e66aebe
LMI
10918 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10919 (bug#9759).
10920
cd394be1 10921 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10922 (password-read): Don't autoload unused function.
10923
adf4e762
JB
109242012-01-07 Juanma Barranquero <lekktu@gmail.com>
10925
10926 * progmodes/which-func.el (which-func-mode): Turn into a
10927 non-interactive function and mark as obsolete (bug#10428).
10928
89bd9ccd
CY
109292012-01-06 Chong Yidong <cyd@gnu.org>
10930
10931 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10932 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10933 functions, along with 1 and -1.
10934
4afee9d5
EZ
109352012-01-06 Eli Zaretskii <eliz@gnu.org>
10936
10937 * time.el (display-time-load-average)
10938 (display-time-default-load-average): Doc fixes. See the thread
10939 starting at
10940 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10941 for the details.
10942
536aea70
GM
109432012-01-06 Glenn Morris <rgm@gnu.org>
10944
665ae865
GM
10945 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10946 has no messages. (Bug#10377)
10947
c869783d
GM
10948 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10949 than Info-edit. (Bug#10385)
10950
2bb4227e
GM
10951 * time.el (display-time-load-average, display-time-next-load-average):
10952 Doc fixes.
10953
7d5944b9
GM
10954 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10955 local setting of buffer-read-only to the input buffer. (Bug#10419)
10956
536aea70
GM
10957 * calendar/calendar.el (calendar-mode):
10958 Locally set scroll-margin to 0. (Bug#10379)
10959
7dccca16
UM
109602012-01-06 Ulrich Mueller <ulm@gentoo.org>
10961
10962 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10963
afbb7930
GM
109642012-01-05 Glenn Morris <rgm@gnu.org>
10965
10966 * eshell/em-unix.el (diff-no-select): Autoload it.
10967 (eshell/diff): Use diff-no-select. (Bug#10420)
10968
04482335
CY
109692012-01-05 Chong Yidong <cyd@gnu.org>
10970
7baca3bc
CY
10971 * shell.el (shell-dynamic-complete-functions): Revert last change.
10972 (shell-command-completion-function): New function.
10973 (shell-completion-vars): Use it to implement
10974 shell-completion-execonly (Bug#10417).
10975
04482335
CY
10976 * custom.el (enable-theme): Don't set custom-safe-themes.
10977
1d00653d
SM
10978 * cus-theme.el (custom-theme-merge-theme):
10979 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10980
bb5aa5d6
MM
109812012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10982
10983 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10984 first prompt in `sql-interacive-mode'.
10985 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10986 keywords.
6df6ae42 10987 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10988 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10989 context of original buffer. Invoke `sql-login-hook'.
10990
a7183d7c
EZ
109912012-01-04 Eli Zaretskii <eliz@gnu.org>
10992
10993 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10994 letters in cite-prefix.
10995
a1eacd1e
LMI
109962012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10997
10998 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10999
787cdb34
CY
110002012-01-03 Chong Yidong <cyd@gnu.org>
11001
1d00653d
SM
11002 * shell.el (shell-dynamic-complete-functions):
11003 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11004 comint-filename-completion first (Bug#10417).
11005
30710442
RS
110062012-01-02 Richard Stallman <rms@gnu.org>
11007
11008 * battery.el (battery-status-function):
11009 Detect when to use battery-yeeloong-sysfs.
11010 (battery-echo-area-format): Add string for Yeeloong.
11011 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11012 (battery-yeeloong-sysfs): New function.
11013
f75bfc33
CY
110142012-01-02 Chong Yidong <cyd@gnu.org>
11015
11016 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11017 (dirtrack): Merge code for handling relative filenames in prompt
11018 from shell-dir-cookie-watcher.
11019 (dirtrack-debug-message): New arg to avoid excess format calls.
11020
11021 * shell.el (shell-dir-cookie-re): Variable deleted.
11022 (shell-dir-cookie-watcher): Function deleted.
11023 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11024 with dirtrack-mode.
11025
651e947e
EZ
110262012-01-01 Eli Zaretskii <eliz@gnu.org>
11027
1d00653d
SM
11028 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11029 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11030 libgnutls-26.dll.
11031
94d4c7dc
AS
110322011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11033
11034 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11035
8d43f3cd
EZ
110362011-12-31 Eli Zaretskii <eliz@gnu.org>
11037
11038 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11039 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11040
98c8795a
MA
110412011-12-29 Michael Albinus <michael.albinus@gmx.de>
11042
11043 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11044 also for alternative shells.
11045 (tramp-open-connection-setup-interactive-shell): Check, whether
11046 the shell is a busybox.
11047 (tramp-send-command): Don't suppress multiple prompts for
11048 busyboxes, it hurts.
11049
51281b32
CY
110502011-12-28 Chong Yidong <cyd@gnu.org>
11051
11052 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11053 (gdb-get-source-file): Move mode line update to
11054 gdb-get-source-file (Bug#10087).
11055
2170cb53
CY
110562011-12-25 Chong Yidong <cyd@gnu.org>
11057
11058 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11059 gud-gdb-marker-filter without taking it as an argument.
11060 (gud-gdb-run-command-fetch-lines): Caller changed.
11061 (gud-gdb-completion-function): New variable.
11062 (gud-gdb-completion-at-point): Use it.
11063 (gud-gdb-completions-1): Split from gud-gdb-completions.
11064
11065 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11066 function as separate arguments.
11067 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11068 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11069 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11070 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11071 (gdb-stopped, def-gdb-auto-update-trigger)
11072 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11073 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11074 Callers changed.
2170cb53
CY
11075 (gud-gdbmi-completions): New function.
11076 (gdb): Use it for generating the completion table.
11077
be8b11bb
AM
110782011-12-24 Alan Mackenzie <acm@muc.de>
11079
11080 Introduce a mechanism to widen the region used in context font
1d00653d 11081 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11082
1d00653d
SM
11083 * progmodes/cc-langs.el (c-before-font-lock-functions):
11084 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11085 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11086 functions to be run just before context (etc.) font locking.
11087
11088 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11089 New, functionality extracted from
be8b11bb 11090 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11091 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11092 (c-after-change): Set c-in-after-change-fontification.
11093 (c-set-fl-decl-start): Rejig its interface, so it can be called
11094 from both after-change and context fontifying.
b81d40f0
JB
11095 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11096 New functions.
11097 (c-standard-font-lock-fontify-region-function): New variable.
11098 (c-font-lock-fontify-region): New function.
be8b11bb 11099
341cf6ac
JL
111002011-12-24 Juri Linkov <juri@jurta.org>
11101
11102 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11103 (Bug#10348)
11104
bffcee0a
MA
111052011-12-23 Michael Albinus <michael.albinus@gmx.de>
11106
11107 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11108 existence of source file. (Bug#10325)
11109
cb5e207c
AM
111102011-12-23 Alan Mackenzie <acm@muc.de>
11111
11112 Fix unstable fontification inside templates.
11113
b81d40f0
JB
11114 * progmodes/cc-langs.el (c-before-font-lock-functions):
11115 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11116 additionally has c-set-fl-decl-start. The other languages (apart
11117 from AWK) have that as a single entry.
11118
b81d40f0
JB
11119 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11120 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11121 c-set-fl-decl-start.
11122
b81d40f0
JB
11123 * progmodes/cc-mode.el (c-common-init, c-after-change):
11124 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11125 (c-set-fl-decl-start): New function, extracted from
11126 c-font-lock-enclosing-decls and enhanced.
11127
60ff536c
JB
111282011-12-23 Juanma Barranquero <lekktu@gmail.com>
11129
11130 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11131
1c4757d6
JL
111322011-12-22 Juri Linkov <juri@jurta.org>
11133
11134 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11135
d031f2c7
CY
111362011-12-22 Chong Yidong <cyd@gnu.org>
11137
11138 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11139
bace743a
DA
111402011-12-21 Drew Adams <drew.adams@oracle.com>
11141
11142 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11143
728a1f2b
JC
111442011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11145
11146 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11147
0d373f73
TZ
111482011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11149
fec0aaa4
TZ
11150 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11151 highlighting and support. Fix up comments for capitalization.
11152 (cfengine-mode-debug): New var.
11153 (cfengine3-mode): Change the modeline indicator to "CFE3".
11154 (cfengine3-font-lock-keywords): Improve defun highlighting.
11155 (cfengine2-actions): Rename from `cfengine-actions'.
11156 (cfengine2-font-lock-keywords): Rename from
11157 `cfengine-font-lock-keywords'.
11158 (cfengine2-imenu-expression): Rename from
11159 `cfengine-imenu-expression'.
11160 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11161 (cfengine2-beginning-of-defun): Rename from
11162 `cfengine-beginning-of-defun'.
11163 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11164 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11165 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11166 modeline indicator to "CFE2".
11167 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11168 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11169
bc86f573
CY
111702011-12-21 Chong Yidong <cyd@gnu.org>
11171
11172 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11173 filename argument.
11174
d45ba96b
MR
111752011-12-20 Martin Rudalics <rudalics@gmx.at>
11176
11177 * window.el (window-normalize-buffer-to-display): Remove.
11178 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11179
a6198c90
CY
111802011-12-19 Chong Yidong <cyd@gnu.org>
11181
11182 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11183 Don't signal an error in a predicate function; return non-nil.
11184 (vc-dir-mark-file): Move the error here.
11185 (vc-dir-mark-unmark): If acting on the region, keep going if one
11186 of the entries cannot be marked/unmarked.
11187 (vc-dir-mark-all-files): If current entry is a directory, mark
11188 only child files, as documented.
11189
34c5fb55
VB
111902011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11191
11192 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11193 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11194 addition.
11195
c803b2b7
JD
111962011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11197
11198 * term/ns-win.el (ns-get-selection-internal)
11199 (ns-store-selection-internal): Declare.
1154d12e
JB
11200 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11201 Declare as obsolete.
11202 (ns-get-pasteboard, ns-paste-secondary):
11203 Use ns-get-selection-internal.
41e9b956 11204 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11205 Use ns-store-selection-internal.
c803b2b7 11206
9cff91f8 112072011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11208
11209 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11210 (vc-deduce-fileset): Doc fix.
99a289d9 11211
f16c898a
AS
112122011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11213
11214 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11215
763237c4
SS
112162011-12-13 Sam Steingold <sds@gnu.org>
11217
11218 * man.el (Man-getpage-in-background): When running under a
11219 window-system, ignore $MANWIDTH and $COLUMNS.
11220
5fc1c122
KH
112212011-12-15 Kenichi Handa <handa@m17n.org>
11222
11223 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11224 (setup-ethiopic-environment-internal): Comment out key-binding for
11225 ethio-toggle-punctuation.
11226
13d49cbb
AM
112272011-12-13 Alan Mackenzie <acm@muc.de>
11228
898169a2
AM
11229 Add the switch statement to AWK Mode.
11230
7a71b18d 11231 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11232 "default" to the keywords regexp.
11233
7a71b18d 11234 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11235 expression as the rest.
1d00653d
SM
11236 (c-nonlabel-token-key): Allow string literals for AWK.
11237 Refactor for the other modes.
898169a2 11238
13d49cbb 11239 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11240 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11241 routines. Limit backward searching in c-font-lock-enclosing.decl.
11242
11243 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11244 pp-state and literal type in addition to the limits.
1d00653d 11245 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11246 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11247 (c-slow-in-literal, c-fast-in-literal): Remove.
11248 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11249
11250 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11251 being in a literal. Add a limit for backward searching.
11252
11253 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11254 c-slow-in-literal.
11255
15e0efc7
SM
112562011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11259
454592a6
MR
112602011-12-13 Martin Rudalics <rudalics@gmx.at>
11261
11262 * window.el (delete-other-windows): Use correct frame in call to
11263 window-with-parameter.
11264
87393f26
DP
112652011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11266
11267 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11268 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11269 (makefile-gmake-statements, makefile-makepp-statements):
11270 Use it and add new makepp keywords.
11271 (makefile-makepp-font-lock-keywords): Add new patterns.
11272 (makefile-match-function-end): Match new [...] and [[...]].
11273
11636b22
JB
112742011-12-11 Juanma Barranquero <lekktu@gmail.com>
11275
11276 * ses.el (ses-call-printer-return, ses-cell-property-get)
11277 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11278 (ses-create-cell-variable, ses-reset-header-string)
11279 (ses-cell-set-formula, ses-repair-cell-reference-all)
11280 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11281 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11282 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11283 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11284 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11285 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11286 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11287 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11288 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11289 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11290 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11291 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11292
cf018193
VB
112932011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11294
11295 * ses.el: The overall change is to add cell renaming, that is
11296 setting fancy names for cell symbols other than name matching
11297 "\\`[A-Z]+[0-9]+\\'" regexp .
11298 (ses-create-cell-variable): New defun.
11299 (ses-relocate-formula): Relocate formulas only for cells the
11300 symbols of which are not renamed, i.e. symbols whose names do not
11301 match regexp "\\`[A-Z]+[0-9]+\\'".
11302 (ses-relocate-all): Relocate values only for cells the symbols of
11303 which are not renamed.
11304 (ses-load): Create cells variables as the (ses-cell ...) are read,
11305 in order to check row col consistency with cell symbol name only
11306 for cells that are not renamed.
11307 (ses-replace-name-in-formula): New defun.
11308 (ses-rename-cell): New defun.
11309
ee957461
CY
113102011-12-11 Chong Yidong <cyd@gnu.org>
11311
11312 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11313 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11314
9a9e9ef0
MR
113152011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11316
11317 * window.el (other-window): Fix docstring.
11318
92a8eba5
EZ
113192011-12-10 Eli Zaretskii <eliz@gnu.org>
11320
11321 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11322 `from' or `to' address before taking its substring.
11323 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11324 encoded name is chopped in the middle of the encoded string, and
11325 thus displayed encoded.
11326
e152e577
JB
113272011-12-10 Juanma Barranquero <lekktu@gmail.com>
11328
11329 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11330
e5d84bfe
EZ
113312011-12-10 Eli Zaretskii <eliz@gnu.org>
11332
11333 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11334 to use texinfo-update-node and commands that call it if the
11335 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11336 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11337 (texinfo-all-menus-update, texinfo-master-menu)
11338 (texinfo-update-node, texinfo-every-node-update)
11339 (texinfo-multiple-files-update): Doc fix. Warn against updating
11340 all the @node lines.
11341 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11342 argument is numeric. Explain better in the doc string what the
11343 function really does.
11344 (texinfo-insert-master-menu-list): Improve the error message
11345 displayed if there's no menu in the Top node.
11346 (Bug#2975) See also this thread:
e5d84bfe
EZ
11347 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11348
1d84e9bb
MG
113492011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11350
11351 * speedbar.el (speedbar-supported-extension-expressions):
11352 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11353
382c953b
JB
113542011-12-09 Juanma Barranquero <lekktu@gmail.com>
11355
11356 * printing.el (pr-mode-alist):
11357 * simple.el (filter-buffer-substring-functions)
11358 (completion-list-insert-choice-function):
11359 * window.el (window-with-parameter, window-atom-root)
11360 (window-sides-slots, window-size-fixed, window-min-delta)
11361 (window-max-delta, window--resize-mini-window)
11362 (window--resize-child-windows-normal, window-tree)
11363 (delete-other-windows, quit-window, split-window)
11364 (display-buffer-record-window, special-display-buffer-names)
11365 (special-display-regexps, special-display-popup-frame)
11366 (same-window-p, split-window-sensibly)
11367 (display-buffer-overriding-action, display-buffer-alist)
11368 (display-buffer-base-action, display-buffer, switch-to-buffer)
11369 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11370 (fit-window-to-buffer, recenter-positions)
11371 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11372 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11373 and remove unneeded backslashes in docstrings.
11374
39c9faef
SM
113752011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11376
98449af8
SM
11377 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11378
39c9faef
SM
11379 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11380 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11381 end in ".mk".
11382 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11383 when reading the makefile (bug#10116).
11384
86ed9fdc
SM
113852011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11388 (bug#10116).
11389
5580f89d
GM
113902011-12-06 Glenn Morris <rgm@gnu.org>
11391
11392 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11393
28d3917c
CY
113942011-12-06 Chong Yidong <cyd@gnu.org>
11395
11396 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11397
a98edce9
JB
113982011-12-06 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * textmodes/table.el (table-shorten-cell): Fix typo.
11401
e65adfac
CG
114022011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11403
11404 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11405
71cc0b74
EZ
114062011-12-05 Eli Zaretskii <eliz@gnu.org>
11407
11408 * descr-text.el (describe-char): Fix display of strong
11409 right-to-left characters and directional embeddings and overrides.
11410
11411 * simple.el (what-cursor-position): Fix display of codepoints of
11412 strong right-to-left characters.
11413
315bc30d
CY
114142011-12-05 Chong Yidong <cyd@gnu.org>
11415
11416 * faces.el (read-color): Doc fix.
11417
58a70b94
GM
114182011-12-05 Glenn Morris <rgm@gnu.org>
11419
11420 * align.el (align--set-marker): Add doc-string.
11421 Don't try to move something that is not a marker. (Bug#10216)
11422
5158face
GM
114232011-12-04 Glenn Morris <rgm@gnu.org>
11424
11425 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11426 overly zealous deletion of trailing whitespace.
11427
520fca41
JB
114282011-12-04 Juanma Barranquero <lekktu@gmail.com>
11429
11430 * server.el (server-delete-client): On Windows, do not try to delete
11431 the only terminal.
11432 (server-process-filter): On Windows, treat requests for a tty frame as
11433 if they were for a GUI frame if the running server is in GUI mode.
11434
5e605a2e
GM
114352011-12-03 Glenn Morris <rgm@gnu.org>
11436
11437 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11438
5c3fe83f
SM
114392011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11440
6f5e57e7
SM
11441 * electric.el: Streamline electric-indent's hook.
11442 (electric-indent-chars): Revert to simple list.
11443 (electric-indent-functions): New var.
11444 (electric-indent-post-self-insert-function): Use it.
11445
5c3fe83f
SM
11446 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11447 there's no inferior buffer (bug#10196).
11448 (prolog-consult-compile): Don't use toggle-read-only.
11449
6bdac736
MA
114502011-12-02 Michael Albinus <michael.albinus@gmx.de>
11451
11452 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11453 interrupt. (Bug#10187)
11454
6131ba7f
SM
114552011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11456
99c79fee
SM
11457 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11458 (bug#9160).
11459
6131ba7f
SM
11460 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11461 (bug#10191).
11462
cb0a02ea
JL
114632011-12-02 Juri Linkov <juri@jurta.org>
11464
11465 * info.el (Info-search): Display "end of manual" when Isearch
11466 reaches the end of single-file Info manual. (Bug#9918)
11467
66e0570c
EZ
114682011-12-02 Eli Zaretskii <eliz@gnu.org>
11469
11470 * isearch.el (isearch-message-prefix): Run the input method part
11471 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11472
02b16839
JL
114732011-12-02 Juri Linkov <juri@jurta.org>
11474
11475 * isearch.el (isearch-occur): Use `word-search-regexp' for
11476 `isearch-word'.
11477 (isearch-search-and-update): Add condition for `isearch-word' and
11478 call `word-search-regexp'. (Bug#10145)
11479
0b950688
GM
114802011-12-01 Glenn Morris <rgm@gnu.org>
11481
11482 * eshell/em-hist.el (eshell-hist-initialize):
11483 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11484 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11485
9505c3c7
SM
114862011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11487
11488 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11489
1bbe96b2 114902011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11491
a1beca85
SM
11492 * progmodes/verilog-mode.el (verilog-pretty-expr):
11493 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11494 verilog, such as += *= and the like.
11495 (verilog-assignment-operator-re): Regular expression to find the
11496 assigment operator in a verilog assignment.
11497 (verilog-assignment-operation-re): Regular expression to find an
11498 assignment statement for pretty-expr.
11499 (verilog-in-attribute-p): Query returns true if point is in an
11500 attribute context; used to skip these for expression line up from
11501 pretty-expr.
11502 (verilog-in-parameter-p): Query returns true if point is in an
11503 parameter definition context; used to skip these for expression
11504 line up from pretty-expr.
11505 (verilog-in-parenthesis-p): Query returns true if point is in a
11506 parenthetical expression, specifically ( ) but not [ ] or { };
11507 used by pretty-expr.
11508 (verilog-just-one-space): If there is no space, don't add one.
11509 (verilog-get-lineup-indent-2): Specifically skip just attribute
11510 contexts for expression lineup, rather than skipping all
11511 parenthetical expressions.
11512 (verilog-calculate-indent): Fix comment, and fix indent.
11513 (verilog-do-indent): Indent declarations in lists (suggested by
11514 Joachim Lechner).
11515 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11516 skeleton items.
11517 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11518 by Alain Mellan).
11519
1bbe96b2 115202011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11521
11522 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11523 parameters with embedded comments. Reported by Ray Stevens.
11524 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11525 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11526 Reported by Tim Holt.
11527 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11528 instantiated by upper module causing wrong expansion until AUTOed a
11529 second time. Reported by K C Buckenmaier.
11530 (verilog-diff-auto): Fix showing .* as a difference when
11531 `verilog-auto-star-save' off. Reported by Dan Dever.
11532 (verilog-auto-reset, verilog-read-always-signals)
11533 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11534 temporary signals in reset list if
11535 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11536 style to each signal's assignment type, bug381.
11537 Reported by Thomas Esposito.
6288f0ca
WS
11538 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11539 (verilog-uvm-statement-re): Support UVM indentation and
11540 highlighting, with old OVM keywords only.
a1beca85 11541 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11542 Support AUTOTIEOFF creating non-wire data types.
11543 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11544 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11545 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11546 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11547 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11548 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11549 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11550 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11551 non-numeric vector width. Reported by Alex Reed.
11552 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11553 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11554 (verilog-auto-delete-trailing-whitespace):
11555 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11556 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11557 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11558 Fix verilog-scan-cache corruption when running user AUTO expansion
11559 hooks that call indentation routines.
11560 (verilog-simplify-range-expression): Fix typo ignoring lower case
11561 identifiers.
11562 (verilog-delete-auto): Fix delete-autos to also remove user created
11563 automatics, as long as they start with AUTO.
11564 (verilog-batch-diff-auto, verilog-diff-auto)
11565 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11566 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11567 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11568 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11569 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11570 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11571 is disabled and its cache will get corrupt, causing AUTOS not to
11572 expand. Instead use only -quick functions.
11573 (verilog-scan-region): Fix scanning over escaped quotes.
11574 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11575 (verilog-re-search-backward-quick)
11576 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11577 related functions now ignore strings, to fix misparsing of strings
11578 with magic comments embedded in them.
a1beca85
SM
11579 (verilog-read-auto-template):
11580 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11581 Reported by Brad Dobbie.
11582 (verilog-read-auto-template):
11583 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11584 Reported by Brad Dobbie.
6288f0ca
WS
11585 (verilog-auto-inst, verilog-auto-inst-param)
11586 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11587 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11588 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11589 debugging templates without merge conflicts, bug357.
11590 Reported by Brad Dobbie.
11591 (verilog-read-auto-template):
11592 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11593 Reported by Brad Dobbie.
11594 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11595 abbrevs so user won't be asked to save.
11596 (verilog-read-auto-lisp-present): Fix to start at beginning of
11597 buffer in case called outside of verilog-auto.
11598 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11599 to "X-2". Reported by Matthew Myers.
11600 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11601 all inputs from module templates. Reported by Leith Johnson.
11602 (verilog-module-inside-filename-p): Fix locating programs as with
11603 modules.
11604 (verilog-auto-inst-port): Fix vl-width expressions when using
11605 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11606 (verilog-decls-get-regs, verilog-decls-get-signals,
11607 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11608 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11609 verilog-read-decls): Combine reg and wire structures into one var
11610 structure to represent SystemVerilog concepts.
11611 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11612 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11613 (verilog-auto-wire-type, verilog-insert-definition):
11614 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11615 SystemVerilog "logic" keyword instead of "wire"/"reg".
11616 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11617 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11618 ifdef or generate if so there's not a driver conflict).
11619 Reported by Matthew Myers.
11620 (verilog-auto-declare-nettype, verilog-insert-definition):
11621 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11622 `default_nettype none. Reported by Julian Gorfajn.
11623 (verilog-read-always-signals-recurse, verilog-read-decls)
11624 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11625 malformed end statement, bug325. Reported by Joshua Wise and
11626 Andrew Drake.
11627 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11628 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11629 when expanding .* in interfaces, bug320.
11630 Reported by Pierre-David Pfister.
6288f0ca 11631 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11632 name and open parenthesis, bug317.
11633 Reported by Pierre-David Pfister.
6288f0ca
WS
11634 (verilog-simplify-range-expression): Fix simplification of
11635 multiplications inside AUTOWIRE connections, bug303.
11636 (verilog-auto-inst-port): Support parameter expansion in
11637 multidimensional arrays.
11638 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11639 after "assert property". Reported by Julian Gorfajn.
11640 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11641 with multiplication, bug303.
11642 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11643 Reported by Jan Frode Lonnum.
11644
1bbe96b2
GM
116452011-11-30 Juanma Barranquero <lekktu@gmail.com>
11646
11647 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11648 (hfy-shell-file-name, hfy-shell):
11649 * international/fontset.el (x-decompose-font-name): Fix typos.
11650
116512011-11-29 Ken Brown <kbrown@cornell.edu>
11652
11653 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11654 (gdb-version): Remove defvar.
11655 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11656 (gdb-gud-context-command, gdb-non-stop-handler)
11657 (gdb-current-context-command, gdb-stopped): Use it.
11658 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11659 (gdb-non-stop-handler): Don't enable pretty-printing here.
11660 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11661 non-stop mode. Use the following.
11662 (gdb-check-target-async): New defun.
11663 (gud-watch, gdb-stopped): Fix whitespace.
11664 (gdb-get-source-file): Don't try to display the source file if
11665 `gdb-main-file' is nil.
11666
116672011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * align.el: Try to generate fewer markers (bug#10047).
11670 (align--set-marker): New macro.
11671 (align-region): Use it.
11672
c935221f
SM
116732011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11676
e70b5064
CY
116772011-11-29 Chong Yidong <cyd@gnu.org>
11678
11679 * indent.el (indent-for-tab-command, indent-according-to-mode):
11680 Doc fix.
11681 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11682
f3af92b7
MA
116832011-11-29 Michael Albinus <michael.albinus@gmx.de>
11684
11685 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11686 aware of remote file names. (Bug#10124)
11687
ed472be9
CY
116882011-11-29 Chong Yidong <cyd@gnu.org>
11689
11690 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11691
24510c22
SM
116922011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * files.el (find-file): Don't use force-same-window (bug#10144).
11695 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11696 use pop-to-buffer if the selected window can't be used.
11697 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11698
c60c3703
EZ
116992011-11-28 Eli Zaretskii <eliz@gnu.org>
11700
11701 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11702 special-mode-map.
11703
e95def75
CY
117042011-11-28 Chong Yidong <cyd@gnu.org>
11705
11706 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11707
c3f1c606
NR
117082011-11-27 Nick Roberts <nickrob@snap.net.nz>
11709
11710 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11711 gdb-get-source-file-list on gdb-create-source-file-list.
11712
00db469c
EZ
117132011-11-26 Eli Zaretskii <eliz@gnu.org>
11714
11715 * whitespace.el (whitespace-newline): Use a different foreground
11716 color for 16-color light-background displays.
11717
4ad3bc2a
CY
117182011-11-24 Chong Yidong <cyd@gnu.org>
11719
11720 * window.el (display-buffer--special-action): Doc fix.
11721
e9fce1ac
JB
117222011-11-25 Juanma Barranquero <lekktu@gmail.com>
11723
11724 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11725 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11726 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11727 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11728 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11729 (avl-tree-stack-first):
11730 * emacs-lisp/cconv.el (cconv--analyse-use):
11731 * net/gnutls.el (gnutls-negotiate): Fix typos.
11732
cb825e5d
GM
117332011-11-24 Glenn Morris <rgm@gnu.org>
11734
3adbe224
GM
11735 * lpr.el (lpr-windows-system, lpr-lp-system):
11736 * mail/binhex.el (binhex-begin-line):
11737 * progmodes/grep.el (grep-history, grep-find-history):
11738 * textmodes/flyspell.el:
11739 * vc/pcvs-defs.el (cvs-global-menu):
11740 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11741 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11742 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11743
321decc8
GM
11744 * net/tls.el: Fix case of "GnuTLS".
11745
420b63ad
GM
11746 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11747
cb825e5d
GM
11748 * version.el (emacs-build-system): Give it a doc-string.
11749
a0649f08
JL
117502011-11-24 Juri Linkov <juri@jurta.org>
11751
11752 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11753
c0bc0fd4
GM
117542011-11-24 Glenn Morris <rgm@gnu.org>
11755
11756 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11757 if called on a non-mime message just toggle the headers. (Bug#8006)
11758
20db1522
JB
117592011-11-24 Juanma Barranquero <lekktu@gmail.com>
11760
11761 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11762 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11763 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11764 (allout-rebullet-heading, allout-open-sibtopic)
11765 (allout-toggle-current-subtree-encryption)
11766 (allout-toggle-subtree-encryption, allout-encrypt-string)
11767 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11768 (allout-distinctive-bullets-string, allout-auto-activation):
11769 * window.el (window-normalize-buffer-to-display):
11770 * progmodes/verilog-mode.el (verilog-batch-indent):
11771 * textmodes/bibtex.el (bibtex-field-braces-opt)
11772 (bibtex-field-strings-opt):
11773 * vc/cvs-status.el (cvs-tree-merge):
11774 Fix typos.
11775
7262a87c
MA
117762011-11-23 Michael Albinus <michael.albinus@gmx.de>
11777
11778 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11779 `non-essential' to t, in order to avoid remote connections.
11780
283430a1
EZ
117812011-11-23 Eli Zaretskii <eliz@gnu.org>
11782
a1beca85
SM
11783 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11784 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11785 case-insensitively.
11786
d2992a38
ML
117872011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11788
11789 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11790
50419064
GM
117912011-11-23 Glenn Morris <rgm@gnu.org>
11792
da94eca1
GM
11793 * paths.el (rmail-file-name): Reformat the doc-string so that it
11794 is picked up.
11795
9aac4de2
GM
11796 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11797 (rmail-auto-file): Ignore case in the "special" field names,
11798 as mail-fetch-field does for all others.
11799
8038d2d2
GM
11800 * mail/rmail.el (rmail-forward):
11801 * mail/rmailkwd.el (rmail-set-label):
11802 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11803 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11804
f3fe222a
GM
11805 * mail/rmail.el (rmail-current-message): Doc fix.
11806
50419064
GM
11807 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11808
28109f49
SM
118092011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11812
394c65f1
GM
118132011-11-22 Glenn Morris <rgm@gnu.org>
11814
11815 * mail/rmailmm.el (test-rmail-mime-handler)
11816 (test-rmail-mime-bulk-handler)
11817 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11818
f2a0aa3a
JL
118192011-11-21 Juri Linkov <juri@jurta.org>
11820
1154d12e
JB
11821 * calc/calc.el (calc-read-key-sequence):
11822 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11823
9c34a344
LMI
118242011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
11826 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11827 Tell the caller that the next line needs recomputation, even
11828 though it doesn't start a sexp (bug#10094).
11829
f04a3be9
SM
118302011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11833
7978747f
SM
118342011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11835
f04a3be9
SM
11836 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11837 Use force-same-window.
7978747f 11838
fe7a3057
JB
118392011-11-20 Juanma Barranquero <lekktu@gmail.com>
11840
11841 * descr-text.el (describe-char-unicode-data):
11842 * json.el (json-string-escape):
11843 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11844 (Footnote-unicode, Footnote-style-p):
11845 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11846
24901d61
CY
118472011-11-20 Chong Yidong <cyd@gnu.org>
11848
11849 * window.el (replace-buffer-in-windows): Restore interactive spec.
11850
bac7ff22
SM
118512011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11852
24f3d7b9
SM
11853 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11854
bac7ff22
SM
11855 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11856 (byte-compile-global-not-obsolete-vars): New var.
11857 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11858 Use it.
11859 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11860
cd1181db
JB
118612011-11-20 Juanma Barranquero <lekktu@gmail.com>
11862
11863 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11864 * progmodes/pascal.el (electric-pascal-equal):
11865 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11866 * xml.el (xml-substitute-special): Fix typos.
11867
7fb18e9e
GM
118682011-11-20 Glenn Morris <rgm@gnu.org>
11869
11870 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11871 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11872 Doc fixes.
11873 (rmail-decode-mime-charset): Mark as obsolete.
11874
11875 * mail/rmailsum.el (rmail-message-regexp-p-1):
11876 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11877 Before using mime functions, check they are set. (Bug#10077)
11878
d5a6b3ba
JL
118792011-11-19 Juri Linkov <juri@jurta.org>
11880
11881 * info.el (Info-finder-find-node): Use `package--builtins' instead
11882 of `package-alist'. Use node names formed by the pattern "Keyword "
11883 and the keyword name.
11884
e981b61f
AS
118852011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11886
1d00653d 11887 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11888
3ffbc301
JL
118892011-11-19 Juri Linkov <juri@jurta.org>
11890
11891 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11892 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11893 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11894 `old-history', `old-history-forward'. Add let-binding
11895 `window-selected'. Remove calls to `kill-buffer',
11896 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11897 before calling `Info-find-node', so `Info-find-node-2' will reread
11898 the Info file. Restore window positions only when `window-selected'
11899 is non-nil.
11900
30c62133
JL
119012011-11-19 Juri Linkov <juri@jurta.org>
11902
11903 * isearch.el (isearch-lazy-highlight-new-loop):
11904 Remove condition `(not isearch-error)'. (Bug#9918)
11905
11906 * misearch.el (multi-isearch-search-fun): Add condition
11907 `(not bound)' to ignore lazy-highlighting search.
11908 Add the search-failed message "end of multi" when the end of
11909 multi-sequence is reached. Uncapitalize the search-failed
11910 message "Repeat for next buffer".
11911
11912 * info.el (Info-search): Add the search-failed message
11913 "end of the manual" when the end of the manual is reached
11914 in Isearch mode.
11915
645ca9cf
JL
119162011-11-19 Juri Linkov <juri@jurta.org>
11917
11918 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11919 Use non-destructive `remove' instead of `delete' because
11920 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11921 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11922
df754f66
JL
119232011-11-19 Juri Linkov <juri@jurta.org>
11924
11925 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11926 to nil instead of binding `search-ring' and `regexp-search-ring'.
11927 (Bug#9185)
11928
0e23d96a
EZ
119292011-11-19 Eli Zaretskii <eliz@gnu.org>
11930
11931 * simple.el (line-move): Force movement by logical lines for any
11932 hscrolled window, not only when auto-hscroll-mode is on.
11933 (line-move-visual): Update doc string to that effect. (Bug#10076)
11934
8a6ccb66
AS
119352011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11936
11937 * language/european.el (macintosh): Define as alias for mac-roman.
11938
49ae5b39
EZ
119392011-11-19 Eli Zaretskii <eliz@gnu.org>
11940
11941 * mail/rmailmm.el (rmail-mime-display-header)
11942 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11943 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11944 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11945 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11946 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11947 of a raw aref.
11948 (rmail-mime-entity-segment): To get past the tagline, move forward
11949 2 more lines, to account for the 2 empty lines that precede and
11950 follow the line with the buttons.
11951 (rmail-mime-update-tagline): Move one more line, to get past the
11952 empty line that follows the buttons in the tagline. (Bug#9520)
11953
c56cad4a
MR
119542011-11-19 Martin Rudalics <rudalics@gmx.at>
11955
11956 * window.el (window-max-delta-1, window-min-delta-1)
11957 (window-min-size-1, window-state-get-1, window-state-put-1)
11958 (window-state-put-2): Use "window--" prefix.
11959
cbe71af3
SM
119602011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11961
2ad52c60
SM
11962 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11963 (smie-warning-count): New var.
11964 (smie-set-prec2tab): Use it.
11965 (smie-bnf->prec2): Improve warnings. Add docstring.
11966 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11967 (smie-bnf--set-class): New function.
11968 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11969 corner case.
11970
6944dbc1
SM
11971 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11972 (compilation-error-properties, compilation-move-to-column):
11973 Handle compilation-first-column while in the target buffer.
11974
c400c4d7
SM
11975 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11976 Don't hardcode point-min==1.
11977
6dbe3e96
SM
11978 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11979 (eshell-rewrite-for-command): Remove workaround.
11980 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11981 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11982 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11983
cbe71af3
SM
11984 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11985
a8e1496d
GM
119862011-11-17 Glenn Morris <rgm@gnu.org>
11987
11988 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11989 Ignore buffer-local generated-autoload-file if it is the same
11990 as the global value. (Bug#10049)
11991
df85d315
JB
119922011-11-17 Juanma Barranquero <lekktu@gmail.com>
11993
11994 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11995 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11996 (reftex-toc-previous-heading, reftex-toc-max-level)
11997 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11998 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11999 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12000 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12001 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12002 (reftex-toc-rename-label, reftex-toc-visit-location)
12003 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12004 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12005 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12006 leaving "*toc*" only for references to the buffer.
12007
a0c2d0ae
MR
120082011-11-17 Martin Rudalics <rudalics@gmx.at>
12009
12010 * window.el (window-resize, delete-window, split-window):
12011 Replace window-splits by window-combination-resize.
1d00653d 12012 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12013
35c0bac8
GM
120142011-11-17 Glenn Morris <rgm@gnu.org>
12015
12016 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12017 Make bash entry derive from sh entry, not shell entry.
12018
d0c8fc8a
MA
120192011-11-16 Michael Albinus <michael.albinus@gmx.de>
12020
7262a87c
MA
12021 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12022 local file name.
12023
7877f373
JB
120242011-11-16 Juanma Barranquero <lekktu@gmail.com>
12025
12026 * menu-bar.el (menu-bar-file-menu):
12027 * printing.el (pr-ps-utility):
12028 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12029 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12030 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12031 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12032 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12033 (icalendar--convert-cyclic-to-ical)
12034 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12035 (icalendar--convert-ical-to-diary)
12036 (icalendar--convert-recurring-to-diary)
12037 (icalendar--convert-non-recurring-all-day-to-diary)
12038 (icalendar-import-format-sample):
12039 * progmodes/idlw-shell.el (idlwave-shell-mode):
12040 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12041 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12042 (vhdl-ps-print-init): Fix typos.
12043
10649b82
KM
120442011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12045
9d0cfcd6
GM
12046 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12047 FSF and collapse date sequence, obscure author/maintainer email address
12048 better, remove extra version line, track relocation of author's webpage.
10649b82 12049
9d0cfcd6
GM
12050 * progmodes/python.el (python-pdbtrack-input-prompt)
12051 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12052 regular python pdb prompts. Adjustments shamelessly taken exactly as
12053 suggested in EmacsWiki page (tiny change):
12054 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12055
58179cce
JB
120562011-11-16 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * expand.el (expand-pos, expand-index, expand-point):
12059 Remove redundant info from docstring.
12060 (expand-add-abbrevs): Doc fix.
12061 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12062 (expand-sample-perl-mode-expand-list): Fix typos.
12063
12064 * net/dbus.el (dbus-event-member-name):
12065 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12066 * term/pc-win.el (msdos-create-frame-with-faces):
12067 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12068
b6f67890
MR
120692011-11-16 Martin Rudalics <rudalics@gmx.at>
12070
12071 * window.el (split-window, window-state-get-1)
12072 (window-state-put-1, window-state-put-2): Rename occurrences of
12073 window-nest to window-combination-limit.
1d00653d 12074 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12075
ce7ddba0
CY
120762011-11-16 Chong Yidong <cyd@gnu.org>
12077
12078 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12079 regexp (Bug#10033).
12080
3ae704f4
SM
120812011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12084 `completing-read' will remove *Completions* and will preserve
12085 current-buffer for us.
12086 (tmm-add-prompt): Users of *Completions* will always (re)set its
12087 major mode.
12088 (tmm-old-comp-map): Remove.
12089
6ad1cdde
GM
120902011-11-16 Glenn Morris <rgm@gnu.org>
12091
12092 * mail/rmailedit.el: Require rmailmm when compiling.
12093 (rmail-old-mime-state): New declaration.
12094 (rmail-edit-current-message): If editing a mime message,
12095 edit the "raw" message from the mbox buffer.
12096 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12097
d20faa20
GM
120982011-11-15 Glenn Morris <rgm@gnu.org>
12099
12100 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12101 which wasn't being used. Add optional arg to force given state.
12102 (rmail-mime): Add optional arg to force given state.
12103
c7015153
JB
121042011-11-15 Juanma Barranquero <lekktu@gmail.com>
12105
12106 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12107 * frame.el (display-mm-dimensions-alist):
12108 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12109 (outline-move-subtree-down):
12110 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12111 (newsticker--treeview-do-get-node):
12112 * net/quickurl.el (quickurl-list-buffer-name):
12113 * progmodes/dcl-mode.el (dcl-mode):
12114 * progmodes/gdb-mi.el (gdb-mapcar*):
12115 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12116
45261b50
GM
121172011-11-15 Glenn Morris <rgm@gnu.org>
12118
12119 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12120 in a boolean sense, so just make it a boolean, and fix the doc.
12121 (rmail-show-mime-function, rmail-mime-feature)
12122 (rmail-require-mime-maybe): Doc fixes.
12123 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12124
12125 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12126
0d26e0b6
JB
121272011-11-15 Juanma Barranquero <lekktu@gmail.com>
12128
12129 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12130 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12131 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12132 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12133
447f30f6
GM
121342011-11-15 Glenn Morris <rgm@gnu.org>
12135
672b871d
GM
12136 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12137 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12138 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12139 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12140 (rmail-mime, rmail-show-mime): Doc fixes.
12141
f6aa5bb1
GM
12142 * term/ns-win.el (mode-line-frame-identification):
12143 Leave it alone. (Bug#10051)
12144
947cd66b
GM
12145 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12146
447f30f6
GM
12147 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12148 Handle empty buffers. (Bug#9978)
12149
0b381c7e
JB
121502011-11-14 Juanma Barranquero <lekktu@gmail.com>
12151
12152 * international/mule.el (define-charset):
12153 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12154 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12155 * progmodes/verilog-mode.el (verilog-backward-token):
12156 * textmodes/ispell.el (lookup-words):
12157 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12158
71e027ac
GM
121592011-11-14 Glenn Morris <rgm@gnu.org>
12160
56632ce4
GM
12161 * progmodes/executable.el
12162 (executable-make-buffer-file-executable-if-script-p):
12163 Handle file-modes returning nil.
12164
40500957
GM
12165 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12166 message - not necessary, and causes problems. (Bug#9831)
12167
071c2340
GM
12168 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12169
d3cfca60
GM
12170 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12171
71e027ac
GM
12172 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12173 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12174 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12175
89d61221
MR
121762011-11-12 Martin Rudalics <rudalics@gmx.at>
12177
12178 * window.el (window-resize, delete-window): Use window-splits
12179 variable instead of function.
12180 (window-state-get-1, window-state-put-2, window-state-put):
12181 Don't deal with windows' splits status.
12182
98282f6f
GM
121832011-11-12 Glenn Morris <rgm@gnu.org>
12184
12185 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12186 (apropos-documentation): Doc fixes.
12187
40a8bdf6
JB
121882011-11-11 Juanma Barranquero <lekktu@gmail.com>
12189
12190 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12191 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12192
65bd19ff
SM
121932011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * electric.el (electric-indent-post-self-insert-function): Make it
12196 possible for a char to only indent in some circumstances.
12197 (electric-indent-mode): Simplify.
12198
54f9154c
MR
121992011-11-11 Martin Rudalics <rudalics@gmx.at>
12200
12201 * window.el (windows-with-parameter): Remove unused function.
12202 (windows-at-side): Rename to window-at-side-list.
12203 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12204 (window-side-check, window-size-ignore, window-size-fixed-1)
12205 (window-in-direction-2): Prefix with "window--".
12206 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12207
68cbc58b
GM
122082011-11-11 Glenn Morris <rgm@gnu.org>
12209
12210 * subr.el (eval-after-load): If FILE is already loaded,
12211 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12212
b2621720
GM
122132011-11-10 Glenn Morris <rgm@gnu.org>
12214
9a4de110
GM
12215 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12216 Call svn via vc-svn-command rather than vc-do-command.
12217 (vc-svn-command): Add --non-interactive. (Bug#9993)
12218 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12219
b2621720
GM
12220 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12221 Add toggle-read-only. (Bug#7292)
12222 * files.el (toggle-read-only): Mention that it should only
12223 be used interactively. (Bug#10006)
12224
1dce7193
SM
122252011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12226
d9ac1a1e
SM
12227 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12228 Adjust regexp for OCaml warnings.
12229
0c325082
SM
12230 * electric.el (electric-pair-post-self-insert-function): Let user
12231 turn it off buffer-locally (bug#9932).
12232
90132c14
SM
12233 * progmodes/python.el (python-beginning-of-statement):
12234 Rewrite (bug#2703).
12235
1dce7193
SM
12236 * progmodes/compile.el: Better handle TABs (bug#9749).
12237 (compilation-internal-error-properties)
12238 (compilation-next-error-function): Obey the target buffer's
12239 compilation-error-screen-columns.
12240
c4e7c63a
JB
122412011-11-09 Juanma Barranquero <lekktu@gmail.com>
12242
12243 * progmodes/meta-mode.el: Remove obsolete comments.
12244 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12245 Fix typos in docstrings.
12246
2cffd681
MR
122472011-11-09 Martin Rudalics <rudalics@gmx.at>
12248
12249 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12250 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12251 (window--resizable): New function. Make all callers of
12252 window-resizable call window--resizable instead.
12253 (window-resizable): Rewrite in terms of window--resizable.
12254
0edcba87
GM
122552011-11-08 Glenn Morris <rgm@gnu.org>
12256
12257 * progmodes/delphi.el (delphi-mode-syntax-table):
12258 Let define-derived-mode define a proper syntax table. (Bug#9994)
12259
4b0d61e3
SM
122602011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * window.el: Stay away from defsubst.
12263 (window-list-no-nils): Remove.
12264 (window-state-get-1, window-state-get): Use backquote instead.
12265
cd394be1 122662011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12267
4b0d61e3 12268 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12269 Fix incorrect use of default argument in `completing-read'.
12270
e1c2c6f2
MR
122712011-11-08 Martin Rudalics <rudalics@gmx.at>
12272
12273 * window.el (display-buffer-function, special-display-function):
12274 Mention display-buffer-record-window but do not mention
12275 help-setup parameter in doc-strings.
b3f4a882 12276 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12277
105216ed
CY
122782011-11-08 Chong Yidong <cyd@gnu.org>
12279
12280 * window.el (window-total-height, window-total-width): Doc fix.
12281 (window-body-size): Move from C.
12282 (window-body-height, window-body-width): Move to C.
12283
0a9f9ab5
SM
122842011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12285
12286 * window.el: Make special-display like display-buffer-alist (bug#9532).
12287 (display-buffer--special-action): New function, morphed
12288 from display-buffer--special.
12289 (display-buffer): Use it to handle special-display-buffers at higher
12290 priority (just after display-buffer-alist).
12291 (display-buffer-fallback-action, display-buffer--other-frame-action)
12292 (pop-to-buffer-same-window): Remove display-buffer--special.
12293
a769dd15
GM
122942011-11-07 Glenn Morris <rgm@gnu.org>
12295
12296 * calendar/cal-menu.el (cal-menu-set-date-title):
12297 Do nothing if not in a calendar. (Bug#9976)
12298
05a61ee3
SM
122992011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * files.el (find-file): Always use selected-window.
12302
be7f5545
MR
123032011-11-07 Martin Rudalics <rudalics@gmx.at>
12304
12305 * window.el (window-combinations): Make WINDOW argument
12306 mandatory. Rewrite doc-string.
12307 (walk-window-subtree, window-atom-check, window-min-delta)
12308 (window-max-delta, window--resize-this-window)
12309 (window--resize-root-window-vertically, window-tree)
12310 (balance-windows, window-state-put): Rewrite doc-strings as to
12311 not mention the term "subwindow".
12312 (window--resize-subwindows-skip-p): Rename to
12313 window--resize-child-windows-skip-p.
12314 (window--resize-subwindows-normal): Rename to
12315 window--resize-child-windows-normal.
12316 (window--resize-subwindows): Rename to
12317 window--resize-child-windows.
12318 (window-or-subwindow-p): Rename to window--in-subtree-p.
12319
3c6702ef
ML
123202011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12321
12322 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12323 Ensure that mbox format messages end in two newlines (Bug#9974).
12324
49745b39
CY
123252011-11-06 Chong Yidong <cyd@gnu.org>
12326
12327 * window.el (window-combination-p): Function deleted; its
12328 side-effect is not used in any existing code.
12329 (window-combinations, window-combined-p): Call window-*-child
12330 directly.
12331
24300f5f
CY
123322011-11-05 Chong Yidong <cyd@gnu.org>
12333
12334 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12335 (window-size-ignore, window-state-get): Callers changed.
12336 (window-normalize-window): Rename from window-normalize-any-window.
12337 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12338 (window-normalize-live-window): Delete.
447f16b8
CY
12339 (window-combination-p, window-combined-p, window-combinations)
12340 (walk-window-subtree, window-atom-root, window-min-size)
12341 (window-sizable, window-sizable-p, window-size-fixed-p)
12342 (window-min-delta, window-max-delta, window-resizable)
12343 (window-resizable-p, window-full-height-p, window-full-width-p)
12344 (window-current-scroll-bars, window-point-1, set-window-point-1)
12345 (window-at-side-p, window-in-direction, window-resize)
12346 (adjust-window-trailing-edge, maximize-window, minimize-window)
12347 (window-deletable-p, delete-window, delete-other-windows)
12348 (record-window-buffer, unrecord-window-buffer)
12349 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12350 (quit-window, split-window, window-state-put)
12351 (set-window-text-height, fit-window-to-buffer)
12352 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12353
89bd5ee1
EZ
123542011-11-04 Eli Zaretskii <eliz@gnu.org>
12355
53479029
EZ
12356 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12357 rfc2047-decode-string.
12358 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12359 warnings.
12360
89bd5ee1
EZ
12361 * window.el (window-body-height, window-body-width): Mention in
12362 the doc string that the return values are in frame's canonical
12363 units. (Bug#9949)
12364
bd17fdee
AM
123652011-11-03 Alan Mackenzie <acm@muc.de>
12366
12367 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12368 change in cc-engine.el.
12369
acc825c5
SM
123702011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12371
12372 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12373
1885e5b8
MR
123742011-11-02 Martin Rudalics <rudalics@gmx.at>
12375
12376 * window.el (quit-window): Call unrecord-window-buffer after
12377 showing another buffer in the window. (Bug#9937)
acc825c5 12378 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12379
ebe06da9
JB
123802011-11-02 Juanma Barranquero <lekktu@gmail.com>
12381
12382 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12383 Accept status with more than 9 shelves. (Bug#9935)
12384 Reported by Colin D Bennett <colin@gibibit.com>.
12385
4ee88440
MR
123862011-11-01 Martin Rudalics <rudalics@gmx.at>
12387
12388 * help.el (with-help-window): Don't reference
12389 temp-buffer-show-specifiers in doc-string.
12390
08e1d82c
AS
123912011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12392
12393 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12394 menu-item.
12395
84bd6e9e
VJL
123962011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12397
12398 * whitespace.el: New version 13.2.2.
12399 (whitespace-newline-mode): Disable properly. Reported by Sarah
12400 <EmacsWiki>.
12401
dba0634a
UJ
124022011-10-30 Ulf Jasper <ulf.jasper@web.de>
12403
12404 * net/newst-treeview.el: Remove "Time-stamp".
12405 (newsticker--group-manage-orphan-feeds): Do not call
12406 newsticker--treeview-tree-update.
db22a3c2
JB
12407 (newsticker-treeview-update, newsticker-treeview):
12408 Call newsticker--treeview-tree-update if necessary.
dba0634a 12409
3d8daefe
MR
124102011-10-30 Martin Rudalics <rudalics@gmx.at>
12411
12412 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12413 (window-iso-combinations): Remove "iso-" infix.
12414 Suggested by Chong Yidong.
3d8daefe
MR
12415 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12416 (window-max-delta-1, window-resize, window--resize-siblings)
12417 (window--resize-this-window, adjust-window-trailing-edge)
12418 (split-window, balance-windows-1)
12419 (shrink-window-if-larger-than-buffer):
12420 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12421 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12422
1bc4c3ae
SM
124232011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12426 in place (bug#9907).
12427 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12428 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12429 (eshell-structure-basic-command, eshell-rewrite-while-command)
12430 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12431 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12432 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12433 (eshell-do-pipelines-synchronously, eshell-eval-command):
12434 Use backquotes and prefer setq to set.
12435 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12436 (eshell-macrop): Use functionp.
c1e2f5fa 12437 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12438
30b65d9c
CY
124392011-10-30 Chong Yidong <cyd@gnu.org>
12440
12441 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12442 instead of set-mark (Bug#9810).
12443
2d197ffb
CY
124442011-10-30 Chong Yidong <cyd@gnu.org>
12445
12446 * window.el (split-window-below, split-window-right): Rename from
12447 split-window-above-each-other and split-window-side-by-side
12448 respectively. All callers changed.
12449 (split-window-sensibly, split-window-sensibly): Use them.
12450 (split-window-keep-point): Doc fix.
12451
12452 * isearch.el: Add isearch-scroll property to split-window-below
12453 and split-window-right.
12454
12455 * follow.el (follow-mode):
12456 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12457 * progmodes/ada-xref.el (ada-gdb-application):
12458 * emulation/vip.el (vip-buffer-in-two-windows):
12459 * image-dired.el (image-dired-dired-with-window-configuration):
12460 * dired-x.el (dired-do-find-marked-files):
12461 * dired.el (dired-pop-to-buffer):
12462 * bs.el (bs--show-with-configuration):
12463 * vc/emerge.el (emerge-setup-windows):
12464 * textmodes/two-column.el (2C-two-columns):
12465 * textmodes/reftex-toc.el (reftex-toc):
12466 * progmodes/gdb-mi.el (gdb-setup-windows):
12467 * progmodes/fortran.el (fortran-window-create):
12468 * net/newst-treeview.el (newsticker--treeview-window-init):
12469 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12470 * emulation/tpu-edt.el (tpu-gold-map):
12471 * emulation/crisp.el (crisp-mode-map):
12472 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12473
38bb2ca8
CY
124742011-10-29 Chong Yidong <cyd@gnu.org>
12475
aa4de341
CY
12476 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12477
e1eb5385
CY
12478 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12479
5d2ece3c
CY
12480 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12481 forged Ispell output (Bug#7904).
12482
38bb2ca8
CY
12483 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12484
d0af9f77
SM
124852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * doc-view.el: Avoid ugly errors about not finding nil.
12488 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12489 (doc-view-dvipdf-program, doc-view-unoconv-program)
12490 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12491 Avoid nil or absolute file name as default value.
12492 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12493
52bedd34
AM
124942011-10-28 Alan Mackenzie <acm@muc.de>
12495
db22a3c2 12496 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12497
7e43cfa5
AM
124982011-10-28 Alan Mackenzie <acm@muc.de>
12499
12500 Amend the handling of c-beginning/end-of-defun in nested declaration
12501 scopes.
12502
52bedd34
AM
12503 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12504 cc-langs.el. Change it to a defcustom.
7e43cfa5 12505
52bedd34
AM
12506 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12507 cc-vars.el.
7e43cfa5 12508
d0af9f77
SM
12509 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12510 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12511
52bedd34 12512 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12513 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12514 (c-widen-to-enclosing-decl-scope): New function.
12515 (c-while-widening-to-decl-block): New macro.
12516 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12517 outward for defun boundaries, and correspondingly change symbol
12518 `respect-enclosure' to `go-outward'.
12519 (c-declaration-limits): Change algorithm to report only the "innermost"
12520 defun's boundaries.
12521
1a2ce9ee
DD
125222011-10-28 Deniz Dogan <deniz@dogan.se>
12523
12524 * net/rcirc.el (rcirc-mode): Use hard newlines.
12525
bc97a826
AM
125262011-10-28 Alan Mackenzie <acm@muc.de>
12527
12528 Amend to indent and fontify macros "which include their own semicolon"
12529 correctly, using the "virtual semicolon" mechanism.
12530
52bedd34 12531 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12532
d0af9f77 12533 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12534 Recode to scan one line at a time rather than having \n and \r
58179cce 12535 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12536 (c-forward-label): Amend for virtual semicolons.
58179cce 12537 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12538
52bedd34
AM
12539 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12540 of the new C macros.
bc97a826 12541
52bedd34 12542 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12543 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12544 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12545 (c-opt-cpp-macro-define): Make into a full language variable.
12546 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12547 AWK Mode (including \n, \r) removed, no longer needed.
12548
d0af9f77
SM
12549 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12550 Invoke c-make-macro-with-semi-re.
bc97a826 12551
52bedd34
AM
12552 * progmodes/cc-vars.el (c-macro-with-semi-re):
12553 (c-macro-names-with-semicolon): New variables.
58179cce 12554 (c-make-macro-with-semi-re): New function.
bc97a826 12555
7a6c0941
SM
125562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * vc/log-edit.el: Fill empty field rather than adding new one.
12559 (log-edit-add-field): New function.
12560 (log-edit-insert-changelog): Use it.
12561
b0c4cdcf
ML
125622011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12563
12564 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12565
ee1f1da9
SM
125662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12569 (gdb--check-interpreter): New function.
12570 (gdb): Use it.
12571
51bc5f8b
GM
125722011-10-27 Glenn Morris <rgm@gnu.org>
12573
416a2c45
GM
12574 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12575 (least-positive-float, least-negative-float)
12576 (least-positive-normalized-float, least-negative-normalized-float)
12577 (float-epsilon, float-negative-epsilon):
12578 Remove unnecessary declarations.
12579
12580 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12581 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12582 (least-positive-float, least-negative-float)
12583 (least-positive-normalized-float, least-negative-normalized-float)
12584 (float-epsilon, float-negative-epsilon): Add doc-strings,
12585 based on those in cl.texi.
12586
51bc5f8b
GM
12587 * files.el (set-visited-file-name): If the major-mode changed,
12588 reload the local variables. (Bug#9796)
12589
15de15c6
CY
125902011-10-27 Chong Yidong <cyd@gnu.org>
12591
12592 * subr.el (change-major-mode-after-body-hook): New hook.
12593 (run-mode-hooks): Run it.
12594
ee1f1da9
SM
12595 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12596 Use change-major-mode-before-body-hook.
15de15c6
CY
12597
12598 * simple.el (fundamental-mode):
12599 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12600 change introducing fundamental-mode-hook.
12601
5430d399
JB
126022011-10-26 Juanma Barranquero <lekktu@gmail.com>
12603
acc825c5 12604 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12605
ad74a69e
MA
126062011-10-26 Michael Albinus <michael.albinus@gmx.de>
12607
12608 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12609 tramp.el explicitly. (Bug#7583)
ad74a69e 12610
71d4c2a5
SM
126112011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12612
12613 * progmodes/octave-mod.el:
12614 * progmodes/octave-inf.el: Update maintainer.
12615
b1f6fa26
CY
126162011-10-26 Chong Yidong <cyd@gnu.org>
12617
12618 * subr.el (with-wrapper-hook): Rewrite doc.
12619
3f04efd6
MA
126202011-10-25 Michael Albinus <michael.albinus@gmx.de>
12621
12622 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12623 filenames "/method:foo:". (Bug#9793)
3f04efd6 12624
410488d3
SM
126252011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12626
12627 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12628 (bug#9865).
12629
c1ebb47e
GM
126302011-10-24 Glenn Morris <rgm@gnu.org>
12631
12632 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12633
7f5c46c7
MA
126342011-10-24 Michael Albinus <michael.albinus@gmx.de>
12635
12636 * notifications.el: Add the requirement of a running D-Bus session
12637 bus to the Commentary.
12638
db2440b6
JL
126392011-10-24 Juri Linkov <juri@jurta.org>
12640
12641 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12642 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12643 (Bug#9364)
12644
feecf435
JL
126452011-10-24 Juri Linkov <juri@jurta.org>
12646
12647 * info.el (Info-following-node-name-re): Add newline to the list
12648 of allowed characters for leading space. (Bug#9824)
12649
a3839de2
SM
126502011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12651
acc825c5
SM
12652 * progmodes/octave-inf.el (inferior-octave-mode-map):
12653 Fix C-c C-h binding.
a3839de2
SM
12654 * progmodes/octave-mod.el (octave-help): Remove.
12655
09388e76
MA
126562011-10-23 Michael Albinus <michael.albinus@gmx.de>
12657
12658 Sync with Tramp 2.2.3.
12659
12660 * net/tramp-cache.el (top): Pacify byte-compiler using
12661 `init-file-user' and `site-run-file'.
12662
12663 * net/trampver.el: Update release number.
12664
86c60681
CY
126652011-10-23 Chong Yidong <cyd@gnu.org>
12666
12667 * files.el (toggle-read-only): Remove obsolete comment about
12668 version control.
12669
12670 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12671 for toggle-read-only. Note that this hasn't called vc-next-action
12672 since 2008-05-02, though it wasn't documented at the time.
12673
a3839de2
SM
12674 * vc/ediff-init.el (ediff-toggle-read-only-function):
12675 Use toggle-read-only.
86c60681 12676
cd5495ff
AM
126772011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12678
12679 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12680 of c-parse-state.
12681
00b77525 12682 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12683 correct faulty logical expression.
cd5495ff
AM
12684 (c-parse-state-state, c-record-parse-state-state):
12685 (c-replay-parse-state-state): New defvar/defuns.
12686 (c-debug-parse-state): Use new functions.
12687
42ee24ed
MR
126882011-10-22 Martin Rudalics <rudalics@gmx.at>
12689
12690 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12691 last fix. Use window-in-direction correctly.
42ee24ed 12692
a7dee7e7
CY
126932011-10-21 Chong Yidong <cyd@gnu.org>
12694
12695 * progmodes/idlwave.el (idlwave-mode):
12696 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12697 require-final-newline; that's done in prog-mode.
12698 Suggested by Stefan Monnier.
a7dee7e7 12699
e07b9a6d
MR
127002011-10-21 Martin Rudalics <rudalics@gmx.at>
12701
12702 * mouse.el (mouse-drag-window-above)
12703 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12704 (mouse-drag-mode-line-1, mouse-drag-header-line)
12705 (mouse-drag-vertical-line-rightward-window): Remove.
12706 (mouse-drag-line): New function.
12707 (mouse-drag-mode-line, mouse-drag-header-line)
12708 (mouse-drag-vertical-line): Call mouse-drag-line.
12709 * window.el (window-at-side-p, windows-at-side): New functions.
12710
7e1361d9
UM
127112011-10-21 Ulrich Mueller <ulm@gentoo.org>
12712
12713 * tar-mode.el (tar-grind-file-mode):
12714 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12715
30fcaf3a
CY
127162011-10-21 Chong Yidong <cyd@gnu.org>
12717
12718 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12719 * progmodes/vera-mode.el (vera-mode):
12720 Use mode-require-final-newline.
30fcaf3a 12721
516eddb0
GM
127222011-10-20 Glenn Morris <rgm@gnu.org>
12723
db22a3c2 12724 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12725
10d5f513
CS
127262011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12727
12728 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12729
ac6c8639
CY
127302011-10-20 Chong Yidong <cyd@gnu.org>
12731
12732 * emulation/cua-base.el (cua-mode):
12733 * mail/footnote.el (footnote-mode):
12734 * mail/mailabbrev.el (mail-abbrevs-mode):
12735 * net/xesam.el (xesam-minor-mode):
12736 * progmodes/bug-reference.el (bug-reference-mode):
12737 * progmodes/cap-words.el (capitalized-words-mode):
12738 * progmodes/compile.el (compilation-minor-mode)
12739 (compilation-shell-minor-mode):
12740 * progmodes/gud.el (gud-tooltip-mode):
12741 * progmodes/hideif.el (hide-ifdef-mode):
12742 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12743 * progmodes/subword.el (subword-mode):
12744 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12745 * progmodes/which-func.el (which-function-mode):
12746 * term/tvi970.el (tvi970-set-keypad-mode):
12747 * term/vt100.el (vt100-wide-mode):
12748 * textmodes/flyspell.el (flyspell-mode):
12749 * textmodes/ispell.el (ispell-minor-mode):
12750 * textmodes/nroff-mode.el (nroff-electric-mode):
12751 * textmodes/paragraphs.el (use-hard-newlines):
12752 * textmodes/refill.el (refill-mode):
12753 * textmodes/reftex.el (reftex-mode):
12754 * textmodes/rst.el (rst-minor-mode):
12755 * textmodes/sgml-mode.el (html-autoview-mode)
12756 (sgml-electric-tag-pair-mode):
12757 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12758 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12759 * emulation/crisp.el (crisp-mode):
12760 * emacs-lisp/eldoc.el (eldoc-mode):
12761 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12762 minor mode behavior.
12763
aa42ab43
JL
127642011-10-19 Juri Linkov <juri@jurta.org>
12765
12766 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12767 the list of hard-coded chars with escape-glyph face.
12768
89400f1d
SM
127692011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12772
305c07f6
MA
127732011-10-19 Michael Albinus <michael.albinus@gmx.de>
12774
12775 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12776 running process.
12777
13754b54
GM
127782011-10-19 Glenn Morris <rgm@gnu.org>
12779
12780 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12781 Ignore ignored files. (Bug#9726)
12782
06e21633
CY
127832011-10-19 Chong Yidong <cyd@gnu.org>
12784
12785 Doc fix for minor modes, stating that an omitted argument enables
12786 the mode unconditionally when called from Lisp.
12787
12788 * abbrev.el (abbrev-mode):
12789 * allout.el (allout-mode):
12790 * autoinsert.el (auto-insert-mode):
12791 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12792 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12793 (global-auto-revert-mode):
12794 * battery.el (display-battery-mode):
12795 * composite.el (global-auto-composition-mode)
12796 (auto-composition-mode):
12797 * delsel.el (delete-selection-mode):
12798 * desktop.el (desktop-save-mode):
12799 * dired-x.el (dired-omit-mode):
12800 * dirtrack.el (dirtrack-mode):
12801 * doc-view.el (doc-view-minor-mode):
12802 * double.el (double-mode):
12803 * electric.el (electric-indent-mode, electric-pair-mode):
12804 * emacs-lock.el (emacs-lock-mode):
12805 * epa-hook.el (auto-encryption-mode):
12806 * follow.el (follow-mode):
12807 * font-core.el (font-lock-mode):
12808 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12809 * help.el (temp-buffer-resize-mode):
12810 * hilit-chg.el (highlight-changes-mode)
12811 (highlight-changes-visible-mode):
12812 * hi-lock.el (hi-lock-mode):
12813 * hl-line.el (hl-line-mode, global-hl-line-mode):
12814 * icomplete.el (icomplete-mode):
12815 * ido.el (ido-everywhere):
12816 * image-file.el (auto-image-file-mode):
12817 * image-mode.el (image-minor-mode):
12818 * iswitchb.el (iswitchb-mode):
12819 * jka-cmpr-hook.el (auto-compression-mode):
12820 * linum.el (linum-mode):
12821 * longlines.el (longlines-mode):
12822 * master.el (master-mode):
12823 * mb-depth.el (minibuffer-depth-indicate-mode):
12824 * menu-bar.el (menu-bar-mode):
12825 * minibuf-eldef.el (minibuffer-electric-default-mode):
12826 * mouse-sel.el (mouse-sel-mode):
12827 * msb.el (msb-mode):
12828 * mwheel.el (mouse-wheel-mode):
12829 * outline.el (outline-minor-mode):
12830 * paren.el (show-paren-mode):
12831 * recentf.el (recentf-mode):
12832 * reveal.el (reveal-mode, global-reveal-mode):
12833 * rfn-eshadow.el (file-name-shadow-mode):
12834 * ruler-mode.el (ruler-mode):
12835 * savehist.el (savehist-mode):
12836 * scroll-all.el (scroll-all-mode):
12837 * scroll-bar.el (scroll-bar-mode):
12838 * server.el (server-mode):
12839 * shell.el (shell-dirtrack-mode):
12840 * simple.el (auto-fill-mode, transient-mark-mode)
12841 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12842 (line-number-mode, column-number-mode, size-indication-mode)
12843 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12844 * strokes.el (strokes-mode):
12845 * time.el (display-time-mode):
12846 * t-mouse.el (gpm-mouse-mode):
12847 * tool-bar.el (tool-bar-mode):
12848 * tooltip.el (tooltip-mode):
12849 * type-break.el (type-break-mode-line-message-mode)
12850 (type-break-query-mode):
12851 * view.el (view-mode):
12852 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12853 (global-whitespace-mode, global-whitespace-newline-mode):
12854 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12855
a3839de2
SM
12856 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12857 Fix autogenerated docstring.
06e21633 12858
5214e501
JL
128592011-10-19 Juri Linkov <juri@jurta.org>
12860
12861 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12862 by checking environment variables "DESKTOP_SESSION" and
12863 "XDG_CURRENT_DESKTOP". (Bug#9779)
12864
195f8db9
JL
128652011-10-19 Juri Linkov <juri@jurta.org>
12866
12867 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12868 (browse-url-chromium-program, browse-url-chromium-arguments):
12869 New defcustoms.
12870 (browse-url-default-browser): Check for `browse-url-chromium' and
12871 call `browse-url-chromium-program'.
12872 (browse-url-chromium): New command. (Bug#9779)
12873
343a34ff
JB
128742011-10-18 Juanma Barranquero <lekktu@gmail.com>
12875
12876 * facemenu.el (list-colors-duplicates): On Windows, detect more
12877 duplicates by assuming that only colors matching "^System" are
12878 special "system colors". (Bug#9722)
12879
6978a151
SM
128802011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12881
12882 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12883 to distinguish the author from the committer.
12884
6a80b297
MA
128852011-10-18 Michael Albinus <michael.albinus@gmx.de>
12886
12887 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12888
b31a5677
JK
128892011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12890
12891 * international/mule.el (sgml-html-meta-auto-coding-function):
12892 Add support for detecting encoding in HTML5 specified only as
12893 <meta charset="UTF-8">. Implementation just makes http-equiv and
12894 content-type parts from HTML4 encoding string optional. (Bug#9716)
12895
80c6d77f
GM
128962011-10-18 Glenn Morris <rgm@gnu.org>
12897
12898 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12899
08b0fee8
CY
129002011-10-18 Chong Yidong <cyd@gnu.org>
12901
12902 * faces.el (cursor): Doc fix.
12903
67e729a5
CY
129042011-10-17 Chong Yidong <cyd@gnu.org>
12905
12906 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12907
343a34ff 129082011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12909
12910 * dirtrack.el (dirtrack): Support shell buffers with path
12911 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12912
0bc06380
TZ
129132011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12914
12915 * json.el: Bump version to 1.3 and note change in History.
12916 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12917
8b79f3e0
SM
129182011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12919
5a7c536b
SM
12920 * comint.el (comint-insert-input, comint-send-input)
12921 (comint-get-old-input-default, comint-backward-matching-input)
12922 (comint-next-prompt): Use nil instead of `input' for field property of
12923 past user input (bug#114).
12924
96a8a0df
SM
12925 * minibuffer.el (completion--replace): Inherit surrounding properties
12926 (bug#114).
12927 (minibuffer-complete-and-exit): Use it.
12928
8b79f3e0
SM
12929 * comint.el (comint--table-subvert): Quote the all-completions output
12930 (bug#9160).
12931
b8f7ff0d
MR
129322011-10-17 Martin Rudalics <rudalics@gmx.at>
12933
8b79f3e0 12934 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12935
b8f7ff0d 12936 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12937 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12938 entries and separate them from frame entries.
12939
c235b555
GM
129402011-10-15 Glenn Morris <rgm@gnu.org>
12941
12942 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12943 Doc fixes.
12944
6bbfa6e1
CY
129452011-10-15 Chong Yidong <cyd@stupidchicken.com>
12946
8b79f3e0
SM
12947 * net/network-stream.el (network-stream-open-starttls):
12948 Improve detection of failure due to lack of TLS support.
ec5c990d 12949
6bbfa6e1
CY
12950 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12951 putting the input text in front and in bold.
12952
98488977
SM
129532011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12954
3d1337be
SM
12955 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12956
ee0b45e4
SM
12957 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12958 empty buffer.
12959
98488977
SM
12960 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12961 unread-command-events rather than pushing yet-another event.
12962
186f4720
EZ
129632011-10-14 Eli Zaretskii <eliz@gnu.org>
12964
12965 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12966 the explanation of the possible choices. Make the options passed
12967 to completing-read shorter.
12968
8b7a997c
AM
129692011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12970
12971 * textmodes/flyspell.el (flyspell-large-region): Make sure
12972 extended character mode is used if defined (Bug#1339).
12973
12587bbb
EZ
129742011-10-13 Eli Zaretskii <eliz@gnu.org>
12975
12976 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12977 character info for LRE, LRO, RLE, and RLO characters by appending
12978 an invisible PDF.
12587bbb 12979
bad41229
SM
129802011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12981
12982 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12983 even in case of error; add debug spec; simplify data flow.
12984 (with-timeout-handler): Remove.
12985
28dbc92f
MA
129862011-10-12 Michael Albinus <michael.albinus@gmx.de>
12987
12988 Fix Bug#6019, Bug#9315.
12989
12990 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12991 complete `buffer-file-name', the local file name part could look
12992 remotely (for example on VMS).
12993
12994 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12995 `tramp-run-real-handler'.
12996 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12997 already quoted by '"'.
12998
12999 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13000 Let `file-name-handler-alist' be nil, the local file name part
13001 could look remotely (for example on VMS).
13002
e1b0b23a
SM
130032011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13006 from here...
13007 (flyspell-post-command-hook): ...to here.
13008
a120bde9
SM
130092011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13010
13011 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13012 if not needed.
13013 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13014 using completion. Protect against "slow" callers.
13015 Remove the "message hack".
13016
7ce7717b
JL
130172011-10-11 Juri Linkov <juri@jurta.org>
13018
13019 * isearch.el (isearch-lazy-highlight-word): New variable.
13020 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13021 Use it. (Bug#9727)
13022
c02ee9d6
GM
130232011-10-11 Glenn Morris <rgm@gnu.org>
13024
13025 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13026 like f90-previous-statement does.
13027
93e616fd 130282011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13029
1f190e73 13030 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13031 only in interactive use, to avoid error.
13032
af7b6078
SM
130332011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13034
13035 * minibuffer.el (completion-file-name-table): Fix last change,
13036 i.e. ignore normal errors but not the other ones.
13037
0563dae9
MR
130382011-10-10 Martin Rudalics <rudalics@gmx.at>
13039
13040 * window.el (special-display-buffer-names)
13041 (special-display-regexps): Remove some remnants of earlier
13042 changes from doc-strings.
366ca7f3
MR
13043 (quit-windows-on): New function.
13044
13045 * vc/vc.el (vc-revert, vc-rollback):
13046 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13047 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13048 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13049
49677495
MR
130502011-10-09 Martin Rudalics <rudalics@gmx.at>
13051
13052 * window.el (frame-auto-hide-function): Add version tag.
13053 (Bug#9699)
13054
56f2d1e1
MA
130552011-10-09 Michael Albinus <michael.albinus@gmx.de>
13056
13057 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13058 condition.
13059
112a6592
LL
130602011-10-09 Leo Liu <sdl.web@gmail.com>
13061
13062 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13063 (Bug#9701)
13064
0812589b
GM
130652011-10-08 Glenn Morris <rgm@gnu.org>
13066
13067 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13068 before the first code statement zero indent. (Bug#9690)
13069
b2b0776e
CY
130702011-10-08 Chong Yidong <cyd@stupidchicken.com>
13071
13072 * simple.el (count-words-region): Always count in the region.
13073 Report the number of lines and characters too.
13074 (count-words): New command, which counts in the buffer if the
13075 region is inactive, as count-words-region used to.
13076 (count-words--message): New function. Handle plurals.
13077 (count-lines-region): Make it an alias for count-words-region.
13078
13079 * bindings.el (esc-map): Replace count-lines-region with
13080 count-words-region.
13081
c557cd6b
MR
130822011-10-08 Martin Rudalics <rudalics@gmx.at>
13083
13084 * window.el (window--delete): Delete dedicated frame
13085 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13086 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13087
61a57ef4 130882011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13089
3a7d293b 13090 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13091
c3833279
CY
130922011-10-07 Chong Yidong <cyd@stupidchicken.com>
13093
13094 * bindings.el ([M-left],[M-right]): Bind to left-word and
13095 right-word respectively.
13096
21ce8245
GM
130972011-10-07 Glenn Morris <rgm@gnu.org>
13098
13099 * cus-start.el (debug-on-quit): Fix custom type.
13100
6d823bb2
LMI
131012011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13102
0181e193
LMI
13103 * subr.el (define-key-after): Clarify that the function is not
13104 useful for non-menu keymaps.
13105
6d823bb2
LMI
13106 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13107
8e3459ce 131082011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13109
21ce8245 13110 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13111 in current minibuffer (Fix bug with recursive minibuffers).
13112
a1c2d21e
CY
131132011-10-06 Chong Yidong <cyd@stupidchicken.com>
13114
13115 * progmodes/gdb-mi.el (gdb): Doc fix.
13116
5a4cf282
MR
131172011-10-05 Martin Rudalics <rudalics@gmx.at>
13118
13119 * window.el (frame-auto-hide-function): New option replacing
13120 frame-auto-delete. Suggested by Stefan Monnier.
13121 (window--delete): Call frame-auto-hide-function instead of
13122 investigating frame-auto-delete.
c96111ea
MR
13123 (window-point-1, set-window-point-1): New functions.
13124 (window-in-direction, record-window-buffer, window-state-get-1)
13125 (display-buffer-record-window): Use window-point-1 instead of
13126 window-point.
13127 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13128
9854542e
SM
131292011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13132
8943cfb0
GM
131332011-10-05 Glenn Morris <rgm@gnu.org>
13134
13135 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13136 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13137
647ab967
LL
131382011-10-05 Leo Liu <sdl.web@gmail.com>
13139
13140 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13141 works with buffer object.
13142
3ddfbced
SM
131432011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13144
13145 * mpc.el (mpc-tool-bar-map): Add labels.
13146
bdfa5dd2
GM
131472011-10-04 Glenn Morris <rgm@gnu.org>
13148
13149 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13150
0e2070b5
MR
131512011-10-04 Martin Rudalics <rudalics@gmx.at>
13152
13153 * window.el (window--delete): New function.
13154 (frame-auto-delete): Resuscitate option.
13155 (bury-buffer, replace-buffer-in-windows)
13156 (quit-window): Rewrite using window--delete.
13157 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13158 Pass display-buffer-mark-dedicated to window--display-buffer-2
13159 (Bug#9639).
13160
3dc61a09
SM
131612011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13162
915a9b64
SM
13163 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13164 returns a list (bug#9554). Add remote file name completion.
13165 * comint.el (comint--table-subvert): Curry and get quote&unquote
13166 functions as arguments.
13167 (comint--complete-file-name-data): Adjust call accordingly.
13168 * pcomplete.el (pcomplete--table-subvert): Remove.
13169 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13170
3dc61a09
SM
13171 * minibuffer.el (completion-table-case-fold): Use currying.
13172 (completion--styles-type, completion--cycling-threshold-type):
13173 New constants.
13174 (completion-styles, completion-category-overrides)
13175 (completion-cycle-threshold): Use them.
13176 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13177 completion-table-case-fold.
13178
8ea0a993
SB
131792011-10-03 Stephen Berman <stephen.berman@gmx.net>
13180
13181 * minibuffer.el (completion-category-overrides): Fix type of styles
13182 and add more user friendly tags (bug#9660).
13183
8c24b7f6
SM
131842011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13185
13186 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13187 (mule-input-method-string): New widget.
13188 (default-input-method, language-info-custom-alist): Use it.
13189
428fe61a
SM
131902011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13191
32c1fffd
SM
13192 * pcomplete.el: Require comint.
13193 (pcomplete--common-suffix): Remove.
13194 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13195 (pcomplete--table-subvert): Sync with comint--table-subvert.
13196 (pcomplete--entries): Use comint-completion-file-name-table.
13197 * comint.el (comint-unquote-filename): Simplify.
13198 (comint-completion-file-name-table): New function (bug#9616).
13199 (comint--complete-file-name-data): Use it.
13200
428fe61a
SM
13201 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13202 (pcmpl-gnu-tar-buffer): Remove.
13203 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13204 around. Make sure pcomplete-suffix-list is only changed temporarily.
13205 Don't look inside the tar's file if it's too large.
428fe61a 13206
04c52e2f
CY
132072011-10-01 Chong Yidong <cyd@stupidchicken.com>
13208
ce3cefcc
CY
13209 * cus-edit.el (custom-mode-map):
13210 * epa.el (epa-key-list-mode-map):
13211 * man.el (Man-mode-map):
13212 * startup.el (splash-screen-keymap):
13213 * simple.el (special-mode-map): Use scroll-up-command and
13214 scroll-down-command.
13215
13216 * progmodes/idlw-help.el (idlwave-help-mode-map):
13217 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13218 * net/newst-plainview.el (newsticker-mode-map):
13219 * emulation/ws-mode.el (wordstar-mode-map):
13220 * emulation/vi.el (vi-com-map):
13221 * calc/calc-graph.el (calc-graph-show-dumb):
13222 * term/sun.el (terminal-init-sun):
13223 * term/ns-win.el (global-map):
13224 * progmodes/grep.el (grep-mode-map):
13225 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13226 * mail/rmail.el (rmail-mode-map):
13227 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13228
04c52e2f
CY
13229 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13230 custom-safe-themes as special.
13231
79adf8c8
JD
132322011-10-01 Julien Danjou <julien@danjou.info>
13233
13234 * notifications.el (notifications-notify): Fix docstring.
13235
63bd50d3
PS
132362011-10-01 Per Starbäck <per@starback.se>
13237
13238 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13239
199e4c7e
MR
132402011-09-30 Martin Rudalics <rudalics@gmx.at>
13241
13242 * startup.el (command-line-1): Fix last fix by inserting
13243 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13244 (Bug#9605) and (Bug#9636)
199e4c7e 13245
fe5f08dd
EZ
132462011-09-29 Eli Zaretskii <eliz@gnu.org>
13247
13248 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13249 window is hscrolled, move by logical lines. (Bug#9607)
13250 (line-move-visual): Update the doc string to the above effect.
13251
b5516bbd
MR
132522011-09-29 Martin Rudalics <rudalics@gmx.at>
13253
ccee00c0
MR
13254 * window.el (display-buffer-record-window): When WINDOW is the
13255 selected window use `point' instead of `window-point'. (Bug#9626)
13256
b5516bbd
MR
13257 * startup.el (command-line-1): Use insert-before-markers when
13258 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13259
b5516bbd
MR
13260 * help.el (help-window): Remove variable.
13261
52aa0014
GM
132622011-09-29 Glenn Morris <rgm@gnu.org>
13263
13264 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13265
df9a7357
JB
132662011-09-29 Juanma Barranquero <lekktu@gmail.com>
13267
13268 * descr-text.el (describe-char-categories): Accept category
13269 descriptions more than one line long.
13270
a8406c20
SM
132712011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13272
88d9610c
SM
13273 * simple.el (delete-trailing-whitespace): Fix last change.
13274
a5daf810
SM
13275 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13276 Don't confuse "y => 3" as the beginning of a `y' operation.
13277
a8406c20
SM
13278 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13279 object has more than 4 slots (bug#9613).
13280
a239d4e9
JB
132812011-09-28 Juanma Barranquero <lekktu@gmail.com>
13282
13283 * subr.el (with-output-to-temp-buffer):
13284 * net/quickurl.el (quickurl, quickurl-browse-url):
13285 Fix typos in docstrings.
13286
693fbdb6
EZ
132872011-09-27 Eli Zaretskii <eliz@gnu.org>
13288
13289 * minibuffer.el (completion-styles)
13290 (completion-category-overrides): Cross reference each other in doc
13291 strings.
13292
8b457e28
GM
132932011-09-27 Glenn Morris <rgm@gnu.org>
13294
13295 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13296 to split-string. (Bug#9606)
13297
85a16208
LMI
132982011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13299
13300 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13301 (bug#9615).
13302
502f9ebd
CY
133032011-09-27 Chong Yidong <cyd@stupidchicken.com>
13304
13305 * emacs-lisp/package.el (list-packages): Fix echo area message.
13306
7690bdea
LL
133072011-09-27 Leo Liu <sdl.web@gmail.com>
13308
13309 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13310
e2ee6f30
MA
133112011-09-25 Michael Albinus <michael.albinus@gmx.de>
13312
13313 * net/dbus.el (dbus-unregister-object): Don't release services for
13314 registered signals. (Bug#9581)
13315
f3f98342
TZ
133162011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13317
13318 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13319 function that picks between cfengine 2 and 3 support
13320 automatically. Update docs accordingly.
13321
dd7aa8dd
KH
133222011-09-22 Kenichi Handa <handa@m17n.org>
13323
13324 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13325 ZERO.
13326 (indian-itrans-v5-table-for-tamil): New variable.
13327 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13328
3f2b07f8
KM
133292011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13330
13331 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13332 that's true if the current command involved collapsing of text.
13333 It's reset to false at the beginning of the next command.
13334 (allout-post-command-business): Move the cursor to the beginning
13335 of entry if the cursor is hidden and collapsing activity just
13336 happened.
13337
371d6a61
CY
133382011-09-24 Chong Yidong <cyd@stupidchicken.com>
13339
13340 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13341 tracking (Bug#9541).
13342
2ac2721a
UJ
133432011-09-24 Ulf Jasper <ulf.jasper@web.de>
13344
13345 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13346 (newsticker-show-news): Automatically load html rendering package
13347 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13348 because w3m-fill-column is let-bound" and the error "Symbol's value
13349 as variable is void: w3m-fill-column".
2ac2721a 13350
fac7ae53
MA
133512011-09-24 Michael Albinus <michael.albinus@gmx.de>
13352
13353 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13354 Release services only if they are defined. (Bug#9581)
13355
e08b633b
RS
133562011-09-23 Richard Stallman <rms@gnu.org>
13357
e488d29c
RS
13358 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13359 distinguish start of paragraph from start of its text.
13360
19c38752
RS
13361 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13362
e08b633b
RS
13363 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13364 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13365 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13366
0a39f27e
AS
133672011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13368
13369 * international/mule-diag.el (mule-diag): Insert a newline after
13370 each fontset description.
13371
db4e950d
SM
133722011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * simple.el (delete-trailing-whitespace):
13375 Document last change; simplify.
13376
eca3f3ea
PW
133772011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13378
d68e189a
PW
13379 * simple.el (delete-trailing-whitespace): Also delete
13380 extra newlines at the end of the buffer.
13381
eca3f3ea
PW
13382 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13383 (picture-newline): Use forward-line so as to ignore fields.
13384
01c157cc
SM
133852011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13386
13387 * subr.el (with-wrapper-hook): Fix edebug spec.
13388
022de23e
LMI
133892011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13390
13391 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13392 (bug#4538).
13393
91683089
MA
133942011-09-23 Michael Albinus <michael.albinus@gmx.de>
13395
eca3f3ea
PW
13396 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13397 Fix nasty bug using wrong cached values.
91683089 13398
5bdd6fa4
AM
133992011-09-23 Alan Mackenzie <acm@muc.de>
13400
13401 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13402
97adfb97
CY
134032011-09-23 Chong Yidong <cyd@stupidchicken.com>
13404
13405 * window.el (pop-to-buffer): Ensure right window is selected if we
13406 chose another frame.
13407
d4ef2b50
EZ
134082011-09-22 Eli Zaretskii <eliz@gnu.org>
13409
13410 * simple.el (what-cursor-position): Use get-char-property-change
13411 and next-single-char-property-change, to be able to show display
13412 properties that come from overlays as well as text properties.
13413
72258fe5
CY
134142011-09-22 Chong Yidong <cyd@stupidchicken.com>
13415
13416 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13417
13418 * cmuscheme.el (run-scheme, switch-to-scheme):
13419 * cus-edit.el (customize-group, custom-buffer-create)
13420 (customize-browse):
13421 * info.el (info):
13422 * shell.el (shell):
13423 * mail/sendmail.el (mail):
13424 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13425
8f098516
RS
134262011-09-22 Richard Stallman <rms@gnu.org>
13427
13428 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13429 move back only to line beg, don't move back over blank lines.
13430
e74f1bb6
MA
134312011-09-22 Michael Albinus <michael.albinus@gmx.de>
13432
13433 * files.el (copy-directory): Set directory attributes only in case
13434 they could be retrieved from the source directory. (Bug#9565)
13435
bfeef8b6
DK
134362011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13437
13438 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13439 (hs-find-block-beginning, hs-hide-level-recursive):
13440 Ignore strings as well as comments. (Bug#9502)
13441
7e423bb8
AS
134422011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13443
13444 * progmodes/sql.el (sql-comint-postgres):
13445 Convert port number to a string. (Bug#9566)
13446
b4d72fcf
MR
134472011-09-22 Martin Rudalics <rudalics@gmx.at>
13448
13449 * window.el (quit-window): Undedicate window when switching to
13450 previous buffer. Reported by Thierry Volpiatto
13451 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13452 (special-display-popup-frame): When popping up a new frame reset
13453 its previous buffers to nil. Simplify code.
b4d72fcf 13454
a7b88dc6
MA
134552011-09-21 Michael Albinus <michael.albinus@gmx.de>
13456
13457 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13458 and process filter, as done also in `shell-command'.
13459
cf4eacfd
MR
134602011-09-21 Martin Rudalics <rudalics@gmx.at>
13461
eca3f3ea 13462 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13463 Call set-window-start with NOFORCE argument t.
13464 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13465 (quit-window): Reword doc-string. Handle new format of
13466 quit-restore parameter. Don't delete window if it has a
13467 previous buffer we can show instead of the present one.
13468 (display-buffer-record-window): Rewrite using a new format for
13469 the quit-restore window parameter
13470 (special-display-popup-frame, display-buffer-same-window)
13471 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13472 (display-buffer-pop-up-window, display-buffer-use-some-window):
13473 Adapt symbol passed to display-buffer-record-window.
13474 * help.el (help-window-setup): Handle new format of quit-restore
13475 parameter.
13476
8d28cb95
SM
134772011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13478
94ab793f
SM
13479 * faces.el (face-list): Fix docstring (bug#9564).
13480
8d28cb95
SM
13481 * window.el (display-buffer--action-function-custom-type):
13482 Don't include internal functions in the Custom interface.
13483
3820edeb
JL
134842011-09-20 Juri Linkov <juri@jurta.org>
13485
13486 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13487 (Info-forward-node, Info-backward-node, Info-next-preorder)
13488 (Info-last-preorder): Use it. (Bug#9528)
13489
5147931d
JL
134902011-09-20 Juri Linkov <juri@jurta.org>
13491
13492 * info.el (Info-last-preorder): Visit last menu item only when
13493 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13494
cf499a1a
JD
134952011-09-20 Julien Danjou <julien@danjou.info>
13496
13497 * password-cache.el (password-cache-remove): Remove entries even if the
13498 value is nil, so that password with a nil value (negative caching) is
13499 possible to invalidate.
13500
f84e2fe2
LM
135012011-09-20 Lawrence Mitchell <wence@gmx.li>
13502
13503 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13504 all whitespace around breakpoint. (Bug#9553)
13505 (f90-find-breakpoint): Only break at whitespace inside a comment.
13506
78054a46
SM
135072011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * minibuffer.el (completion-file-name-table): Keep track of errors.
13510 (completion-table-with-predicate): Handle the case where pred1 is nil.
13511 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13512
345083b2
SM
135132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13514
e24e27be
SM
13515 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13516 (debugger-return-value): Signal an error if the debugging context does
13517 not await any return value.
13518
345083b2
SM
13519 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13520 * image-mode.el (image-toggle-display-text)
13521 (image-toggle-display-image): Stay away from evil `intangible'.
13522
08d355e3
LL
135232011-09-19 Leo Liu <sdl.web@gmail.com>
13524
13525 * replace.el (occur-revert-arguments): Make it permanent-local.
13526 (occur-mode): Don't call font-lock-defontify.
13527
f01da43f
CY
135282011-09-19 Chong Yidong <cyd@stupidchicken.com>
13529
13530 * net/ldap.el (ldap-search-internal): Don't push empty search
13531 result (Bug#9508).
13532
b6072fa6
SM
135332011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13534
13535 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13536
443d6696
MA
135372011-09-19 Michael Albinus <michael.albinus@gmx.de>
13538
13539 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13540 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13541
7cc6e154
JL
135422011-09-18 Juri Linkov <juri@jurta.org>
13543
13544 * buff-menu.el (Buffer-menu-mode-map):
13545 * dired.el (dired-mode-map):
13546 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13547 (lisp-interaction-mode-map):
13548 * emacs-lisp/package.el (package-menu-mode-map):
13549 * epa.el (epa-key-list-mode-map):
13550 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13551 (menu-bar-options-menu):
13552 * outline.el (outline-mode-menu-bar-map):
13553 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13554 * vc/vc-dir.el (vc-dir-menu-map):
13555 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13556 Capitalize non-function content words in menu item strings.
13557
13558 * dired.el (dired-mode-map): Add menu item for
13559 `image-dired-dired-toggle-marked-thumbs'.
13560
80302a81
JL
135612011-09-18 Juri Linkov <juri@jurta.org>
13562
13563 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13564 to `isearch-case-fold-search' and restore its original value
13565 after the `isearch-mode' call.
13566
46c5cf66
JL
135672011-09-18 Juri Linkov <juri@jurta.org>
13568
13569 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13570 because `zgrep' returns 1 for successful matches (bug#9226).
13571
d18b513b
JL
135722011-09-18 Juri Linkov <juri@jurta.org>
13573
13574 * info.el (Info-extract-menu-node-name): Check the second match
13575 for empty string (second test-case of bug#9528).
13576 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13577 intermediate nodes to the history (first test-case of bug#9528).
13578
72753f87
JL
135792011-09-18 Juri Linkov <juri@jurta.org>
13580
13581 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13582 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13583
c9384295
JL
135842011-09-18 Juri Linkov <juri@jurta.org>
13585
1154d12e
JB
13586 * info.el (Info-file-supports-index-cookies):
13587 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13588 outputs one more line for long file names (bug#4142).
c9384295 13589
d473dce8
CY
135902011-09-18 Chong Yidong <cyd@stupidchicken.com>
13591
13592 * newcomment.el (comment-normalize-vars): If prompting for
13593 comment-start, set comment-start-skip too (Bug#8424).
13594
2176854d
JB
135952011-09-18 Johan Bockgård <bojohan@gnu.org>
13596
13597 * icomplete.el: Fix previous fix of Bug#5849.
13598 (icomplete-mode): Don't set completion-show-inline-help.
13599 (icomplete-minibuffer-setup): Set completion-show-inline-help
13600 locally during icompletion.
13601
3aace4e4
CY
136022011-09-18 Chong Yidong <cyd@stupidchicken.com>
13603
c940224f
CY
13604 * woman.el (woman2-process-escapes): Don't delete unrecognized
13605 escapes (Bug#7843).
13606
3aace4e4
CY
13607 * files.el (inhibit-first-line-modes-regexps): Add image files.
13608 (hack-local-variables-prop-line): Return nil for malformed
13609 prop-lines (Bug#9044).
13610
710dec63
MA
136112011-09-18 Michael Albinus <michael.albinus@gmx.de>
13612
13613 * net/tramp.el (top): Don't require 'shell.
13614 (tramp-methods): Fix docstring.
13615 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13616 Return complete remote file name. Handle "smb" case.
13617 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13618 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13619
13620 * net/tramp-compat.el (top): Require 'shell.
13621
13622 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13623 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13624 `tramp-current-host'.
13625 (tramp-get-remote-tmpdir): Remove.
13626
13627 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13628 `tramp-tmpdir' entries.
13629 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13630 (tramp-smb-handle-file-attributes): Ignore errors.
13631 (tramp-smb-wait-for-output): Check also for process end.
13632
5d5ac8ec
LMI
136332011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13634
13635 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13636 when sending QUIT (bug#9312).
13637
8c0f49f0
CY
136382011-09-17 Chong Yidong <cyd@stupidchicken.com>
13639
13640 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13641 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13642 occur-mode-display-occurrence.
13643 (occur-edit-mode): Add usage message.
13644 (occur-cease-edit): New command.
13645 (occur-after-change-function): Use text properties to find the
13646 position of the prefix text.
13647 (occur-engine): Set stickiness of prefix text properties.
13648
8f1383f7
GM
136492011-09-17 Glenn Morris <rgm@gnu.org>
13650
13651 * progmodes/etags.el (complete-tag):
13652 Fix call to completion-in-region. (Bug#9526)
13653
744ba0e3
JL
136542011-09-17 Juri Linkov <juri@jurta.org>
13655
13656 * textmodes/ispell.el (ispell-word): Add to the error message
13657 the word, ispell program name and current dictionary (bug#9121).
13658 (ispell-tex-arg-end): Capitalize "error" in the error message.
13659
d9bbf400
AS
136602011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13661
13662 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13663 check. (Bug#4251)
13664
8da11505
JL
136652011-09-17 Juri Linkov <juri@jurta.org>
13666
13667 * window.el (window-safe-min-height, window-safe-min-width):
13668 Fix typos (followup to bug#9522).
13669
a91adc7e
SJ
136702011-09-17 Sven Joachim <svenjoac@gmx.de>
13671
13672 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13673
064f328a
EZ
136742011-09-16 Eli Zaretskii <eliz@gnu.org>
13675
13676 * simple.el (line-move): If goal-column is set, move by logical
13677 lines, not by display lines. (Bug#971)
13678 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13679 to reflect the above change.
13680
e69df516
SM
136812011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13682
13683 * image.el (imagemagick-register-types): Use regexp-opt.
13684
cbb0f9ab
CY
136852011-09-15 Chong Yidong <cyd@stupidchicken.com>
13686
13687 * window.el (display-buffer-base-action): Rename from
13688 display-buffer-default-action. Make default value empty.
13689 (display-buffer-overriding-action): Convert to defvar.
13690 (display-buffer-fallback-action): New var.
13691
25322144
CY
136922011-09-15 Chong Yidong <cyd@stupidchicken.com>
13693
13694 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13695 declaration.
13696 (package--add-to-archive-contents): If there is a duplicate entry
13697 with an older version, remove it.
13698 (package-menu-mark-delete, package-menu-mark-install)
13699 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13700 (package-menu-mark-obsolete-for-deletion):
13701 Use package-menu-get-status instead of a regexp search.
25322144
CY
13702 (package-menu-get-status): Use tabulated-list-entry.
13703 (package-menu-mark-upgrades): New command.
d770725a 13704 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13705 (package-menu-execute): Do installation before deletion.
13706 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13707 instead of checking major-mode.
13708 (package-menu--find-upgrades): New function.
13709
7520339c
LMI
137102011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13711
13712 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13713 passwords in the log buffer.
65a046c4
LMI
13714 (smtpmail-process-filter): Update the process marker so that the
13715 "broken by peer" status message is inserted in the right place.
7520339c 13716
d3c30954
SM
137172011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13718
3fe48822
SM
13719 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13720 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13721 bibtex-completion-at-point-function.
13722 (bibtex-completion-at-point-function): Use them.
13723
1b8b3954
SM
13724 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13725
d3c30954
SM
13726 * mpc.el (mpc-constraints-tag-lookup): New function.
13727 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13728 also to browser "album|playlist".
13729
72779976
JL
137302011-09-14 Juri Linkov <juri@jurta.org>
13731
13732 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13733 (isearch-edit-string): Use length of `isearch-string' when
13734 `isearch-fail-pos' returns nil.
13735 (isearch-message): Remove duplicate code and call
13736 `isearch-fail-pos' with arg `t'.
13737
a0bf2bcd
CY
137382011-09-14 Chong Yidong <cyd@stupidchicken.com>
13739
17bb0a2d
CY
13740 * replace.el (occur-mode-goto-occurrence): Don't force using other
13741 window (Bug#9499).
13742
a0bf2bcd
CY
13743 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13744
f678e0b6
MR
137452011-09-14 Martin Rudalics <rudalics@gmx.at>
13746
13747 * window.el (display-buffer-window): Remove.
13748 (display-buffer-record-window): Use help-setup window parameter
13749 instead of variable display-buffer-window.
13750 (display-buffer-function, special-display-buffer-names)
13751 (special-display-function): Mention help-setup parameter instead
13752 of display-buffer-window in doc-string.
d3c30954
SM
13753 * help.el (help-window-setup): New argument help-window.
13754 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13755 Reword some messages.
13756 (with-help-window): Pass window used for displaying the buffer
13757 to help-window-setup. Don't set display-buffer-window.
13758
8e39b2e8
GM
137592011-09-13 Glenn Morris <rgm@gnu.org>
13760
13761 * emacs-lisp/debug.el (debugger-make-xrefs):
13762 Preserve point. (Bug#9462)
13763
85e9c04b
CY
137642011-09-13 Chong Yidong <cyd@stupidchicken.com>
13765
13766 * window.el (window-deletable-p): Use next-frame.
13767
1b36ed6a
MR
137682011-09-13 Martin Rudalics <rudalics@gmx.at>
13769
13770 * window.el (window-auto-delete): Remove.
13771 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13772 dedication and previous buffers.
1b36ed6a
MR
13773 (switch-to-prev-buffer): Don't delete window.
13774 (delete-windows-on): Delete a window's frame if and only if the
13775 window is dedicated.
13776 (replace-buffer-in-windows): Delete buffer's window or frame if
13777 and only if window is dedicated.
13778 (quit-window): Handle quit-restore as before last change.
4d61f28d 13779 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13780
ef8ef9fb
CY
137812011-09-13 Chong Yidong <cyd@stupidchicken.com>
13782
13783 * window.el (window-deletable-p): Never delete the last frame on a
13784 given terminal.
13785
b2cba41e
GM
137862011-09-13 Glenn Morris <rgm@gnu.org>
13787
13788 * help.el (describe-key-briefly): Copy previous standard-output change.
13789
51553db6 137902011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13791
13792 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13793
b7556719
GM
137942011-09-13 Glenn Morris <rgm@gnu.org>
13795
13796 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13797 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13798
64b51947
CY
137992011-09-12 Chong Yidong <cyd@stupidchicken.com>
13800
13801 * dired-aux.el (dired-mark-read-string): Don't return default
13802 value on empty input (Bug#9361).
13803 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13804 Omit initial minibuffer contents.
13805 (dired-do-chmod): Signal an error on empty input.
13806 (dired-mark-read-string): Don't return default on empty input.
13807
13808 * files.el (file-modes-symbolic-to-number): Doc fix.
13809
393a301e
SM
138102011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13811
13812 * international/mule-cmds.el (ucs-completions): Remove.
13813 (read-char-by-name): Use complete-with-action instead; add metadata.
13814
fa5660f9
CY
138152011-09-11 Chong Yidong <cyd@stupidchicken.com>
13816
13817 * window.el (display-buffer--action-function-custom-type)
13818 (display-buffer--action-custom-type): New vars.
13819 (display-buffer-alist, display-buffer-default-action)
13820 (display-buffer-overriding-action): Add defcustom types.
13821
4a592f66
CY
13822 * frame.el (delete-other-frames): Doc fix (Bug#276).
13823
73d56dbd
LMI
138242011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13825
13826 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13827
37ac18a3
CY
138282011-09-11 Chong Yidong <cyd@stupidchicken.com>
13829
13830 Change modes that used same-window-* vars to use switch-to-buffer.
13831
13832 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13833 Use switch-to-buffer.
13834
13835 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13836 (customize-browse, custom-buffer-create-other-window):
13837 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13838
13839 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13840 (Info-prev, Info-up, Info-speedbar-goto-node)
13841 (info-display-manual): Use switch-to-buffer.
13842 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13843
13844 * mail/sendmail.el (mail): Use switch-to-buffer.
13845 (mail-recover): Use switch-to-buffer-other-window.
13846
13847 * cmuscheme.el (run-scheme, switch-to-scheme):
13848 * ielm.el (ielm):
13849 * shell.el (shell):
13850 * net/rlogin.el (rlogin):
13851 * net/telnet.el (telnet, rsh):
13852 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13853
10195bd6
AS
138542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13855
13856 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13857
b322f63a
LMI
138582011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13859
39d7fed6
LMI
13860 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13861 so don't mention it (bug#9301).
ba5a81f1 13862 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13863
ee0e9f11
LMI
13864 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13865 match `x', `w32' and `ns', like the manual says (bug#9029).
13866
0b1c89c1 13867 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13868 (process-kill-buffer-query-function): Mention the buffer name in
13869 the query.
0b1c89c1 13870
77549ea8
LMI
13871 * image-mode.el (image-next-line): The line parameter is mandatory
13872 (bug#9258).
13873
803ef892
LMI
13874 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13875 which can be useful (bug#9301).
13876
12980837
LMI
13877 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13878
91054f8f
LMI
13879 * subr.el (match-string): Mention that the current buffer should
13880 be the same as the search was done in (bug#9282).
13881
b322f63a
LMI
13882 * facemenu.el: Disable the remove-* commands if the mark isn't
13883 active (bug#9162).
13884
3199b96f
CY
138852011-09-10 Chong Yidong <cyd@stupidchicken.com>
13886
13887 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13888 of display-buffer.
13889 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13890
13891 * replace.el (occur-mode-goto-occurrence)
13892 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13893 and display-buffer.
13894
13895 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13896 display-buffer.
13897
13898 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13899 special-display and same-window variables.
13900 (mail-other-window): Use switch-to-buffer-other-window.
13901 (mail-other-frame): USe switch-to-buffer-other-frame.
13902
393a301e
SM
13903 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13904 Use display-buffer-other-frame.
3199b96f
CY
13905 (gdb-display-gdb-buffer): Use pop-to-buffer.
13906
13907 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13908
13909 * progmodes/python.el: Don't set same-window-buffer-names.
13910
13911 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13912
13913 * window.el (display-buffer-alist): Add *Python*.
13914
8319e0bf
CY
139152011-09-10 Chong Yidong <cyd@stupidchicken.com>
13916
13917 * window.el (display-buffer-alist): Add entry for buffers
13918 previously handled same-window-*.
13919 (display-buffer-alist, display-buffer-default-action)
13920 (display-buffer-overriding-action): Mark as risky.
13921 (display-buffer-alist): Document action function changes.
13922 (display-buffer--same-window-action)
13923 (display-buffer--other-frame-action): New variables.
13924 (switch-to-buffer, display-buffer-other-frame): Use them.
13925 (display-buffer): Rename reuse-frame entry to reusable-frames.
13926 (display-buffer-reuse-selected-window): Function deleted.
13927 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13928 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13929 (display-buffer-special): New function.
13930 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13931 display-buffer-reuse-or-pop-window. Split off special-display
13932 part into display-buffer-special.
13933 (display-buffer-use-some-window): Don't perform any special
13934 pop-up-frames handling.
13935 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13936 (display-buffer--maybe-same-window): Rename from
0d3ff375 13937 display-buffer-maybe-same-window.
8319e0bf 13938
919a69aa
CY
13939 * info.el: Don't set same-window-regexps.
13940 (info-setup): New function.
13941 (info-other-window, info): Call it.
13942
13943 * cus-edit.el: Don't set same-window-regexps.
13944 (customize-group): New argument.
13945 (customize-group-other-window): Use it.
13946 (customize-face, customize-face-other-window): Likewise.
13947 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13948
8319e0bf
CY
13949 * net/rlogin.el:
13950 * net/telnet.el:
13951 * progmodes/gud.el: Don't set same-window-regexps.
13952
13953 * cmuscheme.el:
13954 * ielm.el:
13955 * shell.el:
13956 * mail/sendmail.el:
13957 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13958
25173000
JL
139592011-09-10 Juri Linkov <juri@jurta.org>
13960
13961 * isearch.el (isearch-edit-string): Remove obsolete mention of
13962 `C-w' (`isearch-yank-word-or-char') from docstring.
13963 (isearch-query-replace): Fix typo in docstring (bug#9466).
13964
056e44ef
JL
139652011-09-10 Juri Linkov <juri@jurta.org>
13966
13967 * paren.el (show-paren-function): Don't show escaped parens.
13968 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13969
c3760c17
EZ
139702011-09-10 Eli Zaretskii <eliz@gnu.org>
13971
13972 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13973 (mm-default-file-encoding): Remove autoload forms, they are
13974 replaced with autoload cookies in mml.el and mm-encode.el.
13975 (mail-add-attachment): New command.
13976 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13977 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13978 the doc string.
13979 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13980
fece895e
RT
139812011-09-10 Reuben Thomas <rrt@sc3d.org>
13982
e69df516
SM
13983 * simple.el (count-words-region): Use buffer if there's no region
13984 (bug#9429).
fece895e 13985
5e68ce4a
JL
139862011-09-09 Juri Linkov <juri@jurta.org>
13987
13988 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13989 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13990 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13991
0a6b9622
AM
139922011-09-09 Alan Mackenzie <acm@muc.de>
13993
13994 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13995 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13996
14a29deb
EZ
139972011-09-09 Eli Zaretskii <eliz@gnu.org>
13998
13999 Fix for Savannah bug#9392.
14000 * simple.el (mail-encode-mml): New defvar.
14001
14002 * mail/rmail.el (mail-encode-mml): Add a defvar.
14003 (rmail-enable-mime-composing): Default to t.
14004 (rmail-forward): Use MIME method of forwarding only if both
14005 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14006 Set mail-encode-mml non-nil if the MIME method was used.
14007
14008 * mail/sendmail.el (mml-to-mime): Add autoload form.
14009 (mail-encode-mml): Add a defvar.
14010 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14011 to nil.
14012 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14013 message through mml-to-mime, and reset mail-encode-mml to nil.
14014
28c45130
GM
140152011-09-09 Glenn Morris <rgm@gnu.org>
14016
14017 * woman.el (woman-if-body): When processing an .el block,
14018 do not delete the next .el block as well. (Bug#9447)
69f4b618 14019 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14020
9b1c252e
MR
140212011-09-08 Martin Rudalics <rudalics@gmx.at>
14022
14023 * window.el (window-deletable-p): Make sure window is live before
14024 invoking window-prev-buffers.
14025
567457e3
LL
140262011-09-08 Leo Liu <sdl.web@gmail.com>
14027
14028 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14029
97f05794
JL
140302011-09-08 Juri Linkov <juri@jurta.org>
14031
14032 * progmodes/compile.el (compilation-environment): Make it
14033 a defcustom (bug#8340).
14034
8b0874b5
MR
140352011-09-08 Martin Rudalics <rudalics@gmx.at>
14036
14037 * window.el (frame-auto-delete): Rename to window-auto-delete.
14038 Make it control auto-deletion of windows and/or frames.
14039 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14040 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14041 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14042 Rewrite handling of case when window/frame can be deleted.
14043 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14044 argument t. (Bug#9456)
8b0874b5 14045
4feb6e73
CY
140462011-09-07 Chong Yidong <cyd@stupidchicken.com>
14047
14048 * help-mode.el (help-mode): Restore autoload.
14049
91ab9c13
JL
140502011-09-07 Juri Linkov <juri@jurta.org>
14051
14052 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14053 `compilation-environment'. Set buffer-local
14054 `compilation-environment' to `thisenv' later after (funcall mode).
14055 (Bug#8340)
14056
14057 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14058 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14059 instead of replacing its value. (Bug#8340)
14060
0527e251
JL
140612011-09-07 Juri Linkov <juri@jurta.org>
14062
14063 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14064 based on text properties put by `grep-filter' instead of matching
14065 escape sequences.
14066 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14067 to the value of `grep-error-screen-columns' (bug#9438).
14068
249f792c
JL
140692011-09-07 Juri Linkov <juri@jurta.org>
14070
14071 * simple.el (next-error-highlight, next-error-highlight-no-select):
14072 Doc fix (bug#9432).
14073
ff7271b9
OT
140742011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14075
14076 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14077 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14078
183fc730
LL
140792011-09-07 Leo Liu <sdl.web@gmail.com>
14080
14081 * net/rcirc.el (rcirc-mode): Conditionally initialize
14082 rcirc-input-ring.
14083
77694924
SM
140842011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14085
14086 * emacs-lisp/find-func.el (find-function-C-source): Only set
14087 find-function-C-source-directory after checking that we found a source
14088 file there (bug#9440).
14089
d809b8eb
AM
140902011-09-06 Alan Mackenzie <acm@muc.de>
14091
14092 * isearch.el (isearch-other-meta-char): Wherever a key list is
14093 unread, "unread" the prefix arg, too. This fixes bug #8901.
14094
453de99f
OG
140952011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14096
14097 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14098
90439906
JL
140992011-09-05 Juri Linkov <juri@jurta.org>
14100
14101 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14102
f62bd846
JL
141032011-09-05 Juri Linkov <juri@jurta.org>
14104
14105 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14106 keeping point where processing of grep matches begins, and
14107 continue to delete remaining escape sequences from the same point.
14108 (grep-filter): Make leading zero optional in "0?1;31m" because
14109 git-grep emits "\033[1;31m" escape sequences unlike expected
14110 "\033[01;31m" as GNU Grep does (bug#9408).
14111 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14112
045820ec
JL
141132011-09-05 Juri Linkov <juri@jurta.org>
14114
14115 * subr.el (y-or-n-p): Capitalize "yes".
14116
f5e29b9b
MA
141172011-09-04 Michael Albinus <michael.albinus@gmx.de>
14118
14119 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14120 `tramp-cache-unload-hook' where appropriate.
14121 (tramp-methods): Rename `tramp-remote-sh' to
14122 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14123 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14124
14125 * net/tramp-sh.el (top): Don't require 'shell.
14126 (tramp-methods): Add `tramp-remote-shell' and
14127 `tramp-remote-shell-args' entries.
14128 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14129 (tramp-sh-handle-shell-command): Remove.
14130 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14131 Use `tramp-remote-shell'.
14132
2784c434
CY
141332011-09-03 Chong Yidong <cyd@stupidchicken.com>
14134
393a301e 14135 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14136 (sendmail-query-once): Save directly to send-mail-function.
14137 Update message-send-mail-function too.
14138
14139 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14140
464cdf56
CS
141412011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14142
14143 * progmodes/python.el (python-mode-map): Use correct function to
14144 start python interpreter from menu-bar (as reported by Geert
14145 Kloosterman).
14146 (inferior-python-mode-map): Fix typo.
393a301e 14147 (python-shell-map): Remove.
464cdf56 14148
d37e5c87
DD
141492011-09-03 Deniz Dogan <deniz@dogan.se>
14150
14151 * net/rcirc.el (rcirc-print): Simplify code for
14152 rcirc-scroll-show-maximum-output. There is no need to walk
14153 through all windows to find the right one.
14154
f3ada0ee
CS
141552011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14156
14157 * help.el (help-return-method): Doc fix.
14158
1f3c99ca
MR
141592011-09-03 Martin Rudalics <rudalics@gmx.at>
14160
14161 * window.el (window-deletable-p): Don't return a non-nil value
14162 when there's a buffer that was shown in the window before.
14163 (Bug#9419)
393a301e
SM
14164 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14165 Set window's previous buffers to nil.
1f3c99ca 14166
a3cf097f
EZ
141672011-09-03 Eli Zaretskii <eliz@gnu.org>
14168
14169 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14170 newline before and after the tag line, so it doesn't interfere
14171 with determining the paragraph direction of bidirectional text.
14172
3d03de90
LL
141732011-09-03 Leo Liu <sdl.web@gmail.com>
14174
14175 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14176
c3313451
CY
141772011-09-02 Chong Yidong <cyd@stupidchicken.com>
14178
393a301e 14179 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14180 (pop-to-buffer): Change interactive spec. Pass second argument
14181 directly to display-buffer.
14182 (display-buffer): Fix interactive spec. Use functionp to
14183 distinguish between a function and a list of functions.
14184
14185 * abbrev.el (edit-abbrevs):
14186 * arc-mode.el (archive-extract):
14187 * autoinsert.el (auto-insert):
14188 * bookmark.el (bookmark-bmenu-list):
14189 * files.el (find-file):
14190 * view.el (view-buffer):
14191 * progmodes/compile.el (compilation-goto-locus):
14192 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14193
89894cd8
CY
141942011-09-02 Chong Yidong <cyd@stupidchicken.com>
14195
14196 * window.el (display-buffer-alist): Doc fix.
14197 (display-buffer): Add docstring. Don't treat
14198 display-buffer-default specially.
14199 (display-buffer-reuse-selected-window)
14200 (display-buffer-same-window, display-buffer-maybe-same-window)
14201 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14202 (display-buffer-pop-up-window)
14203 (display-buffer-reuse-or-pop-window)
14204 (display-buffer-use-some-window): New functions.
14205 (display-buffer-default-action): Use them.
393a301e 14206 (display-buffer-default): Delete.
89894cd8
CY
14207 (pop-to-buffer-1): Fix choice of actions.
14208
ae0bc9fb
SM
142092011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14210
14211 * minibuffer.el (completion--insert-strings): Don't get confused by
14212 completion entries that end with an LF char.
14213
e9d90883
EZ
142142011-09-01 Eli Zaretskii <eliz@gnu.org>
14215
14216 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14217
437014c8
CY
142182011-09-01 Chong Yidong <cyd@stupidchicken.com>
14219
14220 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14221 (display-buffer-same-window, display-buffer-other-window):
14222 New functions.
437014c8
CY
14223 (pop-to-buffer-1): New function. Use the above.
14224 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14225 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14226
14227 * view.el (view-buffer-other-window, view-buffer-other-frame):
14228 Just use pop-to-buffer.
14229
a5e063d5
TV
142302011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14231
14232 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14233
793d32bb
WH
142342011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14235
14236 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14237
d65e4c15
RS
142382011-08-31 Richard Stallman <rms@gnu.org>
14239
14240 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14241 of the separation of rmail-view-buffer from rmail-buffer.
14242 If you say no to "replace original", the decrypt is in the
14243 view buffer. If you say yes, the decrypt goes into the
14244 rmail buffer also.
14245
f818cd2a
MR
142462011-08-31 Martin Rudalics <rudalics@gmx.at>
14247
14248 * window.el (display-buffer-window): Rewrite doc-string.
14249 (display-buffer-record-window): New function.
14250 (display-buffer-macro-specifiers)
14251 (display-buffer-even-window-sizes, display-buffer-set-height)
14252 (display-buffer-set-width, display-buffer-in-window)
14253 (display-buffer-reuse-window, display-buffer-split-specifiers)
14254 (display-buffer-side-specifiers, display-buffer-split-window-1)
14255 (display-buffer-split-window, display-buffer-split-atom-window)
14256 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14257 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14258 (display-buffer-other-window-means-other-frame)
14259 (display-buffer-normalize-special)
14260 (display-buffer-normalize-default)
14261 (display-buffer-normalize-argument)
14262 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14263 (display-buffer-normalize-specifiers, display-buffer-frame)
14264 (display-buffer-same-window, display-buffer-same-frame)
14265 (display-buffer-other-window)
14266 (display-buffer-same-frame-other-window)
14267 (display-buffer-other-frame, pop-to-buffer-same-window)
14268 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14269 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14270 (switch-to-buffer-same-frame)
14271 (switch-to-buffer-other-window-same-frame)
14272 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14273 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14274 (display-buffer-alist-set): Remove.
14275 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14276 (special-display-regexps, special-display-function):
14277 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14278 parameter.
14279 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14280 (special-display-frame-alist, special-display-popup-frame)
14281 (same-window-buffer-names, same-window-regexps, same-window-p)
14282 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14283 (split-window-preferred-function, split-height-threshold)
14284 (split-width-threshold, window-splittable-p)
14285 (split-window-sensibly, window--try-to-split-window)
14286 (window--frame-usable-p, even-window-heights)
14287 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14288 (window--display-buffer-2, display-buffer-other-frame):
14289 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14290 (display-buffer-default, display-buffer-assq-regexp): New functions.
14291 (display-buffer-alist): Rewrite doc-string.
14292 (display-buffer-default-action)
14293 (display-buffer-overriding-action): New variables.
14294 (display-buffer, switch-to-buffer): Rewrite.
14295 (pop-to-buffer): Restore Emacs 23 behavior but use
14296 window-normalize-buffer-to-display.
14297 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14298 Restore Emacs 23 behavior but use
14299 window-normalize-buffer-to-switch-to.
14300 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14301 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14302 Rewrite using Emacs 23 options.
f818cd2a 14303
5bc3b51d
MA
143042011-08-31 Michael Albinus <michael.albinus@gmx.de>
14305
14306 * net/tramp.el (tramp-root-regexp): Remove.
14307 (tramp-completion-file-name-regexp-unified)
14308 (tramp-completion-file-name-regexp-separate)
14309 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14310 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14311 (tramp-drop-volume-letter): Simplify definition.
14312 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14313
b1a4f8e1
SM
143142011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14315
14316 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14317 (bug#9356).
14318
5664fa7b
RT
143192011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14320
b1a4f8e1 14321 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14322
9a45d6c3
JL
143232011-08-29 Juri Linkov <juri@jurta.org>
14324
14325 * isearch.el (isearch-done): Don't display message "Mark saved"
14326 when arg `edit' is non-nil to prevent its flicker in the echo area.
14327
fb87e0fb
CY
143282011-08-28 Chong Yidong <cyd@stupidchicken.com>
14329
14330 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14331 obsolete packages for deletion.
14332
09ac1c2a
CS
143332011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14334
14335 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14336 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14337 view-mode from help-mode.
14338 (help-xref-override-view-map): Remove.
14339 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14340 view-mode is not used anymore.
14341
7a1ff57f
CY
143422011-08-28 Chong Yidong <cyd@stupidchicken.com>
14343
14344 * server.el (server-port): Doc fix.
14345
b9696605
CY
14346 * cus-theme.el (custom-theme-choose-mode): Inherit from
14347 special-mode (Bug#9124).
14348 (custom-theme-choose-mode-map): Add special-mode to parent.
14349
ef8cdf8c
AM
143502011-08-28 Alan Mackenzie <acm@muc.de>
14351
14352 * progmodes/cc-fonts.el
14353 (c-make-font-lock-BO-decl-search-function): New function.
14354 (c-basic-matchers-after - "Fontify the clauses after various
14355 keywords"): Extract the three keyword lists for the 3 erroneous
14356 constructs from the list of four, and use the new function above
14357 in place of an old one.
14358
27de4e20
DD
143592011-08-28 Deniz Dogan <deniz@dogan.se>
14360
14361 * net/rcirc.el (rcirc-insert-prev-input)
14362 (rcirc-insert-next-input): Remove unused argument.
14363
356a3681
SM
143642011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14365
14366 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14367
3fc9b218
AM
143682011-08-27 Alan Mackenzie <acm@muc.de>
14369
14370 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14371 handle function pointer parameters properly.
14372
538a061c
MR
143732011-08-27 Martin Rudalics <rudalics@gmx.at>
14374
14375 * window.el (display-buffer-reuse-window): Fix case where
14376 selected window was reused with non-nil OTHER-WINDOW argument.
14377 (Bug#9381)
14378
35b1c40c
DD
143792011-08-27 Deniz Dogan <deniz@dogan.se>
14380
14381 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14382 oftc's NickServ messages.
14383
2f6a3e79
GM
143842011-08-27 Glenn Morris <rgm@gnu.org>
14385
14386 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14387
7254299e
CY
143882011-08-26 Chong Yidong <cyd@stupidchicken.com>
14389
14390 * emacs-lisp/package.el (package-install): Call package-initialize
14391 if called interactively.
14392
f8ccf167
LL
143932011-08-26 Leo Liu <sdl.web@gmail.com>
14394
14395 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14396
3e8cd5ce
JL
143972011-08-25 Juri Linkov <juri@jurta.org>
14398
14399 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14400 `search-whitespace-regexp' (bug#9364).
14401
93eb7113
JL
144022011-08-25 Juri Linkov <juri@jurta.org>
14403
14404 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14405 `regexp-search-ring' to their global values to protect from
14406 updating by `read-from-minibuffer' (bug#9185).
14407
f65d1611
JL
144082011-08-25 Juri Linkov <juri@jurta.org>
14409
14410 * textmodes/ispell.el (ispell-command-loop): Add newline
14411 at the end of the "Use option `i'..." line.
14412
f1cf7a31
JL
144132011-08-25 Juri Linkov <juri@jurta.org>
14414
14415 * battery.el (display-battery-mode): If `battery-status-function'
14416 or `battery-mode-line-format' is nil, display the message and set
14417 `display-battery-mode' to nil (bug#9363).
14418
0c95fcf7
EZ
144192011-08-25 Eli Zaretskii <eliz@gnu.org>
14420
14421 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14422 bidi-string-mark-left-to-right; they are unnecessary now.
14423
a2ebe600
DD
144242011-08-25 Deniz Dogan <deniz@dogan.se>
14425
14426 * net/quickurl.el: Documentation typo fixes.
14427
e4ed06f1
CY
144282011-08-25 Chong Yidong <cyd@stupidchicken.com>
14429
14430 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14431
e5f1c99e
GM
144322011-08-25 Glenn Morris <rgm@gnu.org>
14433
b2948976
GM
14434 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14435
e5f1c99e
GM
14436 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14437 (smtpmail-via-smtp): Handle nil response from smtp.
14438
f22f4808
JL
144392011-08-24 Juri Linkov <juri@jurta.org>
14440
14441 * proced.el (proced-marked): Inherit from `error' instead of
14442 `font-lock-warning-face'.
14443
14444 * ibuffer.el (ibuffer-marked-face): Change default face from
14445 `font-lock-warning-face' to `warning'.
14446 (ibuffer-deletion-face): Change default face from
14447 `font-lock-type-face' to `error'.
14448
14449 * battery.el (battery-update): Use the face `error' instead of
14450 `font-lock-warning-face' (bug#6117).
14451
6a93965e
JL
144522011-08-24 Juri Linkov <juri@jurta.org>
14453
14454 * faces.el (success): Change face color from "Green3" to
14455 "ForestGreen" on light background (bug#9353).
14456
1ed43b09
CY
144572011-08-24 Chong Yidong <cyd@stupidchicken.com>
14458
5664fa7b
RT
14459 * window.el (quit-window): Rename from quit-restore-window.
14460 Use same arglist as old quit-window.
1ed43b09
CY
14461 (frame-auto-delete): Doc fix.
14462
14463 * view.el (view-mode-exit): Use quit-window.
14464
11dcdbb2
JL
144652011-08-24 Juri Linkov <juri@jurta.org>
14466
14467 * isearch.el (isearch-ring-adjust1): Start visiting previous
14468 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14469 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14470 for empty search string (when the last search string is reused
14471 automatically) to adjust the isearch ring to the last element and
14472 prepare the correct index for further M-p commands (bug#9185).
14473
de62b4df
KH
144742011-08-24 Kenichi Handa <handa@m17n.org>
14475
14476 * international/ucs-normalize.el: If decomposition property of
14477 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14478 nil.
14479 (nfd, nfkd): Likewise.
14480
963b492b
SM
144812011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14482
14483 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14484 from process filters aren't reliably transmitted to the surrounding
14485 accept-process-output.
14486 (mpc-proc-check): New function.
14487 (mpc-proc-sync): Use it (bug#8293)
14488
93b6b5e1
SM
144892011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14492 Add compatibility functions (bug#9313).
14493
bca633fb
EZ
144942011-08-23 Eli Zaretskii <eliz@gnu.org>
14495
b177498a
EZ
14496 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14497
6df6ae42 14498 * international/uni-bidi.el: Regenerate.
bca633fb 14499
0902a04e
KH
145002011-08-23 Kenichi Handa <handa@m17n.org>
14501
14502 * international/charprop.el:
14503 * international/uni-bidi.el:
14504 * international/uni-category.el:
14505 * international/uni-combining.el:
14506 * international/uni-comment.el:
14507 * international/uni-decimal.el:
14508 * international/uni-decomposition.el:
14509 * international/uni-digit.el:
14510 * international/uni-lowercase.el:
14511 * international/uni-mirrored.el:
14512 * international/uni-name.el:
14513 * international/uni-numeric.el:
14514 * international/uni-old-name.el:
14515 * international/uni-titlecase.el:
14516 * international/uni-uppercase.el: Regenerate.
14517
3bbf23bc
MR
145182011-08-23 Martin Rudalics <rudalics@gmx.at>
14519
14520 * help.el (help-window-setup): Fix message displayed when other
14521 window is reused. (Bug#9341)
14522
b3fd59bd
SM
145232011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14524
1802e444
SM
14525 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14526 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14527
b3fd59bd
SM
14528 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14529 Mark obsolete.
14530 * shell.el (shell-parse-pcomplete-arguments): New function.
14531 (shell-completion-vars): Use it instead (bug#9160).
14532
4eb61348
SM
145332011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14534
867cab74
SM
14535 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14536 strings and comments (bug#9333).
14537
4eb61348
SM
14538 * emacs-lisp/debug.el (debug-arglist): New function.
14539 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14540 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14541
262a1439
JL
145422011-08-22 Juri Linkov <juri@jurta.org>
14543
56ee679c
JL
14544 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14545 Revert regexp that highlights output switches to its old
14546 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14547
262a1439
JL
14548 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14549 to check for empty output (bug#9226).
14550
f13f86fb
CY
145512011-08-22 Chong Yidong <cyd@stupidchicken.com>
14552
14553 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14554 symbol-constituent as the default, as that stops font-lock from
14555 working properly (Bug#8843).
14556
c65c9622
LMI
145572011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14558
14559 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14560 `coding-system-for-*' around the process open call to avoid
14561 auth-source side effects.
e7f2c178 14562 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14563 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14564 probe hangs.
c65c9622 14565
23a8a5ab
CY
145662011-08-21 Chong Yidong <cyd@stupidchicken.com>
14567
ff98b2dd
CY
14568 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14569
23a8a5ab
CY
14570 * emacs-lisp/find-func.el (find-function-noselect): New arg
14571 lisp-only.
14572
14573 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14574 signal an error for built-in functions (Bug#6664).
14575
f5e3c598
LMI
145762011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14577
14578 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14579 (smtpmail-try-auth-methods): Use it.
14580
a3f2468a
CY
145812011-08-21 Chong Yidong <cyd@stupidchicken.com>
14582
2c34e8da
CY
14583 * font-lock.el (font-lock-fontify-region)
14584 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14585 (font-lock-default-unfontify-buffer)
14586 (font-lock-default-fontify-region)
14587 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14588
b3fd59bd
SM
14589 * progmodes/compile.el (compilation-error-properties):
14590 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14591 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14592 `ant' regexp.
ee31aabc 14593
a3f2468a
CY
14594 * net/browse-url.el (browse-url-firefox): Don't call
14595 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14596
8e999f70
GM
145972011-08-20 Glenn Morris <rgm@gnu.org>
14598
c21a496a
GM
14599 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14600
59ee0542
GM
14601 * tutorial.el (tutorial--default-keys): Update some default bindings.
14602
8e999f70
GM
14603 * files.el (hack-local-variables): Fully ignore case for "mode:".
14604
e3715033
AM
146052011-08-20 Alan Mackenzie <acm@muc.de>
14606
14607 Resolve invalid use of a regexp in regexp-opt.
14608
4d61f28d
JB
14609 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14610 detection for a java annotation.
e3715033 14611
4d61f28d 14612 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14613 detection for a java annotation.
14614
4d61f28d
JB
14615 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14616 handling for java.
e3715033
AM
14617 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14618
04ed2e9c
CY
146192011-08-20 Chong Yidong <cyd@stupidchicken.com>
14620
14621 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14622 (Bug#9274).
14623
826cee64
AM
146242011-08-20 Alan Mackenzie <acm@muc.de>
14625
58179cce 14626 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14627 such a construct. Mainly for when jit-lock etc. starts a chunk
14628 here.
14629
58179cce 14630 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14631 variable.
58179cce 14632 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14633 c-make-font-lock-search-function.
14634 (c-make-font-lock-search-function): Use the above function.
14635 (c-make-font-lock-context-search-function): New function.
14636 (c-cpp-matchers): Enhance the preprocessor expression case with
14637 the above function
14638 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14639 which takes an expression.
14640
14641 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14642
13009bd8
MR
146432011-08-20 Martin Rudalics <rudalics@gmx.at>
14644
14645 * window.el (display-buffer-reuse-window)
14646 (display-buffer-pop-up-window): Don't reuse or split a side
14647 window.
14648
9234ff7f
GM
146492011-08-19 Glenn Morris <rgm@gnu.org>
14650
14651 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14652 Downcase "Mode:". (Bug#9331)
9234ff7f 14653
f635daa1
CY
146542011-08-18 Chong Yidong <cyd@stupidchicken.com>
14655
14656 * international/characters.el: Add L and R categories.
14657
14658 * subr.el (bidi-string-mark-left-to-right): Rename from
14659 string-mark-left-to-right. Use category search.
14660
14661 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14662
bc987f8b
JL
146632011-08-18 Juri Linkov <juri@jurta.org>
14664
14665 * faces.el (error, warning, success): New faces with definitions
14666 copied from old default values of `font-lock-warning-face',
14667 `compilation-warning', `compilation-info' (bug#6117).
14668
14669 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14670
14671 * progmodes/compile.el (compilation-error): Inherit from `error'.
14672 (compilation-warning): Inherit from `warning'.
14673 (compilation-info): Inherit from `success'.
14674
14675 * dired.el (dired-marked): Inherit from `warning'.
14676 (dired-flagged): Inherit from `error'.
14677
57173b96
LMI
146782011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14679
3e79eb87
LMI
14680 * mail/smtpmail.el (auth-source): Require to avoid problems with
14681 binding variables (bug#9298). Also clean up some unused
14682 autoloads.
14683
b3fd59bd
SM
14684 * net/network-stream.el (network-stream-open-starttls):
14685 Support using starttls.el without using gnutls-cli.
57173b96 14686
02b404de
JL
146872011-08-17 Juri Linkov <juri@jurta.org>
14688
14689 * progmodes/grep.el (rgrep): Handle the case when
14690 `grep-find-command' is a cons cell (bug#9278).
14691
8c9177f2
MR
146922011-08-17 Martin Rudalics <rudalics@gmx.at>
14693
14694 * window.el (display-buffer-pop-up-frame): Run frame creation
14695 function with BUFFER current (as special-display-popup-frame
14696 does). Reported by Drew Adams.
14697
3644a0ab
DU
146982011-08-17 Daiki Ueno <ueno@unixuser.org>
14699
14700 * epa-mail.el: Simplify GnuPG group expansion using
14701 epg-expand-group.
14702 (epa-mail-group-alist, epa-mail-group-modtime)
14703 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14704 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14705 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14706 Remove.
14707
5e617bc2 147082011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14709
14710 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14711
9c4aeabf
AM
147122011-08-16 Alan Mackenzie <acm@muc.de>
14713
14714 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14715 Correct, to avoid the inside of macros.
14716
3a99bf64
RS
147172011-08-16 Richard Stallman <rms@gnu.org>
14718
04963aa8
RS
14719 * epa-mail.el: Handle GnuPG group definitions.
14720 (epa-mail-group-alist, epa-mail-group-modtime)
14721 (epa-mail-gnupg-conf-file): New variables.
14722 (epa-mail-parse-groups, epa-mail-sync-groups)
14723 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14724 (epa-mail-expand-recipients): New functions.
14725 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14726
177549d0
RS
14727 * mail/rmail.el (rmail-epa-decrypt): New command.
14728
fe38beef
RS
14729 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14730 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14731 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14732 (epa-decrypt-armor-in-region): Make error message clearer.
14733
934eacb9
SM
147342011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14737 and "a2b" to "ab" for `prefix'.
14738
d024fb4e
CY
147392011-08-14 Chong Yidong <cyd@stupidchicken.com>
14740
14741 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14742 filter groups.
de148fee
CY
14743 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14744 Fourquet (Bug#8804).
d024fb4e 14745
62f1ca49
JB
147462011-08-12 Juanma Barranquero <lekktu@gmail.com>
14747
14748 * startup.el (argi): Declare as global variable (bug#9275).
14749
9ccaaa4b
CY
147502011-08-12 Chong Yidong <cyd@stupidchicken.com>
14751
14752 * subr.el (string-mark-left-to-right): Search the entire string
14753 for RTL script, not just the terminating character. Doc fix.
14754
a3dae87a
SM
147552011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14756
6cd18349
SM
14757 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14758 New function.
14759 (js--regexp-literal, js-syntax-propertize-function): Remove.
14760 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14761 (js-mode-map): Don't rebind electric keys.
14762 (js-insert-and-indent): Remove.
14763 (js-mode): Setup electric-layout and electric-indent instead.
14764
a3dae87a
SM
14765 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14766
9d5cb631
DU
147672011-08-12 Daiki Ueno <ueno@unixuser.org>
14768
14769 * epa.el (epa-progress-callback-function): Fix the logic of
14770 displaying progress.
14771 * epa-file.el (epa-file-insert-file-contents): Make progress
14772 display more user-friendly.
14773 (epa-file-write-region): Ditto.
14774
3e26a4a2
CY
147752011-08-10 Chong Yidong <cyd@stupidchicken.com>
14776
14777 * subr.el (string-mark-left-to-right): New function.
14778
14779 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14780 Use string-mark-left-to-right.
14781 (list-buffers-noselect): Caller changed.
14782
a3dae87a
SM
14783 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14784 Use string-mark-left-to-right.
3e26a4a2
CY
14785 (tabulated-list-print): Recenter after moving point.
14786
ac8cf6e6
JL
147872011-08-10 Juri Linkov <juri@jurta.org>
14788
14789 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14790 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14791 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14792
8d96c9a4
CY
147932011-08-09 Chong Yidong <cyd@stupidchicken.com>
14794
14795 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14796 (Bug#7554).
14797
7be1c708 147982011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14799
14800 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14801 character. (Bug#6594)
14802
37e11a63
CY
148032011-08-08 Chong Yidong <cyd@stupidchicken.com>
14804
839dde57
CY
14805 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14806 (image-dired--with-db-file): New macro.
14807 (image-dired-write-tags, image-dired-remove-tag)
14808 (image-dired-create-gallery-lists, image-dired-write-comments)
14809 (image-dired-get-comment, image-dired-mark-tagged-files)
14810 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14811 (image-dired-gallery-generate): Use insert-file-contents.
14812
37e11a63
CY
14813 * time.el (display-time-world-list, display-time-world-display):
14814 * time-stamp.el (time-stamp-string):
14815 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14816 set-time-zone-rule (Bug#7337).
14817
0b4946c4
DU
148182011-08-08 Daiki Ueno <ueno@unixuser.org>
14819
14820 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14821 (epg-error-to-string, epg-errors-to-string): New function.
14822 (epg-wait-for-completion): Reverse errors list.
14823 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14824 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14825 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14826 (epg-sign-keys, epg-generate-key-from-file)
14827 (epg-generate-key-from-string): Format errors by using
14828 epg-errors-to-string (bug#9255).
14829 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14830
75bfc667
JL
148312011-08-07 Juri Linkov <juri@jurta.org>
14832
14833 * faces.el (list-faces-display): Remove extra angle bracket
14834 from `help-mode-map'.
14835
14836 * info.el (Info-history-toc-nodes): Doc fix.
14837
14838 * longlines.el (longlines-mode): Doc fix.
14839
673e08bb
SM
148402011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14841
4640dd88
SM
14842 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14843 of statements and in a few more cases (bug#9183).
14844
673e08bb
SM
14845 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14846 New functions.
14847 (cl-transform-lambda): Use them (bug#9239).
14848
89b3f019
MR
148492011-08-05 Martin Rudalics <rudalics@gmx.at>
14850
14851 * window.el (display-buffer-same-window)
14852 (display-buffer-same-frame, display-buffer-other-window)
14853 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14854 (pop-to-buffer-other-window)
14855 (pop-to-buffer-same-frame-other-window)
14856 (pop-to-buffer-other-frame): Make them defuns.
14857 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14858
640c8776
SM
148592011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * subr.el (make-composed-keymap): Move from C. Change calling
14862 convention, and improve docstring to bring attention to a subtle point.
14863 * minibuffer.el (completing-read-default): Adjust accordingly.
14864
63648a95
MA
148652011-08-03 Michael Albinus <michael.albinus@gmx.de>
14866
14867 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14868 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14869
14870 * net/trampver.el: Update release number.
14871
b796c9b7
SM
148722011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14873
14874 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14875 "in" (bug#9190).
14876
2239d7d5
LMI
148772011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14878
e07dd7c3
LMI
14879 * mail/sendmail.el (sendmail-query-once): Restore the current
14880 buffer after querying (bug#9074).
14881
0e6a2bd7
LMI
14882 * dired.el (dired-flagged): Use different faces for marked and
14883 flagged files (bug#6117).
14884
ce887515
LMI
14885 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14886 (bug#4433).
14887
92f2affc
LMI
14888 * ido.el (ido-mode): Switch off the message if called
14889 non-interactively.
14890
57d5aff0
LMI
14891 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14892 before 587, since it appears that that's more likely to work for
14893 more people.
14894
98cd6c18 14895 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14896 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14897 exist.
14898
b96dec83
LMI
14899 * info.el: Remove the `Info-beginning-of-buffer' function
14900 (bug#8325).
14901
b796c9b7
SM
14902 * net/network-stream.el (network-stream-open-starttls):
14903 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14904
d90e2ea0
MR
149052011-08-01 Martin Rudalics <rudalics@gmx.at>
14906
14907 * window.el (display-buffer-in-window): Don't set dedicated status
14908 of window here (Bug#9215).
14909 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14910 (display-buffer-pop-up-side-window)
b796c9b7 14911 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14912
cca09170
SM
149132011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14914
14915 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14916 before binding generated-autoload-file.
14917
027b979c
DD
149182011-08-01 Deniz Dogan <deniz@dogan.se>
14919
14920 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14921
3c7ee4f3
MA
149222011-07-30 Michael Albinus <michael.albinus@gmx.de>
14923
14924 Sync with Tramp 2.2.2.
14925
14926 * net/trampver.el: Update release number.
14927
2cc8e51a
JL
149282011-07-30 Juri Linkov <juri@jurta.org>
14929
14930 * dired-aux.el (dired-touch-initial): Remove function.
14931 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14932 current time, and `default' to the last modification time of the
14933 current marked file (bug#6887).
14934
a514d856
JM
149352011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14936
14937 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14938 numeric argument to read-number (bug#9163).
a514d856 14939
8a7eddd7
MA
149402011-07-27 Michael Albinus <michael.albinus@gmx.de>
14941
14942 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14943 connection process, it could be nil.
14944
1ddd96f5
LL
149452011-07-27 Leo Liu <sdl.web@gmail.com>
14946
14947 Simplify url handling in rcirc-mode.
14948
14949 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14950 (rcirc-browse-url-at-mouse): Remove.
14951 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14952
b248a85d
AM
149532011-07-26 Alan Mackenzie <acm@muc.de>
14954
14955 Fontify bitfield declarations properly.
14956
14957 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14958 (c-symbol-chars): Now exported as a lang variable.
14959 (c-not-primitive-type-keywords): New lang variable.
14960
14961 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14962 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14963 parsed as a bitfield declaration.
b248a85d 14964
b796c9b7
SM
14965 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14966 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14967 (c-punctuation-in): New function.
14968 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14969 declarations properly.
14970
68575ab0
UJ
149712011-07-26 Ulf Jasper <ulf.jasper@web.de>
14972
14973 * calendar/icalendar.el (icalendar--all-events): Take care of
14974 multiple vcalendars in a single file.
b796c9b7 14975 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14976
0f0a88b9
DD
149772011-07-25 Deniz Dogan <deniz@dogan.se>
14978
14979 * image.el (insert-image): Clarifying docstring.
14980
0b3f36df
MA
149812011-07-24 Michael Albinus <michael.albinus@gmx.de>
14982
14983 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14984 `tramp-send-command-and-check' if there is no error.
14985 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14986
a9901f61
AM
149872011-07-22 Alan Mackenzie <acm@muc.de>
14988
14989 Prevent cc-langs.elc being loaded at run time.
14990
14991 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14992 cc-langs.
14993
4d61f28d 14994 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14995 "(require 'cc-langs)". Quote a form so it will evaluate at
14996 (cc-mode's) compilation time.
14997
11d074b2
MA
149982011-07-22 Michael Albinus <michael.albinus@gmx.de>
14999
15000 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15001 loading. (Bug#9114)
15002
938b94c8
MR
150032011-07-21 Martin Rudalics <rudalics@gmx.at>
15004
15005 * window.el (display-buffer-pop-up-window)
15006 (display-buffer-pop-up-side-window)
15007 (display-buffer-in-side-window): Call display-buffer-set-height
15008 and display-buffer-set-width after setting the new window's
b796c9b7 15009 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15010
bfa4f190
SS
150112011-07-20 Sam Steingold <sds@gnu.org>
15012
15013 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15014 (etags-tags-included-tables): Call `convert-standard-filename' on
15015 the file names contained in TAGS so that windows Emacs can handle
15016 TAGS files created by cygwin ctags.
15017
8ca42262
LMI
150182011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15019
15020 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15021 which apparently didn't work.
15022
5db2afd2 150232011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15024
5db2afd2
RW
15025 * proced.el (proced-send-signal): For *Marked Processes* buffer
15026 put point at beginning of buffer.
15027
92e15d10
SB
150282011-07-19 Stephen Berman <stephen.berman@gmx.net>
15029
15030 * proced.el (proced-format): Make header lines align with the text
15031 (bug#1779).
15032
1bfd59e5
LMI
150332011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15034
15035 * view.el (view-buffer): Allow running in `special' modes if we're
15036 visiting a file (bug#8615).
15037
f5aae37c
MR
150382011-07-19 Martin Rudalics <rudalics@gmx.at>
15039
15040 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15041 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15042 New functions.
f5aae37c
MR
15043 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15044 more accurately.
15045
bf2c1571
AM
150462011-07-18 Alan Mackenzie <acm@muc.de>
15047
15048 Fontify declarators properly when, e.g., a jit-lock chunk begins
15049 inside a declaration.
15050
15051 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15052
b796c9b7
SM
15053 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15054 New function.
bf2c1571
AM
15055 (c-complex-decl-matchers): Insert reference to
15056 c-font-lock-enclosing-decls.
15057
15058 * progmodes/cc-engine.el (c-backward-single-comment):
15059 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15060 to nil around calls to (forward-comment -1).
15061
4e190b80
LMI
150622011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15063
12dc863d
LMI
15064 * image.el (put-image): Doc typo fix.
15065
a762e966
LMI
15066 * progmodes/etags.el (tags-search): Doc typo fix.
15067
4e190b80
LMI
15068 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15069 password if we get errors 550 to 554.
15070
f019fb21
LMI
150712011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15072
b796c9b7 15073 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15074
81746738
LMI
15075 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15076 indentation character (bug#6380).
15077
3ee3a1b5
LMI
15078 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15079
c82f64de
LMI
15080 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15081 to clarify what the problem is (bug#4291).
15082
f019fb21
LMI
15083 * simple.el (current-kill): Clarify what
15084 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15085 (auto-fill-mode): Document `auto-fill-function' in relation to
15086 `auto-fill-mode' (bug#2470).
f019fb21 15087
0794775d
LM
150882011-07-16 Lawrence Mitchell <wence@gmx.li>
15089
15090 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15091 method if slot is read-only (bug#9035).
15092
be39b8cc
MR
150932011-07-16 Martin Rudalics <rudalics@gmx.at>
15094
b796c9b7 15095 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15096 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15097 selected before, see discussion of (Bug#8615), (Bug#6954).
15098 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15099
6ccf7859
GM
151002011-07-15 Glenn Morris <rgm@gnu.org>
15101
15102 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15103 Respect help-form.
6ccf7859 15104
87e86684
LM
151052011-07-09 Lawrence Mitchell <wence@gmx.li>
15106
15107 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15108 (gnutls-negotiate): Use it.
15109
d6066239
LMI
151102011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15111
b796c9b7
SM
15112 * net/gnutls.el (gnutls-negotiate):
15113 Upcase `gnutls-algorithm-priority'.
d6066239 15114
bd23ebc0
GM
151152011-07-15 Glenn Morris <rgm@gnu.org>
15116
c65bca65
GM
15117 * jka-compr.el (jka-compr-verbose): Move from here...
15118 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15119 Add missing :version tag.
15120 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15121
478615cc
LMI
151222011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15123
7b41decb
LMI
15124 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15125 (gnutls-negotiate): Use it.
15126
dbc44fcd
LMI
15127 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15128
06789f97
LMI
15129 * info.el (Info-beginning-of-buffer): New command.
15130 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15131 announcing `b' as the key (bug#8325).
ab896c37 15132 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15133
c39da690
LMI
15134 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15135
3aa5f34b
LMI
15136 * international/mule-cmds.el
15137 (describe-specified-language-support): Make the error message
15138 clearer (bug#8905).
15139
4bf0979f
LMI
15140 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15141
478615cc
LMI
15142 * isearch.el (isearch-barrier): Add a doc string, since it's
15143 mentioned in a function doc string (bug#8678).
15144
75c68aa1
MR
151452011-07-15 Martin Rudalics <rudalics@gmx.at>
15146
15147 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15148 buffer argument (Bug#9083) and self-identifying label argument.
15149
a7c33da2
GM
151502011-07-15 Glenn Morris <rgm@gnu.org>
15151
15152 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15153
2f5c6024
LMI
151542011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15155
15156 * man.el (Man-fontify-manpage): Fix message when formatting the
15157 man page (bug#7929).
15158
0bb23927 151592011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15160
15161 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15162 argument LRM; if non-nil, append an invisible LRM character to the
15163 buffer name.
15164 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15165 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15166 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15167 paragraph direction.
cce4b0a7 15168
621ef9ab
LMI
151692011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15170
d1583c48
LMI
15171 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15172 the man page name (bug#7929).
15173
6a57fb5f
LMI
15174 * image.el (put-image): Mention the `put-image' overlay property
15175 (bug#7834).
15176
d7956b14
LMI
15177 * scroll-bar.el (set-scroll-bar-mode): Mention that
15178 `scroll-bar-mode' lists the values (bug#7772).
15179
5b2d4a66
LMI
15180 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15181 command (bug#7729).
15182
7509a874
LMI
15183 * rect.el (apply-on-rectangle): Return the point after the last
15184 operation.
15185 (string-rectangle): Go to the point after the last operation
15186 (bug#7522).
15187
4fe74b19
LMI
15188 * printing.el (pr-toggle-region): Clarify the documentation
15189 slightly (bug#7493).
15190
b796c9b7
SM
15191 * time.el (display-time-update):
15192 Allow `display-time-mail-function' to return nil (bug#7158).
15193 Fix suggested by Detlev Zundel.
ab283561 15194
fc233c9d
LMI
15195 * vc/diff.el (diff): Clarify the order the file names are read
15196 (bug#7111).
15197
43f5740b
LMI
15198 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15199 the doc string (bug#7015).
15200
f2182a76
LMI
15201 * font-lock.el (font-lock-maximum-decoration): Mention what
15202 numeric levels mean (bug#6935).
15203
621ef9ab
LMI
15204 * startup.el (initial-buffer-choice): Don't mention the `none'
15205 selection, which is against policy.
15206
adc47434
MR
152072011-07-14 Martin Rudalics <rudalics@gmx.at>
15208
b796c9b7
SM
15209 * window.el (display-buffer-normalize-special):
15210 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15211
7e5bfb8f
EZ
152122011-07-14 Eli Zaretskii <eliz@gnu.org>
15213
15214 * subr.el (version<, version<=, version=): Mention "-CVS" and
15215 "-12345" alpha version numbers.
15216
27fa387a
CY
152172011-07-14 Chong Yidong <cyd@stupidchicken.com>
15218
15219 * bindings.el: Add advertised binding for set-mark-command
15220 (Bug#5772).
15221
8bdfa064
CY
152222011-07-14 Chong Yidong <cyd@stupidchicken.com>
15223
15224 * bindings.el (mode-line-other-buffer):
15225 * bookmark.el (bookmark-bmenu-2-window):
15226 * bs.el (bs-cycle-next, bs-cycle-previous):
15227 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15228 switch-to-buffer.
15229
15230 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15231 Delete.
8bdfa064 15232
5eba16a3
JB
152332011-07-14 Juanma Barranquero <lekktu@gmail.com>
15234
15235 * follow.el (follow-debug-message, follow-redisplay):
15236 * jka-cmpr-hook.el (with-auto-compression-mode):
15237 Fix typos in docstrings.
15238
15853710
LMI
152392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15240
a28e4607
LMI
15241 * subr.el (with-silent-modifications): Clarify somewhat what the
15242 macro inhibits (bug#6525).
15243
15853710
LMI
15244 * simple.el (eval-expression): Note what it does if called
15245 interactively (bug#6495).
15246
bee0fcef
CY
152472011-07-13 Chong Yidong <cyd@stupidchicken.com>
15248
b796c9b7
SM
15249 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15250 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15251
15252 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15253 Remove switch-to-buffer.
15254
58274504
LMI
152552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15256
bd2fcc8d
LMI
15257 * files.el (make-directory): Clarify that an error will be raised
15258 if there's an error (bug#6397).
15259
0f04b32c
LMI
15260 * startup.el (initial-buffer-choice): Add `none' as a choice
15261 (bug#6234).
15262
465c5fc8
LMI
15263 * subr.el (add-hook): Clarify section about buffer-local hooks
15264 (bug#6218).
15265
58274504
LMI
15266 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15267
bead9a43
JB
152682011-07-13 Juanma Barranquero <lekktu@gmail.com>
15269
15270 * tabify.el (untabify): Preserve the current column so that point
15271 doesn't move (bug#6032).
15272
3af98a7b
LMI
152732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15274
b796c9b7
SM
15275 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15276 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15277
6240145a
GM
152782011-07-13 Glenn Morris <rgm@gnu.org>
15279
15280 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15281 (dired-insert-directory): Give a message the first time
15282 if ls is found not to support --dired.
15283
1d8c2ccc
LMI
152842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15285
15286 * simple.el (toggle-truncate-lines): Clarify what is toggled
15287 (bug#5580). Text by Drew Adams.
15288
5fc4038e
CY
152892011-07-13 Chong Yidong <cyd@stupidchicken.com>
15290
15291 * simple.el (blink-matching-open): Make the error message from the
15292 last change less verbose.
15293
bf6012e5
DN
152942011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15295
15296 * font-lock.el (font-lock-comment-face): Use the high contrast
15297 "yellow" color for font-lock-comment-face on low color terminals
15298 using a dark background color (bug#4221).
15299
343c3b5a
LMI
153002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15301
7e9505c5
LMI
15302 * dired.el (dired-insert-set-properties): Make the doc string
15303 reflect what it does now (bug#5325).
15304
c26fdcf5
LMI
15305 * simple.el (blink-matching-open): Say that we were unable to find
15306 the match within the limit, if we're limited (bug#5122).
15307
bb388cc5
LMI
15308 * international/mule-cmds.el (prefer-coding-system): Add an
15309 example (bug#4869).
15310
343c3b5a
LMI
15311 * progmodes/etags.el (tags-search): Document `file-list-form'
15312 (bug#4731).
15313
2a517d45
LM
153142011-07-13 Lawrence Mitchell <wence@gmx.li>
15315
15316 * net/browse-url.el (browse-url-default-browser)
15317 (browse-url-browser-function): Make the default browser choice a
15318 bit more logical (bug#4300). Also clean up the doc string.
15319
b6c78ef2
JB
153202011-07-13 Juanma Barranquero <lekktu@gmail.com>
15321
15322 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15323 binary endings (bug#4440).
15324
1c4dd947
LMI
153252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15326
a2014063
LMI
15327 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15328 which can be pretty annoying (bug#8971).
15329
9c9c2d88
LMI
15330 * jka-compr.el (jka-compr-verbose): New variable, and use
15331 throughout (bug#8971).
15332
1c4dd947
LMI
15333 * info.el (Info-find-file): Fall back on the installation
15334 directory if we can't find the info node anywhere else.
15335
a1c9f41b
SO
153362011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15337
15338 * vc/vc.el (vc-revert-file):
15339 Don't set file time-stamp in the past. (Bug#5181)
15340
536f3d36
LMI
153412011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15342
7152b011
LMI
15343 * files.el (after-find-file): Give a better error message when
15344 trying to find a symlink that points to a file that doesn't exist
15345 (bug#4398).
15346
536f3d36
LMI
15347 * progmodes/cc-vars.el: Remove (probably) misleading comment
15348 (bug#4396).
15349
460c0fba
JB
153502011-07-12 Johan Bockgård <bojohan@gnu.org>
15351
15352 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15353
7a6bda45
CY
153542011-07-12 Chong Yidong <cyd@stupidchicken.com>
15355
15356 * mouse-sel.el: Hack restoring functionality, while keeping
15357 compatibility with 2010-07-03 changes to mouse selection.
15358 (mouse-sel-primary-overlay): New var.
15359 (mouse-sel-selection-alist): Use it.
15360 (mouse-sel-mode): Doc fix; remove points that are default features
15361 of mouse.el.
15362
c79598ef
JB
153632011-07-12 Johan Bockgård <bojohan@gnu.org>
15364
15365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15366 Fix previous fix (bug#2490).
15367
ff8be6ef
RW
153682011-07-12 Roland Winkler <winkler@gnu.org>
15369
b796c9b7
SM
15370 * textmodes/bibtex.el (bibtex-initialize):
15371 Use pop-to-buffer-same-window.
ff8be6ef
RW
15372 (bibtex-search-entries): Fix interactive call.
15373
296ba3ee
LMI
153742011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15375
f5242a02 15376 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15377 Fontise bytecomp Error lines more correctly (bug#2490).
15378 Fix suggested by Johan Bockgård.
f5242a02 15379
296ba3ee
LMI
15380 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15381
15382 * dired-x.el (dired-guess-default): Use `delete-dups'.
15383
f69fd0d2
CY
153842011-07-12 Chong Yidong <cyd@stupidchicken.com>
15385
15386 * dired.el (dired-mark-prompt):
15387 * dired-aux.el (dired-read-shell-command): Doc fix.
15388
eab5dc07
LMI
153892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15390
b796c9b7
SM
15391 * mail/sendmail.el (sendmail-query-once):
15392 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15393 emacs -Q.
15394
15395 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15396
eab5dc07
LMI
15397 * cus-edit.el (custom-file): Take an optional no-error variable.
15398 (customize-save-variable): Set the variable, and give a warning if
15399 running under "emacs -q".
15400
a1e65d42
JB
154012011-07-11 Juanma Barranquero <lekktu@gmail.com>
15402
15403 * loadhist.el (unload-feature-special-hooks):
15404 Add `auto-coding-functions', `fill-nobreak-predicate' and
15405 `find-directory-functions' (bug#5327).
15406
1d52da10
LMI
154072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15408
be958f1d
LMI
15409 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15410
5bedb26c
LMI
15411 * cus-edit.el (custom-guess-name-alist): -alist variables should
15412 use the `alist' type (bug#3120). Suggested by Drew Adams.
15413
1d52da10
LMI
15414 * printing.el: Add documentation to all the `pr-toggle-' commands.
15415
cd394be1 154162011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15417
15418 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15419 backends where it makes sense (bug#2623).
15420
dcc88d8a
LMI
154212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15422
c3de9feb
LMI
15423 * dired-x.el (dired-guess-default): Remove duplicate shell command
15424 entries (bug#2028).
8a93078b 15425 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15426 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15427
dcc88d8a
LMI
15428 * subr.el (remove-duplicates): New conveniency function.
15429
505e3645
LMI
154302011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15431
15432 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15433 (bug#1526).
15434
154352011-07-10 Martin Rudalics <rudalics@gmx.at>
15436
15437 * window.el (display-buffer-normalize-default): Don't invert
15438 meaning of even-window-heights. Reported by Eli Zaretskii
15439 <eliz@gnu.org>.
15440
455e4fa1
BR
154412011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15442
15443 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15444
8e0bc3e9
CY
154452011-07-10 Chong Yidong <cyd@stupidchicken.com>
15446
15447 * window.el (display-buffer): Fix arguments to
15448 display-buffer-reuse-window in last change.
15449
fa7c3228
CY
15450 * faces.el (link): Use a less saturated blue on light backgrounds.
15451
15452 * startup.el (fancy-startup-text, fancy-about-text)
15453 (fancy-startup-tail): Use font-lock faces, for background safety.
15454
c0a7f300
BN
154552011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15456
b796c9b7
SM
15457 * emulation/viper-cmd.el (viper-change-state-to-vi):
15458 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15459
4dc2a129
MR
154602011-07-09 Martin Rudalics <rudalics@gmx.at>
15461
15462 * window.el (display-buffer-default-specifiers): Remove.
15463 (display-buffer-macro-specifiers): Remove default specifiers.
15464 (display-buffer-alist): Default to nil.
b796c9b7 15465 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15466 (display-buffer-pop-up-window): Allow splitting internal
15467 windows. Check whether a live window was created.
15468 (display-buffer-other-window-means-other-frame)
15469 (display-buffer-normalize-arguments): Rename to
15470 display-buffer-normalize-argument and rewrite. Set the
15471 other-window specifier.
15472 (display-buffer-normalize-special): New function.
15473 (display-buffer-normalize-options): Rename to
15474 display-buffer-normalize-default and rewrite.
15475 (display-buffer-normalize-options-inhibit): Remove.
15476 (display-buffer-normalize-specifiers): Rewrite.
15477 (display-buffer): Process other-window specifier and call
15478 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15479 more faithfully.
b796c9b7 15480 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15481 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15482 (display-buffer-in-window, display-buffer-alist-set):
15483 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15484 <tassilo@member.fsf.org>.
15485
2d43b8c9
LL
154862011-07-09 Leo Liu <sdl.web@gmail.com>
15487
15488 * register.el (insert-register): Restore accidental change on
15489 2011-06-26. (Bug#9028)
15490
7f9b7c53
GM
154912011-07-09 Glenn Morris <rgm@gnu.org>
15492
15493 * subr.el (remq): Handle the empty list. (Bug#9024)
15494
f042cfd8
AS
154952011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15496
15497 * mail/sendmail.el (send-mail-function): No longer delay custom
15498 initialization.
15499 * custom.el (custom-initialize-delay): Doc fix.
15500
856b2f11
SM
155012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15502
15503 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15504
afae1d68
MA
155052011-07-08 Michael Albinus <michael.albinus@gmx.de>
15506
15507 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15508 human-friendly prompt.
15509
0757af94
SM
155102011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15511
15512 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15513 provided by a particular plugin.
15514
d760b731
LMI
155152011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15516
15517 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15518 save customizations (with "emacs -Q"), just set the variable
15519 instead of erroring out.
15520
15521 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15522
cd79ce90
JL
155232011-07-08 Juri Linkov <juri@jurta.org>
15524
15525 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15526 (archive-zip-update-case): Use 7z if found by `executable-find'.
15527 The order of searching the available programs is the same as in
15528 `archive-zip-extract' (bug#8968).
15529
14cc04aa
CY
155302011-07-07 Chong Yidong <cyd@stupidchicken.com>
15531
15532 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15533 (menu-bar-options-menu): Tweak descriptions.
15534
0a1848ec
LMI
155352011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15536
15537 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15538 menu items into verb phrases (bug#1421). Also refill to fit under
15539 80 columns.
15540
f5bd0689
CY
155412011-07-07 Chong Yidong <cyd@stupidchicken.com>
15542
538e85c6
CY
15543 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15544 (Info-read-node-name): Doc fix (Bug#1084).
15545
f5bd0689
CY
15546 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15547 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15548 (end-of-sexp, beginning-of-sexp)
15549 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15550 (forward-symbol, forward-same-syntax, word-at-point)
15551 (sentence-at-point): Doc fix (Bug#1144).
15552
56ec5115
LMI
155532011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15554
f3f8e37f
LMI
15555 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15556 should cover it (bug#1281).
15557
0757af94 15558 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15559
e9fce1ac 15560 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15561 negotiation fails, then possibly try again with a non-encrypted
15562 connection (bug#9017).
15563
56ec5115
LMI
15564 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15565 be used.
15566
c2f9aec8
RS
155672011-07-07 Richard Stallman <rms@gnu.org>
15568
15569 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15570 property, and handle its changed format.
15571 Look for the correct line number.
15572 Use file's line contents (but not past first =) to find
15573 correct line in message.
15574
ef7b981d 155752011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15576
15577 * international/characters.el (build-unicode-category-table):
15578 Delete it.
0757af94 15579 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15580
0757af94 15581 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15582 to src/chartab.c.
15583 (get-char-code-property): Call unicode-property-table-internal to
15584 load a file. Call get-unicode-property-internal where necessary.
15585 (put-char-code-property): Call unicode-property-table-internal to
15586 load a file. Call put-unicode-property-internal where necessary.
15587 put-unicode-property-internal where necessary.
0757af94
SM
15588 (char-code-property-description):
15589 Call unicode-property-table-internal to load a file.
c805dec0
KH
15590
15591 * international/charprop.el:
15592 * international/uni-bidi.el:
15593 * international/uni-category.el:
15594 * international/uni-combining.el:
15595 * international/uni-comment.el:
15596 * international/uni-decimal.el:
15597 * international/uni-decomposition.el:
15598 * international/uni-digit.el:
15599 * international/uni-lowercase.el:
15600 * international/uni-mirrored.el:
15601 * international/uni-name.el:
15602 * international/uni-numeric.el:
15603 * international/uni-old-name.el:
15604 * international/uni-titlecase.el:
15605 * international/uni-uppercase.el: Regenerate.
15606
15607 * loadup.el: Load international/charprop.el before
15608 international/characters.
15609
e14b388a
CY
156102011-07-07 Chong Yidong <cyd@stupidchicken.com>
15611
15612 * window.el (next-buffer, previous-buffer): Signal an error if
15613 called from a minibuffer window.
15614
15615 * bindings.el: Revert 2011-07-04 change.
15616
354cf0ba
RS
156172011-07-06 Richard Stallman <rms@gnu.org>
15618
15619 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15620 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15621 Treat markers like ints.
15622 (rmail-mime-entity): Doc fix.
15623
a48868a7
LMI
156242011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15625
4906cd3d
LMI
15626 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15627 defcustom again for backwards compatibility.
15628
e0457abe
LMI
15629 * simple.el (shell-command-on-region): Fill.
15630
d67f7e1f
LMI
15631 * dired-aux.el (dired-kill-line): Add a doc string.
15632
fe204702
LMI
15633 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15634 to "\\sw\\|\\s_" (bug#358).
15635
a48868a7
LMI
15636 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15637 (dired-unmark-backward): Ditto.
15638 (dired-flag-backup-files): Ditto.
15639
15640 * dired-x.el (dired-mark-sexp): Ditto.
15641
aa8a705c
RS
156422011-07-06 Richard Stallman <rms@gnu.org>
15643
15644 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15645 (rmail-mime-entity): New arg TRUNCATED.
15646 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15647 New functions.
15648 (rmail-mime-save): Warn if entity is truncated.
15649 (rmail-mime-toggle-hidden): Likewise, for showing.
15650 (rmail-mime-process-multipart): Record when an entity is truncated.
15651
a9a936b9
RS
15652 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15653 if ENTITY is a string.
15654
1f2b92cb
LMI
156552011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15656
f4f73198 15657 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15658 of faces when `M-C-x'-ing their definitions (bug#8378).
15659 Also clean up the code slightly.
f4f73198 15660
12b16734 15661 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15662 because that makes the colors go away.
12b16734 15663
f0691d22
LMI
15664 * mail/sendmail.el (send-mail-function): Change the default to
15665 `sendmail-query-once'.
9e87df06 15666 (sendmail-query-once): Add an autoload cookie.
f0691d22 15667
1f2b92cb
LMI
15668 * net/network-stream.el (network-stream-open-starttls): Try using
15669 a plain connection even if the server offered STARTTLS, and we
15670 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15671 capability. This should make smtpmail.el work in slightly more
15672 configurations.
15673
1cdd2a1b
MA
156742011-07-06 Michael Albinus <michael.albinus@gmx.de>
15675
15676 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15677 New defun.
15678 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15679
fbcc67e2
MM
156802011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15681
15682 * progmodes/sql.el: Version 3.0
0757af94 15683 (sql-product-alist): Add product :completion-object,
fbcc67e2 15684 :completion-column, and :statement attributes.
0757af94 15685 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15686 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15687 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15688 ansi keywords.
15689 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15690 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15691 (sql-oracle-show-reserved-words): New function for development.
15692 (sql-product-font-lock): Simplify for source code buffers.
15693 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15694 New functions.
15695 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15696 (sql-mode-map): Add statement movement functions.
15697 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15698 New variable.
fbcc67e2
MM
15699 (sql-statement-regexp, sql-beginning-of-statement)
15700 (sql-end-of-statement, sql-signum): New functions.
0757af94 15701 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15702 (sql-show-sqli-buffer): Bug fix.
15703 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15704 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15705 with sql-interactive-mode.
15706 (sql-save-connection): Save buffer local settings.
0757af94 15707 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15708 (sql-product-interactive): Bug fix.
15709 (sql-preoutput-hold): New variable.
15710 (sql-interactive-remove-continuation-prompt): Bug fixes.
15711 (sql-debug-redirect): New variable.
15712 (sql-str-literal): New function.
15713 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15714 Redesign.
fbcc67e2
MM
15715 (sql-oracle-save-settings, sql-oracle-restore-settings)
15716 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15717 (sql-completion-object, sql-completion-column)
15718 (sql-completion-sqlbuf): New variables.
15719 (sql-build-completions-1, sql-build-completions)
15720 (sql-try-completion): New functions.
15721 (sql-read-table-name): Use them.
15722 (sql-contains-names): New buffer local variable.
15723 (sql-list-all, sql-list-table): Use it.
15724 (sql-oracle-completion-types): New variable.
15725 (sql-oracle-completion-object, sql-sqlite-completion-object)
15726 (sql-postgres-completion-object): New functions.
15727
d4eaeab1
GM
157282011-07-06 Glenn Morris <rgm@gnu.org>
15729
15730 * window.el (pop-to-buffer): Doc fix.
15731
322b7dab 157322011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15733
15734 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15735
322b7dab 157362011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15737
322b7dab 15738 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15739
322b7dab 15740 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15741
605dd5bf
CY
157422011-07-05 Chong Yidong <cyd@stupidchicken.com>
15743
15744 * button.el (button): Inherit from link face. Suggested by Dan
15745 Nicolaescu.
15746
7dbfa719
SM
157472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15748
3db614b0
SM
15749 * progmodes/gdb-mi.el: Fit in 80 columns.
15750 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15751 switch-to-buffer.
15752
7dbfa719
SM
15753 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15754 if imenu is simply not configured (bug#8941).
15755
919d884a
KM
157562011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15757
15758 * allout.el (allout-post-undo-hook): New allout outline-change
15759 event hook to signal undo activity.
15760 (allout-post-command-business): Run allout-post-undo-hook if an
15761 undo just occurred.
7dbfa719
SM
15762 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15763 * allout-widgets.el (allout-widgets-after-undo-function):
15764 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15765 in the vicinity of an undo.
15766 (allout-widgets-mode): Include allout-widgets-after-undo-function
15767 on the new allout-post-undo-hook.
15768
450a0f09
SM
157692011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15772 Let define-derived-mode define it.
15773 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15774 cycles of abbrev-table inheritance (bug#8998).
15775
2de69e00
RW
157762011-07-05 Roland Winkler <winkler@gnu.org>
15777
15778 * textmodes/bibtex.el: Add support for biblatex.
15779 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15780 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15781 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15782 (bibtex-entry-alist, bibtex-field-alist): New variables.
15783 (bibtex-entry-field-alist): Obsolete alias for
15784 bibtex-BibTeX-entry-alist.
15785 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15786 (bibtex-set-dialect): New command.
15787 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15788 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15789 Bind via bibtex-set-dialect.
2de69e00
RW
15790 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15791 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15792 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15793 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15794 Define via bibtex-set-dialect.
450a0f09
SM
15795 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15796 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15797 (bibtex-vec-push, bibtex-vec-incr): New functions.
15798 (bibtex-format-entry, bibtex-field-list)
15799 (bibtex-print-help-message, bibtex-validate)
15800 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15801
2dcdbdd9
SM
158022011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15803
15804 * progmodes/compile.el (compilation-goto-locus):
15805 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15806 * bs.el (bs-cycle-next, bs-cycle-previous):
15807 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15808 * bindings.el (mode-line-other-buffer):
15809 * autoinsert.el (auto-insert):
15810 * arc-mode.el (archive-extract):
15811 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15812
b27640fe
JB
158132011-07-05 Juanma Barranquero <lekktu@gmail.com>
15814
15815 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15816 Fix check of `emacs-lock-unlockable-modes'.
15817 Coerce true values of `emacs-lock--try-unlocking' to t.
15818
53bbe3ad
JB
158192011-07-05 Juanma Barranquero <lekktu@gmail.com>
15820
15821 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15822 * emacs-lock.el: New file.
15823
1d3cdbc7
JD
158242011-07-05 Julien Danjou <julien@danjou.info>
15825
15826 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15827 than `boundp' to check if face is set.
15828
9173deec
JB
158292011-07-05 Juanma Barranquero <lekktu@gmail.com>
15830
15831 * register.el (registerv-make):
15832 * window.el (window-min-height): Fix typos in docstrings.
15833
869795d6
JD
158342011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15835
9173deec 15836 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15837 Update doc string.
15838
b768cdcd
JB
158392011-07-04 Juanma Barranquero <lekktu@gmail.com>
15840
15841 * server.el (server-execute): Catch quit and call
15842 `server-return-error' to pass the error back to emacsclient and
15843 close the connection (bug#8942).
15844
13aa217b
KM
158452011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15846
15847 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15848 insecure exception for current topic. Also note that auto-saves
15849 are handled differently.
15850
5d3385a0 15851 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15852 State variables for tracking auto-save inhibition situation.
15853
15854 (allout-write-contents-hook-handler): Rename from
15855 'allout-write-file-hook-handler', and describe how it depends on
15856 write-contents-functions sensitivity to non-nil value to prevent
15857 file write.
15858
15859 (allout-auto-save-hook-handler): Remove. auto-save does not check
15860 this in individual buffers, only in the starting buffer, so this
15861 is not the right way for us to inhibit auto-save in a buffer
15862 according to its condition.
15863
15864 (allout-mode): Use new allout-write-contents-hook-handler, and
15865 only with write-contents-functions. Remove auto-save provisions -
15866 they're implemented elsewhere.
15867
15868 (allout-before-change-handler): If undo is in progress, note that
15869 for attention of allout-post-command-business.
15870
15871 (allout-post-command-business): If the command we're following was
15872 an undo, check for change in the status of encrypted items and
15873 adjust auto-save inhibitions accordingly.
15874
15875 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15876 according to whether there are or aren't any plain-text topics
15877 pending encryption.
15878
2dcdbdd9 15879 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15880 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15881 if there are plain-text topics pending encryption.
13aa217b
KM
15882
15883 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15884 buffer-saved-size and some allout state to not inhibit auto-saves
15885 if there are no longer any plain-text topics pending encryption.
15886
0757af94
SM
15887 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15888 No longer provide for exemption of the current topic.
13aa217b 15889
ac89b32c
JL
158902011-07-04 Juri Linkov <juri@jurta.org>
15891
15892 Add 7z operations to delete and save changed members (bug#8968).
15893 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15894 New defcustoms.
15895 (archive-7z-write-file-member): New function.
15896 (archive-7z-summarize): Fix the number of dashes in the
15897 listing output.
15898
8fa39615
SM
158992011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15900
15901 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15902 (bug#8958).
15903
2f11b3f1
CY
159042011-07-04 Chong Yidong <cyd@stupidchicken.com>
15905
d66fef2b
CY
15906 * bindings.el: Ignore next-buffer and previous-buffer in
15907 minibuffer-local-map.
15908
2f11b3f1
CY
15909 * font-lock.el (font-lock-builtin-face): Change light background
15910 color to dark slate blue (Bug#6693).
15911
f932a347
WD
159122011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15913
15914 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15915
c8af70e1
SM
159162011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15919 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15920 Add switch-to-buffer.
15921
f158badc
LMI
159222011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923
15924 * isearch.el (isearch-search-fun-function): Clarify further the
15925 meaning of the function returned.
15926
6d95bd46
MA
159272011-07-04 Michael Albinus <michael.albinus@gmx.de>
15928
15929 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15930
15931 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15932 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15933 Use it.
15934 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15935 `tramp-default-remote-path' does not exist.
15936 (tramp-send-command-and-read): New optional argument NOERROR.
15937 (tramp-open-connection-setup-interactive-shell)
15938 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15939 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15940 (tramp-process-sentinel): Flush also process' connection property.
15941 (tramp-sh-handle-start-file-process): Do not set process
15942 sentinel. It is done now ...
15943 (tramp-maybe-open-connection): ... here. (Bug#8929)
15944
909e6b67
MK
159452011-07-04 MON KEY <monkey@sandpframing.com>
15946
15947 * play/animate.el (animate-string): Doc fixes and allow changing
15948 the buffer name (bug#5417).
15949
159502011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15951
c8af70e1 15952 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15953
f34755dc
PE
159542011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15955
396cec72
PE
15956 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15957 This is simpler and helps future-proof the code.
15958 (timer-until): Use time-subtract and float-time.
08235028 15959 (timer--time-less-p): Use time-less-p.
f34755dc 15960
56e6cc31
JB
159612011-07-04 Juanma Barranquero <lekktu@gmail.com>
15962
3abb79e5
JB
15963 * type-break.el (timep): Use the value of `float-time' to avoid a
15964 byte-compiler warning.
15965
56e6cc31
JB
15966 * server.el (server-eval-and-print): Return any result, even nil.
15967
7b9430b4
PE
159682011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15969
15970 * type-break.el: Accept time formats that the builtins accept.
15971 (timep, type-break-time-difference): Accept any format that
15972 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15973 This is simpler and helps future-proof the code.
15974 (type-break-time-difference): Round rather than ignoring
15975 subseconds components.
15976
3034e9e7
LMI
159772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15978
15979 * info.el (Info-apropos-matches): Make non-interactive, since it
15980 doesn't seem to do anything useful as a command (bug#8829).
15981
1485f4c0
CY
159822011-07-03 Chong Yidong <cyd@stupidchicken.com>
15983
15984 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15985 Move from faces.el.
1485f4c0
CY
15986 (frame-default-terminal-background): New function.
15987
15988 * custom.el (custom-push-theme): Don't record faces in `changed'
15989 theme; this doesn't work correctly for per-frame face settings.
15990 (disable-theme): Use face-set-after-frame-default to reset faces.
15991 (custom--frame-color-default): New function.
15992
9fa3dd45
LMI
159932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15994
c8af70e1 15995 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15996 (bug#8769).
15997
6cbbc20c
KR
159982011-03-29 Kevin Ryde <user42@zip.com.au>
15999
16000 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16001 `perl-Test2' extend to match possible "fail #N" rep count
16002 (bug#8377).
16003
c7f98048
LMI
160042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16005
65676592
LMI
16006 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16007 `smtpmail-via-smtp' now returns the error instead of nil.
16008
c7f98048
LMI
16009 * isearch.el (isearch-search-fun-function): Clarify the doc string
16010 (bug#8101).
16011
56e6cc31 160122011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16013
16014 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16015 unnecessary spaces (bug#8987).
16016
2b216704
LMI
160172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16018
16019 * net/network-stream.el (open-network-stream): Use the
16020 :end-of-capability command thoughout.
16021
160222011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16023
16024 * net/network-stream.el (open-network-stream): Add the
16025 :end-of-capability command parameter, used by pop3.el.
16026
36adf6ce
LMI
160272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16028
1ca0da0e
LMI
16029 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16030
fc00f69c
LMI
16031 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16032 for list)" (bug#6475).
16033
28fd8759 16034 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16035 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16036 an error (bug#6297).
16037
0dd8b6da
LMI
16038 * man.el (Man-reference-regexp): Allow matching possible
16039 word-wrapped references (bug#6289).
16040
ce1438d6
LMI
16041 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16042 for consistency with the other vc buffers (bug#6197).
16043 (vc-checkin): Ditto.
16044
16045 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16046
36adf6ce
LMI
16047 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16048
e83cc1f7
LMI
160492011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16050
8a20ca4c
LMI
16051 * custom.el (defcustom): Clarify that :set is only used in the
16052 Customize user interface (bug#6089).
16053
83319045
LMI
16054 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16055 associated with a file, refuse to run instead of erroring out
16056 (bug#6084).
16057
a8392169
LMI
16058 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16059 the doc string, since it appears that using `fill-column' always
16060 controls the width (bug#7845).
16061
e83cc1f7
LMI
16062 * simple.el (shell-command-on-region): Say where the error output
16063 went if `shell-command-default-error-buffer' is set (bug#6857).
16064
e47ca23b
KM
160652011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16066
16067 * allout.el (allout-yank-processing): Adjust cursor position for
16068 backwards-deleted space.
16069
16070 (allout-rebullet-heading): Register changes with
16071 allout-exposure-changed-hook, so the modified topic is properly
16072 decorated.
16073
5cf56143
LMI
160742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16075
08549772
LMI
16076 * minibuffer.el (completion-in-region): Document PREDICATE
16077 (bug#7136).
16078
48e96771
LMI
16079 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16080 of keyword/argument pairs (bug#6904).
16081
c8af70e1
SM
16082 * replace.el (multi-occur):
16083 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16084
e17d05e2
LMI
160852011-07-02 Drew Adams <drew.adams@oracle.com>
16086
16087 * dired.el (dired-mark-if): Make the message about whether it's
16088 marking or unmarking clearer (bug#8523).
16089
063b0e45
LMI
160902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16091
16092 * disp-table.el (display-table-print-array): New function.
16093 (describe-display-table): Use it to print the vectors more pretty
16094 (Bug#8859).
16095
28545e04
MR
160962011-07-02 Martin Rudalics <rudalics@gmx.at>
16097
16098 * window.el (window-state-get-1): Don't assign clone numbers.
16099 Add clone-of item to list of window parameters.
16100 (window-state-put-2): Don't process clone numbers.
16101 (display-buffer-alist): Fix doc-string.
16102
3349e122
SM
161032011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16104
16105 * subr.el (remq): Don't allocate if it's not needed.
16106 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16107 (keymap--merge-bindings): New functions.
16108 (keymap-canonicalize): Use them to refine the canonicalization.
16109 * minibuffer.el (minibuffer-local-completion-map)
16110 (minibuffer-local-must-match-map): Move initialization from C.
16111 (minibuffer-local-filename-completion-map): Move initialization from C;
16112 don't inherit from anything here.
16113 (minibuffer-local-filename-must-match-map): Make obsolete.
16114 (completing-read-default): Use make-composed-keymap to combine
16115 minibuffer-local-filename-completion-map with either
16116 minibuffer-local-must-match-map or
16117 minibuffer-local-filename-completion-map.
16118
d224ac83
GM
161192011-07-01 Glenn Morris <rgm@gnu.org>
16120
3de63bf8
GM
16121 * type-break.el (type-break-time-sum): Use dolist.
16122
d224ac83
GM
16123 * textmodes/flyspell.el (flyspell-word-search-backward):
16124 Replace CL function.
16125
1a1e3f32
SM
161262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16127
fe3f64d5
SM
16128 * mouse.el (mouse--strip-first-event): New function.
16129 (function-key-map): Use it to map fringe clicks to normal clicks
16130 by default.
16131
eb604e34
SM
16132 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16133 (vc-bzr-revision-completion-table): Add support for annotate and date.
16134
1a1e3f32
SM
16135 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16136 inherit from parent.
16137
5bd35902
LMI
161382011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16139
ace6c69c 16140 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16141 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16142
191e2bed
LMI
16143 * dired.el (dired-mode): Fix up the doc string as suggested by
16144 Drew Adams (bug#8817).
16145
5bd35902
LMI
16146 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16147 cookie, since the manual says that it should be possible to add
16148 this function to `find-file-hook' (bug#8709).
16149
eee8207a
TZ
161502011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16151
16152 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16153 here. Noted Ted Zlatanov as the maintainer.
16154 (cfengine-common-settings, cfengine-common-syntax): New functions
16155 to set up common things between `cfengine-mode' and
16156 `cfengine3-mode'.
16157 (cfengine3-mode): New mode.
16158 (cfengine3-defuns cfengine3-defuns-regex
16159 (cfengine3-class-selector-regex cfengine3-category-regex)
16160 (cfengine3-vartypes cfengine3-font-lock-keywords)
16161 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16162 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16163
36b148cf
MA
161642011-07-01 Michael Albinus <michael.albinus@gmx.de>
16165
16166 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16167
16168 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16169
0bf4ba9a
MR
161702011-07-01 Martin Rudalics <rudalics@gmx.at>
16171
16172 * window.el (same-window-buffer-names, same-window-regexps)
16173 (same-window-p, special-display-frame-alist)
16174 (special-display-popup-frame, special-display-function)
16175 (special-display-buffer-names, special-display-regexps)
16176 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16177 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16178 (split-window-preferred-function, split-height-threshold)
16179 (split-width-threshold, even-window-heights)
16180 (display-buffer-mark-dedicated, window-splittable-p)
16181 (split-window-sensibly, window-safely-shrinkable-p):
16182 Un-obsolete.
16183 (display-buffer): Don't spread args with function specifier
16184 because special-display-popup-frame won't like it.
16185
35837f51
PE
161862011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16187
d0672f86
PE
16188 Time-stamp simplifications and fixes.
16189 These improve accuracy slightly, and future-proof the code
16190 against some potential changes to current-time format.
16191
b9444d97
PE
16192 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16193 by using time-since and float-time.
16194
0ef923dc
PE
16195 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16196 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16197 + NNN microseconds".
16198
2f81380d
PE
16199 * type-break.el (type-break-time-sum): Rewrite using time-add.
16200
845b5c3e
PE
16201 * play/hanoi.el (hanoi-current-time-float): Remove.
16202 All uses replaced by float-time.
16203
ee6f1be0
PE
16204 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16205 This yields a more-accurate answer.
16206 (rng-time-to-float): Remove; no longer needed.
16207
fe955043
PE
16208 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16209
5777162a
PE
16210 * calendar/timeclock.el (timeclock-seconds-to-time):
16211 Defalias to seconds-to-time, since they're the same thing.
16212
3103f8b6 16213 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16214 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16215 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16216
0e61a35f
SM
162172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16218
16219 * window.el (bury-buffer): Don't iconify the only frame.
16220 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16221 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16222
ddd63a1e
CY
162232011-07-01 Chong Yidong <cyd@stupidchicken.com>
16224
0e61a35f
SM
16225 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16226 Add mouse-yank-primary.
ddd63a1e 16227
055f4923
TZ
162282011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16229
16230 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16231
6a2fb145
SM
162322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16233
16234 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16235 (find-library-name): Use it to find relative load names when provided
16236 absolute file name (bug#8803).
16237
fd4983f2
LMI
162382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16239
887d14ad
LMI
16240 * textmodes/flyspell.el (flyspell-word): Consider words that
16241 differ only in case as potential doublons (bug#5687).
16242
c53dc7fc
LMI
16243 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16244 Remove two rather uninteresting debugging-like messages to make
16245 debbugs.el more silent.
16246
fd4983f2
LMI
16247 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16248 a password-like phrase.
16249
7a71b18d 162502011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16251
16252 * progmodes/cc-guess.el: New file.
16253
6a2fb145 16254 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16255
16256 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16257 derived from `c-basic-common-init'.
16258
16259 * progmodes/cc-mode.el (top-level): Require cc-guess.
16260 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16261
1fa280a3
LM
162622011-06-30 Lawrence Mitchell <wence@gmx.li>
16263
16264 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16265
e6597158
AM
162662011-06-30 Alan Mackenzie <acm@muc.de>
16267
1fa280a3
LM
16268 * progmodes/cc-engine.el (c-guess-continued-construct):
16269 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16270 lock is disabled. Name this case as "CASE G".
16271
68ba37fb
KM
162722011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16273
16274 * allout.el (allout-yank-processing): Fix injection of extra space
16275 between bullet and non-whitespace character in first topic when
16276 pasting, ensuring that the actual spacing in the pasted topic
16277 following the bullet char is preserved. This extra space was
16278 causing pasted encrypted topics to get a decrypted status even
16279 when the content was actually still encrypted. Now the decryption
16280 status from before the paste is preserved.
16281
16282 (allout-flag-region): Set all allout overlays so they evaporate
16283 when reduced to zero length (evanescent), to prevent overlay
16284 leakage.
16285
887a0b34
GM
162862011-06-30 Glenn Morris <rgm@gnu.org>
16287
94b9acce
GM
16288 * w32-fns.el (w32-charset-info-alist): Declare.
16289
1d9b46d4
GM
16290 * find-dired.el (find-grep-options): Simplify.
16291
cc232200
GM
16292 * term/ns-win.el (ns-set-resource): Declare.
16293
28e77c46
GM
16294 * ses.el (row, col): Declare dynamic variables honestly.
16295
887a0b34
GM
16296 * textmodes/reftex-parse.el (index-tags): Declare.
16297
658d8eb8
CY
162982011-06-30 Chong Yidong <cyd@stupidchicken.com>
16299
16300 * cus-edit.el (customize-push-and-save): New function.
16301
16302 * files.el (hack-local-variables-confirm): Use it.
16303
1fa280a3
LM
16304 * custom.el (load-theme): New arg NO-CONFIRM.
16305 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16306 (custom-enabled-themes): Doc fix.
16307
16308 * cus-theme.el (customize-create-theme)
16309 (custom-theme-merge-theme): Callers to load-theme changed.
16310
bb617717
LMI
163112011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16312
d61bdd5d
LMI
16313 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16314 short URLs have at least one dot in them (bug #7614).
16315
bb617717
LMI
16316 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16317 nil, because using a pty is apparently too slow (bug #895).
16318
2f31f37a
LMI
163192011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16320
16321 * mail/sendmail.el (sendmail-query-once): New function.
16322 (sendmail-query-once-function): New variable.
16323
3076b24e
GM
163242011-06-29 Glenn Morris <rgm@gnu.org>
16325
faf2a174
GM
16326 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16327
3076b24e
GM
16328 * ses.el (top-level): Require cl when compiling.
16329 (ses-set-localvars): Fix error statement.
16330 Call it at compile time to silence a storm of warnings.
16331
5386012d
MR
163322011-06-29 Martin Rudalics <rudalics@gmx.at>
16333
16334 * window.el (normalize-live-buffer): Rename to
16335 window-normalize-buffer.
16336 (normalize-live-frame): Rename to window-normalize-frame.
16337 (normalize-any-window): Rename to window-normalize-any-window.
16338 (normalize-live-window): Rename to window-normalize-live-window.
16339 (make-window-atom): Rename to window-make-atom.
16340 (window-resize-reset): Rename to window--resize-reset.
16341 (window-resize-reset-1): Rename to window--resize-reset-1.
16342 (resize-mini-window): Rename to window--resize-mini-window.
16343 (resize-subwindows-skip-p): Rename to
16344 window--resize-subwindows-skip-p.
16345 (resize-subwindows-normal): Rename to
16346 window--resize-subwindows-normal.
16347 (resize-subwindows): Rename to window--resize-subwindows.
16348 (resize-other-windows): Rename to window--resize-siblings.
16349 (resize-this-window): Rename to window--resize-this-window.
16350 (resize-root-window): Rename to window--resize-root-window.
16351 (resize-root-window-vertically): Rename to
16352 window--resize-root-window-vertically.
16353 (normalize-buffer-to-display): Rename to
16354 window-normalize-buffer-to-display.
16355 (normalize-buffer-to-switch-to): Rename to
16356 window-normalize-buffer-to-switch-to.
16357 Correspondingly update all callers of the functions listed
16358 above.
16359 (display-buffer-alist, display-buffer-normalize-arguments)
16360 (display-buffer-normalize-options, display-buffer)
16361 (display-buffer-alist-set): Use "function" instead of
16362 "fun-with-args".
16363
1176868d
CY
163642011-06-28 Chong Yidong <cyd@stupidchicken.com>
16365
16366 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16367 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16368 debbugs.gnu.org. Mention acknowledgment email.
16369
20a7a65f
LMI
163702011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16371
16372 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16373 buffer multibyteness, since it shouldn't matter.
16374
5f45cca5
MR
163752011-06-28 Martin Rudalics <rudalics@gmx.at>
16376
16377 * window.el (display-buffer-in-side-window): Handle dedicated
16378 windows as in display-buffer-reuse-window.
16379 (display-buffer-normalize-alist): Use value of override
16380 specifier.
16381 (display-buffer-normalize-specifiers): Use value of
16382 other-window-means-other-frame specifier.
16383 (display-buffer-alist): Rewrite some texts in widgets.
16384 (display-buffer): Spread arguments when calling function
16385 specified by fun-with-args.
16386
ad85fe1f
DD
163872011-06-28 Deniz Dogan <deniz@dogan.se>
16388
1fa280a3
LM
16389 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16390 Unnest `let'.
da68c4c8 16391
ad85fe1f
DD
16392 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16393 selectors (Bug#5732).
ec49bd31 16394 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16395
a08cc025
JA
163962011-06-27 Jari Aalto <jari.aalto@cante.net>
16397
16398 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16399 (eshell-ls-date-format): New defcustom.
16400 (eshell-ls-file): Use it.
16401
e2b551c5
SM
164022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16403
16404 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16405
8982b231
KY
164062011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16407
16408 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16409 (ange-ftp-make-tmp-name): New arg.
16410 (ange-ftp-file-local-copy): Use it.
16411
36c9fa27
J
164122011-06-27 Jambunathan K <kjambunathan@gmail.com>
16413
16414 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16415 no-conversion (Bug#8870).
16416
d68443dc
MR
164172011-06-27 Martin Rudalics <rudalics@gmx.at>
16418
16419 * window.el (window-right, window-left, window-child)
16420 (window-child-count, window-last-child)
16421 (window-iso-combination-p, walk-window-tree-1)
16422 (window-atom-check-1, window-tree-1, delete-window)
16423 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16424 new naming conventions - window-vchild, window-hchild,
16425 window-next and window-prev are now called window-top-child,
16426 window-left-child, window-next-sibling and window-prev-sibling
16427 respectively.
d615d6d2
MR
16428 (resize-window-reset): Rename to window-resize-reset.
16429 (resize-window-reset-1): Rename to window-resize-reset-1.
16430 (resize-window): Rename to window-resize.
16431 (window-min-height, window-min-width)
16432 (resize-mini-window, resize-this-window, resize-root-window)
16433 (resize-root-window-vertically, adjust-window-trailing-edge)
16434 (enlarge-window, shrink-window, maximize-window)
16435 (minimize-window, delete-window, quit-restore-window)
16436 (split-window, balance-windows, balance-windows-area-adjust)
16437 (balance-windows-area, window-state-put-2)
16438 (display-buffer-even-window-sizes, display-buffer-set-height)
16439 (display-buffer-set-width, set-window-text-height)
16440 (fit-window-to-buffer): Rename all "resize-window" prefixed
16441 calls to use the "window-resize" prefix convention.
16442 (display-buffer-alist): Fix symbol for label specifier.
16443 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16444 corresponding specifier.
16445 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16446
b6458526
VB
164472011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16448
16449 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16450 convention.
16451 (ses-call-printer): Does not pass an empty string to formatter when the
16452 cell is empty to keep from barking printer Calc math-format-value.
16453
d31fd9ac
RS
164542011-06-27 Richard Stallman <rms@gnu.org>
16455
43d5bf84
RS
16456 * battery.el (battery-mode-line-limit): New variable.
16457 (battery-update): Handle it.
16458
d31fd9ac
RS
16459 * mail/rmailmm.el (rmail-mime-process-multipart):
16460 Handle truncated messages.
16461
819a6054
GM
164622011-06-27 Glenn Morris <rgm@gnu.org>
16463
16464 * progmodes/flymake.el (flymake-err-line-patterns):
16465 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16466
cedc73f2
VB
164672011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16468
819a6054 16469 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16470 (ses--clean-!, ses--clean-_): New functions.
16471 (ses-range): Add configurability of readout order, and conversion
16472 to Calc vector.
16473
5e5d49b6
VB
16474 * ses.el (ses-repair-cell-reference-all): New function.
16475 (ses-cell-symbol): Set macro as safe, so that it can be used in
16476 formulas.
16477
56e6cc31 16478 * ses.el: Update cycle detection algorithm.
90ca8b49 16479 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16480 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16481 (ses-set-localvars): New function.
16482 (ses-make-cell): Add property-list as a cell element.
16483 (ses-cell-property-get-fun, ses-cell-property-get)
16484 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16485 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16486 New functions.
90ca8b49
VB
16487 (ses-cell-property-set, ses-cell-property-pop)
16488 (ses-cell-property-get-handle): New macro.
16489 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16490 New aliases, used for code readability.
16491 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16492 cycle detection.
16493 (ses-self-reference-early-detection): New defcustom.
fac916bf 16494 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16495 (ses-mode): Use ses-set-localvars.
16496 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16497 before lauching the update processing.
16498 (ses-initialize-Dijkstra-attempt): New function.
16499 (ses-recalculate-cell): Update for cycle detection based on
16500 Dijkstra algorithm.
16501
2bb63e81
VB
16502 * ses.el: Fix commenting and indenting convention.
16503
c9d29fb8
SM
165042011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16505
16506 * bs.el (bs-cycle-next): Complete last change.
16507
d8e4b68b
JB
165082011-06-27 Drew Adams <drew.adams@oracle.com>
16509
16510 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16511
40098786
LMI
165122011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16513
c9d29fb8
SM
16514 * net/network-stream.el (network-stream-open-starttls):
16515 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16516 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16517
40098786
LMI
16518 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16519 to binary to possibly avoid line encoding issues on Windows (among
16520 other things).
16521
468d09d4
LMI
165222011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16523
16524 * net/network-stream.el (open-network-stream): Return an :error
16525 saying what the problem was, if possible.
16526
16527 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16528 server.
16529
16530 * net/network-stream.el (network-stream-open-starttls): If we
16531 wanted to use STARTTLS, and the server offered it, but we weren't
16532 able to because we had no STARTTLS support, then close the connection.
16533 (open-network-stream): Return an :error element, if present.
16534
16f07dd7
CY
165352011-06-26 Chong Yidong <cyd@stupidchicken.com>
16536
88821ca0
CY
16537 * hl-line.el (hl-line-sticky-flag): Doc fix.
16538 (global-hl-line-sticky-flag): New option (Bug#8323).
16539 (global-hl-line-highlight): Obey it.
16540
16f07dd7
CY
16541 * vc/vc.el (vc-revert-show-diff): Default to t.
16542
6b5ccddf
KM
165432011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16544
c9d29fb8
SM
16545 * allout-widgets.el (allout-widgets-post-command-business):
16546 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16547 undecorated when an isearch is continued past, and isearch
16548 automatically collapses them. This leads to "widget leaks", where
16549 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16550 hidden widgets can slow down cursor travel, substantially.
16551 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16552 so we're doing without this nicety.
16553
16554 (allout-widgets-tally-string): Don't try to do a hash-table-count
16555 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16556 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16557 *Messages* when allout-widgets-maintain-tally is t.
16558
355f2e07
MR
165592011-06-26 Martin Rudalics <rudalics@gmx.at>
16560
16561 * window.el (display-buffer-normalize-argument): Rename to
16562 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16563 LABEL argument. Respect special-display-function when popping up
16564 a new frame. Fix code searching for a window showing the buffer
16565 on another frame.
c9d29fb8
SM
16566 (display-buffer-normalize-specifiers):
16567 Call display-buffer-normalize-arguments.
355f2e07
MR
16568 (display-buffer-in-window): Don't undedicate the window if its
16569 buffer remains the same.
16570 Reported by Drew Adams <drew.adams@oracle.com>.
16571 (display-buffer-alist): Add choice for same-window macro
16572 specfier.
16573 (display-buffer): Mention special meaning of LABEL argument in
16574 doc-string. Fix quoting. Don't pop up a new frame even as
16575 fallback.
16576
7ca8fc42
JB
165772011-06-26 Juanma Barranquero <lekktu@gmail.com>
16578
16579 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16580 avoid deleting the current window in some cases (bug#8911).
16581
bc312254
AS
165822011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16583
16584 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16585 (Bug#8934)
16586
2db18f3f
LMI
165872011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16588
c9d29fb8
SM
16589 * net/network-stream.el (network-stream-open-starttls):
16590 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16591 (network-stream-open-tls): Ditto.
16592
6302e0d3
LL
165932011-06-26 Leo Liu <sdl.web@gmail.com>
16594
16595 * register.el (registerv): New struct.
16596 (registerv-make): New function.
c9d29fb8
SM
16597 (jump-to-register, describe-register-1, insert-register):
16598 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16599 struct. (Bug#8415)
16600
5fdd4046
CY
166012011-06-26 Chong Yidong <cyd@stupidchicken.com>
16602
2afef60a
CY
16603 * vc/vc.el (vc-revert-show-diff): New defcustom.
16604 (vc-diff-internal): New arg specifying diff buffer.
16605 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16606 reuse an existing *vc-diff* buffer (Bug#8927).
16607
5fdd4046
CY
16608 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16609
e93db24a
GM
166102011-06-26 Glenn Morris <rgm@gnu.org>
16611
16612 * progmodes/f90.el (f90-critical-indent): New option.
16613 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16614 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16615 (f90-mode): Doc fix.
16616 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16617 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16618 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16619 (f90-match-end): Handle block, critical.
16620
eefff499
GM
166212011-06-25 Glenn Morris <rgm@gnu.org>
16622
f6ba4cc9
GM
16623 * calendar/diary-lib.el (diary-included-files): Doc fix.
16624 (diary-include-files): New function, extracted from
16625 diary-include-other-diary-files and diary-mark-included-diary-files.
16626 (diary-include-other-diary-files, diary-mark-included-diary-files):
16627 Just call diary-include-files.
16628 (diary-mark-entries): Reset diary-included-files on first call.
16629
16712304
GM
16630 * calendar/diary-lib.el (diary-mark-entries)
16631 (diary-mark-included-diary-files):
16632 Visit included diary-files in temp buffers.
16633
5d8e0d43
GM
16634 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16635 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16636 (f90-start-block-re, f90-imenu-generic-expression)
16637 (f90-looking-at-program-block-start, f90-no-block-limit):
16638 Add support for submodules.
16639
ccf7a5d5
GM
16640 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16641 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16642
11fdef7d 166432011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16644
16645 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16646 buffer-file-type before setting its value, to avoid disastrous
eefff499 16647 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16648
74f53697
JB
166492011-06-25 Juanma Barranquero <lekktu@gmail.com>
16650
16651 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16652
16653 * ses.el (ses-unload-function):
16654 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16655
16656 * proced.el (proced-unload-function):
16657 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16658
18a4ce5e
AR
166592011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16660
16661 * server.el (server-create-window-system-frame): Add parameters arg.
16662 (server-process-filter): Doc fix. Handle frame-parameters.
16663
519d22cc
JB
166642011-06-25 Juanma Barranquero <lekktu@gmail.com>
16665
16666 Fix bug#8730, bug#8781.
16667
16668 * loadhist.el (unload--set-major-mode): New function.
16669 (unload-feature): Use it.
16670
16671 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16672 (python-unload-function): New function.
16673
c206f5b0
SM
166742011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16675
16676 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16677
f9ad64f3
GS
166782011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16679
16680 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16681 the candidates list.
16682
7d0da90e
JB
166832011-06-24 Juanma Barranquero <lekktu@gmail.com>
16684
16685 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16686
14b4e83d
RS
166872011-06-23 Richard Stallman <rms@gnu.org>
16688
16689 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16690 (rmail-variables): Set next-error-move-function.
16691 (rmail-what-message): Take argument POS.
16692 (rmail-next-error-move): New function.
16693
273d2baf
SM
166942011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16695
16696 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16697 messages for adjacent non-terminals.
16698
56c2cc9a
RS
166992011-06-23 Richard Stallman <rms@gnu.org>
16700
16701 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16702 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16703 (rmail-start-mail): Don't specify use of rmail-mail-return;
16704 that's done by mail-bury now.
16705 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16706
d59eb518
MA
167072011-06-23 Michael Albinus <michael.albinus@gmx.de>
16708
16709 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16710 SIZE is a number.
16711
02cfc6d6
MR
167122011-06-23 Martin Rudalics <rudalics@gmx.at>
16713
16714 * window.el (get-lru-window, get-mru-window)
16715 (get-largest-window): Never return a minibuffer window.
16716 (display-buffer-pop-up-window): Fix a bug that could lead to
16717 reusing the minibuffer window.
16718 (display-buffer): Pass original specifier argument to
16719 display-buffer-function instead of the normalized one.
16720 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16721
4e323265
LL
167222011-06-22 Leo Liu <sdl.web@gmail.com>
16723
16724 * minibuffer.el (completing-read-function)
1f9f395d 16725 (completing-read-default): Move from minibuf.c.
4e323265 16726
7a70468f
RS
167272011-06-22 Richard Stallman <rms@gnu.org>
16728
50718fc2
RS
16729 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16730 to Rmail even if not started by a special Rmail command.
16731
7a70468f
RS
16732 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16733 Copy the buffer currently showing just one message.
16734
297dde5a
RW
167352011-06-22 Roland Winkler <winkler@gnu.org>
16736
16737 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16738 (bibtex-clean-entry): First delete the old key so that a
16739 customized algorithm for generating the new key does not get
16740 confused by the old key.
16741 (bibtex-url): Obey regexp of first step.
16742 (bibtex-search-entries): Do not use add-to-list with local
16743 list-var.
16744
97bb1093
LMI
167452011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16746
16747 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16748 stored a user name, then query for the password first, instead of
16749 waiting for SMTP to give an error message and the trying again.
16750
1c0f1a19
JD
167512011-06-22 Lawrence Mitchell <wence@gmx.li>
16752
16753 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16754 BUFFER in call-process.
16755
396f7c9d
LMI
167562011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16757
16758 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16759 QUIT twice.
ddb7ffee
LMI
16760 (smtpmail-try-auth-methods): Require user name and password from
16761 auth-source.
396f7c9d 16762
8998d1b3
MR
167632011-06-22 Martin Rudalics <rudalics@gmx.at>
16764
16765 * window.el (display-buffer-default-specifiers)
16766 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16767 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16768 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16769
16770 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16771 (special-display-frame-alist, special-display-popup-frame):
16772 Remove duplicate declarations. These are now in window.el.
16773
4ea31e07
LMI
167742011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16775
c9d29fb8
SM
16776 * mail/smtpmail.el (smtpmail-via-smtp):
16777 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16778 server supports it. SMTP servers that support STARTTLS commonly
16779 require it.
16780
16781 * net/network-stream.el (network-stream-open-starttls): Support
16782 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16783 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16784
95f41d9a
LMI
16785 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16786 upgrades with `open-network-stream', and rely solely on
16787 auth-source for all credentials. Big changes throughout the file,
16788 but in particular:
c9d29fb8
SM
16789 (smtpmail-auth-credentials): Remove.
16790 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16791 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16792 MAIL FROM, too.
95f41d9a 16793
c9d29fb8
SM
16794 * net/network-stream.el (network-stream-open-starttls):
16795 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16796 STARTTLS.
16797 (auth-source): Require.
16798 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16799 (network-stream-certificate): Change cert-cert to cert and
16800 cert-key to key.
4ea31e07 16801
065ec2c7
MA
168022011-06-21 Michael Albinus <michael.albinus@gmx.de>
16803
16804 * net/tramp-cache.el (top): Don't load the persistency file when
16805 "emacs -Q" has been called.
16806
cd93b359
DR
168072011-06-21 Tim Harper <timcharper@gmail.com>
16808
d8e4b68b
JB
16809 * term/ns-win.el (ns-initialize-window-system):
16810 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16811 resource to NO as it is not yet supported by the NS port.
16812
ae9c0411
JB
168132011-06-21 Juanma Barranquero <lekktu@gmail.com>
16814
16815 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16816 (list-dynamic-libraries): ...not here.
16817
7f3f739f
LL
168182011-06-21 Leo Liu <sdl.web@gmail.com>
16819
16820 * subr.el (sha1): Implement sha1 using secure-hash.
16821
327c8fb1
MR
168222011-06-21 Martin Rudalics <rudalics@gmx.at>
16823
16824 * window.el (display-buffer-alist): In default value do not
16825 enforce searching a window on any but the selected frame.
16826 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16827 (display-buffer-select-window): Remove function.
16828 (display-buffer-in-window): When a window on another frame gets
16829 reused, do not select it any more but just raise its frame if
16830 necessary (Bug#8851) and (Bug#8856).
16831 (display-buffer-normalize-options): Handle pop-up-frames related
16832 options more faithfully.
16833 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16834 window if it is on another frame.
c9d29fb8
SM
16835 (display-buffer-alist, display-buffer-default-specifiers):
16836 Don't make new frame unsplittable by default.
9e9de014
MR
16837 (display-buffer-normalize-argument): Fix doc-string typo and use
16838 'same-frame-other-window instead of 'other-window when associating
16839 with display-buffer-macro-specifiers.
327c8fb1 16840
7cf3f556
VB
168412011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16842
16843 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16844 New functions.
16845 (5x5-mode-map, 5x5-mode-menu): Bind them.
16846 (5x5-draw-grid): Tweak the solver's rendering.
16847
60a406cf
SM
168482011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16849
16850 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16851 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16852
d8e4b68b 168532011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16854
16855 * menu-bar.el: Use function variable instead of switch-to-buffer.
16856 (menu-bar-select-buffer-function): New variable.
60a406cf 16857 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16858
478d6f95
SM
168592011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16860
16861 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16862 variable's status.
16863
ca530739
JD
168642011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16865
16866 * x-dnd.el (x-dnd-version-from-flags)
16867 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16868 and long as number (Bug#8899).
16869 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16870
bcd70d97
SM
168712011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16872
60a406cf 16873 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16874 (completion-try-completion, completion-all-completions): Compute the
16875 metadata argument if it's missing; make it optional (bug#8795).
16876
60a406cf 16877 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16878 (widget-complete): Use new :completion-function property.
16879 (widget-completions-at-point): New function.
16880 (default): Use :completion-function instead of :complete.
60a406cf
SM
16881 (widget-default-completions): Rename from widget-default-complete;
16882 Rewrite.
bcd70d97
SM
16883 (widget-string-complete, widget-file-complete, widget-color-complete):
16884 Remove functions.
16885 (file, symbol, function, variable, coding-system, color):
16886 * international/mule-cmds.el (default-input-method, charset)
16887 (language-info-custom-alist):
16888 * cus-edit.el (face): Use new property :completions.
16889
16890 * progmodes/pascal.el (pascal-completions-at-point): New function.
16891 (pascal-mode): Use it.
16892 (pascal-mode-map): Use completion-at-point.
16893 (pascal-toggle-completions): Make obsolete.
16894 (pascal-complete-word, pascal-show-completions):
16895 * progmodes/octave-mod.el (octave-complete-symbol):
16896 Redefine as obsolete alias.
16897 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16898 Signal absence of completion info for old Octave,
16899 (inferior-octave-complete): Redefine as obsolete alias.
16900 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16901 (meta-completions-at-point): Rename from meta-complete-symbol and
16902 adapt it for use on completion-at-point-functions.
16903 (meta-common-mode): Use it.
16904 (meta-looking-at-backward, meta-match-buffer): Remove.
16905 (meta-complete-symbol): Redefine as obsolete alias.
16906 (meta-common-mode-map): Use completion-at-point.
16907 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16908 (makefile-mode-map): Use completion-at-point.
16909 (makefile-completions-at-point): Rename from makefile-complete and
16910 adapt it for use on completion-at-point-functions.
16911 (makefile-mode): Use it.
16912 (makefile-complete): Redefine as obsolete alias.
16913
aebf69c8
DD
169142011-06-20 Deniz Dogan <deniz@dogan.se>
16915
16916 * net/rcirc.el: Delete trailing whitespaces once and for all.
16917
bfbbb27d
DC
169182011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16919
16920 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16921
d264a46b
CY
169222011-06-19 Chong Yidong <cyd@stupidchicken.com>
16923
4ca009e5
CY
16924 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16925
d264a46b
CY
16926 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16927
fbf5b3ce
MR
169282011-06-19 Martin Rudalics <rudalics@gmx.at>
16929
16930 * window.el (display-buffer-other-window-means-other-frame):
16931 Call display-buffer-normalize-alist.
16932 (display-buffer-normalize-specifiers-1): Rename to
16933 display-buffer-normalize-argument. New argument other-frame.
16934 Rewrite.
16935 (display-buffer-normalize-specifiers-2): Rename to
16936 display-buffer-normalize-options.
16937 (display-buffer-normalize-alist-1): New function.
16938 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16939 display-buffer-normalize-alist.
16940 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16941 (display-buffer-normalize-options-inhibit): New variable.
16942 (display-buffer-normalize-specifiers): Rewrite calling
16943 display-buffer-normalize-alist,
16944 display-buffer-normalize-argument, and
16945 display-buffer-normalize-options. Don't call the latter if
16946 display-buffer-normalize-options-inhibit is non-nil.
16947 (frame-auto-delete): New option.
16948 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16949 (window-list-no-nils, window-state-ignored-parameters)
16950 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16951 (window-state-put-1, window-state-put-2, window-state-put):
16952 New functions.
9a028c23
MR
16953 (display-buffer-normalize-options): Move special-display-p group
16954 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16955
6d10d800
CY
169562011-06-18 Chong Yidong <cyd@stupidchicken.com>
16957
6420d28b
CY
16958 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16959 groups (Bug#8776).
16960 (rx-submatch-n): New function.
16961 (rx): Document it.
16962
ddb8b596
CY
16963 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16964 (Bug#8768).
16965
16966 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16967
77080289
CY
16968 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16969
61dfb316
CY
16970 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16971 anytime existing face settings are present (Bug#8889).
16972
6d10d800
CY
16973 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16974 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16975 Remove unused argument.
16976
be3fb2b8
MR
169772011-06-18 Martin Rudalics <rudalics@gmx.at>
16978
bcd70d97
SM
16979 * window.el (display-buffer-default-specifiers):
16980 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16981 pop-up-window-min-width, and another reuse-window specifier
16982 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16983 (display-buffer-normalize-specifiers-2):
16984 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16985 pop-up-windows is unset. Add a reuse-window specifier for the
16986 case popping up a new window fails.
16987 (special-display-popup-frame): Remove double quoting.
28dec25a 16988 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16989
1c6d8c76
SM
169902011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16991
16992 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16993 according to comint-completion-addsuffix.
16994
16995 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16996 (pcomplete-suffix-list): Mark as obsolete.
16997 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16998 pcomplete-seen in the closure.
16999 (pcomplete-comint-setup): Setup completion-at-point as well.
17000 (pcomplete--entries): New function.
17001 (pcomplete--env-regexp): New var.
17002 (pcomplete-entries): Rewrite to work with partial-completion and
17003 without relying on pcomplete-suffix-list.
17004 (pcomplete-pare-list): Remove, unused.
17005
25aef8b8
MR
170062011-06-17 Martin Rudalics <rudalics@gmx.at>
17007
17008 * window.el (display-buffer-alist): Set pop-up-window-min-height
17009 and pop-up-window-min-width in default value. Reported by
17010 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17011 other-window-means-other-frame.
17012 (display-buffer-macro-specifiers): Comment out entry for
17013 other-window specifier.
17014 (display-buffer-other-window-means-other-frame): New function.
17015 (display-buffer-normalize-specifiers-1): New arguments
17016 buffer-name and label. Treat other-window case specially.
17017 (display-buffer-normalize-specifiers-2): Treat other-window case
17018 specially.
17019 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17020 (display-buffer-normalize-specifiers):
17021 Call display-buffer-normalize-specifiers-3.
25aef8b8 17022
dbad4f69
MR
170232011-06-17 Martin Rudalics <rudalics@gmx.at>
17024
17025 * window.el (same-window-p): Fix two typos introduced when
17026 adding with-no-warnings.
d1067961
MR
17027 (display-buffer-normalize-specifiers-1): Don't check
17028 pop-up-frames for 'unset initialization.
17029 (display-buffer-normalize-specifiers-2): Major rewrite using
17030 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17031 (pop-up-frames, display-buffer-reuse-frames)
17032 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17033 Suggested by David Engster <deng@randomsample.de>.
17034 (even-window-heights): Initialize to 'unset.
17035 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17036 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17037 other window case.
dbad4f69 17038
9b9c9e3a
MR
170392011-06-16 Martin Rudalics <rudalics@gmx.at>
17040
bcd70d97
SM
17041 * window.el (display-buffer-normalize-specifiers-1):
17042 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17043 second argument of display-buffer (Bug#8865).
981d5c09
MR
17044 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17045 (switch-to-buffer-other-window-same-frame)
17046 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17047 Adams (Bug#8875).
9c2755e9
MR
17048 (display-buffer): Don't check noninteractive when calling
17049 display-buffer-pop-up-frame.
17050 (display-buffer-pop-up-frame): Never pop up a frame in
17051 noninteractive mode (Bug#8857).
67222e1d
MR
17052 (enlarge-window, shrink-window): Don't report an error when the
17053 window can't be resized as requested (Bug#8862).
9b9c9e3a 17054
2b75be67
SM
170552011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17056
9ffdd3ba
SM
17057 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17058
cb581a67
SM
17059 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17060
2b75be67
SM
17061 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17062
8c0e3589
AM
170632011-06-15 Alan Mackenzie <acm@muc.de>
17064
cb581a67
SM
17065 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17066 for declarators, disable knr checking to speed up for normal files.
17067 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17068
b96e6cde
LMI
170692011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17070
4bba86e6
LMI
17071 * net/network-stream.el (open-network-stream): Add the keyword
17072 :always-query-capabilities for the case where you want to force a
17073 `plain' network connection, but the protocol still requires the
17074 capabilitiy command (i.e., SMTP and EHLO).
17075
2b75be67 17076 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17077 consistency with other `-live-p' functions.
17078
efdcdbf8
SM
170792011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * window.el (same-window-buffer-names, same-window-regexps)
17082 (special-display-frame-alist, special-display-popup-frame)
17083 (special-display-function, special-display-buffer-names)
17084 (special-display-regexps, pop-up-frame-alist)
17085 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17086 (pop-up-windows, split-window-preferred-function)
17087 (split-height-threshold, split-width-threshold, even-window-heights)
17088 (display-buffer-mark-dedicated): Don't encourage the use of
17089 display-buffer-alist from Elisp code.
17090
c5cde042
DN
170912011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17092
17093 * progmodes/python.el (python-mode): Derive from prog-mode.
17094 * progmodes/ps-mode.el (ps-mode):
17095 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17096 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17097 * progmodes/ld-script.el (ld-script-mode): Likewise.
17098
baa1c9ab
MR
170992011-06-15 Martin Rudalics <rudalics@gmx.at>
17100
17101 * window.el (display-buffer-alist): Trim default value to avoid
17102 popping up a new frame (Bug#8857) or reusing an arbitrary window
17103 on another frame.
17104 (display-buffer): Do not fall back on popping up a new frame in
17105 batch mode (Bug#8857).
17106
c5dd5a51
CY
171072011-06-14 Chong Yidong <cyd@stupidchicken.com>
17108
17109 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17110 (custom-theme-summary): New function.
17111 (customize-themes): Use it.
17112
d647b7c4
GM
171132011-06-13 Glenn Morris <rgm@gnu.org>
17114
17115 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17116
9481c002
MR
171172011-06-13 Martin Rudalics <rudalics@gmx.at>
17118
357f93d2
MR
17119 * help.el (help-window): Remove variable.
17120 (help-window-point-marker, temp-buffer-max-height)
17121 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17122 (help-print-return-message): Don't set help-window.
17123 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17124 (help-window-setup-finish): Remove.
17125 (help-window-display-message, help-window-setup)
17126 (with-help-window): Major rewrite based on new
17127 display-buffer-window variable.
17128
17129 * help-mode.el (help-mode-finish): Remove help-window related
17130 code.
17131
17132 * view.el (view-exits-all-viewing-windows): Remove reference to
17133 view-return-to-alist in doc-string.
17134 (view-return-to-alist): Make obsolete.
17135 (view-buffer): Call pop-to-buffer-same-window and remove
17136 undo-window code.
17137 (view-buffer-other-window): Call pop-to-buffer-other-window and
17138 simplify code. Ignore second argument.
17139 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17140 simplify code. Ignore second argument.
17141 (view-return-to-alist-update): Make obsolete.
17142 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17143 Rewrite using quit-restore window parameters.
2b75be67
SM
17144 (view-mode-exit): Rename second argument to EXIT-ONLY.
17145 Rewrite using quit-restore-window.
357f93d2
MR
17146 (View-exit, View-exit-and-edit, View-leave, View-quit)
17147 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17148 appropriate arguments.
17149 (view-end-message): Use quit-restore window parameter.
17150
9481c002
MR
17151 * window.el (display-buffer-function): Rewrite doc-string.
17152 (display-buffer-window, display-buffer-alist): New variables.
17153 (display-buffer-split-specifiers)
17154 (display-buffer-side-specifiers)
17155 (display-buffer-macro-specifiers): New constants.
17156 (display-buffer-even-window-sizes, display-buffer-set-height)
17157 (display-buffer-set-width, display-buffer-select-window)
17158 (display-buffer-in-window, display-buffer-reuse-window)
17159 (display-buffer-split-window-1, display-buffer-split-window)
17160 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17161 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17162 (display-buffer-in-side-window, normalize-buffer-to-display)
17163 (display-buffer-normalize-specifiers-1)
17164 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17165 (display-buffer-normalize-specifiers, display-buffer-frame):
17166 New functions.
9481c002
MR
17167 (display-buffer): Major rewrite.
17168 (display-buffer-other-window, display-buffer-other-frame)
17169 (pop-to-buffer, switch-to-buffer-other-window)
17170 (switch-to-buffer-other-frame): Rewrite.
17171 (display-buffer-same-window, display-buffer-same-frame)
17172 (display-buffer-same-frame-other-window)
17173 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17174 (pop-to-buffer-other-window)
17175 (pop-to-buffer-same-frame-other-window)
17176 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17177 (switch-to-buffer-other-window-same-frame): New functions.
17178 (same-window-p, special-display-p): Rewrite disabling warnings.
17179 Make obsolete.
17180 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17181 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17182 Make obsolete
17183 (same-window-buffer-names, same-window-regexps)
17184 (special-display-frame-alist, special-display-popup-frame)
17185 (special-display-function, special-display-buffer-names)
17186 (special-display-regexps, pop-up-frame-alist)
17187 (pop-up-frame-function, split-window-preferred-function)
17188 (split-height-threshold, split-width-threshold)
17189 (even-window-heights): Make obsolete.
17190
9db51aca
GM
171912011-06-12 Glenn Morris <rgm@gnu.org>
17192
17193 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17194 Misc simplifications.
9db51aca 17195
39cffb44
MR
171962011-06-12 Martin Rudalics <rudalics@gmx.at>
17197
17198 * window.el (window-safely-shrinkable-p): Restore function which
17199 was inadvertently removed in change from 2011-06-11. Declare as
17200 obsolete.
17201
2b75be67
SM
17202 * calendar/calendar.el (calendar-generate-window):
17203 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17204 window-safely-shrinkable-p.
17205
a8955be7
GM
172062011-06-12 Glenn Morris <rgm@gnu.org>
17207
17208 * progmodes/fortran.el (fortran-mode-syntax-table):
17209 * progmodes/f90.el (f90-mode-syntax-table):
17210 Set % to punctuation. (Bug#8820)
17211 (f90-find-tag-default): Remove, no longer needed.
17212
f0d4059d
DC
172132011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17214
17215 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17216
1100a63c
CY
172172011-06-11 Chong Yidong <cyd@stupidchicken.com>
17218
17219 * image.el (image-animated-p): Return animation delay in seconds.
17220 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17221 (image-animate-timeout): Remove DELAY argument. Don't assume
17222 every subimage has the same delay; get it from image-animated-p.
17223 (image-animate): Caller changed.
17224
def722bf
MA
172252011-06-11 Michael Albinus <michael.albinus@gmx.de>
17226
17227 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17228 to ignored backtrace functions.
17229
0a2bb1a9
GM
172302011-06-11 Glenn Morris <rgm@gnu.org>
17231
17232 * calendar/appt.el (appt-disp-window-function): Doc fix.
17233 (appt-check): Handle overlapping appointments. (Bug#8337)
17234
6198ccd0
MR
172352011-06-11 Martin Rudalics <rudalics@gmx.at>
17236
17237 * window.el (window-tree-1, window-tree): New functions, moving
17238 the latter to window.el.
17239 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17240 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17241 (bw-refresh-edges): Remove.
17242 (balance-windows-1, balance-windows-2): New functions.
17243 (balance-windows): Rewrite in terms of window tree functions,
17244 balance-windows-1 and balance-windows-2.
17245 (bw-adjust-window): Remove.
17246 (balance-windows-area-adjust): New function with functionality of
17247 bw-adjust-window but using resize-window.
2b75be67
SM
17248 (set-window-text-height): Rewrite doc-string.
17249 Use normalize-live-window and resize-window.
17250 (enlarge-window-horizontally, shrink-window-horizontally):
17251 Rename argument to DELTA.
6198ccd0
MR
17252 (window-buffer-height): New function.
17253 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17254 Rewrite using new window resize routines.
2b75be67
SM
17255 (kill-buffer-and-window, mouse-autoselect-window-select):
17256 Use ignore-errors instead of condition-case.
6198ccd0
MR
17257 (quit-window): Call delete-frame instead of delete-windows-on
17258 for the only buffer on frame.
17259
9397e56f
MR
172602011-06-10 Martin Rudalics <rudalics@gmx.at>
17261
17262 * loadup.el (top-level): Load window before files for the sake
17263 of replace-buffer-in-windows.
17264
17265 * files.el (read-buffer-to-switch)
17266 (switch-to-buffer-other-window)
2b75be67
SM
17267 (switch-to-buffer-other-frame, display-buffer-other-frame):
17268 Move to window.el.
9397e56f
MR
17269
17270 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17271 (previous-buffer): Move to window.el.
17272
17273 * bindings.el (unbury-buffer): Move to window.el.
17274
17275 * window.el (delete-other-windows-vertically): Move after
17276 definition of delete-other-windows.
17277 (other-window, delete-windows-on, replace-buffer-in-windows):
17278 Move here from window.c.
17279 (record-window-buffer, unrecord-window-buffer)
17280 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17281 (switch-to-next-buffer): New functions.
17282 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17283 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17284 (previous-buffer): Move here from simple.el.
17285 Call switch-to-prev-buffer.
9397e56f
MR
17286 (bury-buffer): Move here from buffer.c. Switch to previous
17287 buffer when window cannot be deleted.
17288 (unbury-buffer): Move here from bindings.el.
17289 (ctl-x-map): Move binding for other-window from window.c to
17290 here.
17291 (read-buffer-to-switch, switch-to-buffer-other-window)
17292 (switch-to-buffer-other-frame): Move here from files.el.
17293 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17294 (switch-to-buffer): Move here from buffer.c.
17295 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17296
562dd5e9
MR
172972011-06-10 Martin Rudalics <rudalics@gmx.at>
17298
17299 * window.el (window-min-height, window-min-width): Move here
17300 from window.c. Add defcustoms and rewrite doc-strings.
17301 (resize-mini-window, resize-window): New functions.
17302 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17303 Move here from window.c.
17304 (maximize-window, minimize-window): New functions.
17305 (delete-window, delete-other-windows, split-window): Move here
17306 from window.c.
17307 (window-split-min-size): New function.
17308 (split-window-keep-point): Mention split-window-above-each-other
17309 instead of split-window-vertically.
2b75be67 17310 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17311 Rename split-window-vertically to split-window-above-each-other
17312 and provide defalias for old definition.
17313 (split-window-side-by-side, split-window-horizontally):
17314 Rename split-window-horizontally to split-window-side-by-side
17315 and provide defalias for the old definition.
562dd5e9
MR
17316 (ctl-x-map): Move bindings for delete-window,
17317 delete-other-windows and enlarge-window here from window.c.
17318 Replace bindings for split-window-vertically and
17319 split-window-horizontally by bindings for
17320 split-window-above-each-other and split-window-side-by-side.
17321
17322 * cus-start.el (all): Remove entries for window-min-height and
17323 window-min-width. Add entries for window-splits and
17324 window-nest.
17325
f0da764a
GM
173262011-06-09 Glenn Morris <rgm@gnu.org>
17327
80675c21
GM
17328 * calendar/appt.el (appt-mode-line): New function.
17329 (appt-check, appt-disp-window): Use it.
17330
f0da764a
GM
17331 * files.el (hack-one-local-variable-eval-safep):
17332 Allow minor-modes with explicit +/-1 arguments.
17333
59f623b7
TZ
173342011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17335
17336 * term/xterm.el (xterm): Add defgroup.
17337 (xterm-extra-capabilities): Add defcustom to supply known xterm
17338 capabilities, skip querying them, or query them (default).
17339 (terminal-init-xterm): Use it.
17340 (terminal-init-xterm-modify-other-keys): New function to set up
17341 modifyOtherKeys support to simplify `terminal-init-xterm'.
17342
9aab8e0d
MR
173432011-06-09 Martin Rudalics <rudalics@gmx.at>
17344
17345 * window.el (resize-window-reset, resize-window-reset-1)
17346 (resize-subwindows-skip-p, resize-subwindows-normal)
17347 (resize-subwindows, resize-other-windows, resize-this-window)
17348 (resize-root-window, resize-root-window-vertically)
17349 (window-deletable-p, window-or-subwindow-p)
17350 (frame-root-window-p): New functions.
17351
e8b08aee
GM
173522011-06-09 Glenn Morris <rgm@gnu.org>
17353
17354 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17355 (ange-ftp-get-files): Use it.
17356
254c37a5
AK
173572011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17358
17359 * mail/sendmail.el (mail-recover-1, mail-recover):
17360 * files.el (recover-file, recover-session):
17361 Handle dired-listing-switches not being just a single short option.
17362
35d7dbd3
GM
173632011-06-09 Glenn Morris <rgm@gnu.org>
17364
17365 * calendar/appt.el (appt-display-message, appt-disp-window):
17366 Handle lists of appointments.
17367
387522b2
MR
173682011-06-08 Martin Rudalics <rudalics@gmx.at>
17369
2b75be67
SM
17370 * window.el (one-window-p): Move down in code.
17371 Rewrite doc-string.
17372 (window-current-scroll-bars): Rewrite doc-string.
17373 Normalize live window argument.
387522b2
MR
17374 (walk-windows, get-window-with-predicate, count-windows):
17375 Rewrite doc-string. Use window-list-1.
17376 (window-in-direction-2, window-in-direction, get-mru-window):
17377 New functions.
17378
d8e4b68b 173792011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17380
17381 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17382 Doc fix (Bug#8713).
17383
173842011-06-08 Chong Yidong <cyd@stupidchicken.com>
17385
17386 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17387
173882011-06-08 Juanma Barranquero <lekktu@gmail.com>
17389
17390 * loadhist.el (unload-feature-special-hooks):
17391 Add `comint-output-filter-functions'.
17392
0de12c52
IK
173932011-06-08 Ivan Kanis <gnu@kanis.fr>
17394
17395 * calendar/appt.el (appt-check): Move some initializations into the let.
17396
f3d1777e
MR
173972011-06-08 Martin Rudalics <rudalics@gmx.at>
17398
17399 * window.el (window-height): Defalias to window-total-height.
17400 (window-width): Defalias to window-body-width.
17401
18af70d0
CY
174022011-06-07 Chong Yidong <cyd@stupidchicken.com>
17403
17404 * image-mode.el (image-toggle-animation): New command.
17405 (image-mode-map): Bind it to RET.
17406 (image-mode): Update message.
17407 (image-toggle-display-image): Avoid a spurious cache flush.
17408 (image-transform-rotation): Doc fix.
17409 (image-transform-properties): Return quickly in the normal case.
17410 (image-animate-loop): Rename from image-animate-max-time.
17411
2b75be67 17412 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17413 (create-animated-image): Remove unnecessary function.
17414 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17415 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17416 (image-animate-timer): Use car-safe.
17417 (image-animate-timeout): Rename argument.
17418
190b47e6
MR
174192011-06-07 Martin Rudalics <rudalics@gmx.at>
17420
17421 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17422 window.c. Rename first argument to ALL-FRAMES.
17423 Rephrase doc-strings.
17424 (get-buffer-window-list): Rewrite using window-list-1.
17425 Rephrase doc-string.
a1511caf
MR
17426 (window-safe-min-height, window-safe-min-width): New constants.
17427 (window-size-ignore, window-min-size, window-min-size-1)
17428 (window-sizable, window-sizable-p, window-size-fixed-1)
17429 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17430 (window-max-delta-1, window-max-delta, window-resizable)
17431 (window-resizable-p, window-total-height, window-total-width)
17432 (window-body-width): New functions.
17433 (window-full-height-p, window-full-width-p): Rewrite using
17434 window-total-size.
17435 (window-body-height): Rewrite using window-body-size.
190b47e6 17436
85cc1f11
MR
174372011-06-06 Martin Rudalics <rudalics@gmx.at>
17438
17439 * window.el (window-right, window-left, window-child)
17440 (window-child-count, window-last-child, window-any-p)
17441 (normalize-live-buffer, normalize-live-frame)
17442 (normalize-any-window, normalize-live-window)
17443 (window-iso-combination-p, window-iso-combined-p)
17444 (window-iso-combinations)
17445 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17446 (windows-with-parameter, window-with-parameter)
17447 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17448 (window-atom-check, window-side-check, window-check):
17449 New functions.
85cc1f11
MR
17450 (ignore-window-parameters, window-sides, window-sides-vertical)
17451 (window-sides-slots): New variables.
17452 (window-size-fixed): Move down in code. Minor doc-string fix.
17453
e7156492
AS
174542011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17455
17456 * comint.el (comint-dynamic-complete-as-filename)
17457 (comint-dynamic-complete-filename): Correctly call
17458 completion-in-region.
17459
7e821d0d
DD
174602011-06-05 Deniz Dogan <deniz@dogan.se>
17461
17462 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17463 in last change.
17464
ac09b8a1
DD
174652011-06-05 Deniz Dogan <deniz@dogan.se>
17466
17467 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17468 (rcirc): Use it to prompt for encryption.
17469
34699b85
RW
174702011-06-05 Roland Winkler <winkler@gnu.org>
17471
17472 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17473 (bibtex-search-entries): New command bound to C-c C-a.
17474 (bibtex-display-entries): New function.
17475
004dedd3
RW
174762011-06-05 Roland Winkler <winkler@gnu.org>
17477
17478 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17479 (bibtex-insert-kill): After yanking insert newline if necessary.
17480 (bibtex-initialize): Call bibtex-string-files-init only once.
17481 (bibtex-mode): Do not call easy-menu-add.
17482 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17483 (bibtex-yank): Set arg properly if nil.
17484
022fe7ce
RW
174852011-06-05 Roland Winkler <winkler@gnu.org>
17486
2b75be67
SM
17487 * textmodes/bibtex.el (bibtex-search-entry-globally):
17488 New variable.
022fe7ce
RW
17489 (bibtex-search-entry): Use it.
17490
b7c3692a
RW
174912011-06-05 Roland Winkler <winkler@gnu.org>
17492
17493 * textmodes/bibtex.el (bibtex-entry-format): New option
17494 sort-fields.
17495 (bibtex-format-entry, bibtex-reformat): Honor this option.
17496 (bibtex-parse-entry): Return fields in proper order.
17497
8eda563d
JB
174982011-06-05 Juanma Barranquero <lekktu@gmail.com>
17499
17500 * doc-view.el (doc-view-remove-if): Move computation of result out
17501 of `dolist' to silence misleading lexical-binding warning.
17502
7dbe3dbc
CY
175032011-06-04 Chong Yidong <cyd@stupidchicken.com>
17504
17505 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17506 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17507
0c33dd17
MA
175082011-06-04 Michael Albinus <michael.albinus@gmx.de>
17509
17510 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17511 "SunOS 5.10".
17512
f8f91c2b
MA
175132011-06-04 Michael Albinus <michael.albinus@gmx.de>
17514
17515 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17516 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17517 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17518 (tramp-parse-putty):
17519 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17520 (tramp-completion-function-alist-ssh)
17521 (tramp-completion-function-alist-telnet)
17522 (tramp-completion-function-alist-su)
17523 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17524 cookie.
17525
17526 * net/tramp-ftp.el:
17527 * net/tramp-sh.el:
17528 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17529 load "tramp.el" `tramp-set-completion-function'.
17530
e17d9003
SM
175312011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17532
17533 * shell.el: Require and use pcomplete.
17534 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17535 (shell-completion-vars): Set pcomplete-default-completion-function.
17536
6c4cab03
DD
175372011-06-04 Deniz Dogan <deniz@dogan.se>
17538
17539 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17540 `memq' (Bug#8799).
17541
ea9fafe0
SM
175422011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17543
17544 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17545
b3e945d3
JB
175462011-06-02 Juanma Barranquero <lekktu@gmail.com>
17547
17548 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17549 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17550 * vc/log-view.el (log-view-beginning-of-defun):
17551 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17552 (smerge-refine-forward, smerge-refine-chopup-region):
17553 Silence warning for unused `dotimes' counter variables.
17554
7d520089
SM
175552011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17556
17557 * net/tramp.el (tramp-with-progress-reporter): Rename from
17558 with-progress-reporter. Use `declare'.
17559 * net/tramp-smb.el:
17560 * net/tramp-sh.el:
17561 * net/tramp-gvfs.el: Update all uses.
17562
a1c2400f
JB
175632011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17564
17565 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17566 buffer isn't killed before making it current.
17567
2403c841
SM
175682011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17569
17570 Silence various byte-compiler warnings.
17571 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17572 `access-type' and new obsolescence format.
17573 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17574 new format.
17575 (byte-compile-check-variable): New `access-type' argument.
17576 Only warn if the access-type is obsolete.
17577 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17578 (byte-compile-variable-set): Adjust callers.
17579 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17580 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17581 setting it as obsolete.
17582 * simple.el (minibuffer-completing-symbol):
17583 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17584 access as obsolete.
17585 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17586 obsolete yet.
17587 * international/quail.el (quail-mouse-choose-completion): Remove unused
17588 code referring to obsolete var.
17589 (quail-choose-completion-string): Remove.
17590 * server.el (server-clients-with, server-kill-buffer-query-function)
17591 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17592 * proced.el (proced-send-signal):
17593 * emacs-lisp/lisp.el (lisp-complete-symbol):
17594 Replace completion-annotate-function with completion-extra-properties.
17595
2462470b
SM
175962011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17597
fb5b2591
SM
17598 * simple.el (goto-line): Use read-number.
17599 (overriding-map-is-bound): Remove.
17600 (saved-overriding-map): Change default.
17601 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17602 Take the map as argument.
17603 (universal-argument, negative-argument, digit-argument): Use it.
17604 (restore-overriding-map): Adjust.
17605 (do-auto-fill): Use fill-forward-paragraph.
17606 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17607
fd6fa53f
SM
17608 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17609 (minibuffer-inactive-mode): New major mode.
17610 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17611 the *Messages* buffer" hack.
17612 (mouse-popup-menubar): Don't burp if the event is a normal key.
17613
2462470b
SM
17614 Miscellaneous tweaks.
17615 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17616 lexical scoping as in subr.el's dolist and dotimes.
17617 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17618 Silence compiler warning.
17619 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17620 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17621 * international/ccl.el (ccl-compile): Trivial simplification.
17622 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17623 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17624 `printflag' argument.
17625 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17626 Purecopy the whole obsolescence data.
17627
108bf785
LL
176282011-06-01 Leo Liu <sdl.web@gmail.com>
17629
17630 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17631 improve doc-string as suggested by Marco Pessotto
17632 <melmothx@gmail.com>.
17633 (rcirc-print): Fix last change.
17634
30a23501
SM
176352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17636
17637 * minibuffer.el (complete-with-action): Return nil for the metadata and
17638 boundaries of non-functional tables.
17639 (completion-table-dynamic): Return nil for the metadata.
17640 (completion-table-with-terminator): Add default case, using
17641 complete-with-action.
17642 (completion--metadata): New function.
17643 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17644 to try and avoid pathological performance problems.
17645 (completion--embedded-envvar-table): Return `category' metadata.
17646
bcd54f83
LMI
176472011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17648
17649 * subr.el (process-alive-p): New tiny convenience function.
17650
e227544d
SM
176512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17652
17653 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17654 content but also its previous major mode.
17655
e8296fdc
HE
176562011-05-31 Helmut Eller <eller.helmut@gmail.com>
17657
4d61f28d 17658 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17659 *Backtrace* buffer when we exit with C-M-c.
17660
620c53a6
SM
176612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17662
17663 * minibuffer.el: Add metadata method to completion tables.
17664 (completion-category-overrides): New defcustom.
17665 (completion-metadata, completion--field-metadata)
17666 (completion-metadata-get, completion--styles)
17667 (completion--cycle-threshold): New functions.
17668 (completion-try-completion, completion-all-completions):
17669 Add `metadata' argument to choose completion-styles.
17670 (completion--do-completion): Use metadata to choose cycling.
17671 (completion-all-sorted-completions): Use metadata for sorting.
17672 Remove :completion-cycle-penalty which is not needed any more.
17673 (completion--try-word-completion): Add `metadata' argument.
17674 (minibuffer-completion-help): Check metadata for annotation function
17675 and sorting.
17676 (completion-file-name-table): Return `category' metadata.
17677 (minibuffer-completing-file-name): Make obsolete.
17678 * simple.el (minibuffer-completing-symbol): Make obsolete.
17679 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17680 completion-try-completion.
17681
1257e755
SM
176822011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17683
17684 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17685
3767e706
LL
176862011-05-30 Leo Liu <sdl.web@gmail.com>
17687
17688 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17689 (rcirc-print): Decode all incoming messages (bug#8744).
17690 (rcirc-decode-coding-system): Allow value nil for automatic coding
17691 system detection.
3767e706 17692
d1a5d56a
GM
176932011-06-01 Glenn Morris <rgm@gnu.org>
17694
17695 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17696
e8cbec34
CY
176972011-05-29 Chong Yidong <cyd@stupidchicken.com>
17698
17699 * image.el (image-animate-max-time): Allow nil and t values.
17700 Default to nil.
17701 (create-animated-image): Doc fix.
17702 (image-animate-start): Remove second arg; just use
17703 image-animate-max-time.
17704 (image-animate-timeout): Doc fix. Args changed.
17705
17706 * image-mode.el (image-toggle-display-image): Ensure that the
17707 image spec passed to the animate timer is the same object as in
58179cce 17708 the buffer's display property (Bug#6981).
e8cbec34
CY
17709 (image-transform-properties): Doc fix.
17710
17711 * image.el (image-animate-max-time): Default to nil.
17712
159daf87
MR
177132011-05-29 Martin Rudalics <rudalics@gmx.at>
17714
17715 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17716 entire buffer list (Bug#8184).
17717
d66c4c7c
CY
177182011-05-29 Chong Yidong <cyd@stupidchicken.com>
17719
17720 * image.el (imagemagick-types-inhibit)
17721 (imagemagick-register-types): Doc fix.
17722
80aec780
DD
177232011-05-29 Deniz Dogan <deniz@dogan.se>
17724
17725 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17726 default.
17727
1dd3c2d9
CY
177282011-05-29 Chong Yidong <cyd@stupidchicken.com>
17729
17730 * select.el: Don't perform clipboard-manager saving in hooks;
17731 leave the hooks empty.
17732
60e56523
LL
177332011-05-28 Leo Liu <sdl.web@gmail.com>
17734
17735 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17736 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17737 (occur-edit-mode): New major mode (Bug#8463).
17738 (occur-after-change-function): New function.
17739 (occur-engine): Give Occur tags a read-only property.
17740
2b1e1a22
KR
177412011-05-28 Kevin Ryde <user42@zip.com.au>
17742
17743 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17744
5d344e88
CY
177452011-05-28 Chong Yidong <cyd@stupidchicken.com>
17746
8e6ca83d
CY
17747 * bindings.el (help-echo): Make the initial non-indicator dash
17748 empty on graphical terminals (Bug#7295).
17749
5d344e88
CY
17750 * files.el (auto-mode-alist): Move config rule after the
17751 in-stripping one (Bug#8547).
17752
bfbbace7
CY
17753 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17754
fbeba6e2
CY
17755 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17756 setting (Bug#8740).
17757
60ed8c72
AA
177582011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17759
4ac619f0
AA
17760 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17761 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17762 (Bug#8539).
60ed8c72 17763
23db196e
CY
177642011-05-28 Chong Yidong <cyd@stupidchicken.com>
17765
17766 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17767
5012f24c
DK
177682011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17769
17770 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17771 (hs-hide-block-at-point, hs-find-block-beginning)
17772 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17773 (Bug#8279).
17774
6a639b16
GM
177752011-05-28 Glenn Morris <rgm@gnu.org>
17776
17777 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17778
d43eaf2c
CY
177792011-05-28 Chong Yidong <cyd@stupidchicken.com>
17780
5199bde1
CY
17781 * help-fns.el (describe-function-1): If the function is a derived
17782 major mode, print the parent mode.
17783
d43eaf2c
CY
17784 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17785 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17786
423428a8
SM
177872011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17788
0ff8e1ba 17789 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17790 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17791 * progmodes/etags.el (tags-completion-at-point-function):
17792 * info-look.el (info-lookup-completions-at-point): Mark as
17793 non-exclusive.
17794 (info-complete): Adjust accordingly.
17795
423428a8
SM
17796 * info-look.el: Convert to lexical-binding and completion-at-point.
17797 (info-lookup-completions-at-point): New function.
17798 (info-complete): Use it and completion-in-region.
17799
b74aa22b
DA
178002011-05-28 Drew Adams <drew.adams@oracle.com>
17801
17802 * isearch.el: Let M-e start with point at the first mismatched char.
17803 (isearch-fail-pos): New function.
17804 (isearch-edit-string): Use it.
17805
66e2e71d
DK
178062011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17807
17808 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17809
b1890b0f 178102011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17811
17812 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17813 traversal functions for avl-trees.
17814 (avl-tree--stack): New struct.
17815 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17816 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17817 (avl-tree--do-enter): Add optional `updatefun' arg.
17818 Change return value.
eb95d01d 17819 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17820 (avl-tree--do-delete): Add `test' and `nilflag' args.
17821 Change return value.
eb95d01d
TC
17822 (avl-tree-member): Add optional `nilflag'
17823 (avl-tree-member-p): New function.
17824 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17825 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17826 (avl-tree-stack-empty-p): New functions.
17827
3769ddcf
TC
17828 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17829 avl-tree--del-balance1 and make it work both ways.
17830 (avl-tree--del-balance2): Remove.
17831 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17832 make it work both ways.
17833 (avl-tree--enter-balance2): Remove.
17834 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17835 New macros.
17836 (avl-tree--mapc, avl-tree-map): Add direction argument.
17837
eb95d01d 178382011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17839
17840 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17841
a9f737ee
CY
178422011-05-27 Chong Yidong <cyd@stupidchicken.com>
17843
17844 * select.el: Support clipboard managers with built-in function
17845 x-clipboard-manager-save, via delete-frame-functions and
17846 kill-emacs-hook.
17847 (xselect-convert-to-targets): Add MULTIPLE target to list.
17848 (xselect-convert-to-save-targets): New function.
17849
c92a1e54
KH
178502011-05-27 Kenichi Handa <handa@m17n.org>
17851
17852 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17853 let-binding rfc2047-encode-encoded-words to nil.
17854
e145f188
GM
178552011-05-27 Glenn Morris <rgm@gnu.org>
17856
5ec8a862
GM
17857 * mail/emacsbug.el: Don't require url-util.
17858
4b29d9fb
GM
17859 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17860
e145f188
GM
17861 * files.el (set-auto-mode):
17862 Also respect mode: entries at the end of the file. (Bug#8586)
17863
7d15102b
GM
178642011-05-26 Glenn Morris <rgm@gnu.org>
17865
98f593b8
GM
17866 * files.el (hack-local-variables-prop-line, hack-local-variables):
17867 Downcase mode names, as seems to be traditional.
27b48e63 17868 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17869
7d15102b
GM
17870 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17871 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17872
51d5b4ec
JD
178732011-05-25 Julien Danjou <julien@danjou.info>
17874
17875 * textmodes/rst.el (rst-define-level-faces): Do not define face
17876 symbol if it is already defined.
17877
91513f63
VB
178782011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17879
17880 * play/5x5.el (5x5-new-game, 5x5-randomize):
17881 Reset 5x5-solver-output to nil when a new grid is cast.
17882 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17883 these debugging traces, as defmacro breaks the compiled code.
17884
4d90d6d0
DK
178852011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17886
17887 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17888
e1b90ef6
LL
178892011-05-24 Leo Liu <sdl.web@gmail.com>
17890
17891 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17892 (vc-bzr-sha1): Adapt.
17893
d8e4b68b 17894 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17895
17896 * bindings.el: Provide sha1 feature.
17897
db0406bb 178982011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17899
17900 * mail/sendmail.el: Require `rfc2047'.
17901 (mail-insert-from-field): Do not perform RFC2047 encoding.
17902 (mail-encode-header): New function.
17903 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17904 buffer to the return value of select-message-coding-system.
17905 Call mail-encode-header.
b8d747b9
KH
17906
17907 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17908
db0406bb 179092011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17910
4d90d6d0
DK
17911 * mail/supercite.el (sc-default-cite-frame):
17912 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17913
eb8a5e9b
GM
179142011-05-24 Glenn Morris <rgm@gnu.org>
17915
f8630703
GM
17916 * progmodes/python.el (brm-menu): Declare.
17917
8831bbed
GM
17918 * emulation/viper.el (viper-set-hooks): Declare.
17919
eb8a5e9b
GM
17920 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17921 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17922 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17923 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17924 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17925 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17926
a2a25d24
SM
179272011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17928
17929 Add an :exit-function for completion-at-point.
17930
17931 * minibuffer.el (completion--done): New fun.
17932 (completion--do-completion): Use it. New arg `expect-exact'.
17933 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17934 since completion--do-completion does it for us now.
17935 (minibuffer-force-complete): Use completion--done and
17936 completion--replace. Handle sole-completion case with more care.
17937 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17938 (completion-extra-properties): New var.
17939 (completion-annotate-function): Make obsolete.
17940 (minibuffer-completion-help): Adjust accordingly.
17941 Use completion-list-insert-choice-function.
17942 (completion-at-point, completion-help-at-point):
17943 Bind completion-extra-properties.
17944 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17945 * simple.el (completion-list-insert-choice-function): New var.
17946 (completion-setup-function): Preserve it.
17947 (choose-completion): Pay attention to it, shuffle the code a bit.
17948 (choose-completion-string): New arg `insert-function'.
17949
17950 * textmodes/bibtex.el: Convert to lexical binding.
17951 (bibtex-mode-map): Use completion-at-point.
17952 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17953 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17954 (bibtex-complete): Define as obsolete alias.
17955 (bibtex-complete-internal): Remove.
17956 (bibtex-format-entry): Remove unused sub-group in regexp.
17957 * shell.el (shell--command-completion-data)
17958 (shell-environment-variable-completion):
17959 * pcomplete.el (pcomplete-completions-at-point):
17960 * comint.el (comint--complete-file-name-data): Use :exit-function
17961 instead of completion-table-with-terminator so it also works for
17962 choose-completion.
17963
e44e373d
SM
179642011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17965
4f91a816
SM
17966 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17967
782fc819
SM
17968 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17969 (bug#8710).
17970
e44e373d
SM
17971 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17972
381987c3
KM
179732011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17974
17975 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17976 customization variable and implement: If non-nil, auto-fill will
17977 be inhibited while on topic's header line.
17978
b776bc70
VB
179792011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17980
17981 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17982 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17983 always have a solution in grid size = 5 cases.
17984 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17985 (5x5-solver-output, 5x5-log-buffer): New vars.
17986 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17987 Make these variables buffer local to achieve 5x5 multi-session-ness.
17988 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17989 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17990 (5x5-solve-suggest): New funs.
17991 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17992 randomize a grid so that we ensure that there is always a solution.
17993 (5x5-make-random-grid): Allow other movement than flipping.
17994
7de88b6e
KR
179952011-05-23 Kevin Ryde <user42@zip.com.au>
17996
17997 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17998 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17999 advice and passes PREDICATE.
18000
b1ef1257
SM
180012011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18002
bbca48fe
SM
18003 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18004 byte-compile-lambda if it's actually a lambda.
18005
b1ef1257
SM
18006 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18007 Fix function quoting. Use backquote better.
18008
92a9cc65
YS
180092011-05-22 Yuanle Song <sylecn@gmail.com>
18010
18011 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18012 matching (Bug#8516).
18013
f0fb8059
JA
180142011-01-22 Jari Aalto <jari.aalto@cante.net>
18015
18016 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18017 different face (Bug#8178).
18018
d5b44c93
CY
180192011-05-22 Chong Yidong <cyd@stupidchicken.com>
18020
18021 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18022 defface (Bug#8144).
18023
79106a44
SM
180242011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18025
9c848d8a
SM
18026 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18027 funcall as well (bug#8712). Warn when performing those conversions.
18028 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18029
79106a44
SM
18030 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18031
88dfa756
GM
180322011-05-22 Glenn Morris <rgm@gnu.org>
18033
18034 * files.el (hack-local-variables-prop-line): Small simplifications.
18035 (hack-local-variables, hack-local-variables-prop-line):
18036 If MODE-ONLY, return the mode, rather than just `t'.
18037
b7cf2c79
SM
180382011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18039
18040 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18041
3f1a8558
GM
180422011-05-21 Glenn Morris <rgm@gnu.org>
18043
7e4ccca3
GM
18044 * files.el (hack-local-variables-prop-line, hack-local-variables):
18045 If only interested in the mode, don't bother doing the other stuff.
18046
637d46ca
GM
18047 * image-mode.el (image-after-revert-hook):
18048 Redraw all frames on which the image is visible. (Bug#8567)
18049
973d955b
GM
18050 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18051
3f1a8558
GM
18052 * wid-edit.el (widget-checklist-match-inline):
18053 Fix 2011-04-19 change. (Bug#8649)
18054
96479927
SM
180552011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18056
1dcf791f
SM
18057 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18058 Also allow singlespace after single-letter capitals followed by a dot.
18059
96479927
SM
18060 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18061 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18062
35fd0881
N
180632011-05-20 Nix <nix@esperi.org.uk>
18064
18065 * files.el (basic-save-buffer-2):
18066 Fix handling of break-hardlink-on-save with non-existent files.
18067
82745640
DD
180682011-05-19 Deniz Dogan <deniz@dogan.se>
18069
18070 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18071 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18072
4a720484
GM
180732011-05-19 Glenn Morris <rgm@gnu.org>
18074
d1f21341
GM
18075 * progmodes/f90.el (f90-type-def-re):
18076 Handle "type, bind(c)". (Bug#8691)
18077
4a720484
GM
18078 * emacs-lisp/autoload.el (batch-update-autoloads):
18079 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18080
2fb0a219
MA
180812011-05-18 Michael Albinus <michael.albinus@gmx.de>
18082
18083 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18084 property for the correct connection in case of multihops.
18085
e565dd37
GM
180862011-05-18 Glenn Morris <rgm@gnu.org>
18087
c2571358 18088 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18089 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18090
e565dd37
GM
18091 Rationalize calendar handling of day and month abbrev-arrays.
18092 * calendar/calendar.el (calendar-customized-p): New function.
18093 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18094 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18095 Add :set function.
18096 (calendar-abbrev-length, calendar-day-abbrev-array)
18097 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18098 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18099 Elements may no longer be nil.
18100 (calendar-day-name, calendar-month-name):
18101 Update for changed nature of abbrev arrays.
18102 * calendar/diary-lib.el (diary-name-pattern):
18103 Update for changed nature of abbrev arrays.
18104 (diary-mark-entries-1): Update calendar-make-alist calls.
18105 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18106 * calendar/cal-html.el (cal-html-day-abbrev-array):
18107 Simply inherit from calendar-day-abbrev-array.
18108
1d99a745
SM
181092011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18110
18111 * progmodes/grep.el (grep-mode): Disable default
18112 compilation-directory-matcher setting (bug#8684).
18113
7c1d9aa0
MA
181142011-05-17 Michael Albinus <michael.albinus@gmx.de>
18115
18116 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18117 instead of "head" and "tail". There were problems with SunOS 5.9,
18118 and it performs better.
18119
3952e9d8
GM
181202011-05-17 Glenn Morris <rgm@gnu.org>
18121
2dd12e7f
GM
18122 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18123
e4157b9c
GM
18124 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18125 Replace obsolete function.
18126
8e249bbd
GM
18127 * shell.el (pcomplete-parse-arguments-function): Declare.
18128
3952e9d8
GM
18129 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18130 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18131 (appt-check): Doc fixes.
18132 (appt-disp-window-function, appt-delete-window-function):
18133 Remove needless special case in custom :type.
18134 (appt-display-count): Default to 0, not nil.
18135 (appt-check): Reset appt-display-count to 0, not nil.
18136
c71a0d48 181372011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18138
c71a0d48
GM
18139 * progmodes/python.el (python-font-lock-keywords):
18140 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18141
31d55be9
SM
181422011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18143
18144 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18145
3bfacb2f
KR
181462011-05-16 Kevin Ryde <user42@zip.com.au>
18147
18148 * info-look.el (makefile-automake-mode): New setups, looking in
18149 automake manual, then makefile-mode.
18150 (makefile-mode): Remove automake manual, have it just in
18151 makefile-automake-mode since there's various things different or
18152 not relevant to plain make.
18153 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18154 believe a hypothetical automake-mode would go to makefile-mode,
18155 not the other way around.
18156
c8e83751
CY
181572011-05-15 Chong Yidong <cyd@stupidchicken.com>
18158
5e9e35cd
CY
18159 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18160 hunk-end tags (Bug#8672).
18161
c8e83751
CY
18162 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18163 vc-annotate-show-diff-revision-at-line (Bug#8671).
18164
50b23e5a
GM
181652011-05-14 Glenn Morris <rgm@gnu.org>
18166
7210a739
GM
18167 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18168 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18169 (change-log-font-lock-keywords): Also handle multiple author lines
18170 with leading tabs. (Bug#8644)
7210a739 18171
4691905a
GM
18172 * calendar/appt.el (appt-check): Rename some local variables.
18173 Some simplification/reordering.
18174
50b23e5a
GM
18175 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18176 (feedmail-sendmail-f-doesnt-sell-me-out)
18177 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18178 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18179 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18180 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18181 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18182 (feedmail-binmail-gnulinuxish-template):
18183 Rename from feedmail-binmail-linuxish-template.
18184 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18185 Use insert-buffer-substring.
18186
215cda7c
BC
181872011-05-14 Bill Carpenter <bill@carpenter.org>
18188
18189 * mail/feedmail.el (feedmail-patch-level): Increase.
18190 (feedmail-debug): New custom group.
18191 (feedmail-confirm-outgoing-timeout)
18192 (feedmail-sendmail-f-doesnt-sell-me-out)
18193 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18194 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18195 (feedmail-sender-line, feedmail-from-line)
18196 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18197 (feedmail-spray-this-address)
215cda7c
BC
18198 (feedmail-spray-address-fiddle-plex-list)
18199 (feedmail-queue-use-send-time-for-date)
18200 (feedmail-queue-use-send-time-for-message-id)
18201 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18202 (feedmail-buffer-eating-function):
18203 Doc fixes.
18204 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18205 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18206 (feedmail-message-action-scroll-down): New functions.
18207 (feedmail-queue-directory, feedmail-queue-draft-directory):
18208 Use expand-file-name.
18209 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18210 Remove C-v help entry.
18211 (feedmail-queue-buffer-file-name): New variable.
18212 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18213 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18214 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18215 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18216 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18217 (feedmail-message-action-toggle-spray)
18218 (feedmail-run-the-queue-no-prompts)
18219 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18220 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18221 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18222 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18223 (feedmail-envelope-deducer, feedmail-fiddle-from)
18224 (feedmail-fiddle-sender, feedmail-default-date-generator)
18225 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18226 (feedmail-fiddle-spray-address)
18227 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18228 (feedmail-fiddle-list-of-fiddle-plexes)
18229 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18230 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18231 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18232 Change default. Doc fix.
18233 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18234 (feedmail-binmail-linuxish-template): New constant.
18235 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18236 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18237 (feedmail-send-it): Add debug call.
18238 Use feedmail-queue-buffer-file-name, and
18239 feedmail-send-it-immediately-wrapper.
18240 (feedmail-message-action-send): Add debug call.
18241 Use feedmail-send-it-immediately-wrapper.
18242 (feedmail-queue-express-to-queue): Add debug call.
18243 Run feedmail-queue-express-hook.
18244 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18245 (feedmail-message-action-help-blat):
18246 Rename from feedmail-queue-send-edit-prompt-help-first.
18247 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18248 Check line-endings. Handle errors better.
18249 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18250 Doc fix. Add debug call.
18251 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18252 Use feedmail-queue-send-edit-prompt-inner.
18253 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18254 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18255 from feedmail-queue-send-edit-prompt.
18256 (feedmail-queue-send-edit-prompt-help)
18257 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18258 (feedmail-tidy-up-slug): Add debug call.
18259 Respect feedmail-queue-slug-suspect-regexp.
18260 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18261 (feedmail-dump-message-to-queue): Add debug call.
18262 Expand queue-directory.
18263 (feedmail-dump-message-to-queue): Change message slightly.
18264 Use feedmail-say-chatter.
18265 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18266 (feedmail-send-it-immediately-wrapper): New function.
18267 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18268 Insert empty string rather than newline. Handle full-frame case.
18269 Use catch/throw. Use feedmail-say-chatter.
18270 (feedmail-fiddle-from): Try mail-host-address.
18271 (feedmail-default-message-id-generator): Doc fix.
18272 Bind system-time-locale. Handle missing end.
18273 (feedmail-fiddle-x-mailer): Add debug call.
18274 Handle feedmail-x-mailer-line being nil.
18275 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18276 Add debug call. Use buffer-substring-no-properties.
18277 (feedmail-say-debug, feedmail-say-chatter): New functions.
18278 (feedmail-find-eoh): Give an explicit error.
18279
42c7e61e
UJ
182802011-05-13 Ulf Jasper <ulf.jasper@web.de>
18281
c2571358 18282 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18283 family from helvetica to sans.
c2571358 18284 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18285 etc/images/newsticker.
18286
c2571358 18287 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18288 family from helvetica to sans.
18289
18290 * net/newst-plainview.el (newsticker-new-item-face)
18291 (newsticker-old-item-face, newsticker-immortal-item-face)
18292 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18293 (newsticker-statistics-face): Change default family from
42c7e61e 18294 helvetica to sans.
c2571358 18295 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18296 etc/images/newsticker.
18297
5d3385a0
JB
18298 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18299 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18300 auto-marking.
18301
8497a297
DV
183022011-05-13 Didier Verna <didier@xemacs.org>
18303
18304 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18305 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18306 TODO entries.
8497a297
DV
18307 (lisp-lambda-list-keyword-parameter-indentation)
18308 (lisp-lambda-list-keyword-parameter-alignment)
18309 (lisp-lambda-list-keyword-alignment): New customizable user options.
18310 (lisp-indent-defun-method): Improve docstring.
18311 (extended-loop-p): Fix comment.
18312 (lisp-indent-lambda-list-keywords-regexp): New variable.
18313 (lisp-indent-lambda-list): New function.
18314 (lisp-indent-259): Use it.
18315 (lisp-indent-defmethod): Support for more than one
18316 method qualifier and properly indent methods lambda-lists.
18317 (defgeneric): Provide a missing common-lisp-indent-function property.
18318
f278f87f
SM
183192011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18320
18321 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18322 bounds for the empty string (bug#8667).
18323
5233edd7
GM
183242011-05-13 Glenn Morris <rgm@gnu.org>
18325
5237a44f
GM
18326 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18327
8340026c 18328 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18329 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18330
5233edd7 18331 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18332 (appt-time-msg-list): Doc fix.
a5464014 18333 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18334
92d10796
AS
183352011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18336
18337 * progmodes/ld-script.el (ld-script-keywords)
18338 (ld-script-builtins): Update keywords list.
18339
914a0ae1
SM
183402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18341
c89be45f
SM
18342 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18343
914a0ae1
SM
18344 * shell.el (shell-completion-vars): New function.
18345 (shell-mode):
18346 * simple.el (read-shell-command): Use it.
18347 (blink-matching-open): No need for " [...]" in minibuffer-message.
18348
98dc3df3
GM
183492011-05-12 Glenn Morris <rgm@gnu.org>
18350
18351 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18352 (appt-check): Simplify.
18353
d2fc7e3d 183542011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18355
4d61f28d 18356 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18357 literal "/dev/null".
18358
d2fc7e3d 183592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18360
18361 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18362 Fix typo.
18363
d2fc7e3d 183642011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18365
3f254caa
SM
18366 * progmodes/which-func.el (which-function):
18367 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18368 which might not be defined (Bug#8260).
18369
d45885f7
GM
183702011-05-12 Glenn Morris <rgm@gnu.org>
18371
18372 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18373 Let byte-compile-initial-macro-environment always take precedence.
18374
488086f4
SM
183752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18376
18377 * net/rcirc.el: Add support for SSL/TLS connections.
18378 (rcirc-server-alist): New field `encryption'.
18379 (rcirc): Check `encryption' settings.
18380 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18381 Merge make-local-variable into `set'.
18382 (rcirc--connection-open-p): New function.
18383 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18384 the process is not a network process (e.g. running gnutls-cli).
18385 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18386 Make rcirc-(en|de)code-coding-system local here.
18387 (rcirc-mode): Merge make-local-variable into `set'.
18388 (rcirc-parent-buffer): Make permanent buffer-local.
18389 (rcirc-multiline-minor-mode): Don't do it here.
18390 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18391 there's no server buffer.
18392
7d3b9d44
GM
183932011-05-11 Glenn Morris <rgm@gnu.org>
18394
f64049c6
GM
18395 * newcomment.el (comment-kill): Prefix "unused" local.
18396
93c9df73
GM
18397 * term/w32console.el (get-screen-color): Declare.
18398
7d3b9d44
GM
18399 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18400 Handle symbol elements of byte-compile-initial-macro-environment.
18401
9e2dd53f
LL
184022011-05-10 Leo Liu <sdl.web@gmail.com>
18403
488086f4
SM
18404 * bookmark.el (bookmark-bmenu-mode-map):
18405 Bind bookmark-bmenu-search to `/'.
8b340240 18406
9e2dd53f 18407 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18408 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18409 (Footnote-unicode): New function.
18410 (footnote-style-alist): Add unicode style to the list.
18411 (footnote-style): Doc fix.
9e2dd53f 18412
79b70037
GM
184132011-05-10 Jim Meyering <meyering@redhat.com>
18414
18415 Fix doubled-word typos.
18416 * international/quail.el (quail-insert-kbd-layout): and and -> and
18417 * kermit.el: and and -> and
18418 * net/ldap.el (ldap-search-internal): to to -> to
18419 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18420 * progmodes/js.el (js-mode): and and -> and
18421 * textmodes/artist.el (artist-move-to-xy): at at -> at
18422 (artist-draw-region-trim-line-endings): if if -> if
18423 And Safetyc -> Safety.
18424 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18425
b8f82dc1 184262011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18427 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18428
18429 * files.el (hack-one-local-variable-eval-safep):
18430 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18431
4f99f44b
GM
184322011-05-10 Glenn Morris <rgm@gnu.org>
18433
18434 * calendar/diary-lib.el (diary-list-entries-hook)
18435 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18436 (diary-nongregorian-marking-hook, diary-list-entries)
18437 (diary-include-other-diary-files, diary-mark-entries)
18438 (diary-mark-included-diary-files): Doc fixes.
18439
84f29e6b
JB
184402011-05-09 Juanma Barranquero <lekktu@gmail.com>
18441
18442 * misc.el: Require tabulated-list.el during compilation.
18443
9bedd73a
CY
184442011-05-09 Chong Yidong <cyd@stupidchicken.com>
18445
488086f4
SM
18446 * progmodes/compile.el (compilation-start):
18447 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18448 (compilation-filter-hook): Doc fix.
18449
797c735c
DD
184502011-05-09 Deniz Dogan <deniz@dogan.se>
18451
18452 * wdired.el: Remove outdated installation comment. Fix usage
18453 comment.
18454
5f4b1dfe
JB
184552011-05-09 Juanma Barranquero <lekktu@gmail.com>
18456
18457 * misc.el: Implement new command `list-dynamic-libraries'.
18458 (list-dynamic-libraries--loaded-only-p): New variable.
18459 (list-dynamic-libraries--refresh): New function.
18460 (list-dynamic-libraries): New command.
18461
4c44026c
CY
184622011-05-09 Chong Yidong <cyd@stupidchicken.com>
18463
488086f4
SM
18464 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18465 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18466 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18467 higher priority to avoid clobbering by gnu.
18468
027f966d
CY
184692011-05-08 Chong Yidong <cyd@stupidchicken.com>
18470
18471 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18472 if the face has existing theme settings (Bug#8454).
18473
085f5d7d
CY
184742011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18475
488086f4
SM
18476 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18477 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18478
2a86a00c
RS
18479 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18480 special file names `.' and `..' (Bug#8259).
18481
d9c54a06
CY
184822011-05-08 Chong Yidong <cyd@stupidchicken.com>
18483
488086f4
SM
18484 * progmodes/grep.el (grep-mode-font-lock-keywords):
18485 Remove buffer-changing entries.
d9c54a06
CY
18486 (grep-filter): New function.
18487 (grep-mode): Add it to compilation-filter-hook.
18488
18489 * progmodes/compile.el (compilation-filter-hook)
18490 (compilation-filter-start): New defvars.
18491 (compilation-filter): Call compilation-filter-hook prior to
18492 updating the process mark.
18493
c4662635
SM
184942011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18495
18496 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18497
b0512a1d
EZ
184982011-05-07 Eli Zaretskii <eliz@gnu.org>
18499
605c9376
EZ
18500 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18501 mailclient-send-it even if window-system is nil. (Bug#8595)
18502
c4662635
SM
18503 * term/w32console.el (terminal-init-w32console):
18504 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18505 background-mode. (Bug#8597)
18506
d1dc2cc2
SM
185072011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18508
18509 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18510 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18511 New functions.
18512 (defgeneric, eieio--defmethod): Use them.
18513 (eieio-defgeneric): Remove.
18514 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18515
915d1300
GM
185162011-05-07 Glenn Morris <rgm@gnu.org>
18517
a3961c3e
GM
18518 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18519 Use let rather than let*.
18520 (timeclock-find-discrep): Remove unused local.
18521
314347b9
GM
18522 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18523
915d1300
GM
18524 * calendar/appt.el (appt-time-msg-list): Doc fix.
18525
275b59b0
NF
185262011-05-06 Noah Friedman <friedman@splode.com>
18527
18528 * apropos.el (apropos-print-doc): Only use
18529 emacs-lisp-docstring-fill-column when it is bound to an integer,
18530 per that variable's documentation.
18531
6c19f744
SM
185322011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18533
18534 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18535 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18536
60f884b2
GM
185372011-05-06 Glenn Morris <rgm@gnu.org>
18538
5006e634
GM
18539 * calendar/appt.el (appt-message-warning-time): Doc fix.
18540 (appt-warning-time-regexp): New option.
18541 (appt-make-list): Respect appt-message-warning-time.
18542
548d0a63
GM
18543 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18544 New options.
18545 (diary-add-to-list): Strip comments from the displayed string.
18546 (diary-mode): Set comment-start and comment-end.
18547
60f884b2
GM
18548 * vc/diff-mode.el (smerge-refine-subst): Declare.
18549 (diff-refine-hunk): Don't require smerge-mode when compiling.
18550
989681bb
JB
185512011-05-06 Juanma Barranquero <lekktu@gmail.com>
18552
18553 * simple.el (list-processes): Return nil as the docstring says.
18554
a6bc05e1
MA
185552011-05-05 Michael Albinus <michael.albinus@gmx.de>
18556
18557 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18558 to "".
18559 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18560 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18561 determining of binary transfer. (Bug#7383)
18562
23c22e9a
MA
185632011-05-05 Michael Albinus <michael.albinus@gmx.de>
18564
c4662635
SM
18565 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18566 Fix port computation bug. (Bug#8618)
23c22e9a 18567
0bff894f
GM
185682011-05-05 Glenn Morris <rgm@gnu.org>
18569
b8296902
GM
18570 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18571
1f522ce8
GM
18572 * simple.el (shell-dynamic-complete-functions)
18573 (comint-dynamic-complete-functions): Declare.
18574
cf5bee67
GM
18575 * net/network-stream.el (gnutls-negotiate):
18576 * simple.el (tabulated-list-print): Fix declarations.
18577
18578 * progmodes/gud.el (syntax-symbol, syntax-point):
18579 Remove unnecessary and incorrect declarations.
18580
0bff894f 18581 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18582 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18583
9869b3ae
SM
185842011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18585
18586 Fix earlier half-done eieio-defmethod change (bug#8338).
18587 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18588 Streamline and change calling convention.
18589 (defmethod): Adjust accordingly and simplify.
18590 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18591 new eieio--defmethod.
18592 (slot-boundp): Minor CSE simplification.
18593
9c1d5ac5
MZ
185942011-05-05 Milan Zamazal <pdm@zamazal.org>
18595
18596 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18597 (glasses-make-readable): Use glasses-separate-capital-groups.
18598
455c834e
JB
185992011-05-05 Juanma Barranquero <lekktu@gmail.com>
18600
18601 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18602 (warning-series): Doc fix.
18603 (display-warning): Don't try to create the buffer if we just found it.
18604
9ed7c8cb
CY
186052011-05-04 Chong Yidong <cyd@stupidchicken.com>
18606
18607 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18608 (autoload-find-generated-file): New function.
18609 (generate-file-autoloads): Bind generated-autoload-file to
18610 buffer-file-name.
9869b3ae
SM
18611 (update-file-autoloads, update-directory-autoloads):
18612 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18613 output file (Bug#7989).
18614 (batch-update-autoloads): Doc fix.
18615
0898ca10
JB
186162011-05-04 Juanma Barranquero <lekktu@gmail.com>
18617
18618 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18619
31dfb76c
GM
186202011-05-04 Glenn Morris <rgm@gnu.org>
18621
f330b642
GM
18622 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18623 function, so it follows changes in calendar-date-style.
18624 (diary-fancy-date-matcher): New function.
18625 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18626 (diary-fancy-font-lock-fontify-region-function):
18627 Use diary-fancy-date-pattern as a function.
18628
31dfb76c
GM
18629 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18630 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18631
48e79d6a
TZ
186322011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18633
18634 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18635 instead of positional arguments. Allow :keylist and :crlfiles
18636 arguments.
18637 (open-gnutls-stream): Call it.
18638
18639 * net/network-stream.el (network-stream-open-starttls): Adjust to
18640 call `gnutls-negotiate' with :process and :hostname arguments.
18641
dd5a5ee0
SM
186422011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18643
ef80fc09
SM
18644 * minibuffer.el (completion--message): New function.
18645 (completion--do-completion, minibuffer-complete)
18646 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18647 (completion--do-completion): Don't ignore completion-auto-help when in
18648 icomplete-mode.
18649
dd5a5ee0
SM
18650 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18651 internal encoding (e.g. tibetan zero is not whitespace).
18652 (global-whitespace-mode): Prefer save-current-buffer.
18653 (whitespace-trailing-regexp): Remove useless save-match-data.
18654 (whitespace-empty-at-bob-regexp): Minor simplification.
18655
b7d22a83
CY
186562011-05-03 Chong Yidong <cyd@stupidchicken.com>
18657
18658 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18659
5192af46
AM
186602011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18661
18662 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18663 Use `concat' to create string for insertion.
5192af46 18664
5767d190
SM
186652011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18666
18667 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18668 Avoid open-line which runs post-self-insert-hook.
18669 (bibtex-fill-entry): Remove unused `end' var.
18670
bf242939
AM
186712011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18672
5767d190
SM
18673 * textmodes/ispell.el (ispell-add-per-file-word-list):
18674 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18675
25666126
LL
186762011-05-03 Leo Liu <sdl.web@gmail.com>
18677
18678 * isearch.el (isearch-yank-pop): New command.
5767d190 18679 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18680 (isearch-forward): Mention it.
18681
52d3c2d0
SM
186822011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18683
1bcace58
SM
18684 * simple.el (minibuffer-complete-shell-command): Remove.
18685 (minibuffer-local-shell-command-map): Use completion-at-point.
18686 (read-shell-command): Setup completion vars here instead.
18687 (read-expression-map): Bind TAB to symbol completion.
18688
52d3c2d0
SM
18689 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18690 error directly rather via storing it into `results'.
18691
35813471
LL
186922011-05-02 Leo Liu <sdl.web@gmail.com>
18693
18694 * vc/diff.el: Fix description.
18695
e793a940
LMI
186962011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18697
18698 * server.el (server-eval-at): New function.
18699
8de66e05
LMI
187002011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18701
18702 * net/network-stream.el (open-network-stream): Take a :nowait
18703 parameter and pass it on to `make-network-process'.
18704 (network-stream-open-plain): Ditto.
18705
dcb79f20
AS
187062011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18707
18708 * faces.el (face-spec-set-match-display): Don't match toolkit
18709 options on terminal frames.
18710
14a7fbd8
SM
187112011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18712
7eabc1be
SM
18713 * progmodes/pascal.el: Use lexical binding.
18714 (pascal-mode-map): Remove author preferences.
18715
14a7fbd8
SM
18716 * pcomplete.el (pcomplete-std-complete): Don't abuse
18717 completion-at-point.
18718
50f84510
JB
187192011-04-28 Juanma Barranquero <lekktu@gmail.com>
18720
6e087a44
JB
18721 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18722 removing code that has been dead since 1991 or so.
18723
50f84510
JB
18724 * startup.el (command-line): When warning about "_emacs", use a
18725 delayed warning to allow the user to filter it out.
18726
0ba690bd
DD
187272011-04-28 Deniz Dogan <deniz@dogan.se>
18728
18729 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18730 user has not joined.
18731
08abfaad
SM
187322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18733
18734 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18735 aren't any completions at point.
18736
638f053a
JB
187372011-04-28 Juanma Barranquero <lekktu@gmail.com>
18738
18739 * subr.el (display-delayed-warnings): New function.
18740 (delayed-warnings-hook): New variable.
18741
8fff8daa
SM
187422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18743
08abfaad
SM
18744 * minibuffer.el (completion-at-point, completion-help-at-point):
18745 Don't presume that a given completion-at-point-function will always
18746 use the same calling convention.
18747
8fff8daa
SM
18748 * pcomplete.el (pcomplete-completions-at-point):
18749 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18750 pcomplete-seen is non-nil.
18751 (pcomplete-comint-setup): Also recognize the new comint/shell
18752 completion functions.
18753 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18754 pcomplete-seen is non-nil.
18755
841a1577 187562011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18757
841a1577 18758 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18759 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18760 the first character in the entry. This allows for code to add its
211ec907
UJ
18761 own uid to the entry.
18762 (icalendar--convert-float-to-ical): Add export of
18763 `diary-float'-entries save for those with the optional DAY
18764 argument.
18765
2a782793
DC
187662011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18767
18768 * subr.el (shell-quote-argument): Use alternate escaping strategy
18769 when we spot a variable reference in a string.
18770
0438ce91
DC
187712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18772
18773 * cus-start.el (all): Define customization for debug-on-event.
18774
841a1577 187752011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18776
18777 * subr.el (shell-quote-argument): Escape correctly under Windows.
18778
d090ed6c
SM
187792011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18780
18781 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18782
bfd31217
MA
187832011-04-25 Michael Albinus <michael.albinus@gmx.de>
18784
d090ed6c
SM
18785 * net/tramp.el (tramp-process-actions): Add POS argument.
18786 Delete region between POS and (pos).
bfd31217 18787
d090ed6c
SM
18788 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18789 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18790 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18791
18792 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18793 position in `tramp-process-actions' call.
18794
18795 * net/trampver.el: Update release number.
18796
e92f3bd3
SM
187972011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18798
850256b5
SM
18799 * custom.el (defcustom): Obey lexical-binding.
18800
e92f3bd3
SM
18801 Fix octave-inf completion problems reported by Alexander Klimov.
18802 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18803 Inherit from octave-mode-syntax-table.
18804 (inferior-octave-mode): Set info-lookup-mode.
18805 (inferior-octave-completion-at-point): New function.
18806 (inferior-octave-complete): Use it and completion-in-region.
18807 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18808 comint-filename-completion.
18809 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18810 symbol elements which shouldn't be word elements.
18811 (octave-font-lock-keywords, octave-beginning-of-defun)
18812 (octave-function-header-regexp): Adjust regexps accordingly.
18813 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18814
cd22b309
JB
188152011-04-25 Juanma Barranquero <lekktu@gmail.com>
18816
18817 * net/gnutls.el (gnutls-errorp): Declare before first use.
18818
8b492194
TZ
188192011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18820
18821 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18822 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18823 default trustfile exists before going to use it. Add missing
5a5fa834 18824 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18825 Reported by Claudio Bley <claudio.bley@gmail.com>.
18826 (open-gnutls-stream): Add usage example.
18827
18828 * net/network-stream.el (network-stream-open-starttls): Give host
18829 parameter to `gnutls-negotiate'.
18830 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18831 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18832
841a1577 188332011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18834
cd22b309
JB
18835 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18836 Use correct match group (bug#8438).
05842630 18837
3ba7869c
CY
188382011-04-24 Chong Yidong <cyd@stupidchicken.com>
18839
512e3ae1
CY
18840 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18841 (package-menu--generate): New arg specifying packages to show.
18842 (package-menu-refresh, package-menu-execute, list-packages):
18843 Callers changed.
18844 (package-show-package-list): New function, replacing deleted
18845 package--list-packages (renamed because it is non-internal).
18846
18847 * finder.el (finder-list-matches): Use package-show-package-list
18848 instead of deleted package--list-packages.
18849
e92f3bd3
SM
18850 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18851 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18852 (vc-annotate-mode-map): Bind it to RET.
18853
7031be6d
UR
188542011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18855
18856 * progmodes/etags.el (next-file): Don't use set-buffer to change
18857 buffers (Bug#8478).
18858
4ef177aa
CY
188592011-04-24 Chong Yidong <cyd@stupidchicken.com>
18860
c8d173eb
CY
18861 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18862
4ef177aa
CY
18863 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18864 (apropos-accumulator): Doc fix.
18865 (apropos-function, apropos-macro, apropos-command)
18866 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18867 (apropos-plist): Add face property.
18868 (apropos-symbols-internal): Fix indentation.
18869 (apropos-print): Simplify help, and recognize apropos-multi-type.
18870 (apropos-print-doc): Use button-type-get to extract the button's
18871 face property. Fill docstring (Bug#8352).
18872
4ffd0d6b 188732011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18874
18875 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18876
c6c32125 18877 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18878 (mpuz-mode-map): Use mapc.
c6c32125
JB
18879 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18880 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18881 Fix typos in docstrings.
18882
58d468b4
JB
18883 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18884 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18885
6470c3c6
JB
18886 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18887
4ffd0d6b 188882011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18889
18890 * minibuffer.el (completion--do-completion): Avoid the "Next char
18891 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18892
3ad8bad0
CY
18893 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18894 mouse-2 into unread-command-events, it is interpreted correctly.
18895
71d73c9c 18896 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18897 (image-toggle-display): Doc fix.
71d73c9c 18898
841a1577 188992011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18900
4ffd0d6b
GM
18901 * textmodes/page.el (what-page): Use line-number-at-pos to
18902 calculate line number (Bug#6825).
6e1dbaa9 18903
c2fb1b60
JB
189042011-04-22 Juanma Barranquero <lekktu@gmail.com>
18905
18906 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18907 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18908 Pass argument NO-DEFAULT to `find-tag-interactive'.
18909
e02f48d7
JB
189102011-04-22 Juanma Barranquero <lekktu@gmail.com>
18911
18912 Lexical-binding cleanup.
18913
18914 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18915 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18916 * progmodes/ada-prj.el (ada-prj-initialize-values)
18917 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18918 (ada-prj-show-value):
18919 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18920 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18921 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18922 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18923 * progmodes/bug-reference.el (bug-reference-push-button):
18924 * progmodes/fortran.el (fortran-line-length):
18925 * progmodes/glasses.el (glasses-change):
18926 * progmodes/octave-mod.el (octave-fill-paragraph):
18927 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18928 (python-pdbtrack-grub-for-buffer, python-sentinel):
18929 * progmodes/sql.el (sql-save-connection):
18930 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18931 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18932 Mark unused parameters.
18933
18934 * progmodes/compile.el (compilation--flush-directory-cache)
18935 (compilation--flush-parse, compile-internal): Mark unused parameters.
18936 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18937 (compilation-next-error-function): Remove unused variable `timestamp'.
18938
18939 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18940 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18941
18942 * progmodes/dcl-mode.el (dcl-end-of-command):
18943 Remove unused variable `start'.
18944 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18945 (dcl-option-value-basic, dcl-option-value-offset)
18946 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18947 Mark unused parameters.
18948 (dcl-save-local-variable): Remove unused variable `val'.
18949 (mode): Declare.
18950
18951 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18952 Mark unused parameters.
18953 (delphi-ignore-changes): Move before first use.
18954 (delphi-charset-token-at): Remove unused variable `start'.
18955 (delphi-else-start): Remove unused variable `if-count'.
18956 (delphi-comment-block-start, delphi-comment-block-end):
18957 Remove unused variable `kind'.
18958 (delphi-indent-line): Remove unused variable `new-point'.
18959
18960 * progmodes/ebrowse.el (ebrowse-files-list)
18961 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18962 Mark unused parameters. Don't quote `lambda'.
18963 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18964 Don't quote `lambda'.
18965 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18966 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18967 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18968 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18969 Use `ignore-errors'.
18970 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18971 (ebrowse-view/find-file-and-search-pattern)
18972 (ebrowse-view/find-member-declaration/definition):
18973 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18974 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18975 Rename parameter PREFIX-ARG to PREFIX.
18976 (ebrowse-tags-read-name): Remove unused variables `start' and
18977 `member-info'.
18978 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18979 to `tags-file'.
18980
18981 * progmodes/etags.el (local-find-tag-hook): Declare.
18982 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18983 Mark unused parameters.
18984
18985 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18986 (executable-interpret): Mark unused parameter.
18987
18988 * progmodes/flymake.el (flymake-process-sentinel)
18989 (flymake-after-change-function)
18990 (flymake-create-temp-with-folder-structure)
18991 (flymake-get-include-dirs-dot): Mark unused parameters.
18992 (flymake-safe-delete-directory): Remove unused variable `err'.
18993
18994 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18995 (speedbar-timer-fn, speedbar-line-text)
18996 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18997 (speedbar-center-buffer-smartly): Declare functions.
18998 (gdb-find-watch-expression): Remove unused variable `array'.
18999 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19000 (gdb-starting): Mark unused parameters.
19001 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19002 (gdb-table-string): Remove unused variable `res'.
19003 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19004 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19005 (gdb-display-buffer): Remove unused variable `cur-size'.
19006
19007 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19008 allow lexical-binding compilation.
19009 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19010 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19011 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19012 Mark unused parameters.
19013 (gud-gdb-marker-filter): Remove unused variable `match'.
19014 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19015 lambda expressions and funcall them, instead of using `fset'.
19016
19017 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19018 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19019
19020 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19021 variable `header-beg'; use `let'.
19022
19023 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19024 `restart', `last-sexp' and `at-do'.
19025
19026 * progmodes/js.el (js--debug): Mark unused parameter.
19027 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19028 (js--splice-into-items): Remove unused variable `item'.
19029 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19030
19031 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19032 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19033 (makefile-complete): Remove unused variable `try'.
19034 (makefile-fill-paragraph, makefile-match-function-end):
19035 Mark unused parameters.
19036
19037 * progmodes/octave-inf.el (inferior-octave-complete):
19038 Remove unused variable `proc'.
19039 (inferior-octave-output-digest): Mark unused parameter.
19040
19041 * progmodes/perl-mode.el (perl-calculate-indent):
19042 Remove unused variable `err'.
19043
19044 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19045 (prolog-indent-line): Mark unused parameters.
19046 (prolog-indent-line): Remove unused variable `beg'.
19047
19048 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19049 (reporter-dont-compact-list): Declare.
19050
19051 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19052 Remove unused variable `char'.
19053 (sh-debug): Mark unused parameter.
19054 (sh-get-indent-info): Remove unused variable `start'.
19055 (sh-calculate-indent): Remove unused variable `var'.
19056
19057 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19058 (simula-electric-keyword): Remove unused variable `null'.
19059 (simula-search-backward, simula-search-forward): Remove unused
19060 variables `begin' and `end'.
19061
19062 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19063 Remove unused variable `pos'.
19064 (vera-electric-tab, vera-comment-uncomment-region):
19065 Mark unused parameters.
19066 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19067
7ede3b65
CY
190682011-04-22 Chong Yidong <cyd@stupidchicken.com>
19069
19070 * emacs-lisp/package.el (package--builtins, package-alist)
19071 (package-load-descriptor, package-built-in-p, package-activate)
19072 (define-package, package-installed-p)
19073 (package-compute-transaction, package-buffer-info)
19074 (package--push): Doc fix. Distinguish more clearly between
19075 version strings and version lists.
19076
121656e9
JB
190772011-04-21 Juanma Barranquero <lekktu@gmail.com>
19078
19079 Lexical-binding cleanup.
19080
19081 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19082 (5x5-make-mutate-best):
19083 * play/fortune.el (fortune-in-buffer):
19084 * play/gomoku.el (gomoku-init-display):
19085 * play/solitaire.el (solitaire, solitaire-do-check):
19086 * play/tetris.el (tetris-default-update-speed-function):
19087 Mark unused parameters.
19088
19089 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19090 (bubbles--shift): Remove unused variable `char-org'.
19091 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19092 (bubbles--show-images): Remove unused variable `char'.
19093
19094 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19095 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19096 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19097 (decipher-analyze-buffer): Use ?\s.
19098 (decipher-make-checkpoint): Remove unused variable `mapping'.
19099
19100 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19101
19102 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19103 Remove unused variable `result'; use `let'.
19104
19105 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19106 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19107 (gametree-children-shown-p, gametree-compute-reduced-score):
19108 Use `ignore-errors'.
19109
19110 * play/handwrite.el (ps-lpr-switches): Declare.
19111 (handwrite): Remove unused variables `pmin' and `lastp'.
19112
19113 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19114
19115 * play/landmark.el (landmark-init-display)
19116 (landmark-update-naught-weights): Mark unused parameters.
19117 (landmark-y): Remove unused variable `noise'. Simplify.
19118 (landmark-human-plays): Remove unused variable `score'.
19119
19120 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19121 (mpuz-try-proposal): Remove unused variable `game'.
19122
19123 * play/zone.el (life-patterns): Declare.
19124
80f499c7
JB
191252011-04-20 Juanma Barranquero <lekktu@gmail.com>
19126
19127 * vc/vc.el (ediff-vc-internal): Declare function.
19128
024ff170
SM
191292011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19130
c0a193ea
SM
19131 * shell.el: Use lexical-binding and std completion UI.
19132 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19133 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19134 comint-preoutput-filter-functions rather than on
19135 comint-output-filter-functions.
19136 (shell-command-completion, shell--command-completion-data)
19137 (shell-filename-completion, shell-environment-variable-completion)
19138 (shell-c-a-p-replace-by-expanded-directory): New functions.
19139 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19140 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19141 (shell-dynamic-complete-environment-variable): Use them.
19142 (shell-dynamic-complete-as-environment-variable)
19143 (shell-dynamic-complete-as-command): Remove.
19144 (shell-match-partial-variable): Match past point.
19145 * comint.el: Clean up use of completion-at-point-functions.
19146 (comint-completion-at-point): New function.
19147 (comint-mode): Use it completion-at-point-functions.
19148 (comint-dynamic-complete): Make it obsolete.
19149 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19150 (comint-c-a-p-replace-by-expanded-history): New function.
19151 (comint-dynamic-complete-functions)
19152 (comint-replace-by-expanded-history): Use it.
19153 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19154 termination strings. Try harder to avoid second try-completion.
19155 (completion-in-region-mode-map): Disable bindings that don't work yet.
19156
2dbaa080
SM
19157 * comint.el: Use lexical-binding. Require CL.
19158 (comint-dynamic-complete-functions): Use comint-filename-completion.
19159 (comint-completion-addsuffix): Tweak custom type.
19160 (comint-filename-completion, comint--common-suffix)
19161 (comint--common-quoted-suffix, comint--table-subvert)
19162 (comint--complete-file-name-data): New functions.
19163 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19164 (comint-dynamic-list-filename-completions): Use them.
19165 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19166
2dbaa080
SM
19167 * minibuffer.el (completion-in-region-mode):
19168 Keep completion-in-region-mode--predicate global.
19169 (completion-in-region--postch):
19170 Assume completion-in-region-mode--predicate is not null.
19171
c79a6f38
SM
19172 * progmodes/flymake.el (flymake-start-syntax-check-process):
19173 Obey `dir'. Simplify.
19174
024ff170
SM
19175 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19176 we're in VC after all.
19177
1c6c854e
CS
191782011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19179
19180 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19181 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19182 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19183
bed7f140
SM
191842011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19185
332e62ab
SM
19186 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19187 add sanity check.
19188
bed7f140
SM
19189 * obsolete/erc-hecomplete.el: Make obsolete.
19190 * obsolete/: Standardize obsolescence info in the header.
19191
f195c582
GM
191922011-04-20 Glenn Morris <rgm@gnu.org>
19193
19194 * calendar/solar.el (solar-horizontal-coordinates):
19195 Use the longitude argument rather than `calendar-longitude'.
19196 (solar-date-next-longitude): Remove unused locals.
19197
cb79b8c0
VJL
191982011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19199
19200 * whitespace.el: New version 13.2.1.
19201
192022011-04-20 felix <EmacsWiki> (tiny change)
19203
d8e4b68b 19204 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19205 switching between major modes on a file.
19206
602ea69d
SM
192072011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19208
19209 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19210 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19211 multi-line comments as well.
19212
06b60517
JB
192132011-04-19 Juanma Barranquero <lekktu@gmail.com>
19214
19215 Lexical-binding cleanup.
19216
19217 * arc-mode.el (archive-mode-revert):
19218 * cmuscheme.el (scheme-interactively-start-process):
19219 * custom.el (custom-initialize-delay):
19220 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19221 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19222 * emacs-lock.el (emacs-lock-clear-sentinel):
19223 * ezimage.el (defezimage):
19224 * follow.el (follow-avoid-tail-recenter):
19225 * fringe.el (set-fringe-mode-1):
19226 * generic-x.el (bat-generic-mode-compile):
19227 * help-mode.el (help-info-variable, help-do-xref)
19228 (help-mode-revert-buffer):
19229 * help.el (view-emacs-todo):
19230 * iswitchb.el (iswitchb-completion-help):
19231 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19232 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19233 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19234 * locate.el (locate-update):
19235 * longlines.el (longlines-encode-region)
19236 (longlines-after-change-function):
19237 * outline.el (outline-isearch-open-invisible):
19238 * ps-def.el (declare-function, charset-dimension, char-width)
19239 (encode-char):
19240 * ps-mule.el (ps-mule-plot-string):
19241 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19242 (recentf-edit-list-select, recentf-edit-list-validate)
19243 (recentf-open-files-action):
19244 * rect.el (delete-whitespace-rectangle-line)
19245 (rectangle-number-line-callback):
19246 * register.el (window-configuration-to-register)
19247 (frame-configuration-to-register):
19248 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19249 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19250 (xselect-convert-to-targets, xselect-convert-to-delete)
19251 (xselect-convert-to-filename, xselect-convert-to-charpos)
19252 (xselect-convert-to-lineno, xselect-convert-to-colno)
19253 (xselect-convert-to-os, xselect-convert-to-host)
19254 (xselect-convert-to-user, xselect-convert-to-class)
19255 (xselect-convert-to-name, xselect-convert-to-integer)
19256 (xselect-convert-to-atom, xselect-convert-to-identity):
19257 * subr.el (declare, ignore, process-kill-without-query)
19258 (text-clone-maintain):
19259 * terminal.el (te-get-char, te-tic-sentinel):
19260 * tool-bar.el (tool-bar-make-keymap):
19261 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19262 * type-break.el (type-break-mode, type-break-noninteractive-query):
19263 * view.el (View-back-to-mark):
19264 * wid-browse.el (widget-browse-action, widget-browse-widget)
19265 (widget-browse-widgets, widget-browse-sexp):
19266 * widget.el (define-widget-keywords):
19267 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19268 Mark unused parameters.
19269
19270 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19271 (align-areas): Remove unused variable `look'.
19272 (align-region): Remove unused variables `real-end' and `pos-list'.
19273
19274 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19275
19276 * bindings.el (mode-line-modified, mode-line-remote):
19277 Mark unused parameters.
19278 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19279
19280 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19281 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19282
19283 * comint.el (comint-history-isearch-pop-state)
19284 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19285 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19286 (comint-substitute-in-file-name): Doc fix.
19287
19288 * completion.el (cmpl-statistics-block): Mark unused parameter.
19289 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19290 (save-completions-to-file, load-completions-from-file):
19291 Remove unused local variable `e'.
19292
19293 * composite.el (compose-chars): Remove unused variable `len'.
19294 (lgstring-insert-glyph): Remove unused variable `g'.
19295 (compose-glyph-string): Remove unused variables `ascent',
19296 `descent', `lbearing' and `rbearing'.
19297 (compose-glyph-string-relative): Remove unused variables
19298 `lbearing', `rbearing' and `wadjust'.
19299 (compose-gstring-for-graphic): Remove unused variables `header',
19300 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19301 (compose-gstring-for-terminal): Remove unused variables `header'
19302 and `nchars'. Use `let', not `let*'.
19303
19304 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19305 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19306 (Custom-buffer-done, custom-buffer-create-internal)
19307 (custom-browse-visibility-action, custom-browse-group-tag-action)
19308 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19309 (widget-magic-mouse-down-action, custom-toggle-parent)
19310 (custom-add-parent-links, custom-toggle-hide-variable)
19311 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19312 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19313 (custom-face-menu-create, custom-variable-menu-create, get)
19314 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19315 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19316 (customize-apropos): Remove unused variable `tests'.
19317 (custom-group-value-create): Remove unused variable `hidden-p'.
19318 (sort-fold-case): Declare.
19319
19320 * cus-theme.el (custom-reset-standard-faces-list)
19321 (custom-reset-standard-variables-list): Declare.
19322 (customize-create-theme, custom-theme-revert, custom-theme-write)
19323 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19324 Mark unused parameters.
19325
19326 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19327
19328 * delim-col.el (delimit-columns-max): Move defvar before first use.
19329
19330 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19331 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19332
19333 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19334 (auto-insert): Declare.
19335 (desktop-restore-file-buffer): Rename desktop-* parameters;
19336 mark unused ones.
19337 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19338 (desktop-buffer): Rename desktop-* parameters.
19339
19340 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19341 (dframe-reposition-frame-xemacs, dframe-help-echo)
19342 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19343 Mark unused parameters.
19344
19345 * dired-aux.el (backup-extract-version-start, overwrite-query)
19346 (overwrite-backup-query, rename-regexp-query)
19347 (rename-non-directory-query): Declare.
19348 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19349 (dired-add-entry): Remove unused variable `orig-file-name'.
19350 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19351 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19352 `dired-copy-preserve-time' directly.
19353 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19354 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19355
19356 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19357 (dired-virtual-revert, dired-make-relative-symlink):
19358 Mark unused parameters.
19359 (manual-program): Declare.
19360 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19361 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19362 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19363
19364 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19365
19366 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19367
19368 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19369 Declare.
19370
19371 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19372
19373 * electric.el (Electric-command-loop): Rename parameter
19374 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19375
19376 * expand.el (expand-in-literal): Remove unused variable `here'.
19377
19378 * facemenu.el (facemenu-add-new-color):
19379 Remove unused variable `docstring'.
19380
19381 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19382 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19383 (face-attr-construct): Mark unused parameter. Doc fix.
19384 (read-color): Remove unused variable `hex-string'.
19385
19386 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19387 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19388 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19389 (display-buffer-other-frame): Remove unused variable `old-window'.
19390 (kill-buffer-hook): Declare.
19391 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19392 Mark unused parameters.
19393 (after-find-file): Pass 1 to `auto-save-mode', not t.
19394
19395 * files-x.el (auto-insert): Declare.
19396 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19397
19398 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19399 variable `buf'. Mark unused parameter.
06b60517
JB
19400 (find-lisp-insert-directory): Mark unused parameter.
19401
19402 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19403 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19404 (format-common-tail): Remove, unused.
19405 (format-deannotate-region): Remove unused variable `loc'.
19406 (format-annotate-region): Remove unused variable `p'.
19407 (format-annotate-single-property-change): Remove unused variables
19408 `default' and `tail'.
19409
19410 * forms.el (read-file-filter): Declare.
19411 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19412
19413 * frame.el (frame-creation-function-alist): Mark unused parameter.
19414 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19415
19416 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19417 Remove unused parameters.
19418 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19419 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19420
19421 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19422 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19423 (hfy-prepare-tag-map): Mark unused parameters.
19424 (htmlfontify-buffer): Use `called-interactively-p'.
19425
19426 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19427 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19428 (ibuffer-do-occur): Mark unused parameters.
19429 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19430 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19431
19432 * ibuffer.el: Don't quote `lambda'.
19433 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19434 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19435 Mark unused parameters.
19436
19437 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19438 (ido-completing-read): Mark unused parameters.
19439 (ido-copy-current-word): Mark unused parameters;
19440 remove unused variable `name'.
19441 (ido-sort-merged-list): Remove unused parameter `dirs'.
19442
19443 * ielm.el (ielm-input-sender): Mark unused parameter.
19444 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19445 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19446 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19447 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19448 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19449
19450 * image-dired.el (image-dired-display-thumbs): Remove unused
19451 variables `curr-file' and `count'.
19452 (image-dired-remove-tag): Remove unused variable `start'.
19453 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19454 variable `curr-file'
19455 (image-dired-rotate-original): Remove unused variable `temp-file'.
19456 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19457 Remove unused variable `file'.
19458 (image-dired-gallery-generate): Remove unused variable `curr'.
19459 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19460
19461 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19462
19463 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19464
19465 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19466
19467 * isearch.el (minibuffer-history-symbol): Declare.
19468 (isearch-edit-string): Remove unused variable `err'.
19469 (isearch-message-prefix, isearch-message-suffix):
19470 Mark unused parameters.
19471
19472 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19473
19474 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19475
19476 * makesum.el (double-column): Remove unused variable `cnt'.
19477
19478 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19479 (ido-ignore-item-temp-list): Declare.
19480
19481 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19482 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19483 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19484 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19485 `mouse-col-delta'.
19486
19487 * mouse-sel.el (mouse-extend-internal):
19488 Remove unused variable `orig-window-frame'.
19489
19490 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19491 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19492 Move declarations before first use.
19493 (pcomplete-opt): Mark unused parameters; doc fix.
19494
19495 * proced.el (proced-revert): Mark unused parameter.
19496 (proced-send-signal): Remove unused variable `err'.
19497
19498 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19499 Rename parameter PREFIX-ARG to ARG.
19500 (ps-basic-plot-string, ps-basic-plot-whitespace):
19501 Mark unused parameters.
19502
19503 * replace.el (replace-count): Define.
19504 (occur-revert-function): Mark unused parameters.
19505 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19506 (isearch-case-fold-search, isearch-string): Declare.
19507 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19508 bind `case-fold-search'. Remove unused variables `beg' and `end',
19509 and simplify.
19510 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19511 COUNT and bind `replace-count'.
19512 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19513 to COUNT.
19514
19515 * savehist.el (print-readably, print-string-length): Declare.
19516
19517 * shadowfile.el (shadow-expand-cluster-in-file-name):
19518 Remove unused variable `cluster'.
19519 (shadow-copy-file): Remove unused variable `i'.
19520 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19521 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19522 (shadow-define-literal-group, shadow-define-regexp-group)
19523 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19524
19525 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19526 (shell): Use `called-interactively-p'.
19527 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19528
19529 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19530 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19531 (delete-backward-char): Remove unused variable `ocol'.
19532 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19533 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19534 (event-apply-hyper-modifier, event-apply-shift-modifier)
19535 (event-apply-control-modifier, event-apply-meta-modifier):
19536 Mark unused parameters.
19537 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19538 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19539
19540 * speedbar.el (speedbar-ignored-directory-expressions)
19541 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19542 (speedbar-find-file, speedbar-dir-follow)
19543 (speedbar-directory-buttons-follow, speedbar-tag-find)
19544 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19545 (speedbar-buffers-line-directory, speedbar-buffer-click):
19546 Mark unused parameters.
19547 (speedbar-tag-file): Remove unused variable `mode'.
19548 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19549
19550 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19551
19552 * talk.el (talk): Remove unused variable `display'.
19553
19554 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19555 (tar-write-region-annotate): Mark unused parameter.
19556
19557 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19558 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19559 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19560 warning by another.
19561
19562 * time-stamp.el (time-stamp-string-preprocess):
19563 Remove unused variable `require-padding'.
19564
19565 * tree-widget.el (widget-glyph-enable): Declare.
19566 (tree-widget-action): Mark unused parameter.
19567
19568 * w32-fns.el (x-get-selection): Mark unused parameter.
19569 (autoload-make-program, generated-autoload-file): Declare.
19570
19571 * wdired.el (wdired-revert): Mark unused parameters.
19572 (wdired-xcase-word): Remove unused variable `err'.
19573
19574 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19575 (whitespace-help-scroll): Remove unused variable `data-help'.
19576
19577 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19578 (widget-image-insert, widget-after-change, default)
19579 (widget-default-format-handler, widget-default-notify)
19580 (widget-default-prompt-value, widget-info-link-action)
19581 (widget-url-link-action, widget-function-link-action)
19582 (widget-variable-link-action, widget-file-link-action)
19583 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19584 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19585 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19586 (widget-insert-button-action, widget-delete-button-action, visibility)
19587 (widget-documentation-link-action, widget-documentation-string-action)
19588 (widget-const-prompt-value, widget-regexp-match, symbol)
19589 (widget-coding-system-prompt-value)
19590 (widget-key-sequence-value-to-external, sexp)
19591 (widget-sexp-value-to-internal, character, vector, cons)
19592 (widget-choice-prompt-value, widget-boolean-prompt-value)
19593 (widget-color--choose-action): Mark unused parameters.
19594 (widget-item-match-inline, widget-choice-match-inline)
19595 (widget-checklist-match, widget-checklist-match-inline)
19596 (widget-group-match): Rename parameter VALUES to VALS.
19597 (widget-field-value-set): Remove unused variable `size'.
19598 (widget-color-action): Remove unused variables `value' and `start'.
19599
19600 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19601 variable `dir'. Doc fix.
06b60517
JB
19602 (windmove-find-other-window): Don't pass it.
19603
19604 * window.el (count-windows): Mark unused parameter.
19605 (bw-adjust-window): Remove unused variable `err'.
19606
19607 * woman.el (woman-file-name): Remove unused variable `default'.
19608 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19609 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19610 (global-font-lock-mode): Declare.
19611 (woman-decode-region): Mark unused parameter.
19612 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19613
19614 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19615 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19616 (x-dnd-handle-moz-url): Remove unused variable `title'.
19617 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19618
19619 * xml.el (xml-parse-tag, xml-parse-attlist):
19620 Remove unused variable `pos'.
19621
bc4f7f3d
GM
196222011-04-19 Glenn Morris <rgm@gnu.org>
19623
19624 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19625 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19626 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19627 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19628 * calendar/cal-html.el (cal-html-insert-minical):
19629 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19630 (calendar-mark-date-pattern):
19631 Prefix "unused" locals.
19632
19633 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19634 optional argument `style'.
19635
19636 * calendar/appt.el (appt-make-list):
19637 * calendar/cal-china.el (calendar-chinese-date-string):
19638 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19639 (diary-hebrew-yahrzeit):
19640 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19641 * calendar/calendar.el (calendar-generate-window):
19642 * calendar/time-date.el (time-to-days):
19643 Remove unused local variables.
19644
16a43933
CY
196452011-04-18 Chong Yidong <cyd@stupidchicken.com>
19646
19647 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19648 glyphless-char-display table.
19649 (tabulated-list-glyphless-char-display): New var.
19650
7eed1860
SS
196512011-04-18 Sam Steingold <sds@gnu.org>
19652
19653 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19654 to acknowledgments.
19655
4d2d1ccd
GM
196562011-04-17 Glenn Morris <rgm@gnu.org>
19657
19658 * calendar/diary-lib.el (diary-sexp-entry):
19659 * calendar/holidays.el (holiday-sexp):
19660 Set debug-on-error rather than the removed stack-trace-on-error.
19661
239da61d
GM
196622011-04-16 Glenn Morris <rgm@gnu.org>
19663
19664 * progmodes/f90.el: Use lexical-binding.
19665 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19666
8b05752a
SM
196672011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19668
daca8ba5
SM
19669 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19670 (mail-mode): Setup mailalias completion here instead.
19671 * mail/mailalias.el: Use lexical-binding.
19672 (pattern, mailalias-done): Declare dynamic.
19673 (mail-completion-at-point-function): New function, from mail-complete.
19674 (mail-complete): Use it.
19675 (mail-completion-expand): New function.
19676 (mail-get-names): Use it.
19677 (mail-directory, mail-directory-process, mail-directory-stream):
19678 Don't use `pattern' for lexically bound arg.
19679
6f542485
SM
19680 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19681
037e7c3f
SM
19682 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19683 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19684 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19685
8b05752a
SM
19686 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19687 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19688 (byte-interactive-p): Define them again, for use when inlining
19689 old code.
19690
49093f60
JB
196912011-04-15 Juanma Barranquero <lekktu@gmail.com>
19692
19693 * loadup.el: Use `string-to-number', not `string-to-int'.
19694
b5b8e7de
SM
196952011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19696
19697 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19698 gud-gdb-complete-command.
19699 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19700 (gud-gdb-completion-at-point): New function.
19701 (gud-gdb-completions): Remove.
19702
f42efeb5
MA
197032011-04-14 Michael Albinus <michael.albinus@gmx.de>
19704
49093f60
JB
19705 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19706 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19707 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19708 whether `executable-find' is bound.
f42efeb5
MA
19709
19710 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19711
e240cc21
SM
197122011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19713
19714 * minibuffer.el (completion-in-region-mode-predicate)
19715 (completion-in-region-mode--predicate): New vars.
19716 (completion-in-region, completion-in-region--postch)
19717 (completion-in-region-mode): Use them.
19718 (completion--capf-wrapper): Also return the hook function.
19719 (completion-at-point, completion-help-at-point):
19720 Adjust and provide a predicate.
c2bd2ab0
SM
19721
19722 Preserve arg names for advice of subr and lexical functions (bug#8457).
19723 * help-fns.el (help-function-arglist): Consolidate the subr and
19724 new-byte-code cases. Add argument `preserve-names' to extract names
19725 from the docstring when needed.
19726 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19727 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19728 (ad-arglist): Use help-function-arglist's new arg.
19729 (ad-definition-type): Use cond.
19730
c183f693
JB
197312011-04-13 Juanma Barranquero <lekktu@gmail.com>
19732
06641a47
JB
19733 * autorevert.el (auto-revert-handler):
19734 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19735 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19736 Don't quote lambda.
19737
c183f693
JB
19738 * image-mode.el (image-transform-set-scale):
19739 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19740
1e3b6001
G
197412011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19742
19743 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19744 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19745 Upgrades via gnutls-cli are too slow to be done opportunistically.
19746
2d6af8dd
JB
197472011-04-12 Juanma Barranquero <lekktu@gmail.com>
19748
19749 * dframe.el (dframe-current-frame): Remove spurious quote.
19750
c0749a51
GM
197512011-04-12 Glenn Morris <rgm@gnu.org>
19752
088d0d61
GM
19753 * calendar/cal-tex.el (cal-tex-end-document):
19754 Try to automatically use latin1 input if needed.
19755
c0749a51
GM
19756 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19757 Don't try to cons a mark onto an empty element.
19758
5c90fde0
LL
197592011-04-11 Leo Liu <sdl.web@gmail.com>
19760
19761 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19762 buffers.
19763 (ido-kill-buffer-at-head): Support killing virtual buffers.
19764
369e974d
CY
197652011-04-10 Chong Yidong <cyd@stupidchicken.com>
19766
19767 * minibuffer.el (completion-show-inline-help): New var.
19768 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19769 (minibuffer-force-complete, minibuffer-complete-word):
19770 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19771
19772 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19773 to avoid interference from inline help (Bug#5849).
19774
37f1c930
LL
197752011-04-10 Leo Liu <sdl.web@gmail.com>
19776
099c39a4
JB
19777 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19778 Fix typo.
37f1c930 19779
a32d4040
CY
197802011-04-09 Chong Yidong <cyd@stupidchicken.com>
19781
19782 * image-mode.el (image-toggle-display-image): Signal an error if
19783 not in Image mode.
19784 (image-transform-mode, image-transform-resize)
19785 (image-transform-set-rotation): Doc fix.
daca8ba5 19786 (image-transform-set-resize): Delete.
a32d4040
CY
19787 (image-transform-set-scale, image-transform-fit-to-height)
19788 (image-transform-fit-to-width): Handle image-toggle-display-image
19789 and image-transform-resize directly.
19790
099c39a4 197912011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19792
19793 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19794 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19795 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19796 (doc-view-mode-map): Add bindings for the new functions.
19797
099c39a4 197982011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19799
4d61f28d 19800 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19801 Fix typo in docstring.
19802
3726838a
EZ
198032011-04-08 Eli Zaretskii <eliz@gnu.org>
19804
04f33f1e
EZ
19805 * files.el (file-size-human-readable): Produce one digit after
19806 decimal, like "ls -lh" does.
19807
19808 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19809 the file size representation.
19810
3726838a
EZ
19811 * simple.el (list-processes): If async subprocesses are not
19812 available, error out with a clear error message.
19813
cbb59342
CY
198142011-04-08 Chong Yidong <cyd@stupidchicken.com>
19815
19816 * help.el (help-form-show): New function, to be called from C.
19817 Put help-form output in a buffer named differently than *Help*.
19818
e3971c44
EZ
198192011-04-08 Eli Zaretskii <eliz@gnu.org>
19820
19821 * files.el (file-size-human-readable): New function.
19822
19823 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19824 computing the representation inline. Don't require `cl'.
19825
12544bbe
GM
198262011-04-08 Glenn Morris <rgm@gnu.org>
19827
a1de6c6a
GM
19828 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19829
3c4671f4
GM
19830 * net/browse-url.el (browse-url-firefox):
19831 Test system-type, not system-configuration.
19832
b605679c
GM
19833 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19834 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19835 Use log-edit-empty-buffer-p. (Bug#7598)
19836
56442f0c
GM
19837 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19838 (rlogin-mode-map): Initialize in the defvar.
19839 (rlogin): Use ignore-errors.
19840
12544bbe
GM
19841 * replace.el (occur-mode-map): Some fixes for menu items.
19842
eb237b0f
AH
198432011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19844
19845 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19846
7d668f2c
CY
198472011-04-06 Chong Yidong <cyd@stupidchicken.com>
19848
e67a13ab
CY
19849 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19850 issuing unused warnings.
19851
19852 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19853 macro directly.
19854
7d668f2c
CY
19855 * simple.el: Lisp reimplement of list-processes. Based on an
19856 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19857 (process-menu-mode): New major mode.
19858 (list-processes--refresh, list-processes):
19859 (process-menu-visit-buffer): New functions.
19860
19861 * files.el (save-buffers-kill-emacs): Don't assume any return
19862 value of list-processes, which is undocumented anyway.
19863
a83ec3c9
CY
198642011-04-06 Chong Yidong <cyd@stupidchicken.com>
19865
19866 * emacs-lisp/tabulated-list.el: New file.
19867
e91a96fe
CY
19868 * emacs-lisp/package.el: Use Tabulated List mode.
19869 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19870 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19871 table format using Tabulated List mode variables.
19872 (package--push): New macro, replacing package-list-maybe-add.
19873 (package-menu--generate): Use package--push. Renamed from
19874 package--generate-package-list.
19875 (package-menu-refresh, list-packages): Use it.
daca8ba5 19876 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19877 Return insertion data instead of inserting it directly.
099c39a4
JB
19878 (package-menu-describe-package, package-menu-execute):
19879 Use tabulated-list-get-id.
e91a96fe
CY
19880 (package-menu-mark-delete, package-menu-mark-install)
19881 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19882 (package-menu-mark-obsolete-for-deletion):
19883 Use tabulated-list-put-tag.
e91a96fe
CY
19884 (package--list-packages, package-menu-revert)
19885 (package-menu-get-package, package-menu-get-version)
19886 (package-menu-sort-by-column): Functions deleted.
19887 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19888 (package-menu--status-predicate, package-menu--version-predicate)
19889 (package-menu--name-predicate)
19890 (package-menu--description-predicate): Handle arguments in the
19891 Tabulated List format.
19892 (package-list-packages-no-fetch): Call list-packages.
19893
3e214b50
JB
198942011-04-06 Juanma Barranquero <lekktu@gmail.com>
19895
19896 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19897 (after-find-file): Don't bind it.
3e214b50
JB
19898 (revert-buffer-in-progress-p): New variable.
19899 (revert-buffer): Bind it.
19900 Pass nil for `after-find-file-from-revert-buffer'.
19901
19902 * saveplace.el (save-place-find-file-hook): Use new variable
19903 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19904
3f0f1700
GM
199052011-04-06 Glenn Morris <rgm@gnu.org>
19906
c0274801
GM
19907 * Makefile.in (AUTOGEN_VCS): New variable.
19908 (autoloads): Use $AUTOGEN_VCS.
19909
3f0f1700
GM
19910 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19911 * calendar/calendar.el (calendar-mode-map):
19912 Check for toolkit scroll bars. (Bug#8305)
19913
41ea9e48
CY
199142011-04-05 Chong Yidong <cyd@stupidchicken.com>
19915
19916 * minibuffer.el (completion-in-region--postch)
19917 (completion-in-region-mode): Remove unnecessary messages.
19918
6194c800
JB
199192011-04-05 Juanma Barranquero <lekktu@gmail.com>
19920
33256f14
JB
19921 * font-lock.el (font-lock-refresh-defaults):
19922 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19923 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19924
6194c800
JB
19925 * info.el (Info-directory-list, Info-read-node-name-2)
19926 (Info-split-parameter-string): Doc fixes.
19927 (Info-virtual-nodes): Reflow docstring.
19928 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19929 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19930 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19931 Fix typos in docstrings.
19932 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19933 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19934 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19935 (Info-restore-desktop-buffer): Mark unused parameters.
19936 (Info-directory-find-file, Info-directory-find-node)
19937 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19938 (Info-virtual-index-find-node, Info-apropos-find-file)
19939 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19940 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19941 (Info-virtual-index): Remove unused local variable `nodename'.
19942
b87a8200 199432011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19944
b87a8200
DD
19945 * net/rcirc.el: Update my e-mail address.
19946 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19947
3b2ff876
CY
199482011-04-05 Chong Yidong <cyd@stupidchicken.com>
19949
19950 * startup.el (command-line): Save the cursor's theme-face
19951 directly, instead of using face-override-spec.
19952
19953 * custom.el (load-theme): Minor optimization in assigning faces.
19954
8d17e7ca
JB
199552011-04-04 Juanma Barranquero <lekktu@gmail.com>
19956
19957 * help-fns.el (describe-variable): Complete all variables having
19958 documentation, including keywords.
19959 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19960
2fbc1934
JB
199612011-04-04 Juanma Barranquero <lekktu@gmail.com>
19962
19963 Convert to lexical-binding.
19964
19965 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19966 (bs--get-marked-string, bs--get-modified-string)
19967 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19968 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19969 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19970
19971 * ehelp.el (electric-help-execute-extended)
19972 (electric-help-ctrl-x-prefix):
19973 * hexl.el (hexl-revert-buffer-function):
19974 * linum.el (linum-after-change, linum-after-scroll):
19975 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19976
19977 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19978
74f50695
DU
199792011-04-04 Daiki Ueno <ueno@unixuser.org>
19980
19981 * epa-dired.el:
19982 * epa-mail.el:
19983 * epa-hook.el:
19984 * epa-file.el:
19985 * epa.el:
19986 * epg.el: Use lexical binding.
19987
c11325f7
CY
199882011-04-03 Chong Yidong <cyd@stupidchicken.com>
19989
0d9e9a12
CY
19990 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19991
c11325f7 19992 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19993 dictionary case for flyspell-mark-duplications-exceptions.
19994 Use regexp matching for languages.
c11325f7
CY
19995 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19996 default dictionary (Bug#7926).
19997
da91b5f2
CY
199982011-04-02 Chong Yidong <cyd@stupidchicken.com>
19999
099c39a4
JB
20000 * emacs-lisp/package.el (package--with-work-buffer):
20001 Recognize https URLs.
da91b5f2 20002
099c39a4
JB
20003 * net/network-stream.el: Move from gnus/proto-stream.el.
20004 Change prefix to network-stream throughout.
da91b5f2
CY
20005 (open-protocol-stream): Merge into open-network-stream, leaving
20006 open-protocol-stream as an alias. Handle nil BUFFER args.
20007
20008 * subr.el (open-network-stream): Move to net/network-stream.el.
20009
afa8e9f6
GM
200102011-04-02 Glenn Morris <rgm@gnu.org>
20011
1d2e369d
GM
20012 * find-dired.el (find-exec-terminator): New option.
20013 (find-ls-option): Test for -ls support.
20014 (find-ls-subdir-switches): Test for -b in find-ls-option.
20015 (find-dired, find-grep-dired): Doc fixes.
20016 (find-dired): Use find-exec-terminator.
20017
8abb7da8 20018 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20019 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20020 (find-name-arg): Remove purecopy.
8abb7da8 20021
f3ca7378
GM
20022 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20023 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20024 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20025 accordingly. Don't add the null-device if not needed.
20026
afa8e9f6
GM
20027 * files.el (save-some-buffers): Doc fix.
20028
35eae264
EZ
200292011-04-02 Eli Zaretskii <eliz@gnu.org>
20030
20031 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20032
26b51db5
JB
200332011-04-01 Juanma Barranquero <lekktu@gmail.com>
20034
20035 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20036 Use `dolist' rather than `mapcar'.
20037
7200d79c
SM
200382011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20039
03408648 20040 Add lexical binding.
7200d79c 20041
03408648
SM
20042 * subr.el (apply-partially): Use new closures rather than CL.
20043 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20044 (dolist, dotimes): Use slightly different expansion for lexical code.
20045 (functionp): Move to C.
20046 (letrec): New macro.
20047 (with-wrapper-hook): Use it and apply-partially instead of CL.
20048 (eval-after-load): Preserve lexical-binding.
20049 (save-window-excursion, with-output-to-temp-buffer): Turn them
20050 into macros.
7200d79c 20051
03408648
SM
20052 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20053
20054 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20055 than the arglist.
20056 (help-add-fundoc-usage): Don't add `Not documented'.
20057 (help-function-arglist): Handle closures, subroutines, and new
20058 byte-code-functions.
20059 (help-make-usage): Remove leading underscores.
20060 (describe-function-1): Handle closures.
20061 (describe-variable): Use special-variable-p for completion.
20062
20063 * files.el (lexical-binding): Declare safe.
f488fb65 20064
03408648
SM
20065 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20066 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20067 (pcase): Add `let' pattern.
20068 Change memoization so it actually works.
20069 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20070 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20071 <let>: New case.
f488fb65 20072
03408648
SM
20073 * emacs-lisp/macroexp.el: Use lexical binding.
20074 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20075 Don't convert ' to #' without checking that it's indeed quoting
20076 a lambda.
20077
20078 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20079 Use eval-sexp-add-defvars.
03408648
SM
20080 (eval-sexp-add-defvars): New fun.
20081
20082 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20083
20084 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20085 Don't autoload.
20086 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20087 than the internal `byte-compile-lambda'.
20088 (defmethod): Don't hide code under quotes.
20089 (eieio-defmethod): New `code' argument.
20090
20091 * emacs-lisp/eieio-comp.el: Remove.
20092
20093 * emacs-lisp/edebug.el (edebug-eval-defun)
20094 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20095 (edebug-toggle): Avoid `eval'.
20096
20097 * emacs-lisp/disass.el (disassemble-internal): Handle new
20098 `closure' objects.
20099 (disassemble-1): Handle new byte codes.
20100
20101 * emacs-lisp/cl.el (pushnew): Silence warning.
20102
20103 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20104 (cl-byte-compile-throw): Remove.
20105 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20106
20107 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20108 closures.
20109
20110 * emacs-lisp/cconv.el: New file.
20111
20112 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20113 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20114 (byte-compile-initial-macro-environment):
20115 Handle declare-function here.
20116 (byte-compile--lexical-environment): New var.
20117 (byte-stack-ref, byte-stack-set, byte-discardN)
20118 (byte-discardN-preserve-tos): New lap codes.
20119 (byte-interactive-p): Don't use any more.
20120 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20121 New macros.
20122 (byte-compile-lapcode): Use them and handle new lap codes.
20123 (byte-compile-obsolete): Remove.
20124 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20125 (byte-compile-arglist-warn): Check late def of inlinable funs.
20126 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20127 since they should have been expanded by now.
20128 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20129 (byte-compile-from-buffer): Remove unused second arg.
20130 (byte-compile-preprocess): New function.
20131 (byte-compile-toplevel-file-form): New function to distinguish
20132 file-form calls from outside from file-form calls from hunk-handlers.
20133 (byte-compile-file-form): Simplify.
20134 (byte-compile-file-form-defsubst): Remove.
20135 (byte-compile-file-form-defmumble): Simplify now that
20136 byte-compile-lambda always returns a byte-code-function.
20137 (byte-compile): Preprocess.
20138 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20139 Remove, not used any more.
20140 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20141 (byte-compile-make-args-desc): New funs.
20142 (byte-compile-lambda): Handle lexical functions. Always return
20143 a byte-code-function.
20144 (byte-compile-reserved-constants): New var, to make up room for
20145 closed-over variables.
20146 (byte-compile-constants-vector): Obey it.
20147 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20148 (byte-compile-macroexpand-declare-function): New function.
20149 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20150 byte-code-functions.
20151 (byte-compile-form): Check obsolescence here.
20152 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20153 (byte-compile-variable-ref): Remove.
20154 (byte-compile-dynamic-variable-op): New fun.
20155 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20156 (byte-compile-variable-set): New funs.
20157 (byte-compile-discard): Add 2 args.
20158 (byte-compile-stack-ref, byte-compile-stack-set)
20159 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20160 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20161 macroexpand-all instead.
20162 (byte-compile-quote-form): Remove.
20163 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20164 (byte-compile-bind, byte-compile-unbind): New funs.
20165 (byte-compile-let): Handle let* and lexical binding.
20166 (byte-compile-let*): Remove.
20167 (byte-compile-catch, byte-compile-unwind-protect)
20168 (byte-compile-track-mouse, byte-compile-condition-case):
20169 Handle a new :fun-body form, used for lexical scoping.
20170 (byte-compile-save-window-excursion)
20171 (byte-compile-with-output-to-temp-buffer): Remove.
20172 (byte-compile-defun): Simplify.
20173 (byte-compile-stack-adjustment): New fun.
20174 (byte-compile-out): Use it.
20175 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20176
20177 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20178 handler any more.
20179
20180 * emacs-lisp/byte-opt.el: Use lexical binding.
20181 (byte-inline-lapcode): Remove (to bytecomp).
20182 (byte-compile-inline-expand): Pay attention to inlining to/from
20183 lexically bound code.
20184 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20185 any more.
20186 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20187 any more and don't call compiler-macros.
20188 (byte-compile-splice-in-already-compiled-code): Remove.
20189 (byte-code): Don't inline any more.
20190 (disassemble-offset): Receive `bytes' as argument rather than via
20191 dynamic scoping.
20192 (byte-compile-tag-number): Declare before first use.
20193 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20194 `return' even if make-spliceable.
20195 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20196 obsolete interactive-p.
20197 (byte-optimize-lapcode): Optimize new lap-codes.
20198 Don't trip up on new form of `byte-constant' lap code.
20199
20200 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20201
20202 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20203
20204 * custom.el (custom-initialize-default, custom-declare-variable):
20205 Use `defvar'.
20206
20207 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20208 New variables.
20209 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20210 (COMPILE_FIRST): Add macroexp and cconv.
20211 * makefile.w32-in: Mirror changes in Makefile.in.
20212
20213 * vc/cvs-status.el:
20214 * vc/diff-mode.el:
20215 * vc/log-edit.el:
20216 * vc/log-view.el:
20217 * vc/smerge-mode.el:
20218 * textmodes/bibtex-style.el:
090bd7cb 20219 * textmodes/css-mode.el:
03408648
SM
20220 * startup.el:
20221 * uniquify.el:
da91b5f2
CY
20222 * minibuffer.el:
20223 * newcomment.el:
20224 * reveal.el:
20225 * server.el:
20226 * mpc.el:
20227 * emacs-lisp/smie.el:
20228 * doc-view.el:
20229 * dired.el:
03408648
SM
20230 * abbrev.el: Use lexical binding.
20231
0f0c1f27
EZ
202322011-04-01 Eli Zaretskii <eliz@gnu.org>
20233
20234 * info.el (info-display-manual): New function.
20235
c82b2579
SM
202362011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20237
20238 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20239
221ddf68
TH
202402011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20241
20242 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20243 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20244
cba6e77e
GM
202452011-03-31 Glenn Morris <rgm@gnu.org>
20246
e040639f
GM
20247 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20248
cba6e77e
GM
20249 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20250
6d0f1c9e
CS
202512011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20252
20253 * progmodes/python.el (python-default-interpreter)
20254 (python-python-command-args, python-jython-command-args)
20255 (python-which-shell, python-which-args, python-which-bufname)
20256 (python-file-queue, python-comint-output-filter-function)
20257 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20258 variables and functions.
20259
3e2d70fd
SM
202602011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20261
20262 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20263 (completion-in-region-mode): New minor mode.
20264 (completion-in-region): Use it.
20265 (completion-in-region--data, completion-in-region-mode-map): New vars.
20266 (completion-in-region--postch): New function.
20267 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20268 New vars.
20269 (completion--capf-wrapper): New function.
20270 (completion-at-point): Use it to track well-behavedness of
20271 hook functions.
20272 (completion-help-at-point): New command.
20273
f3e4086c
JM
202742011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20275
20276 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20277 syntax class to search for whitespace on a single line
20278 (Message-ID: <4D938140.4030905@redhat.com>).
20279
eb7ffc14
LL
202802011-03-30 Leo Liu <sdl.web@gmail.com>
20281
20282 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20283 New commands.
20284 (edit-abbrevs-map): Bind them here.
20285 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20286
d806ab68
KM
202872011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20288
20289 * allout.el (allout-hide-by-annotation, allout-flag-region):
20290 Reduce possibility of overlay leakage by making them volatile.
20291
20292 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20293 hash is not shared between buffers. Mode initialization is
20294 responsible for giving it a useful starting value.
20295 (allout-item-span): Reduce possibility of overlay leakage by
20296 making them volatile.
20297 (allout-widgets-count-buttons-in-region): Add diagnostic function
20298 for tracking down button overlay leaks.
20299
ea622834
LL
203002011-03-29 Leo Liu <sdl.web@gmail.com>
20301
20302 * ido.el (ido-read-internal): Use the default history var
20303 minibuffer-history if no HISTORY is specified.
20304
b62f8267
G
203052011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20306
03408648
SM
20307 * net/imap.el (imap-shell-open, imap-process-connection-type):
20308 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20309 Kerberos, SSL, other subprocesses.
20310
947b6566
LL
203112011-03-28 Leo Liu <sdl.web@gmail.com>
20312
20313 * abbrev.el (abbrev-table-empty-p): New function.
20314 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20315 nonempty ones. (Bug#5937)
20316
5ffb62aa
JD
203172011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20318
20319 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20320
7a097943
LL
203212011-03-27 Leo Liu <sdl.web@gmail.com>
20322
20323 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20324 for foreground and background colors.
20325 (ansi-color-make-color-map): Adapt.
20326
c5b40130
LL
203272011-03-25 Leo Liu <sdl.web@gmail.com>
20328
1f48f7d2
LL
20329 * midnight.el (midnight-time-float): Remove. Note it calculates
20330 the microsecond component incorrectly and seconds-to-time does the
20331 same job.
625897ec 20332 Remove redundant (require 'timer).
1f48f7d2 20333
c5b40130
LL
20334 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20335 (ido-completions): Remove unused arguments. (Bug#8329)
20336
d86d2721
SM
203372011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20338
20339 * minibuffer.el (completion--flush-all-sorted-completions):
20340 Remove itself from hook.
20341 (completion-at-point): Let the functions perform the completion
20342 immediately and return nil or t.
20343 * comint.el (comint-dynamic-complete-functions): Now identical to
20344 completion-at-point-functions.
20345 (comint-dynamic-list-input-ring): Remove unused var `index'.
20346 (comint--match-partial-filename, comint--unquote&expand-filename):
20347 New funs, split from comint-match-partial-filename.
20348 (comint-dynamic-complete): Use completion-at-point.
20349 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20350
e8974c48
DA
203512011-03-24 Drew Adams <drew.adams@oracle.com>
20352
20353 * thingatpt.el: Support `defun'.
20354
def71b5e
LL
203552011-03-23 Leo Liu <sdl.web@gmail.com>
20356
cb5af48e
LL
20357 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20358
def71b5e
LL
20359 * help-mode.el (help-mode-finish): Tweak regexp.
20360
927c53e7
GM
203612011-03-23 Glenn Morris <rgm@gnu.org>
20362
18d05bed
GM
20363 * eshell/esh-opt.el (eshell-eval-using-options):
20364 Do not bind unused local variable `eshell-option-stub'.
20365
927c53e7
GM
20366 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20367
9d0da923
JB
203682011-03-22 Juanma Barranquero <lekktu@gmail.com>
20369
20370 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20371 keymap variable in `with-no-warnings' to avoid a warning when the
20372 keymap has been already `defconst'ed.
20373
4b978a67
LL
203742011-03-22 Leo Liu <sdl.web@gmail.com>
20375
20376 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20377 encode all chars in abbrevs; otherwise use emacs-mule or
20378 utf-8-emacs. (Bug#8308)
20379
5fd62452
JB
203802011-03-22 Juanma Barranquero <lekktu@gmail.com>
20381
0b1596c6
JB
20382 * simple.el (backward-delete-char-untabify):
20383 Avoid warning about using `delete-backward-char'.
20384
5fd62452
JB
20385 * image.el (image-type-file-name-regexps): Make it variable.
20386 `imagemagick-register-types' modifies it, and the user may want
20387 to add new extensions for known image types.
20388 (imagemagick-register-types): Throw error if not using ImageMagick.
20389
0b4e93f1
LL
203902011-03-22 Leo Liu <sdl.web@gmail.com>
20391
20392 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20393 located before rcirc-prompt-end-marker.
20394 (rcirc-complete): Error if point is not after rcirc prompt.
20395 Handle the case when table is nil.
9882e214 20396 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20397
fccee4ab
CY
203982011-03-22 Chong Yidong <cyd@stupidchicken.com>
20399
20400 * custom.el (custom--inhibit-theme-enable): Make it affect only
20401 custom-theme-set-variables and custom-theme-set-faces.
20402 (provide-theme): Ignore custom--inhibit-theme-enable.
20403 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20404 (custom-enabling-themes): Delete variable.
d86d2721
SM
20405 (enable-theme): Accept only loaded themes as arguments.
20406 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20407 (custom-enabled-themes): Forbid themes from setting this.
20408 Eliminate use of custom-enabling-themes.
20409 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20410
af896da6
LL
204112011-03-21 Leo Liu <sdl.web@gmail.com>
20412
20413 * ido.el (ido-read-internal): Add ido-selected to history instead
20414 of user input.
20415
78f64af0
SM
204162011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20417
20418 * subr.el (deferred-action-list, deferred-action-function):
20419 Mark obsolete.
20420
b16ac1ec
LL
204212011-03-21 Leo Liu <sdl.web@gmail.com>
20422
810f7698
LL
20423 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20424 change on 2011-02-13 (bug#8309).
20425
b16ac1ec
LL
20426 * minibuffer.el (read-file-name-function): Change default value.
20427 (read-file-name--defaults): Rename from read-file-name-defaults.
20428 (read-file-name-default): Rename from read-file-name.
20429 (read-file-name): Call read-file-name-function.
20430
4e05e67e
GM
204312011-03-21 Glenn Morris <rgm@gnu.org>
20432
20433 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20434 Doc fixes.
20435
4359915b
CY
204362011-03-21 Chong Yidong <cyd@stupidchicken.com>
20437
20438 * cus-theme.el: Add missing provide statement.
20439 (customize-create-theme): Extract theme value correctly.
20440 (custom-theme-visit-theme): Autoload.
20441 (customize-create-theme): Prompt before inserting default faces.
20442
1fe275ee
JB
204432011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20444
20445 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20446 units and musical notes.
20447
cd394be1 204482011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20449
20450 * ido.el (ido-read-internal): Use completing-read-default.
20451 (ido-completing-read): Fix compatibility with completing-read.
20452
7d476bde
CO
204532011-03-20 Christian Ohler <ohler@gnu.org>
20454
20455 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20456 (ert-delete-all-tests): Use `called-interactively-p' rather than
20457 `interactive-p'.
20458 (ert--make-xrefs-region): Respect END.
20459
fe0fb33e
CY
204602011-03-19 Chong Yidong <cyd@stupidchicken.com>
20461
ff854b0b
CY
20462 * dired-aux.el (dired-create-directory): Signal an error if the
20463 directory already exists (Bug#8246).
20464
fe0fb33e
CY
20465 * facemenu.el (list-colors-display): Call list-faces-display
20466 inside with-help-window.
20467 (list-colors-print): Use display property to align the final
20468 column, instead of checking window-width.
20469
576bce32
EZ
204702011-03-19 Eli Zaretskii <eliz@gnu.org>
20471
4d61f28d 20472 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20473 windows-nt systems.
20474 (emerge-protect-metachars): Quote correctly for ms-dos and
20475 windows-nt systems.
20476
89c41d68 204772011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20478
20479 * info.el (info-initialize): Replace all uses of `:' with
20480 path-separator for compatibility with non-Unix systems.
20481 Cache quoting of path-separator. (Bug#8258)
20482
b14e3e21 204832011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20484
20485 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20486 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20487 (mouse-avoidance-mode): Fix typos in docstrings.
20488
4525ce3e
CY
204892011-03-19 Chong Yidong <cyd@stupidchicken.com>
20490
20491 * startup.el (package-subdirectory-regexp): Move from package.el.
20492 Omit \\` and \\', and let callers add them.
20493
20494 * emacs-lisp/package.el (package-strip-version)
20495 (package-load-all-descriptors): Add \\` and \\' to
20496 package-subdirectory-regexp before using it.
20497 (package-untar-buffer): New arg DIR; ensure that file untars only
20498 into this expected directory. Remove superfluous delete-region.
20499 (package-unpack): Caller changed.
20500 (package-tar-file-info): Use package-subdirectory-regexp.
20501
a904a09a 205022011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20503
a904a09a
SM
20504 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20505 diff-mode-shared-map (bug#8284).
20506 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20507
205082011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20509
20510 * calendar/time-date.el (format-seconds): Use assoc instead of
20511 assoc-string, since assoc-string doesn't exist in XEmacs.
20512
171fc304
JB
205132011-03-17 Juanma Barranquero <lekktu@gmail.com>
20514
20515 * custom.el (custom-known-themes): Reflow docstring.
20516 (custom-theme-load-path): Fix typo in docstring.
20517 (load-theme): Fix typo in error message.
20518 (custom-available-themes, custom-variable-theme-value):
20519 Use `let', not `let*'.
20520
d71990a1
JB
205212011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20522
20523 * calc/README: Mention inclusion of musical notes.
20524
20525 * calc/calc-units.el (calc-lu-quant): Rename from
20526 `calc-logunits-quantity'.
20527 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20528 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20529 (calc-db): Rename from `calc-dblevel'.
20530 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20531 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20532 (calc-np): Rename from `calc-nplevel'.
20533 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20534 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20535 (calc-lu-plus): Rename from `calc-logunits-add'.
20536 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20537 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20538 (calc-lu-minus): Rename from `calc-logunits-sub'.
20539 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20540 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20541 (calc-lu-times): Rename from `calc-logunits-mul'.
20542 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20543 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20544 (calc-lu-divide): Rename from `calc-logunits-div'.
20545 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20546 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20547
20548 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20549 functions being autoloaded.
20550
20551 * calc/calc.el (calc-lu-power-reference): Rename from
20552 `calc-logunits-power-reference'.
20553 (calc-lu-field-reference): Rename from
20554 `calc-logunits-field-reference'.
20555
7a71b18d
GM
20556 * calc/calc-help.el (calc-l-prefix-help):
20557 Mention musical note functions.
d71990a1 20558
40c2934b
SM
205592011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20560
20561 * minibuffer.el (completion-all-sorted-completions):
20562 Use :completion-cycle-penalty text property if present.
20563
b0911414
KM
205642011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20565
20566 * allout.el (allout-yank-processing): Adjust for new rebulleting
20567 regime so bullet being yanked is used without prompting the user
20568 for a choice.
20569
8a05b668
JB
205702011-03-16 Juanma Barranquero <lekktu@gmail.com>
20571
20572 * startup.el (command-line): Warn the user that _emacs is deprecated.
20573
5ba5fb81
JB
205742011-03-16 Juanma Barranquero <lekktu@gmail.com>
20575
20576 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20577 (delphi-verbose, delphi-comment-face, delphi-string-face)
20578 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20579 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20580 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20581 (delphi-new-comment-line, delphi-font-lock-defaults)
20582 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20583 Fix typos in docstrings.
20584
2dab465b
KM
205852011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20586
5ba5fb81 20587 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20588 Invert the roles of character and string values for INSTEAD, so a
20589 string is used for the more common case of a defaulting prompt.
20590
0adf5618
SM
205912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20592
20593 * progmodes/ruby-mode.el (ruby-backward-sexp):
20594 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20595 * play/gamegrid.el (gamegrid-make-face):
20596 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20597 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20598 * notifications.el (notifications-notify):
20599 * net/xesam.el (xesam-search-engines):
20600 * net/quickurl.el (quickurl-list-insert):
20601 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20602
d72700e5
CY
206032011-03-15 Chong Yidong <cyd@stupidchicken.com>
20604
20605 * startup.el (command-line): Update package subdirectory regexp.
20606
49c5410a
SM
206072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20608
c6eee9aa
SM
20609 * allout.el (allout-abbreviate-flattened-numbering)
20610 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20611
49c5410a
SM
20612 * subr.el (read-char-choice): Only show the cursor after the prompt,
20613 not after the answer.
20614
047b2bb9
KR
206152011-03-15 Kevin Ryde <user42@zip.com.au>
20616
20617 * help-fns.el (variable-at-point): Skip leading quotes, if any
20618 (bug#8253).
20619
0a57d256
SM
206202011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20621
20622 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20623 warning message.
20624
77c992bc
MA
206252011-03-14 Michael Albinus <michael.albinus@gmx.de>
20626
20627 * shell.el (shell): When called interactively, offer to change the
20628 shell file name on remote hosts.
20629
eebc475d
TZ
206302011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20631
20632 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20633 integration for LDAP parameters. The host, base, user or binddn,
20634 and secret tokens can be specified in a netrc file, for instance.
20635 This is optional because an `auth-source' parameter must be
20636 specified in the search attributes.
20637
9d05d1ba
JB
206382011-03-13 Juanma Barranquero <lekktu@gmail.com>
20639
20640 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20641
09d9db2c
GM
206422011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20643
20644 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20645 into declaration. Remove redundant and harmful binding.
20646
206472011-03-12 Eli Zaretskii <eliz@gnu.org>
20648
20649 * files.el (file-ownership-preserved-p): Pass `integer' as an
20650 explicit 2nd argument to `file-attributes'. If the file's owner
20651 is the Administrators group on Windows, and the current user is
20652 Administrator, consider that a match.
20653
20654 * server.el (server-ensure-safe-dir): Consider server directory
20655 safe on MS-Windows if its owner is the Administrators group while
20656 the current Emacs user is Administrator. Use `=' to compare
20657 numerical UIDs, since they could be integers or floats.
20658
219bd536
JB
206592011-03-12 Juanma Barranquero <lekktu@gmail.com>
20660
20661 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20662
f3afd36b
MA
206632011-03-12 Michael Albinus <michael.albinus@gmx.de>
20664
20665 Sync with Tramp 2.2.1.
20666
20667 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20668
20669 * net/trampver.el: Update release number.
20670
3aaaa6f1
SM
206712011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20672
94642599
SM
20673 * progmodes/compile.el (compilation--previous-directory): Fix up
20674 various nil/dead-marker mismatches (bug#8014).
20675 (compilation-directory-properties, compilation-error-properties):
20676 Don't call it at a position past the one we're about to change.
20677
3aaaa6f1
SM
20678 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20679 Disable obsolescence warnings in the file that declares it.
20680
14239447
KM
206812011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20682
099c39a4
JB
20683 * allout-widgets.el (allout-widgets-tally):
20684 Initialize allout-widgets-tally as a hash table rather than nil to
20685 prevent mode-line redisplay warnings. Also, clarify the module
20686 description and fix a comment typo.
14239447 20687
135e287c
JB
206882011-03-11 Juanma Barranquero <lekktu@gmail.com>
20689
20690 * help-fns.el (describe-variable): Don't complete keywords.
20691 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20692
ffbf300e
CY
206932011-03-10 Chong Yidong <cyd@stupidchicken.com>
20694
ba08b241
CY
20695 * emacs-lisp/package.el (package-version-join): Impose a standard
20696 string representation for pre/alpha/beta version lists.
20697 (package-unpack-single): Standardize the directory name by passing
20698 it through package-version-join.
20699 (package-strip-rcs-id): Accept any version string that does not
20700 signal an error in version-to-list.
ffbf300e 20701
f346fd6b
MA
207022011-03-10 Michael Albinus <michael.albinus@gmx.de>
20703
20704 * simple.el (delete-trailing-whitespace): Return nil for the
20705 benefit of `write-file-functions'.
20706
ccb55d27
GM
207072011-03-10 Glenn Morris <rgm@gnu.org>
20708
5ceaac0c
GM
20709 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20710
02da65ff
GM
20711 * vc/vc-git.el (vc-git-program): New option.
20712 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20713 (vc-git--call): Use it.
20714
b2f603cc
GM
20715 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20716
5772caab
GM
20717 * cus-edit.el (Custom-newline): If no button at point, look
20718 for a subgroup button at start-of-line. (Bug#2298)
20719
ccb55d27
GM
20720 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20721
ec6ecaed
JD
207222011-03-10 Julien Danjou <julien@danjou.info>
20723
20724 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20725 `cursor-type' is nil.
20726
9d5aa01d
JB
207272011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20728
20729 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20730
b6a5875b
KM
207312011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20732
7a71b18d 20733 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20734 preserves the existing header prefix, rebulleting it if necessary,
20735 rather than replacing it. This is necessary for proper operation
20736 of cooperative addons like allout-widgets.
1154d12e
JB
20737 (allout-make-topic-prefix, allout-rebullet-heading):
20738 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20739 value as alternate bullet to be used, instead of prompting the user
20740 for a bullet character.
b6a5875b 20741
ee545c35
MA
207422011-03-09 Michael Albinus <michael.albinus@gmx.de>
20743
d86d2721
SM
20744 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20745 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20746 `tramp-default-port'.
20747
c47971d7
DD
207482011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20749
20750 * net/rcirc.el (rcirc-handler-001): Remove useless
20751 with-rcirc-process-buffer.
20752 (rcirc-check-auth-status): Swap arguments to string-match.
20753
13522cb4
GM
207542011-03-09 Glenn Morris <rgm@gnu.org>
20755
0be6f4f1
GM
20756 * shell.el (shell-mode):
20757 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20758
13522cb4
GM
20759 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20760 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20761
515de2e3
CY
207622011-03-08 Chong Yidong <cyd@stupidchicken.com>
20763
20764 * emacs-lisp/package.el (package-refresh-contents)
20765 (package-menu-execute): Use condition-case-no-debug.
20766
b511b994
MA
207672011-03-08 Michael Albinus <michael.albinus@gmx.de>
20768
20769 * simple.el (shell-command-to-string): Use `process-file'.
20770
20771 * emacs-lisp/package.el (package-tar-file-info): Handle also
20772 remote files.
20773
d86d2721
SM
20774 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20775 Use `equal' for upload base check.
b511b994 20776
25bbfb31
AM
207772011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20778
20779 * textmodes/texinfo.el (texinfo-environments):
20780 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20781
be996521
GM
207822011-03-08 Glenn Morris <rgm@gnu.org>
20783
e9c8529f
GM
20784 * cus-start.el (cursor-in-non-selected-windows):
20785 Fix :set quoting oddness. (Bug#8192)
20786
be996521
GM
20787 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20788 in some setf expressions. (Bug#2159)
20789
2bb5649e
CY
207902011-03-08 Chong Yidong <cyd@stupidchicken.com>
20791
20792 * custom.el (custom-available-themes): Return themes in
20793 alphabetical order.
20794
33383987 20795See ChangeLog.15 for earlier changes.
e3d51b27
MR
20796
20797;; Local Variables:
20798;; coding: utf-8
e3d51b27
MR
20799;; End:
20800
acaf905b 20801 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20802
20803 This file is part of GNU Emacs.
20804
20805 GNU Emacs is free software: you can redistribute it and/or modify
20806 it under the terms of the GNU General Public License as published by
20807 the Free Software Foundation, either version 3 of the License, or
20808 (at your option) any later version.
20809
20810 GNU Emacs is distributed in the hope that it will be useful,
20811 but WITHOUT ANY WARRANTY; without even the implied warranty of
20812 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20813 GNU General Public License for more details.
20814
20815 You should have received a copy of the GNU General Public License
20816 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.