* nsterm.m: Add NSClearLineFunctionKey and keypad keys.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2cbafa56
CY
12012-11-04 Chong Yidong <cyd@gnu.org>
2
3 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4 same-window-* variables.
5
85178ca1
JL
62012-11-04 Juri Linkov <juri@jurta.org>
7
8 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
9 (isearch-describe-key, isearch-describe-mode): Use a display
10 action instead of binding same-window-* variables (Bug#10040).
11
5c677d44
GM
122012-11-03 Glenn Morris <rgm@gnu.org>
13
49138400
GM
14 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
15 Rename handler properties back from cl-- to cl-. (Bug#12788)
16
5c677d44
GM
17 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
18
1d4341f9
EZ
192012-11-03 Eli Zaretskii <eliz@gnu.org>
20
21 * term/pc-win.el: Don't load term/internal from here.
22
23 * loadup.el: Load term/internal from here.
24
12fd5ee1
FEG
252012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
26
27 * progmodes/python.el (inferior-python-mode): Fix hang in
28 jit-lock (Bug#12645).
29
43bcfda6
MR
302012-11-03 Martin Rudalics <rudalics@gmx.at>
31
32 * window.el (switch-to-visible-buffer)
33 (switch-to-buffer-preserve-window-point): Fix doc-strings.
34
376a8e83
GM
352012-11-03 Glenn Morris <rgm@gnu.org>
36
37 * emacs-lisp/cl-lib.el (cl--random-time):
38 Rename from cl-random-time. (Bug#12773)
39 (cl--gensym-counter, cl--random-state): Update callers.
40 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
41
0f7b074f
CY
422012-11-03 Chong Yidong <cyd@gnu.org>
43
44 * cus-start.el: Make cursor-type customizable (Bug#11633).
45
3a6851d9
GM
462012-11-02 Glenn Morris <rgm@gnu.org>
47
00a3b041
GM
48 * filecache.el: No need to load find-lisp when compiling.
49 (find-lisp-find-files): Autoload it.
50 (file-cache-add-directory-recursively): Don't require find-lisp.
51
11fef14a
GM
52 * image.el (image-type-from-file-name): Trivial simplification.
53
3a6851d9
GM
54 * emacs-lisp/bytecomp.el (byte-compile-eval):
55 Decouple "noruntime" and "cl-functions" warnings.
56
b4b096e4
SB
572012-11-01 Stephen Berman <stephen.berman@gmx.net>
58
59 * play/gomoku.el (gomoku-display-statistics): Update mode line
60 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
61
218e997a
MR
622012-10-31 Martin Rudalics <rudalics@gmx.at>
63
64 * window.el (quit-restore-window): If the window has been
65 created on an existing frame and ended up as the sole window on
66 that frame, do not delete it (Bug#12764).
67
b08b6da7
SM
682012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
69
3618df45
SM
70 * progmodes/sh-script.el (sh--inside-noncommand-expression):
71 Rename from sh--inside-arithmetic-expression, handle more cases
72 (bug#11263).
73
b08b6da7
SM
74 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
75 (sh-font-lock-open-heredoc): Use it (bug#12770).
76
4ddedf94
GM
772012-10-30 Glenn Morris <rgm@gnu.org>
78
f43a5263
GM
79 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
80
4ddedf94
GM
81 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
82
748b0d84
CY
832012-10-29 Chong Yidong <cyd@gnu.org>
84
b5dd9a77
CY
85 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
86 function key is stored in a keyboard macro (Bug#4894).
87
748b0d84
CY
88 * thingatpt.el (number-at-point): Apply a thing-at-point property.
89
e07fcbdc
SM
902012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
91
d7f9cc85
SM
92 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
93 header comments".
94 (diff-unified->context, diff-context->unified)
95 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
96
c606253c
SM
97 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
98
e07fcbdc
SM
99 * files.el (find-alternate-file): Only ask one question (bug#12487).
100
894b9dd9
CY
1012012-10-29 Chong Yidong <cyd@gnu.org>
102
1dc2755a
CY
103 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
104 Suggested by Dan Nicolaescu (Bug#6326).
105
329c48d8
CY
106 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
107
2230fa5b 108 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 109
e84cad57
CY
110 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
111
1913c5f5
CY
112 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
113
894b9dd9
CY
114 * face-remap.el (face-remap-add-relative): Handle the case where a
115 face-remapping-alist entry is a cons cell (Bug#12762).
116
329c48d8
CY
1172012-10-29 Kevin Ryde <user42@zip.com.au>
118
119 * woman.el (woman-parse-numeric-value): Handle picas correctly
120 (Bug#12639).
121
a0ccbcbd
GM
1222012-10-29 Glenn Morris <rgm@gnu.org>
123
124 * emacs-lisp/cl.el (defsetf): Doc fix.
125
b3871e59
SM
1262012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
129 syntax to the matching opener, if any (bug#12547).
130 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
131 matching open as a "case-(".
132 (sh-smie-rc-grammar): Add a corresponding rule for it.
133
cd44022c
DH
1342012-10-28 Daniel Hackney <dan@haxney.org>
135
136 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
137 "PKGNAME-autoloads.el" in case we created it.
138
70edffb1
SM
1392012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
140
86957a0c
SM
141 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
142 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 143 (completion--twq-all): Disable too-strict assertions.
86957a0c 144
70edffb1
SM
145 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
146
d069271c
EZ
1472012-10-27 Eli Zaretskii <eliz@gnu.org>
148
149 * profiler.el (profiler-report-make-entry-part): Fix help-echo
150 text to match the real keybindings.
151
e2f022a3
JL
1522012-10-27 Juri Linkov <juri@jurta.org>
153
154 * wdired.el (wdired-keep-marker-rename): New defcustom.
155 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
156 (Bug#11795)
157
158 * dired.el (dired-keep-marker-rename): Add reference to
159 `wdired-keep-marker-rename' in the docstring.
160 Add default character value ?R to display initially in
161 Customization UI instead of ?@.
162
df171c23
MR
1632012-10-27 Martin Rudalics <rudalics@gmx.at>
164
165 * window.el (display-buffer): In doc-string describe
166 window-height and window-width alist entries.
167
168 * time.el (display-time-world): Restore fit-window-to-buffer
169 behavior.
170
05b621a6
CY
1712012-10-27 Chong Yidong <cyd@gnu.org>
172
173 * subr.el (insert-buffer-substring-as-yank): Doc fix.
174
55f197b2
J
1752012-10-26 Jambunathan K <kjambunathan@gmail.com>
176
177 * minibuffer.el (completion-category-overrides): New completion
178 category `bookmark' (bug#11131).
179
372212df
SM
1802012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
181
150f809c
SM
182 * emacs-lisp/advice.el (ad-assemble-advised-definition):
183 Silence bogus compiler warnings for ad-do-it.
184
372212df
SM
185 * bookmark.el (bookmark-completing-read): Set the completion category
186 to `bookmark' (bug#11131).
187
c5772569
B
1882012-10-26 Bastien <bzg@altern.org>
189 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * face-remap.el: Use lexical-binding.
192 (text-scale-adjust): Improve docstring. Use itself for the temporary
193 overlay-map bindings, so as to repeat the "Use..." message each time.
194
a2be0357
SM
1952012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
196
63314e57
SM
197 * emacs-lisp/macroexp.el (macroexp--expand-all):
198 Obey byte-compile-warning-enabled-p (bug#12486).
199
a2be0357
SM
200 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
201 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
202
8c7727c3
MR
2032012-10-26 Martin Rudalics <rudalics@gmx.at>
204
205 * mouse.el (mouse-drag-line): Move last form into preceding when
206 clause (Bug#12731).
207
208 * help.el (resize-temp-buffer-window): Fix doc-string.
209
3f2a848d
DE
2102012-10-25 David Engster <deng@randomsample.de>
211
212 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 213 Remove. This feature is already integrated in imenu.
3f2a848d
DE
214
215 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
216 always loaded. Require `speedbar' unconditionally.
217
a7723be6
SM
2182012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
219
aaabfc8b
SM
220 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
221
414a8595
SM
222 * minibuffer.el (minibuffer-force-complete): Fix thinko.
223
fb5b9475
SM
224 * net/ldap.el (ldap-search-internal): The official ldif format starts
225 with a "version: 1" header (bug#12724).
226
a7723be6
SM
227 * emacs-lisp/package.el (package-installed-p): Warn if not ready
228 (bug#12721).
229
a05cb6e3
GM
2302012-10-25 Glenn Morris <rgm@gnu.org>
231
232 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
233
3c92de70
SM
2342012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * minibuffer.el (minibuffer-force-complete): Use one more marker
237 for the temporary-overlay-map command (bug#12619).
238
a4b6d7c6
CY
2392012-10-24 Chong Yidong <cyd@gnu.org>
240
241 * time.el (display-time-world-mode): Derive from special-mode.
242 (display-time-world): Use display-buffer (Bug#12708).
243 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
244 (display-time-world-display): Wrap the final delete-char inside
245 inhibit-read-only.
a4b6d7c6 246
75e8f9d2
CY
2472012-10-24 Chong Yidong <cyd@gnu.org>
248
cd996018
CY
249 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
250 Doc fix.
251
75e8f9d2
CY
252 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
253
d92df117
SM
2542012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * minibuffer.el (completion--all-sorted-completions-location): New var.
257 (completion--cache-all-sorted-completions)
258 (completion--flush-all-sorted-completions): Use it.
259 (completion-in-region, completion-in-region--postch)
260 (completion-at-point, completion-help-at-point): Use markers in
261 completion-in-region--data (bug#12619).
262
9c3e39f3
SM
2632012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
264
c79825bd
SM
265 * progmodes/compile.el (compilation-start): Try to handle common
266 quoting of `cd' argument (bug#12640).
267
9c3e39f3
SM
268 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
269 (bug#12671).
270
a6709bc7
GM
2712012-10-23 Glenn Morris <rgm@gnu.org>
272
273 * progmodes/gud.el (gud-menu-map):
274 Check gdb-active-process is bound. (Bug#12358)
275
d1069532
SM
2762012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
277
d20d69c0
SM
278 * repeat.el (repeat): Set real-this-command (bug#12232).
279
d1069532
SM
280 * htmlfontify.el (hfy-post-html-hook):
281 * filesets.el (filesets-cache-fill-content-hook):
282 * arc-mode.el (archive-extract-hook):
283 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
284 * net/rcirc.el (rcirc-sentinel-functions)
285 (rcirc-receive-message-functions, rcirc-activity-functions)
286 (rcirc-print-functions):
287 * net/dbus.el (dbus-event-error-functions):
288 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
289 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
290 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
291 * term/sun.el (sun-raw-prefix-hooks):
292 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
293
f7eac6d8
MA
2942012-10-23 Michael Albinus <michael.albinus@gmx.de>
295
d1069532
SM
296 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
297 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
298 (tramp-smb-wait-for-output): Add timeout to
299 `tramp-accept-process-output' calls.
300
608d9d7c
CY
3012012-10-23 Chong Yidong <cyd@gnu.org>
302
49238e7f
CY
303 * faces.el (font-list-limit): Define as an obsolete variable.
304
305 * startup.el (command-line):
306 * cus-start.el: Don't refer to font-list-limit.
307
608d9d7c
CY
308 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
309
4ff5b1b2
SM
3102012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * subr.el (internal-temp-output-buffer-show): Rename from
313 temp-output-buffer-show, since previously compiled files expect this name.
314
ea1d4aac
GM
3152012-10-23 Glenn Morris <rgm@gnu.org>
316
317 * image.el (image-type-from-file-name): If multiple types match,
318 return the first one that is supported. (Bug#9045)
319
eda82a31
GM
3202012-10-22 Glenn Morris <rgm@gnu.org>
321
322 * image.el (imagemagick-enabled-types): Doc fix.
323
4f020bec
TA
3242012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
325
326 * progmodes/which-func.el (which-func-current): The hash-table may have
327 an explicit nil (bug#12338).
328
c77d37e2
SM
3292012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * electric.el (electric-pair-delete-selection-self-insert-function):
332 Rename to electric-pair-will-use-region, return a boolean.
333 (electric-pair-mode): Adjust accordingly. Don't require delsel.
334
335 * delsel.el (delete-selection-helper): Use a function instead of a hook.
336 (delete-selection-pre-hook): Use use-region-p.
337 (delete-selection-self-insert-function): Remove.
338 (self-insert-command): Obey self-insert-uses-region-functions.
339 (self-insert-iso): Revert to previous setting, since we don't actually
340 know what that command does.
341 (delete-selection-self-insert-hooks): Remove.
342
b1d39ccc
SL
3432012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
344
345 * delsel.el (delete-selection-helper): New function, extracted from
346 delete-selection-pre-hook.
347 (delete-selection-pre-hook): Use it.
348 (delete-selection-self-insert-function): New function.
349 (delete-selection-self-insert-hooks): New hook.
350 (self-insert-command, self-insert-iso): Use it.
351 * electric.el (electric-pair-syntax): New function, extracted from
352 electric-pair-post-self-insert-function.
353 (electric-pair-post-self-insert-function): Use it.
354 (electric-pair-delete-selection-self-insert-function): New function.
355 (electric-pair-mode): Require delsel and setup
356 delete-selection-self-insert-hooks (bug#11520).
357
045ef729
CY
3582012-10-20 Chong Yidong <cyd@gnu.org>
359
4c5d08a8
CY
360 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
361 no changes to show (Bug#12586).
362
045ef729
CY
363 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
364 list explicitly (Bug#12571).
365
3503c798 3662012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 367
b1d39ccc
SL
368 * progmodes/flymake.el (flymake-create-temp-inplace):
369 Use file-truename.
79e1997a 370
2068905b
EZ
3712012-10-20 Eli Zaretskii <eliz@gnu.org>
372
373 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
374
4c9e9550
JB
3752012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
376
377 * calc/calc-units.el (math-extract-units): Properly extract powers
378 of units.
379
1a6e7e38
DC
3802012-10-20 Daniel Colascione <dancol@dancol.org>
381
382 * frame.el (make-frame): Set x-display-name as we used to in order
383 to unbreak creating an X11 frame from an Emacs daemon started
384 without a display.
385
8e808318
SM
3862012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * minibuffer.el (minibuffer-force-complete): Make the next completion use
389 the same completion-field (bug@12221).
390
fb0104da
MR
3912012-10-19 Martin Rudalics <rudalics@gmx.at>
392
393 * emacs-lisp/debug.el (debug): Record height of debugger window
394 also when debugger will be back (Bug#8789).
395
8c27235e
CY
3962012-10-18 Chong Yidong <cyd@gnu.org>
397
398 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
399 Convert to defcustom.
400 (gdb-get-source-file): Don't bind pop-up-windows.
401
402 * progmodes/gud.el (gud-display-line): Don't specially re-use
403 other frames for the gdb-mi case (Bug#12648).
404
90eacf99
SM
4052012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
406
aaf0c300
SM
407 * emacs-lisp/advice.el: Clean up commentary a bit.
408 (ad-do-advised-functions, ad-with-originals): Use `declare'.
409 (byte-code-function-p): Never redefine.
410
90eacf99
SM
411 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
412
281c9d2b
GM
4132012-10-18 Glenn Morris <rgm@gnu.org>
414
40714e3d
GM
415 * dired.el (dired-sort-toggle): Some ls implementations only allow
416 a single option string. (Bug#12666)
417
281c9d2b
GM
418 * minibuffer.el (completion-cycle-threshold): Doc fix.
419
b278604e
KH
4202012-10-17 Kenichi Handa <handa@gnu.org>
421
90eacf99
SM
422 * international/mule.el (set-keyboard-coding-system):
423 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
424 Supply TERMINAL arg to set-input-meta-mode.
425
df171c23 4262012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
427
428 * wdired.el (wdired-old-marks): New variable.
429 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
430 (wdired-do-renames): Move point with renamed file and don't lose
431 mark status (Bug#11795).
432
e5a94ec4
JL
4332012-10-16 Juri Linkov <juri@jurta.org>
434
435 * replace.el (query-replace-help): Mention multi-buffer replacement
436 keys in the Help message. (Bug#12655)
437
d18a0d24
CY
4382012-10-15 Chong Yidong <cyd@gnu.org>
439
440 * emacs-lisp/byte-run.el (defsubst): Doc fix.
441
8111f5e6
EZ
4422012-10-14 Eli Zaretskii <eliz@gnu.org>
443
7b9abf24
EZ
444 * window.el (display-buffer): Doc fix.
445
8111f5e6
EZ
446 * progmodes/compile.el (compilation-error-regexp-alist-alist):
447 Adjust the msft regexp to the output of Studio 2010, and move msft
448 before edg-1. See the discussion on emacs-devel,
449 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
450 for the details.
451
5046ef67
SM
4522012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
453
9760c73c
SM
454 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
455 (oset): Move uses of object-class-fast macro after its definition.
456
5046ef67
SM
457 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
458
0d11ff1c
CY
4592012-10-13 Chong Yidong <cyd@gnu.org>
460
461 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
462 enabled, re-enable it (Bug#11963).
463
88ded8ac
MR
4642012-10-13 Martin Rudalics <rudalics@gmx.at>
465
466 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
467 non-nil, restore window configuration (Bug#12623).
468
bd0ffffd
SM
4692012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
470
06485aa8
SM
471 * help-fns.el (describe-variable, describe-function-1):
472 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
473
bd0ffffd
SM
474 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
475
3a989246
GM
4762012-10-12 Glenn Morris <rgm@gnu.org>
477
478 * mail/rmailsum.el (rmail-header-summary):
479 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
480
55cd00c8
FEG
4812012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
482
bd0ffffd
SM
483 * progmodes/python.el (python-mode-map):
484 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
485 (python-nav--up-list): Fix behavior for blocks on the same level.
486
ac9fc2c7
SM
4872012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
488
d8cc4c00 489 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 490
5253a5fd
SM
491 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
492 changes to the format of load-history.
493
ac9fc2c7
SM
494 * international/mule-cmds.el (read-char-by-name): Move let-binding of
495 completion-ignore-case in case that var is buffer-local (bug#12615).
496
cde44a77
KH
4972012-10-11 Kenichi Handa <handa@gnu.org>
498
499 * international/eucjp-ms.el: Re-generated.
500
4ef4a10d
KH
5012012-10-10 Kenichi Handa <handa@gnu.org>
502
503 * select.el (xselect--encode-string): If a coding is specified for
504 selection, and that is compatible with COMPOUND_TEXT, use it.
505
9d7f027b
MR
5062012-10-10 Martin Rudalics <rudalics@gmx.at>
507
508 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
509 (switch-to-buffer):
510 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 511
238f3a58
SM
5122012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
515 Don't document nil as a useful value (bug#12583).
516
1d51f99c
MA
5172012-10-09 Michael Albinus <michael.albinus@gmx.de>
518
238f3a58
SM
519 * net/tramp.el (tramp-debug-message):
520 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
521 (with-tramp-progress-reporter): Rename from
522 `tramp-with-progress-reporter'.
238f3a58
SM
523 (with-tramp-file-property, with-tramp-connection-property):
524 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
525 `with-connection-property', respectively.
526
527 * net/tramp-cache.el: Remove `with-file-property' and
528 `with-connection-property'.
529
530 * net/tramp.el:
531 * net/tramp-gvfs.el:
532 * net/tramp-sh.el:
533 * net/tramp-smb.el: Adapt callees.
534
535 * net/trampver.el: Update release number.
536
26b77251
GM
5372012-10-09 Glenn Morris <rgm@gnu.org>
538
9a5f296f
GM
539 * w32-fns.el (set-message-beep):
540 * term/w32-win.el (set-message-beep): Update declarations.
541
94c66ce5
SM
5422012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
543
10766e9e
SM
544 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
545 (mode-line-widen, mode-line-input-method-map)
546 (mode-line-coding-system-map, mode-line-remote)
547 (mode-line-unbury-buffer, mode-line-bury-buffer)
548 (mode-line-next-buffer, mode-line-previous-buffer):
549 Replace save-selected-window+select-window => with-selected-window.
550
f754db08
SM
551 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
552 * progmodes/cc-vars.el (bq-process): Remove, unused.
553
94c66ce5
SM
554 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
555
a4ff7fe1
FEG
5562012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
557
558 Implemented `backward-up-list'-like navigation.
559 * progmodes/python.el (python-nav-up-list)
560 (python-nav-backward-up-list): New functions.
561 (python-mode-map): Define substitute key for backward-up-list to
562 python-nav-backward-up-list.
563
24517d82
FEG
5642012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
565
566 * progmodes/python.el (python-fill-paragraph): Rename from
567 python-fill-paragraph-function. Fixed fill-paragraph for
568 decorators (Bug#12605).
569
51867ae2
FEG
5702012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
571
572 * progmodes/python.el (python-shell-output-filter): Handle extra
573 carriage return in OSX (Bug#12409).
574
a5b773c4
FEG
5752012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
576
577 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 578 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
579 (python-syntax-propertize-function): Use it.
580 (python-shell-output-syntax-table): New var.
581 (inferior-python-mode): Prevent unbalanced parens/quotes from
582 previous output mess with current input context.
583
13373538
JB
5842012-10-08 Juanma Barranquero <lekktu@gmail.com>
585
586 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
587 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
588
775a132d
MA
5892012-10-08 Michael Albinus <michael.albinus@gmx.de>
590
591 * ffap.el (ffap-replace-file-component): Support Tramp file name
592 syntax, not only ange-ftp's one.
593
3ab44929
GM
5942012-10-08 Glenn Morris <rgm@gnu.org>
595
57f1dee4
GM
596 * cus-start.el (message-log-max): Set :version.
597
3ab44929
GM
598 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
599
6a088630
MR
6002012-10-08 Martin Rudalics <rudalics@gmx.at>
601
602 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
603 the minibuffer window (Bug#10851).
604
8dbce54c
FEG
6052012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
606
607 Enhancements on forward-sexp movement.
608 * progmodes/python.el (python-nav-beginning-of-statement)
609 (python-nav-end-of-statement): Return point-marker.
610 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
611 (python-info-current-symbol)
612 (python-info-statement-starts-block-p): Rename from
613 python-info-beginning-of-block-p.
614 (python-info-statement-ends-block-p): Rename from
615 python-info-end-of-block-p.
616 (python-info-beginning-of-statement-p)
617 (python-info-end-of-statement-p)
618 (python-info-beginning-of-block-p, python-info-end-of-block-p):
619 New functions.
620
5acd2b3e
SM
6212012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
624 frame-selected-windows.
625
e08348a0
DC
6262012-10-08 Daniel Colascione <dancol@dancol.org>
627
628 * battery.el (battery-status-function): Check for
629 w32-battery-status itself, not system-time windows-nt.
630
631 * frame.el: Require cl-lib.
632 (display-format-alist): New variable mapping frame types to
633 functions that initialize them.
634 (window-system-for-display): New function: interprets
635 display-format-alist.
636 (make-frame-on-display): Remove existing display-selection logic
637 and just forward to make-frame, which will now DTRT.
638 (make-frame): Restructure to use window-system-for-display to
639 figure out how to create a frame on a given display.
640 (display-mouse-p): Look for frame-type w32, not a particular
641 system-type.
642
643 * loadup.el: Load w32 lisp code when we have the w32 feature.
644
645 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
646 system-type windows-nt.
647
648 * server.el (server-create-window-system-frame): Look for window
649 type.
650 (server-proces-filter): Only force a window system when windows-nt
651 _and_ w32. Explain why.
652
653 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
654 of window systems we configure for the mode.
655
656 * startup.el (command-line): Mark window system is initialized
657 after we've done it.
658
659 * common-win.el (x-select-text): Look for w32, not windows-nt.
660
661 * ns-win.el: Require cl-lib. Add ourselves to
662 display-format-alist.
663 (ns-initialize-window-system): Assert we're not initialized twice.
664
665 * w32-win.el: Enable lexical binding; require cl-lib; add
666 ourselves to display-format-alist.
667 (w32-handle-dropped-file): Convert incoming dropped files from
668 Windows paths to Cygwin ones before passing them on to the rest of
669 Emacs.
670 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
671 (w32-initialize-window-system): Assert we're not initialized twice.
672
673 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
674 (x-initialize-window-system): Assert we're not initialized twice.
675
676 * w32-common-fns.el: New File.
677 (w32-version, w32-using-nt, w32-get-clipboard-data)
678 (w32-set-clipboard-data, x-set-selection, x-get-selection)
679 (w32-charset-info-alist, x-last-selected, text)
680 (x-get-selection-value, x-selection-value): Move here.
681
682 * w32-fns.el: Require w32-common-fns.
683 (w32-version, w32-using-nt, w32-get-clipboard-data)
684 (w32-set-clipboard-data, x-set-selection, x-get-selection)
685 (w32-charset-info-alist, x-last-selected, text)
686 (x-get-selection-value, x-selection-value): Move to
687 w32-common-fns.
688
689 * w32-vars.el:
690 (w32-allow-system-shell, w32-system-shells): Define only in
691 non-cygwin case.
692
795b1482
SM
6932012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
696 (read-passwd): Remove a few more potential sources of leaks.
697
f27c99dc
FEG
6982012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
699
700 * progmodes/python.el (inferior-python-mode)
795b1482 701 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
702 variables copied from parent buffer.
703
fcacb558
JD
7042012-10-07 Jan Djärv <jan.h.d@swipnet.se>
705
706 * term/ns-win.el (ns-read-file-name): Update declaration to match
707 nsfns.m.
708 (ns-respond-to-change-font): Change fontsize separatly so we are sure
709 it is set when font is acted upon.
710
be0d5bae
FEG
7112012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
712
713 Enhancements to indentation.
714 * progmodes/python.el (python-indent-context): Give priority to
715 inside-string context. Make comments indentation markers.
716 (python-indent-region): Do not mess with strings, unless it's the
717 enclosing set of quotes.
718
13af0d10
SM
7192012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
720
662a9d0e
SM
721 * window.el (internal--before-save-selected-window)
722 (internal--after-save-selected-window): New functions extracted from
723 save-selected-window. Make sure we return the `alist' we construct.
724 (save-selected-window): Use them.
725
726 * textmodes/tex-mode.el (tex-recenter-output-buffer):
727 Use with-selected-window.
728
13af0d10
SM
729 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
730 forms that define macros (bug#12593).
731
6aa75fb6
KH
7322012-10-07 Kenichi Handa <handa@gnu.org>
733
13af0d10
SM
734 * international/mule-conf.el (compound-text-with-extensions):
735 Add :mime-charset property as x-ctext.
6aa75fb6 736
78d876b9
SM
7372012-10-07 Stefan Merten <smerten@oekonux.de>
738
739 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
740 (rst-indent-literal-normal, rst-indent-literal-minimized)
741 (rst-indent-comment): Correct :version tag.
557337e9 742 (rst-official-cvs-rev): Correct version string.
78d876b9 743
99a1e701
GM
7442012-10-07 Glenn Morris <rgm@gnu.org>
745
746 * mail/rmailmm.el (rmail-mime-process-multipart):
747 Do not confuse a multipart message with an epilogue
748 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
749
08f18c3d
FEG
7502012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
751
752 Fix shell output retrieval and comint-prompt-regexp init.
753 * progmodes/python.el (inferior-python-mode):
754 (python-shell-make-comint): Fix initialization of
755 comint-prompt-regexp from copied file local variables.
756 (python-shell-fetched-lines): Remove var.
757 (python-shell-output-filter-in-progress): Rename from
758 python-shell-fetch-lines-in-progress.
759 (python-shell-output-filter-buffer): Rename from
760 python-shell-fetch-lines-string.
761 (python-shell-fetch-lines-filter): Delete function.
762 (python-shell-output-filter): New function.
763 (python-shell-send-string-no-output): Use them.
764
82ed3ab4
GM
7652012-10-07 Glenn Morris <rgm@gnu.org>
766
1595ecfa
GM
767 * hi-lock.el (hi-lock-process-phrase):
768 Try to make it less fragile. (Bug#7161)
769
82ed3ab4
GM
770 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
771
f1f4dba0
GM
7722012-10-06 Glenn Morris <rgm@gnu.org>
773
addc11ed 774 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
775 non-existent mode `help'.
776 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 777
460042b8
GM
778 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
779 (reftex-create-bibtex-footer): Fix custom types.
780
67667c70
GM
781 * progmodes/sh-script.el (sh-indent-after-continuation):
782 Add explicit :group.
783
18dec750
GM
784 * textmodes/rst.el (rst-preferred-decorations)
785 (rst-shift-basic-offset): Clarify obsolescence versions.
786
d1a1c7e6
GM
787 * profiler.el (profiler): Add missing group :version tag.
788 * avoid.el (mouse-avoidance-banish-position):
789 * proced.el (proced-renice-command):
790 * calc/calc.el (calc-ensure-consistent-units):
791 * calendar/icalendar.el (icalendar-import-format-uid):
792 * net/tramp.el (tramp-save-ad-hoc-proxies):
793 * progmodes/bug-reference.el (bug-reference-bug-regexp):
794 * progmodes/flymake.el (flymake-error-bitmap)
795 (flymake-warning-bitmap, flymake-fringe-indicator-position):
796 * progmodes/sh-script.el (sh-indent-after-continuation):
797 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
798 (verilog-before-save-font-hook, verilog-after-save-font-hook):
799 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
800 (vhdl-array-index-record-field-in-sensitivity-list)
801 (vhdl-indent-comment-like-next-code-line):
802 * textmodes/reftex-vars.el (reftex-ref-style-alist)
803 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
804 (reftex-cite-key-separator, reftex-create-bibtex-header)
805 (reftex-create-bibtex-footer):
806 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
807 (rst-indent-literal-normal, rst-indent-literal-minimized)
808 (rst-indent-comment): Add missing custom :version tags.
809
ef35abb4
GM
810 * calendar/timeclock.el (timeclock-modeline-display):
811 Add missing obsolete alias for renamed user option.
812
d1aae614
GM
813 * strokes.el (strokes-modeline-string):
814 * emulation/crisp.el (crisp-mode-modeline-string):
815 * eshell/esh-mode.el (eshell-status-in-modeline):
816 Aliases to defcustoms must come before the defcustom.
817
f1f4dba0
GM
818 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
819 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
820 (cal-tex-cursor-week-monday): Doc fixes.
821 (cal-tex-cursor-week2-summary): Doc fix.
822 Rename from cal-tex-cursor-week-at-a-glance.
823
824 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
825 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
826
827 * calendar/calendar.el (calendar-mode-map):
828 Add cal-tex-cursor-week2-summary.
829
d39109c3
SM
8302012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
831
685f87b0
SM
832 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
833
d39109c3
SM
834 * subr.el (read-passwd-map): New var.
835 (read-passwd): Use `read-string' again.
836 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
837
5694896d
J
8382012-10-06 Jambunathan K <kjambunathan@gmail.com>
839
840 * register.el (append-to-register, prepend-to-register):
841 Deactivate mark, as does `copy-to-register' (bug#12389).
842
9414dd8d
CY
8432012-10-06 Chong Yidong <cyd@gnu.org>
844
845 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
846
2b89bca4
KH
8472012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
848
849 * international/characters.el: Fix simple mistake ((car chars) ->
850 elt), delete duplicated code.
851
d5acb99a
GM
8522012-10-06 Glenn Morris <rgm@gnu.org>
853
854 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
855
123ec157
JS
8562012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
857
858 * color.el (color-hsl-to-rgb): Fix incorrect results for
859 small and large hue values. (Bug#12559)
860
7fa36ccb
FEG
8612012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
862
863 Enhancements to docstring formatting when filling paragraphs.
864 * progmodes/python.el (python-fill-docstring-style): Rename from
865 python-fill-string-style. Added new style.
866 (python-fill-string): Use new style. Better checks for
867 docstrings.
868
d8788e1e
GM
8692012-10-05 Glenn Morris <rgm@gnu.org>
870
204f3953
GM
871 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
872
d8788e1e
GM
873 * color.el (color-name-to-rgb, color-rgb-to-hex)
874 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
875 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
876 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
877 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
878
8d956cef
GM
879 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
880
e8757f09 8812012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
882
883 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
884 to get the correct size across symlinks.
885
e8757f09
GM
886 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
887
0e2ae83d
JL
8882012-10-04 Juri Linkov <juri@jurta.org>
889
890 * replace.el (query-replace-interactive): Declare obsolete.
891 (query-replace-read-from): Add the last incremental search string
892 to the list of default values accessible via M-n.
893 (map-query-replace-regexp): Use `read-regexp'.
894 (query-replace, query-replace-regexp, query-replace-regexp-eval)
895 (map-query-replace-regexp, replace-string, replace-regexp):
896 Fix docstrings to replace mentions of `query-replace-interactive'
897 with alternatives. (Bug#12526)
898
93cacb6d
JL
8992012-10-04 Juri Linkov <juri@jurta.org>
900
901 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
902 (dired-pop-to-buffer): Declare obsolete.
903 (dired-mark-pop-up): Doc fix.
904
fc345011
FEG
9052012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
906
907 Allow user to set docstring style for fill-paragraph.
908 * progmodes/python.el
909 (python-fill-comment-function, python-fill-string-function)
910 (python-fill-decorator-function, python-fill-paren-function):
911 Remove :safe for defcustoms.
912 (python-fill-string-style): New defcustom
5694896d 913 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
914 (python-fill-string): Honor python-fill-string-style settings.
915
6bab5d8b
MR
9162012-10-04 Martin Rudalics <rudalics@gmx.at>
917
918 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
919 after setting its buffer (Bug#10805).
920
a1a9f411
FEG
9212012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
922
923 Fix cornercase for string syntax.
924 * progmodes/python.el (python-syntax-propertize-function):
925 Simplify and enhance the regexp for unescaped quotes. Now it also
926 matches quotes in weird situations like the single quote in
927 "something\"'".
928 (python-syntax-stringify): Simplify num-quotes detecting code.
929
05e153a6
GM
9302012-10-03 Glenn Morris <rgm@gnu.org>
931
932 * help-macro.el (three-step-help):
933 Revert 2012-09-29 change. (Bug#12567)
934
2e566ecb
MR
9352012-10-03 Martin Rudalics <rudalics@gmx.at>
936
96ef9ccd
MR
937 * menu-bar.el (kill-this-buffer): Don't do anything when
938 `menu-frame' is not alive or visible (Bug#8184).
939
2e566ecb
MR
940 * emacs-lisp/debug.el (debug): When quitting the debugger window
941 restore current buffer (Bug#12502).
942
a96e1cb7
CY
9432012-10-02 Chong Yidong <cyd@gnu.org>
944
5694896d
J
945 * progmodes/hideif.el (hif-lookup, hif-defined):
946 Handle semantic-c-takeover-hideif.
a96e1cb7 947
b3ecad33
PE
9482012-10-02 Paul Eggert <eggert@cs.ucla.edu>
949
950 Change sampling interval units from ms to ns.
951 * profiler.el (profiler-sampling-interval): Change units
952 from ms to ns, multiplying the default by 1000000 so that
953 it remains 1 ms.
954 (profiler-report-cpu-line-format): Give enough room for
955 the maximum counters on 64-bit hosts.
956 (profiler-report-render-calltree-1): Call them "CPU samples",
957 not "Time (ms)", since they are not milliseconds now (and
958 never really were).
959
8cb51b66 9602012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 961
5694896d
J
962 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
963 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 964
fd795bf4
CY
9652012-10-02 Chong Yidong <cyd@gnu.org>
966
967 * emacs-lisp/eieio.el: Restore Version header.
968
fe0a74f9
SM
9692012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
970
6be9197e
SM
971 * vc/diff-mode.el (diff--auto-refine-data): New var.
972 (diff-hunk): Use it to delay refinement.
973 (diff-mode): Remove overlays when we turn off font-lock.
974
18486139
SM
975 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
976 (table-initialize-table-fixed-width-mode)
977 (table-set-table-fixed-width-mode): Remove functions.
978 (table-command-list): Move initialization into declaration.
979 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
980 (table-with-cache-buffer): Use `declare'.
981 (table-span-cell): Simplify via CSE.
982 (table-fixed-width-mode): Use define-minor-mode.
983 (table-call-interactively, table-funcall, table-apply): Remove.
984 (table-function): New function, to replace them.
985
d83ef976
SM
986 * bookmark.el (bookmark-search-pattern): Remove var.
987 (bookmark-read-search-input): Remove function.
988 (bookmark-bmenu-search): Reimplement using a minibuffer.
989
cd386662
SM
990 * faces.el (modeline): Remove obsolete face name.
991
fe0a74f9
SM
992 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
993 and give a non-nil default value.
994 (add-change-log-entry): Simplify accordingly.
995
9f7b98f8
DG
9962012-10-01 Dmitry Gutov <dgutov@yandex.ru>
997
998 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
999 (vc-git-log-edit-toggle-amend): New function.
1000 (vc-git-log-edit-toggle-signoff): New function.
1001 (vc-git-log-edit-mode): New major mode.
1002 (vc-git-log-edit-mode-map): Keymap for it.
1003 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1004
1005 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1006 header names.
1007 (log-edit-toggle-header): New function.
1008 (log-edit-extract-headers): Accept function values in HEADERS alist.
1009
62a81506
CY
10102012-10-01 David Engster <deng@randomsample.de>
1011
1012 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1013 from symbol property and change message to be more consistent with
1014 Emacs proper.
1015 (eieio-describe-generic): Add filename for each implementation.
1016 Fix indices for generic and normal methods.
1017 (eieio-method-def, eieio-class-def): New buttons.
1018 (eieio-help-find-method-definition)
1019 (eieio-help-find-class-definition): New functions.
1020 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1021 class, constructor and method definitions.
1022
1023 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1024 information in symbol property.
1025 (scoped-class): Remove.
1026 (eieio-slot-name-index, call-next-method): Check if it is bound.
1027
10282012-10-01 Leo P. White <lpw25@cam.ac.uk>
1029
1030 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1031 (eieio-custom-mode): New major mode.
1032 (eieio-customize-object): Use it.
1033
10342012-10-01 Eric Ludlam <zappo@gnu.org>
1035
1036 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1037 specifying the expected class, and whether subclassing is allowed.
1038 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1039 (eieio-persistent-validate/fix-slot-value)
1040 (eieio-persistent-slot-type-is-class-p): New functions.
1041 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1042
1043 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1044 Stop using unused publd variable.
1045
1046 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1047 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1048 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1049 (eieio-speedbar-handle-click): Do not specify a class for the
1050 method. Fixes method invocation order problems with EDE.
1051
375e49d4
SM
10522012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1055 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1056
16ce6ccd
KF
10572012-10-01 Karl Fogel <kfogel@red-bean.com>
1058
1059 * bookmark.el (bookmark-version-control): Give tags in the
1060 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1061 (bookmark-write-file): Bind `print-circle' to `t' to allow
1062 circular custom bookmark types. (Bug#12503)
16ce6ccd 1063
19e54a4d
PE
10642012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1065
86ec63ba
PE
1066 Revert the FOLLOW-SYMLINKS change for file-attributes.
1067 * files.el (remote-file-name-inhibit-cache, after-find-file):
1068 * time.el (display-time-file-nonempty-p): Undo last change.
1069
19e54a4d
PE
1070 * profiler.el (profiler-sampling-interval): Change default back to 1.
1071 See Stefan Monnier in
1072 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1073
0478776b
FEG
10742012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1075
1076 Shell output catching a la gud-gdb.
1077 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1078 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1079 New Vars.
0478776b
FEG
1080 (python-shell-fetch-lines-filter): New function.
1081 (python-shell-send-string-no-output): Use them.
1082
c22bac2c
TM
10832012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1084
1085 * profiler.el (profiler-sampling-interval): Rename from
1086 profiler-sample-interval.
1087 (profiler-sampling-interval): Default to 10.
1088 (profiler-find-profile): New command (was profiler-find-log).
1089 (profiler-find-profile-other-window): New command.
1090 (profiler-find-profile-other-frame): New command.
1091 (profiler-profile): Introduce API-level data structure.
1092
e7a2937b
PE
10932012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1094
1095 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1096 * files.el (remote-file-name-inhibit-cache):
1097 * time.el (display-time-file-nonempty-p): Use it.
1098 * files.el (after-find-file): Don't chase links before calling
1099 file-exists-p, as file-exists-p already does the right thing.
1100
4f595e15
RA
11012012-09-30 Ralf Angeli <angeli@caeruleus.net>
1102
1103 Merge from standalone RefTeX repository.
1104
1105 The following ChangeLog entries are shortened versions of the
1106 original ones with file paths adapted. A not so strongly edited
1107 version of the original ChangeLog can be found in the commit log.
1108
1109 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1110 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1111 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1112
1113 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1114 that entries with whitespace at various places are found.
1115 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1116 Include @String definitions in the resulting bib file. Add header
1117 and footer defined in `reftex-create-bibtex-header' and
1118 `reftex-create-bibtex-footer'.
1119 (reftex-do-citation): Make it possible again to insert
1120 non-existent entries. Save match data when asking for optional
1121 arguments. Return all keys, not just the first one.
1122 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1123 all citations in the same line.
1124 (reftex-parse-bibtex-entry): Accept additional optional argument
1125 `raw' and keep quotes or braces if it is non-nil. Match fields
1126 containing hyphens besides word constituents.
1127 (reftex-get-string-refs): New function.
1128 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1129 and ask if it should be reread in case it did.
1130 (reftex-pop-to-bibtex-entry)
1131 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1132 entries with spaces or tabs in front of arguments.
1133 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1134 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1135 Match entries containing numbers and symbol constituents.
1136 (reftex-do-citation, reftex-figure-out-cite-format):
1137 Use `reftex-cite-key-separator'.
4f595e15
RA
1138
1139 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1140 (reftex-mouse-view-crossref): Explain why point is set.
1141
1142 * textmodes/reftex-global.el: Whitespace changes.
1143
1144 * textmodes/reftex-index.el: Move provide statement to end of
1145 file.
1146 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1147 (reftex-index-visit-phrases-buffer): Set marker when visiting
1148 buffer. This allows for returning from the phrases file to the
1149 file one was just editing instead of the file where the last
1150 phrases was added from.
1151 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1152 punctuation syntax as it usually is not used as string quote in
1153 TeX-related modes and may occur unmatched. The change also
1154 prevents fontification of quoted content.
1155 (reftex-index-phrases-mode): Use it.
1156
375e49d4
SM
1157 * textmodes/reftex-parse.el (reftex-parse-from-file):
1158 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1159 (reftex-parse-from-file): Use beginning of match instead of end as
1160 bound.
1161
1162 * textmodes/reftex-ref.el: Adapt creation of
1163 `reftex-<package>-<macro>' functions to new structure of
1164 `reftex-ref-style-alist'.
375e49d4
SM
1165 (reftex-reference): Use `reftex-ref-style-list' function.
1166 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1167 reference macro if `reftex-ref-macro-prompt' is non-nil.
1168 (reftex-reference): Pass refstyle to `reftex-format-special'.
1169 Determine reference macro by looking at
375e49d4
SM
1170 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1171 Use only one special format function.
4f595e15
RA
1172 (reftex-varioref-vref, reftex-fancyref-fref)
1173 (reftex-fancyref-Fref): Remove definitions. The functions are now
1174 generated from `reftex-ref-style-alist'.
1175 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1176 Remove.
1177 (reftex-format-special): New function.
1178
1179 * textmodes/reftex-sel.el
1180 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1181 of `reftex-ref-style-alist'. Remove code for testing macro type.
1182 (reftex-select-toggle-varioref)
1183 (reftex-select-toggle-fancyref): Remove.
1184 (reftex-select-cycle-ref-style-internal)
1185 (reftex-select-cycle-ref-style-forward)
1186 (reftex-select-cycle-ref-style-backward): New functions.
1187 (reftex-select-label-map): Use `v' and `V' for general cycling
1188 through reference styles. Add `p' for switching between number
1189 and page reference types.
1190
375e49d4
SM
1191 * textmodes/reftex-toc.el (reftex-re-enlarge):
1192 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1193 the horizontal version throws an error even if the parameter is 0.
1194
1195 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1196 (reftex-plug-into-AUCTeX): Doc fix.
1197 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1198 string. Adapt to new name.
1199 (reftex-ref-style-alist): Change structure so that it is not
1200 possible to use multiple different package names within a style.
375e49d4
SM
1201 Remove the symbols for symbols for macro type distinction.
1202 Add characters for macro selection.
4f595e15
RA
1203 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1204 (reftex-create-bibtex-footer): New variables.
1205 (reftex-format-ref-function): Mention third argument of special
1206 format function.
375e49d4
SM
1207 (reftex-ref-style-alist, reftex-ref-style-default-list):
1208 New variables.
4f595e15
RA
1209 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1210 to new implementation. Mark as obsolete. Add compatibility code
1211 for honoring the variable values in case they are set.
375e49d4
SM
1212 (reftex-cite-format-builtin, reftex-bibliography-commands):
1213 Add support for ConTeXt.
1214 (reftex-format-ref-function, reftex-format-cite-function):
1215 Fix custom type.
4f595e15
RA
1216 (reftex-cite-key-separator): New variable.
1217
1218 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1219 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1220 `reftex-syntax-table' because parens have to retain their paren
1221 syntax in order for parsing of BibTeX entries like @book(...) to
1222 work.
1223 (reftex-in-comment): Do not error out if `comment-start-skip' is
1224 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1225 (reftex-tie-multifile-symbols): Add doc string.
1226 Initialize `reftex-ref-style-list'.
4f595e15
RA
1227 (reftex-untie-multifile-symbols): Add doc string.
1228 (reftex-add-index-macros): Doc fix.
1229 (reftex-ref-style-activate, reftex-ref-style-toggle)
1230 (reftex-ref-style-list): New functions.
1231 (reftex-mode-menu): Use them. Adapt to new structure of
1232 `reftex-ref-style-alist'.
1233 (reftex-select-with-char): Kill the RefTeX Select buffer when
1234 done.
1235 (reftex-remove-if): New function.
1236 (reftex-erase-all-selection-and-index-buffers)
1237 (reftex-mode-menu): Reference styles are now computed from
1238 `reftex-ref-style-alist'. Fix typo.
1239 (reftex-report-bug): New function.
1240 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1241 algorithms with O(n log n). Introduce optional argument SORT (not
1242 yet used).
1243
440ba395
FEG
12442012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1245
1246 Enhancements for triple-quote string syntax.
375e49d4
SM
1247 * progmodes/python.el (python-syntax-propertize-function):
1248 Match both quote cases in one regexp.
440ba395
FEG
1249 (python-syntax-stringify): Handle matches properly.
1250
4c478e6b
JL
12512012-09-30 Juri Linkov <juri@jurta.org>
1252
1253 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1254 to nil around the call to `insert' to prevent
4c478e6b
JL
1255 directory time modification by lock_file. (Bug#2295)
1256 * tar-mode.el (tar-summarize-buffer): Idem.
1257
d80d54b2
JL
12582012-09-30 Juri Linkov <juri@jurta.org>
1259
1260 * facemenu.el (list-colors-sort): Add option "Luminance".
1261 (list-colors-sort-key): Implement it.
1262
1263 * vc/diff-mode.el (diff-refine-removed):
1264 * vc/ediff-init.el (ediff-fine-diff-A):
1265 * vc/smerge-mode.el (smerge-refined-removed):
1266 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1267
d7e642cc
JD
12682012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1269
1270 * term/ns-win.el (x-file-dialog): New function.
1271
ee41332b
JB
12722012-09-30 Juanma Barranquero <lekktu@gmail.com>
1273
1274 * ido.el (ido-max-directory-size): Default to nil; the current
1275 default is small for POSIX systems, and impractical on Windows 7
1276 now that lstat returns directory sizes for NTFS.
1277
5938d519
MR
12782012-09-30 Martin Rudalics <rudalics@gmx.at>
1279
1280 In buffer display functions handle window-height/window-width
1281 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1282 * window.el (window--display-buffer): New argument ALIST.
1283 Obey window-height and window-width alist entries.
1284 (window--try-to-split-window): New argument ALIST.
1285 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1286 changed and window-combination-limit equals `window-size'.
1287 (display-buffer-in-atom-window)
1288 (display-buffer-in-major-side-window)
1289 (display-buffer-in-side-window, display-buffer-same-window)
1290 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1291 (display-buffer-pop-up-window, display-buffer-below-selected)
1292 (display-buffer-at-bottom, display-buffer-in-previous-window)
1293 (display-buffer-use-some-window): Adjust all callers of
1294 window--display-buffer and window--try-to-split-window.
1295 (fit-frame-to-buffer): New option.
1296 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1297 is non-nil.
1298 (display-buffer-in-major-side-window): Evaluate window-height /
1299 window-width alist entries.
1300
1301 * help.el (temp-buffer-resize-frames)
1302 (temp-buffer-resize-regexps): Remove options.
1303 (temp-buffer-resize-mode): Adjust doc-string.
1304 (resize-temp-buffer-window): Don't consult
1305 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1306 temp-buffer-resize-frames.
1307
375e49d4
SM
1308 * dired.el (dired-mark-pop-up):
1309 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1310 entry.
1311
c4c0c2df
CY
13122012-09-30 Chong Yidong <cyd@gnu.org>
1313
48de8b12
CY
1314 * server.el (server-host): Document the security implications.
1315 (server-auth-key): Doc fix.
1316
1317 * startup.el (initial-buffer-choice): Doc fix.
1318
1319 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1320
a97dc380
CY
1321 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1322 restriction change.
1323
d39d3c8e
CY
1324 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1325
c4c0c2df
CY
1326 * help-fns.el (help-fns--obsolete): Fix last change.
1327
98a5e33b
SM
13282012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1329
34cf6f39
SM
1330 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1331 (minor-mode-map-alist): Remove redundant code.
1332
e01c13fe
SM
1333 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1334 visited in a buffer.
1335 (cvs-insert-visited-file): New function.
1336 (find-file-hook): Use it.
1337
1338 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1339
02661b3a
SM
1340 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1341 chose face.
1342 (log-edit-empty-buffer-p): Don't require a space after a header.
1343
43711d4b
SM
1344 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1345
38a30d64
SM
1346 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1347
4ffb41a9
SM
1348 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1349 a proper minor-mode.
1350
98a5e33b
SM
1351 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1352
de82e29b
GM
13532012-09-29 Glenn Morris <rgm@gnu.org>
1354
5cc2e639
GM
1355 * winner.el (winner-mode): Remove variable (let define-minor-mode
1356 handle it).
1357 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1358 Doc fixes.
1359 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1360 (winner-mode): Use define-minor-mode.
1361
7bd302eb
GM
1362 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1363 the full definition in loaddefs, rather than duplicating it.
1364
2923922f 1365 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1366
0e3e4156
GM
1367 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1368 (inferior-lisp-program, inferior-lisp-load-command)
1369 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1370 No need to autoload defcustoms.
0e3e4156 1371
de82e29b
GM
1372 * hippie-exp.el (hippie-expand-try-functions-list)
1373 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1374 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1375 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1376 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1377 * progmodes/vhdl-mode.el (vhdl-line-expand):
1378 Explicitly load hippie-exp, so it does not get autoloaded
1379 while hippie-expand-try-functions-list is let-bound.
1380
e60b51ab
GM
13812012-09-28 Glenn Morris <rgm@gnu.org>
1382
277f0cfa
GM
1383 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1384
e60b51ab
GM
1385 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1386 Only "cl.el" counts as cl these days.
1387
53baf48a
JL
13882012-09-28 Juri Linkov <juri@jurta.org>
1389
1390 Display archive errors in the echo area instead of inserting
1391 to the file buffer.
1392
1393 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1394 to STDERR-TEST that can be a regexp matching a successful output.
1395 Create a temporary file and redirect stderr to it. Search for
1396 STDERR-TEST in the stderr output and display it in the echo area
1397 if no match is found.
1398 (archive-extract-by-file): New function like
1399 `archive-extract-by-stdout' but extracting archives to files
1400 and looking for successful matches in stdout. Function body is
1401 mostly copied from `archive-rar-extract'.
1402 (archive-rar-extract): Use `archive-extract-by-file'.
1403 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1404
9c1228c3
LL
14052012-09-28 Leo Liu <sdl.web@gmail.com>
1406
375e49d4
SM
1407 * pcomplete.el (pcomplete-show-completions):
1408 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1409
9c1228c3
LL
1410 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1411
7f457c06
SM
14122012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1413
3df749b0
SM
1414 * type-break.el: Use lexical-binding.
1415 (type-break-mode): Use define-minor-mode.
1416
7f457c06
SM
1417 * emacs-lisp/pcase.el (pcase--mark-used): New.
1418 (pcase--u1): Use it (bug#12512).
1419
1420 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1421 in load-history with the right file name.
1422
c00ebc98
TH
14232012-09-28 Tassilo Horn <tsdh@gnu.org>
1424
1425 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1426 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1427 (doc-view-get-bounding-box): Make bounding box slicing work for
1428 ODF and DVI documents.
1429
96fb7170
GM
14302012-09-28 Glenn Morris <rgm@gnu.org>
1431
1432 * type-break.el (type-break-mode, type-break-interval)
1433 (type-break-good-rest-interval, type-break-keystroke-threshold):
1434 No need to autoload.
1435 (type-break-good-rest-interval, type-break-keystroke-threshold):
1436 Add :set-after.
1437
5bc93c67
CY
14382012-09-28 Chong Yidong <cyd@gnu.org>
1439
1440 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1441 Add :version tag.
1442
9cad61d6
SM
14432012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1444
e28e67b3 1445 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1446
daee954c
GM
14472012-09-27 Glenn Morris <rgm@gnu.org>
1448
a88324d4
GM
1449 * faces.el (x-display-name): Declare (for without-x builds).
1450
8e5064e5
GM
1451 * linum.el (linum-format): Don't autoload it. Improve :type.
1452
cc1783c2
GM
1453 * progmodes/tcl.el: Don't require outline when compiling.
1454 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1455 * textmodes/sgml-mode.el: Don't require outline when compiling.
1456 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1457
48c339f2
GM
1458 * term.el (term-ansi-reset):
1459 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1460
daee954c
GM
1461 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1462 files for RCS and SCCS. (Bug#9781)
1463
b7f42161
CY
14642012-09-27 Chong Yidong <cyd@gnu.org>
1465
1466 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1467 change; value should be t.
1468
a2e770db
SM
14692012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1470
83600dc8
SM
1471 * image-mode.el: Use lexical-binding.
1472 (image-mode-winprops): Use t to stand for the window of
1473 a buffer that's not displayed.
1474 * doc-view.el (doc-view-new-window-function): Handle the new
1475 t in winprops.
1476 (doc-view-enlarge): Make it a real nop if the size is not changed.
1477 (doc-view-display): Handle the case where the buffer is not (yet?)
1478 displayed in any window.
1479 (doc-view-saved-settings): New var.
1480 (doc-view-mode): Use it.
1481 (doc-view-fallback-mode): Set it.
1482
a2e770db
SM
1483 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1484 Set lexical-binding.
1485 (minibuffer-eldef-shorten-default): New var.
1486 (minibuffer-default-in-prompt-regexps): Use it for new default.
1487 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1488
e3b60857
JB
14892012-09-26 Juanma Barranquero <lekktu@gmail.com>
1490
1491 * international/uni-bidi.el:
1492 * international/uni-category.el:
1493 * international/uni-name.el:
1494 * international/uni-numeric.el: Regenerate.
1495
3a880af4
SM
14962012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1497 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * profiler.el: New file.
1500
07b1a5fb
SM
15012012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1502
1503 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1504 (testcover-reinstrument): Simplify with CSE.
1505
42019c2e
JB
15062012-09-26 Juanma Barranquero <lekktu@gmail.com>
1507
1508 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1509
179f044b
WS
15102012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1511
1512 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1513 (verilog-auto-input, verilog-auto-insert-lisp)
1514 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1515 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1516 (verilog-auto-unused, verilog-auto-wire)
1517 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1518 newline. Reported by Andrew Jones.
1519 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1520 Reported by Brad Dobbie.
07b1a5fb
SM
1521 (verilog-batch-delete-trailing-whitespace):
1522 Create verilog-batch-delete-trailing-whitespace.
1523 Reported by Brad Dobbie.
179f044b
WS
1524 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1525 parameters from another module. Reported by Dan Katz.
1526 (verilog-auto, verilog-auto-assign-modport)
1527 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1528 AUTOINOUTMODPORT for UVM interface module shell generation.
1529 Reported by Brad Dobbie.
1530 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1531 standard behavior.
1532 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1533 Reported by Matt Martin.
1534
9c52dd5a
MR
15352012-09-25 Martin Rudalics <rudalics@gmx.at>
1536
1537 * window.el (window--resize-child-windows): When resizing child
1538 windows proportionally, process them in reverse order to
1539 preserve the "when splitting a window the new one gets the odd
1540 line" behavior.
1541 (window--resize-root-window-vertically): When resizing the
1542 minibuffer window try to affect only windows at the bottom of the
1543 frame. (Bug#12419)
1544
863666eb
CY
15452012-09-25 Chong Yidong <cyd@gnu.org>
1546
1547 * subr.el (declare): Doc fix.
1548
1549 * help-fns.el (help-fns--obsolete): Handle macros properly.
1550
59f7af81
CY
15512012-09-25 Chong Yidong <cyd@gnu.org>
1552
1553 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1554 this function obsolete.
1555
1556 * calendar/cal-x.el (calendar-two-frame-setup)
1557 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1558 * calendar/calendar.el (american-calendar, european-calendar)
1559 (calendar-for-loop):
1560 * comint.el (comint-dynamic-simple-complete)
1561 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1562 * desktop.el (desktop-load-default):
1563 * dired-x.el (dired-omit-here-always)
1564 (dired-hack-local-variables, dired-default-directory):
1565 * emacs-lisp/derived.el (derived-mode-class):
1566 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1567 * emacs-lock.el (toggle-emacs-lock):
1568 * epa.el (epa-display-verify-result):
1569 * epg.el (epg-sign-keys, epg-start-sign-keys)
1570 (epg-passphrase-callback-function):
1571 * eshell/esh-util.el (eshell-for):
1572 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1573 (eshell-add-to-window-buffer-names):
1574 * files.el (locate-file-completion):
1575 * imenu.el (imenu-example--create-c-index)
1576 (imenu-example--create-lisp-index)
1577 (imenu-example--lisp-extract-index-name)
1578 (imenu-example--name-and-position):
1579 * international/mule-cmds.el (princ-list):
1580 * international/mule-diag.el (decode-codepage-char):
1581 * international/mule-util.el (detect-coding-with-priority):
1582 * iswitchb.el (iswitchb-read-buffer):
1583 * mail/mailalias.el (mail-complete):
1584 * mail/sendmail.el (mail-sent-via):
1585 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1586 (mouse-major-mode-menu):
1587 * password-cache.el (password-read-and-add):
1588 * pcomplete.el (pcomplete-parse-comint-arguments):
1589 * progmodes/sh-script.el (sh-maybe-here-document):
1590 * replace.el (query-replace-regexp-eval):
1591 * savehist.el (savehist-load):
1592 * simple.el (choose-completion-delete-max-match):
1593 * term.el (term-dynamic-simple-complete):
1594 * vc/ediff-init.el (ediff-check-version):
1595 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1596 * vc/vc.el (vc-diff-switches-list):
1597 * view.el (view-return-to-alist-update): Likewise.
1598
1599 * subr.el (eval-next-after-load, makehash, insert-string)
1600 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1601 mark obsolete.
1602 (mode-line-inverse-video): Variable deleted.
1603
1604 * international/mule-util.el (string-to-sequence): Remove.
1605
1606 * calendar/calendar.el (calendar-version):
1607 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1608 (icalendar-convert-diary-to-ical):
1609 * cus-edit.el (custom-mode):
1610 * ansi-color.el (ansi-color-unfontify-region):
1611 * international/latin1-disp.el (latin1-char-displayable-p):
1612 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1613 * progmodes/which-func.el (which-func-update-1):
1614 Use define-obsolete-function-alias.
59f7af81
CY
1615
1616 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1617 * net/newst-treeview.el (newsticker-groups-filename):
1618 Fix incorrect obsolescence declaration.
59f7af81
CY
1619
1620 * allout.el (allout-passphrase-hint-string): Likewise.
1621 (allout-init): Use a declare form to mark obsolete.
1622
1623 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1624 this applies to functions.
1625
1626 * iswitchb.el (iswitchb-read-buffer): Move code of
1627 iswitchb-define-mode-map here, and delete that obsolete function.
1628
1629 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1630 font-lock-reference-face.
1631
cca96c97
GM
16322012-09-25 Glenn Morris <rgm@gnu.org>
1633
b06eeda8
GM
1634 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1635 Doc fixes.
1636
cca96c97
GM
1637 * eshell/em-term.el (eshell-term-name):
1638 Default to term-term-name. (Bug#12485)
1639
dc4f818b
FEG
16402012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1641
cca96c97
GM
1642 * progmodes/python.el (python-shell-send-buffer): Better handling
1643 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1644
289c24bd
GM
16452012-09-24 Glenn Morris <rgm@gnu.org>
1646
1647 * eshell/esh-cmd.el (eshell-find-alias-function):
1648 Tighten up file-name regexp. (Bug#12499)
1649
8fb8b88f
FEG
16502012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1651
1652 Enhancements for triple-quote string syntax.
1653 * progmodes/python.el (python-quote-syntax): Remove.
1654 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1655 (python-syntax-count-quotes, python-syntax-stringify):
1656 New functions.
8fb8b88f 1657
6c27f0f8
CY
16582012-09-24 Chong Yidong <cyd@gnu.org>
1659
a5f2b6ec
CY
1660 * mail/supercite.el (sc-version): Remove obsolete function.
1661 (sc-describe): Don't mark as obsolete, since it is bound.
1662 (sc-submit-bug-report): Remove.
1663
1664 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1665 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1666 (log-edit-require-final-newline)
1667 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1668
1669 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1670 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1671 * vc/vc.el (vc-checkout-carefully): Likewise.
1672
1673 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1674 (emerge-version): Remove.
1675
1676 * progmodes/compile.el (compile-internal): Remove.
1677 (compilation-parse-errors-function): Fix typo.
1678
1679 * international/mule.el (set-char-table-default): Remove.
1680 (set-coding-priority, make-coding-system, generic-char-p)
1681 (charset-list, charset-bytes, charset-id): Use declare to mark
1682 functions as obsolete.
1683
1684 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1685 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1686 * vc/vc-hooks.el (vc-default-registered): Don't use
1687 vc-master-templates.
1688
07b1a5fb
SM
1689 * font-lock.el (font-lock-reference-face):
1690 Use define-obsolete-variable-alias.
6c27f0f8
CY
1691
1692 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1693 * calendar/calendar.el (calendar-font-lock-keywords):
1694 * calendar/diary-lib.el (diary-font-lock-keywords)
1695 (diary-fancy-font-lock-keywords):
1696 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1697 * textmodes/reftex-index.el (reftex-insert-index):
1698 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1699 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1700 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1701 * progmodes/prolog.el (prolog-font-lock-keywords):
1702 * progmodes/idlwave.el (idlwave-idl-keywords):
1703 * progmodes/ada-mode.el (ada-font-lock-keywords):
1704 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1705
bcc0adbf
GM
17062012-09-24 Glenn Morris <rgm@gnu.org>
1707
1708 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1709
095bb823
FEG
17102012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1711
1712 * progmodes/python.el (python-indent-line): More consistent cursor
1713 movement behavior.
1714
70efc5c9
SM
17152012-09-23 Stefan Merten <smerten@oekonux.de>
1716
1717 * textmodes/rst.el: Fix compiler warning.
1718
2f438239
RW
17192012-09-23 Roland Winkler <winkler@gnu.org>
1720
07b1a5fb
SM
1721 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1722 Transcribe also LaTeX hyphenation.
2f438239
RW
1723 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1724 bibtex-reformat-previous-options.
1725
936ad041
RW
17262012-09-23 Roland Winkler <winkler@gnu.org>
1727
1728 * proced.el (proced-renice-command): New variable.
1729 (proced-marked-processes): New function.
1730 (proced-with-processes-buffer): New macro.
1731 (proced-send-signal): Use them.
1732 (proced-renice): New command bound to r.
1733
6fab0274
RW
17342012-09-23 Roland Winkler <winkler@gnu.org>
1735
1736 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1737 ibuffer-saved-filter-groups has one element, shortcut the call of
1738 completing-read. (Bug#12331)
1739
9a930676
CY
17402012-09-23 Chong Yidong <cyd@gnu.org>
1741
1742 * bindings.el (mode-line-toggle-read-only):
1743 * bs.el (bs-toggle-readonly):
1744 * buff-menu.el (Buffer-menu-toggle-read-only):
1745 * dired.el (dired-toggle-read-only):
1746 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1747
d07ff9db
CY
17482012-09-23 Chong Yidong <cyd@gnu.org>
1749
1750 * image.el (image-type-available-p): Adapt to init-image-library
1751 argument changes.
1752
51c4474e
JL
17532012-09-22 Juri Linkov <juri@jurta.org>
1754
1755 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1756 `dired-toggle-read-only'. (Bug#12462)
1757
43bf5e8e
MR
17582012-09-22 Martin Rudalics <rudalics@gmx.at>
1759
1760 * subr.el (temp-output-buffer-show): New function.
1761 (with-output-to-temp-buffer): Call temp-output-buffer-show
1762 instead of internal-temp-output-buffer-show.
1763
c88b867f
CY
17642012-09-22 Chong Yidong <cyd@gnu.org>
1765
3df47cd5
CY
1766 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1767 (Bug#12462).
1768
c88b867f
CY
1769 * repeat.el (repeat): Doc fix (Bug#12348).
1770
1771 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1772 (Bug#10909).
1773
1774 * simple.el (shell-command-on-region): Doc fix.
3171e303 1775 (read-only-mode): Doc fix.
c88b867f 1776
df9685f3
EZ
17772012-09-22 Eli Zaretskii <eliz@gnu.org>
1778
1779 * emacs-lisp/timer.el (run-with-idle-timer)
1780 (timer-activate-when-idle): Warn against reinvoking an idle timer
1781 from within its own timer action. (Bug#12447)
1782
8e17c9ba
MR
17832012-09-22 Martin Rudalics <rudalics@gmx.at>
1784
1785 * cus-start.el (window-combination-limit): Add new optional
1786 values.
1787 * window.el (temp-buffer-window-show)
1788 (window--try-to-split-window): Handle new values of
1789 window-combination-limit (Bug#1806).
1790 (split-window): Test window-combination-limit for t instead of
1791 non-nil.
1792 (display-buffer-at-bottom): New buffer display action function.
1793 * help.el (temp-buffer-resize-regexps): New option.
1794 (temp-buffer-resize-mode): Rewrite doc-string.
1795 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1796 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1797
48a24920
SM
17982012-09-22 Stefan Merten <smerten@oekonux.de>
1799
70efc5c9 1800 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1801 (rst-official-version)
1802 (rst-package-emacs-version-alist): Sync with official version
1803 V1.4.0.
1804 (rst-faces-defaults, rst-set-level-default)
1805 (rst-level-face-max, rst-level-face-base-color)
1806 (rst-level-face-base-light, rst-level-face-format-light)
1807 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1808 (rst-adornment-faces-alist): Match new setup.
1809 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1810 (rst-level-5, rst-level-6): New faces.
1811
82f8cd94
CY
18122012-09-22 Chong Yidong <cyd@gnu.org>
1813
1814 * simple.el (undo): Handle indirect buffers (Bug#8207).
1815
acfa068f 18162012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1817
1818 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1819 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1820 (ido-set-matches-1): Use it. (Bug#2042)
1821
acfa068f 18222012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1823
1824 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1825 Fix 2011-05-17 change. (Bug#12418)
1826
acfa068f 18272012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1828
1829 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1830
acfa068f 18312012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1832
1833 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1834 Be more robust about locating simple.el.
1835
acfa068f 18362012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1837
1838 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1839
acfa068f
CY
18402012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1841
1842 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1843
41a97e6f
JL
18442012-09-20 Juri Linkov <juri@jurta.org>
1845
eb2deaff
JL
1846 * replace.el (query-replace-read-from): Use `read-regexp' instead
1847 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1848 (occur-read-primary-args): Use `read-regexp' instead of
1849 `read-string'.
1850 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1851 `read-from-minibuffer'.
1852 * isearch.el (isearch-occur): Use `read-regexp' instead of
1853 `read-string'.
1854 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1855 `read-from-minibuffer'.
1856 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1857 of `read-string'. (Bug#7567)
1858
5825610b
JL
1859 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1860 and allow accepting a list of strings prepended to a list of
1861 standard default values. Doc fix. (Bug#12321)
1862
eebbf404
JL
1863 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1864
41a97e6f
JL
1865 * replace.el (read-regexp): Don't add ": " when PROMPT already
1866 ends with a colon and space. (Bug#12321)
1867
c9e452d3
TH
18682012-09-20 Tassilo Horn <tsdh@gnu.org>
1869
1870 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1871 error.
1872
ee97deee
SM
18732012-09-20 Stefan Merten <smerten@oekonux.de>
1874
70efc5c9 1875 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1876 Fixes feature request bug#11711.
1877 (rst-mode): Create `imenu-create-index-function'.
1878 (rst-get-stripped-line): Delete after refactoring.
1879 (rst-section-tree, rst-section-tree-rec)
1880 (rst-section-tree-point): Refactor and document properly.
1881 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1882 (rst-imenu-convert-cell, rst-imenu-create-index):
1883 New function.
ee97deee 1884
f490dab9
SM
18852012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1886
95b9712e
SM
1887 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1888 (macroexp--expand-all): Use it.
1889 (macroexp--funcall-and-return): Remove by folding it into its sole
1890 caller (macroexp--warn-and-return).
1891 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1892 Use macroexp--obsolete-warning.
1893
f490dab9
SM
1894 * calc/calc.el: Fix last change by removing the whole chunk, since it
1895 was only needed back when Calc was not bundled.
1896
96e8d411
MR
18972012-09-20 Martin Rudalics <rudalics@gmx.at>
1898
1899 * emacs-lisp/debug.el (debug): Restore assignment to
1900 debugger-old-buffer removed on 2012-09-08.
1901
0876a82d
JL
19022012-09-20 Juri Linkov <juri@jurta.org>
1903
1904 * dired-aux.el (dired-diff): Remove (require 'diff) since
1905 `diff-latest-backup-file' is now autoloaded.
1906
9f7c28f0
CY
19072012-09-20 Chong Yidong <cyd@gnu.org>
1908
1909 * vc/diff.el (diff-latest-backup-file): Autoload.
1910
7a04bee9
SM
19112012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1912
e6f0a80d
SM
1913 * calc/calc.el: Remove redundant autoload shape check.
1914 (sel-mode): Don't defvar.
1915 (calc-get-stack-element): Add `sel-mode' arg instead.
1916 (calc-top, calc-top-list): Pass it this additional argument.
1917 * calc/calc-store.el (calc-store-map):
1918 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1919 (calc-map-equation, calc-outer-product, calc-inner-product):
1920 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1921
7a04bee9
SM
1922 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1923
12734222
JL
19242012-09-19 Juri Linkov <juri@jurta.org>
1925
1926 * dired-aux.el (dired-diff): Add (require 'diff) because
1927 `diff-latest-backup-file' is not autoloaded.
1928 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1929 of `dired-get-filename' to t to not report error when there is
1930 no default file on the current line.
1931
46624b4f
SM
19322012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1933
ce97595b
SM
1934 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1935 macroexp--eval-if-compile.
1936 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1937 (macroexp--expand-all): Use them (bug#12371).
1938
46624b4f
SM
1939 * doc-view.el (doc-view-guess-paper-size)
1940 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1941
db8a5a18
TH
19422012-09-19 Tassilo Horn <tsdh@gnu.org>
1943
1944 New feature: set optimal slice from BoundingBox information.
1945 * doc-view.el (doc-view-mode-map): Add keybinding.
1946 (doc-view-menu): Add menu entry.
1947 (doc-view-set-slice): Adapt docstring.
1948 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1949 (doc-view-scale-bounding-box)
1950 (doc-view-set-slice-from-bounding-box): New functions.
1951 (doc-view-paper-sizes): New defvar.
1952
69f6644c
GM
19532012-09-19 Glenn Morris <rgm@gnu.org>
1954
35f5b19d
GM
1955 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1956 (byte-compile-log-warning): Autoload. (Bug#12371)
1957
69f6644c
GM
1958 * calendar/calendar.el (calendar-american-month-header)
1959 (calendar-european-month-header, calendar-iso-month-header)
1960 (calendar-month-header): New options.
1961 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1962 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1963
e543ae91
JD
19642012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1965
1966 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1967
2fd5e67d
JL
19682012-09-18 Juri Linkov <juri@jurta.org>
1969
1970 * dired-aux.el (dired-diff): Restore original functionality of
1971 getting the default value, but keep new feature of using the
1972 latest existing backup file (`diff-latest-backup-file').
1973
42917e79
JL
19742012-09-18 Juri Linkov <juri@jurta.org>
1975
1976 * dired.el (dired-mark): If the region is active in Transient Mark
1977 mode, mark all files in the active region. Doc fix.
1978 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1979 Doc fix. (Bug#10624)
1980
20f70ede
JL
19812012-09-18 Juri Linkov <juri@jurta.org>
1982
1983 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1984 attributes for M-n are pulled from the file at point.
1985 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1986 Suggested by Drew Adams. (Bug#10624)
1987
32fb8162
DG
19882012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1989
1990 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1991 whitespace after "end".
1992 (ruby-do-end-to-brace): Collapse block to one line if it fits
1993 within fill-column.
1994
37ab5092
MR
19952012-09-18 Martin Rudalics <rudalics@gmx.at>
1996
1997 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1998 value.
1999 (debug): Don't remove debugger window when debugger is expected
2000 to be back.
2001
ed1f0bd3
CY
20022012-09-18 Chong Yidong <cyd@gnu.org>
2003
2004 * custom.el (defface): Doc fix.
2005
2006 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2007
a11035b8
MB
20082012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2009
2010 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2011 to initialize query-on-exit; then test that instead (bug#12288).
2012
64f6a736
SM
20132012-09-17 Stefan Merten <smerten@oekonux.de>
2014
70efc5c9 2015 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2016 (rst-defcustom-testcover, rst-testcover-add-compose)
2017 (rst-testcover-add-1value): New functions.
2018 (rst-portable-mark-active-p): Replace by `use-region-p'.
2019 (rst-update-section, rst-classify-adornment)
2020 (rst-find-title-line): Mark `1value' forms.
2021 (rst-classify-adornment): Remove superfluous form.
2022 (rst-update-section, rst-get-adornments-around)
2023 (rst-adornment-complete-p, rst-get-next-adornment)
2024 (rst-adjust, rst-promote-region)
2025 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2026 (rst-find-pfx-in-region, rst-section-tree-rec)
2027 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2028 (rst-toc-node, rst-toc, rst-forward-section)
2029 (rst-iterate-leftmost-paragraphs)
2030 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2031 (rst-bullet-list-region)
2032 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2033 (rst-compile-find-conf, rst-compile)
2034 (rst-repeat-last-character): Fix style.
2035
580bd868
CY
20362012-09-17 Chong Yidong <cyd@gnu.org>
2037
2038 * comint.el (comint--complete-file-name-data): Don't add a space
2039 if the status is `sole'; that adds a gratuitous space in the
2040 completion-cycling case (Bug#12092).
2041
2042 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2043
69de3ec6
RS
20442012-09-17 Richard Stallman <rms@gnu.org>
2045
0dee970c
RS
2046 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2047 only in the mime-shown mode, not in raw mode.
2048 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2049 mime processing. (Bug#12305)
0dee970c 2050
6b250df6
GM
2051 * mail/rmail.el (rmail-retry-failure):
2052 Turn off mime processing first. (Bug#12037)
acb1c47b 2053
69de3ec6
RS
2054 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2055
d079ee5f
CY
20562012-09-17 Chong Yidong <cyd@gnu.org>
2057
2058 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2059 (shell-dynamic-complete-functions): Convert to defcustom.
2060 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2061
865fe16f
CY
2062 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2063 * comint.el (comint-prompt-read-only):
2064 * custom.el (defcustom):
2065 * hi-lock.el (hi-lock-mode):
2066 * ibuffer.el (ibuffer-formats):
2067 * ielm.el (ielm-prompt-read-only):
2068 * novice.el (disable-command):
2069 * saveplace.el (toggle-save-place):
2070 * speedbar.el (speedbar-supported-extension-expressions):
2071 * startup.el (auto-save-list-file-prefix, init-file-user)
2072 (after-init-hook, inhibit-startup-echo-area-message):
2073 * strokes.el (strokes-help):
2074 * time-stamp.el (time-stamp):
2075 * calendar/calendar.el (calendar, diary-file):
2076 * calendar/diary-lib.el (diary-mail-entries, diary)
2077 (diary-list-entries-hook):
2078 * calendar/holidays.el (holidays, calendar-holidays):
2079 * calendar/lunar.el (lunar-phases):
2080 * calendar/solar.el (sunrise-sunset):
2081 * emulation/edt.el (edt-load-keys):
2082 * emulation/viper.el (viper-mode):
2083 * eshell/em-alias.el (eshell-command-aliases-list):
2084 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2085 * international/ogonek.el (ogonek-information):
2086 * net/tramp-cmds.el (tramp-bug):
2087 * net/quickurl.el (quickurl-reread-hook-postfix):
2088 * play/decipher.el (decipher-font-lock-keywords):
2089 * progmodes/cc-styles.el (c-set-style):
2090 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2091 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2092 * progmodes/octave-mod.el (octave-mode):
2093 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2094 * progmodes/verilog-mode.el (verilog-read-defines):
2095 * textmodes/two-column.el (2C-mode): Likewise.
2096
48093eb9
KY
20972012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2098
2099 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2100 that holds many addresses.
2101
c584eaf9
CY
21022012-09-16 Chong Yidong <cyd@gnu.org>
2103
40d70ecb
CY
2104 * align.el (align-areas): Call the indication function with
2105 positions instead of markers for arguments (Bug#12343).
2106
1667e065
CY
2107 * files.el (parse-colon-path): Use split-string (Bug#12351).
2108
fdc2806d 2109 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2110 (display-buffer-function): Mark as obsolete.
fdc2806d 2111
f1be615c 2112 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2113 values similar to font-lock-keywords (Bug#12136).
2114 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2115 (compilation-error-regexp-alist): Doc fix.
2116
f40a9709
GM
21172012-09-15 Glenn Morris <rgm@gnu.org>
2118
72aa16e1
GM
2119 * version.el (emacs-bzr-version-bzr): New function.
2120 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2121
82375160
GM
2122 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2123 checkouts, check the parent dirstate matches the branch.
2124 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2125 empty string.
2126
f40a9709
GM
2127 * version.el (emacs-bzr-version): Doc fix.
2128 (emacs-bzr-version-dirstate): New function.
2129 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2130 is local try and check that it matches the branch. If not, just
2131 use dirstate information. (Bug#12441)
2132
cb26b7f5
JL
21332012-09-14 Juri Linkov <juri@jurta.org>
2134
2135 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2136 (Bug#12399)
2137
2de39f08
SM
21382012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2139
0fb3cb7c
SM
2140 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2141
2de39f08
SM
2142 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2143 Remove obsolete byte-compiler hack that tried to silence some warnings.
2144 (edebug-submit-bug-report): Remove.
2145 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2146 Remove aliases, use the un-prefixed name instead.
2147 (edebug-pop-to-buffer): Consider other frames.
2148 (edebug-original-read):: Make it more obvious that it's always defined.
2149 (edebug--make-form-data-entry, edebug--form-data-name)
2150 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2151 single-dashed name, and implement with cl-defstruct.
2152 (edebug-set-form-data-entry): Use the standard accessors.
2153 (edebug-make-top-form-data-entry): Use push.
2154 (edebug-no-match): Drop useless `funcall'.
2155 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2156 to functions.
2157 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2158 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2159 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2160 (easy-menu-define, with-custom-print): Remove redundant specs.
2161 (edebug-outside-overriding-local-map)
2162 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2163 (edebug--display): Bind unread-command-events directly to nil rather
2164 than binding it to unread-command-events and later setting it to nil.
2165 (edebug--display): Kill edebug-eval-buffer here...
2166 (edebug--recursive-edit): ...rather than here.
2167 Bind standard-output and standard-input.
2168 (edebug-eval): Check cl-macroexpand-all is fboundp.
2169 (edebug-temp-display-freq-count): Fix last change.
2170
2171 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2172 * subr.el (noreturn, 1value): Add `debug' spec.
2173 * emacs-lisp/advice.el: Require cl-lib.
2174 (ad-copy-tree): Remove, use copy-tree instead.
2175 (ad-dolist): Remove use dolist or cl-dolist instead.
2176 (ad-do-return): Remove, use cl-return instead.
2177 (defadvice): Add `debug' spec.
2178
5b68b333
JL
21792012-09-13 Juri Linkov <juri@jurta.org>
2180
2181 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2182 (Bug#12399)
2183
b9800ec4
GM
21842012-09-13 Glenn Morris <rgm@gnu.org>
2185
6a2e6868
GM
2186 * calc/calc.el (math-compose-expr):
2187 * calc/calc-ext.el (math-compose-expr):
2188 * progmodes/cc-defs.el (cl-macroexpand-all):
2189 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2190 (cl-macroexpand-all): Update declarations.
2191
b9800ec4
GM
2192 * vc/vc.el: No need to require ediff.
2193 (ediff-load-version-control): Declare.
2194 (ediff-vc-internal): Fix declaration.
2195 (vc-version-ediff): Require ediff.
2196
c18e885b
PE
21972012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2198
2199 Use a more backwards-compatible timer format (Bug#12430).
2200 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2201 being right after USECS, as that better supports old code that
2202 inadvisedly looked directly at the timer vector.
2203
d607d303
KH
22042012-09-13 Kenichi Handa <handa@gnu.org>
2205
2206 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2207 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2208 `coding-priority' property of these language environment.
2209
72eac303
PE
22102012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2211
2212 Fix glitches caused by addition of psec to timers (Bug#12430).
2213 * image.el (image-animate-timer):
2214 * time.el (display-time-world-timer):
2215 Use timer--function and timer--args rather than raw access to
2216 timer vector.
2217
2168fe4f
GM
22182012-09-13 Glenn Morris <rgm@gnu.org>
2219
2220 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2221 If not compiling a file, try using load-file-name.
2222
bd8d6108
SM
22232012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2224
c0c54fbd
SM
2225 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2226 Fix last change.
2227 (edebug-update-eval-list): Use `push'.
2228
bd8d6108
SM
2229 * emacs-lisp/edebug.el: Use lexical-binding.
2230 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2231 Mark unused args with underscore.
2232 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2233 (edebug-form-data): Use defvar-local.
2234 (edebug-make-before-and-after-form, edebug-make-after-form):
2235 Use backquote.
2236 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2237 Not dynamically scoped any more.
2238 (edebug--enter-trace): Add arguments `function' and `args'.
2239 Rename from edebug-enter-trace.
2240 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2241 (edebug--update-coverage): Add `after-index' and `value' args.
2242 Rename from edebug-update-coverage.
2243 (edebug-slow-after): Call it accordingly.
2244 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2245 edebug-recursive-edit.
2246 (edebug--display): Call it accordingly. Add args `value',
2247 `offset-index', and `arg-mode'. Rename from edebug-display.
2248 (edebug-debugger, edebug): Call it accordingly.
2249 (edebug-eval-display-list): Use dolist.
2250
a9f9d9de
JL
22512012-09-12 Juri Linkov <juri@jurta.org>
2252
2253 * info.el (Info-search): Don't check for isearch-mode and
2254 isearch-regexp before let-binding search-spaces-regexp to
2255 Info-search-whitespace-regexp.
2256 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2257 search-whitespace-regexp if isearch-lax-whitespace or
2258 isearch-regexp-lax-whitespace is non-nil.
2259 (Info-mode): Don't set local variable search-whitespace-regexp.
2260 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2261
bfeae2cf
SM
22622012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2265 (debugger-env-macro): Remove support for unread-command-char.
2266
2267 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2268 the temporary map re-appearing on emulation-mode-map-alists.
2269
2270 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2271 since 22.1.
2272
2273 * ehelp.el (with-electric-help): Accept functions in
2274 electric-help-form-to-execute.
2275 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2276 And replace unread-command-char -> unread-command-events.
2277
fbbcaf1b
MA
22782012-09-12 Michael Albinus <michael.albinus@gmx.de>
2279
2280 Sync with Tramp 2.2.6.
2281
2282 * net/tramp.el (tramp-accept-process-output): Don't use
2283 JUST-THIS-ONE in the XEmacs case.
2284
2285 * net/trampver.el: Update release number.
2286
4dece104
MR
22872012-09-12 Martin Rudalics <rudalics@gmx.at>
2288
bfeae2cf
SM
2289 * emacs-lisp/debug.el (debugger-previous-window-height):
2290 New variable.
4dece104
MR
2291 (debug): When debugger-jumping-flag is non-nil try to restore
2292 height of debugger window. (Bug#8789)
2293
45b82ad0
SM
22942012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2295
60c49c0f
SM
2296 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2297 overriding-local-map and pre/post-command-hook here.
2298 (edebug-recursive-edit): Do it here instead (bug#12345).
2299 (edebug-outside-unread-command-char): Remove all uses of
2300 unread-command-char.
2301
45b82ad0
SM
2302 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2303 inhibit-debugger is bound instead.
2304
baa26ea0
BG
23052012-09-11 Bastien Guerry <bzg@gnu.org>
2306
2307 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2308 (Bug#12346)
baa26ea0 2309
04e8abfa
BG
23102012-09-11 Bastien Guerry <bzg@gnu.org>
2311
96d03571 2312 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2313 (Bug#12347)
96d03571
BG
2314
23152012-09-11 Bastien Guerry <bzg@gnu.org>
2316
fc0c31f8 2317 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2318
04e082b0
MM
23192012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2320
2321 * progmodes/sql.el: Version 3.1
2322 (sql-db2-escape-newlines): New variable.
2323 (sql-escape-newlines-filter): Use it.
2324
399a361b
JB
23252012-09-10 Juanma Barranquero <lekktu@gmail.com>
2326
2327 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2328
0780c517
DN
23292012-09-10 Dan Nicolaescu <dann@gnu.org>
2330
45b82ad0
SM
2331 * vc/diff-mode.el (diff-mode-menu):
2332 Bind diff-remove-trailing-whitespace.
0780c517 2333
9b851e25
SM
23342012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2337 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2338 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2339 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2340 (eval-defun-2): Remove bogus interactive spec.
2341 (lisp-indent-line): Remove redundant whole-exp code, now done in
2342 indent-according-to-mode.
2343 (save-match-data): Remove redundant indent data.
2344
2345 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2346 Use `declare'.
2347
3231d532
JL
23482012-09-09 Juri Linkov <juri@jurta.org>
2349
2350 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2351 (replace-lax-whitespace, query-replace-regexp)
2352 (query-replace-regexp-eval, replace-regexp): Doc fix.
2353 (perform-replace, replace-highlight): Let-bind
2354 isearch-lax-whitespace to replace-lax-whitespace and
2355 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2356
2357 * isearch.el (isearch-query-replace): Let-bind
2358 replace-lax-whitespace to isearch-lax-whitespace and
2359 replace-regexp-lax-whitespace to
2360 isearch-regexp-lax-whitespace. (Bug#10885)
2361
70fe8236
SM
23622012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2365
8ed43f15
AM
23662012-09-09 Alan Mackenzie <acm@muc.de>
2367
70fe8236
SM
2368 * progmodes/cc-engine.el (c-state-cache-init):
2369 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2370 (c-record-parse-state-state):
2371 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2372
bfabf70a
AS
23732012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2374
2375 * register.el (register-separator): Rename from
2376 separator-register. All uses changed. Doc fix.
2377 (register): Fix version.
2378
011474aa
CY
23792012-09-09 Chong Yidong <cyd@gnu.org>
2380
2381 * replace.el (query-replace-map): Bind four new symbols for
2382 requesting window scrolling.
2383
2384 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2385 query-replace-map (Bug#8948).
2386
2387 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2388
2389 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2390 since they are now in query-replace-map.
2391
2392 * window.el (scroll-other-window-down): Make the arg optional.
2393
a8b7cd8d
CY
23942012-09-09 Chong Yidong <cyd@gnu.org>
2395
2396 * files.el (hack-local-variables-confirm): Use quit-window to kill
2397 the *Local Variables* buffer.
2398
c3268831
DG
23992012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2400
2401 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2402 not just expect to be at its beginning. Adjust callees.
2403 Succeed when do-end block has no space before the pipe character.
2404 (ruby-brace-to-do-end): When the original block is one-liner,
2405 convert to multiline. Reindent the result.
2406
0979429b
J
24072012-09-08 Jambunathan K <kjambunathan@gmail.com>
2408
2409 * register.el (register): New group.
27359e99 2410 (separator-register): New user option.
0979429b
J
2411 (increment-register): Route it to `append-to-register', if
2412 register contains text. Implication is that `C-x r +' can now be
2413 used for appending to a text register (bug#12217).
2414 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2415 `separator-register'.
0979429b 2416
ace2989a
AM
24172012-09-08 Alan Mackenzie <acm@muc.de>
2418
2419 AWK Mode: make auto-newline work when there's "==" in the pattern.
2420 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2421 correctly.
0979429b
J
2422 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2423 Test more rigorously for "=" token.
ace2989a 2424
616c6c36
DG
24252012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2426
0979429b
J
2427 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2428 Only fail when reached LIMIT.
616c6c36 2429
35d98877
CY
24302012-09-08 Chong Yidong <cyd@gnu.org>
2431
2432 * dired.el (dired-mode-map): Don't bind M-=.
2433
2434 * dired-aux.el (dired-diff): Use backup file as default.
2435
1715f2db
DA
24362012-09-08 Drew Adams <drew.adams@oracle.com>
2437
2438 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2439
6dcef6ec
CY
24402012-09-08 Chong Yidong <cyd@gnu.org>
2441
2442 * subr.el (syntax-after, syntax-class): Doc fix.
2443
fa2bcf43
MR
24442012-09-08 Martin Rudalics <rudalics@gmx.at>
2445
2446 * window.el (display-buffer-in-previous-window): New buffer
2447 display action function.
2448
2449 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2450 (debugger-previous-window): New variable.
2451 (debug): Rewrite using display-buffer-in-previous-window,
2452 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2453
daac280a
SM
24542012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2457
9dd40b00
MM
24582012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2459
daac280a
SM
2460 * progmodes/python.el (python-shell-send-string):
2461 When default-directory is remote, create temp file on remote
9dd40b00
MM
2462 filesystem.
2463 (python-shell-send-file): When file is remote, pass local view of
2464 file paths to remote Python interpreter. (Bug#12340)
2465
145823ec
CY
24662012-09-07 Chong Yidong <cyd@gnu.org>
2467
cee2e90d
CY
2468 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2469
0d7eb2ea
CY
2470 * files.el (after-find-file): Don't fail on a read-only buffer if
2471 require-final-newline is `visit' or `visit-save' (Bug#11156).
2472
145823ec
CY
2473 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2474
daac280a
SM
2475 * userlock.el (ask-user-about-supersession-threat):
2476 Use read-char-choice (Bug#12093).
145823ec 2477
74c582e6
CY
24782012-09-07 Chong Yidong <cyd@gnu.org>
2479
e5c2edf7
CY
2480 * subr.el (buffer-narrowed-p): New function.
2481
2482 * ses.el (ses-widen):
2483 * simple.el (count-words--buffer-message):
1f9f395d 2484 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2485
2486 * simple.el (count-words-region): Don't signal an error if there
2487 is a non-nil prefix arg and the mark is not set.
c640e87d 2488
74c582e6
CY
2489 * help.el (describe-key-briefly): Allow the message to be seen
2490 when invoked from the minibuffer (Bug#7014).
2491
d81ceaaf
DG
24922012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2493
2494 * progmodes/ruby-mode.el (ruby-end-of-defun)
2495 (ruby-beginning-of-defun): Simplify, allow indentation before
2496 block beginning and end keywords.
8f06acce
DG
2497 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2498 (ruby-end-of-defun): Expect that the point is at the beginning of
2499 the defun.
d81ceaaf 2500
d458ef98
SM
25012012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2504 (bug#12367).
2505 (cl--make-usage-args): Strip _ from argument names.
2506
20367d28
RS
25072012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2508
2509 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2510 obsolete alias speedbar-key-map.
2511 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2512 (vhdl-index-menu-init): Don't use obsolete variable
2513 font-lock-maximum-size.
2514
3424a4f6
CY
25152012-09-06 Chong Yidong <cyd@gnu.org>
2516
2517 * frame.el (window-system-version): Mark as obsolete.
2518
fcbfbdea
CY
2519 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2520 of obsolete variable speedbar-key-map.
2521
826b3235
JL
25222012-09-06 Juri Linkov <juri@jurta.org>
2523
2524 * replace.el (replace-lax-whitespace): New defcustom.
2525 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2526 (replace-string, replace-regexp): Mention it in docstrings.
2527 (perform-replace, replace-highlight): Let-bind
2528 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2529 to the values of replace-lax-whitespace and regexp-flag.
2530 Don't let-bind search-whitespace-regexp. (Bug#10885)
2531
2532 * isearch.el (isearch-query-replace): Let-bind
2533 replace-lax-whitespace instead of let-binding
2534 replace-search-function and replace-re-search-function.
2535 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2536 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2537 (isearch-toggle-symbol): Set isearch-regexp to nil
2538 in isearch-word mode (like in isearch-toggle-word).
2539
1ec5e41d
JL
25402012-09-06 Juri Linkov <juri@jurta.org>
2541
2542 * replace.el (replace-search-function)
2543 (replace-re-search-function): Set default values to nil.
2544 (perform-replace): Let-bind isearch-related variables based on
2545 replace-related values, call `isearch-search-fun' and let-bind
2546 the result to `search-function'. Remove code that sets
2547 `search-function' and `search-string' separately for
2548 `delimited-flag'.
2549 (replace-highlight): Add new argument `delimited-flag' and
2550 rename other arguments to the names used in `perform-replace'.
2551 Let-bind `isearch-word' to the argument `delimited-flag'.
2552 (Bug#10885, bug#10887)
2553
0ba2d4b6
DG
25542012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2555
2556 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2557 ruby-beginning-of-indent, simplify, allow all keywords to have
2558 indentation before them.
2559 (ruby-beginning-of-indent): Adjust for above. Search until the
2560 found point is not inside a string or comment.
2561 (ruby-font-lock-keywords): Allow symbols to start with "@"
2562 character, give them higher priority than variables.
2563 (ruby-syntax-propertize-function)
2564 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2565 matchers. Expression expansions are not comments when inside a
2566 string, and there comment syntax status is irrelevant.
2567 (ruby-match-expression-expansion): New function. Check that
2568 expression expansion is inside a string, and it's not escaped.
2569 (ruby-font-lock-keywords): Use it.
2570
ef654460
MR
25712012-09-05 Martin Rudalics <rudalics@gmx.at>
2572
2573 * help.el (temp-buffer-max-height): New default value.
2574 (temp-buffer-resize-frames): New option.
2575 (resize-temp-buffer-window): Optionally resize frame.
2576
2577 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2578 (fit-frame-to-buffer): New function.
2579
7e570fbf 25802012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2581
2582 * emulation/cua-rect.el (cua--init-rectangles):
2583 * textmodes/picture.el (picture-mode-map):
2584 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2585 like forward-char and backward-char. (Bug#12317)
2586
7e570fbf 25872012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2588
2589 * progmodes/flymake.el (flymake-warning-re): New variable.
2590 (flymake-parse-line): Use it.
2591
7e570fbf 25922012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2593
2594 * calendar/holidays.el (holiday-christian-holidays):
2595 Rename an entry. (Bug#12289)
2596
7e570fbf 25972012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2598
2599 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2600 (bug#12222).
2601
972debf2
SM
26022012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * loadup.el: Load macroexp. Remove hack.
2605 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2606 (macroexp--expand-all): Use it to get better warnings.
2607 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2608 (internal-macroexpand-for-load): New functions.
2609 (macroexp--pending-eager-loads): New var.
2610 (emacs-startup-hook): New hack to replace one in loadup.el.
2611 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2612 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2613 (cl-psetf): Simplify.
2614 (cl-defstruct): Add indent rule.
2615
8ce192e3
LI
26162012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2617
2618 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2619 over `user-mail-address' for the SMTP MAIL FROM envelope.
2620 (smtpmail-via-smtp): Ditto.
2621
6578b4d8
DG
26222012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2623
2624 * progmodes/ruby-mode.el: Clean up keybindings.
2625 (ruby-mode-map): Don't bind ruby-electric-brace,
2626 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2627 backward-kill-word, reindent-then-newline-and-indent.
2628 (ruby-mark-defun): Remove.
2629 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2630 (ruby-mode): Set local beginning-of-defun-function and
2631 end-of-defun-function values.
2632
c5e28e39
MR
26332012-09-03 Martin Rudalics <rudalics@gmx.at>
2634
2635 * window.el (temp-buffer-window-setup-hook)
2636 (temp-buffer-window-show-hook): New hooks.
2637 (temp-buffer-window-setup, temp-buffer-window-show)
2638 (with-temp-buffer-window): New functions.
972debf2
SM
2639 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2640 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2641
2642 * help.el (temp-buffer-resize-mode): Fix doc-string.
2643 (resize-temp-buffer-window): New optional argument WINDOW.
2644
2645 * files.el (recover-file, save-buffers-kill-emacs):
2646 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2647
73406194
MA
26482012-09-02 Michael Albinus <michael.albinus@gmx.de>
2649
2650 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2651 remote definition of `default-directory', ensure we can connect.
2652
63dd1c6f
JL
26532012-09-02 Juri Linkov <juri@jurta.org>
2654
2655 Toggle whitespace matching mode with M-s SPC.
2656 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2657
2658 * isearch.el (search-whitespace-regexp): Doc fix.
2659 Remove cons cell customization.
2660 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2661 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2662 New variables.
2663 (isearch-forward, isearch-forward-regexp): Doc fix.
2664 (isearch-toggle-lax-whitespace): New command.
2665 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2666 (re-search-forward-lax-whitespace)
2667 (re-search-backward-lax-whitespace): New functions.
2668 (isearch-whitespace-regexp): Remove function.
2669 (isearch-query-replace): Let-bind replace-search-function and
2670 replace-re-search-function.
2671 (isearch-occur): Let-bind search-spaces-regexp according to the
2672 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2673 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2674 condition for C-q SPC.
2675 (isearch-search-fun-default): Use new functions mentioned above.
2676 (isearch-search-forward, isearch-search-backward): Remove functions.
2677 (isearch-search): Don't let-bind search-spaces-regexp.
2678 (isearch-lazy-highlight-space-regexp): Remove variable.
2679 (isearch-lazy-highlight-lax-whitespace)
2680 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2681 (isearch-lazy-highlight-new-loop): Use them.
2682 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2683
af7dda05
CY
26842012-09-02 Chong Yidong <cyd@gnu.org>
2685
2686 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2687
d67d3afd
GM
26882012-09-02 Glenn Morris <rgm@gnu.org>
2689
2690 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2691
69678719
GM
26922012-09-01 Glenn Morris <rgm@gnu.org>
2693
2694 * term.el: Tidy up menu definitions.
2695 (term-mode-map): Use easymenu for In/Out, Complete menus.
2696 (term-pager-break-map): Initialize in the defvar.
2697 (term-terminal-menu, term-signals-menu): Define with easymenu.
2698 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2699 (term-pager-menu): New, extracted from term-process-pager.
2700 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2701 (term-update-mode-line): Propertize line/char and page items.
2702 (term-process-pager): Move keymap initialization elsewhere.
2703
78dd6ab1
MR
27042012-09-01 Martin Rudalics <rudalics@gmx.at>
2705
2706 * window.el (switch-to-prev-buffer): Handle additional values of
2707 BURY-OR-KILL argument. Don't switch in minibuffer window.
2708 (switch-to-next-buffer): Don't switch in minibuffer window.
2709 (quit-restore-window): New function based on quit-window.
2710 Handle additional values of former KILL argument.
2711 (quit-window): Call quit-restore-window with appropriate
2712 interpretation of KILL argument.
2713 (display-buffer-below-selected): New buffer display action
2714 function.
2715
3d10e134
SM
27162012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * minibuffer.el (completion-at-point-functions): Complete docstring
2719 (bug#12254).
2720
0e23ef9d
PE
27212012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2722
2723 Better seed support for (random).
2724 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2725 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2726 * play/mpuz.el, play/tetris.el, play/zone.el:
2727 * calc/calc-comb.el (math-init-random-base):
2728 * play/blackbox.el (bb-init-board):
2729 * play/life.el (life):
2730 * server.el (server-use-tcp):
2731 * type-break.el (type-break):
2732 Remove unnecessary call to (random t).
2733 * net/sasl.el (sasl-unique-id-function):
2734 Change (random t) to (random), now that the latter is more random.
2735 * play/life.el (life-initialized): Remove no-longer-needed var.
2736
862382df
MR
27372012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2738
2739 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2740 Consider frame's buffer predicate when choosing the buffer.
2741 (Bug#12081)
2742
262a66e1
RS
27432012-08-30 Richard Stallman <rms@gnu.org>
2744
2745 * simple.el (special-mode-map): Delete binding for `z'.
2746
f17e1d00
AS
27472012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2748
2749 * progmodes/compile.el (compilation-always-kill): Doc fix.
2750
24777832
CY
27512012-08-30 Chong Yidong <cyd@gnu.org>
2752
2753 * window.el (display-buffer-reuse-frames): Make the obsolescence
2754 message more informative.
2755
69ba1f04
GM
27562012-08-30 Glenn Morris <rgm@gnu.org>
2757
2758 * paren.el (show-paren-delay):
2759 Add a :set function. Doc fix. (Bug#12297)
2760
f0019ede
MB
27612012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2762
2763 * progmodes/compile.el (compilation-always-kill): New var.
2764 (compilation-start): Use it.
2765
35e62fc9
SM
27662012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2767
af070a1c
SM
2768 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2769 * files.el (read-only-mode): Move to simple.el.
2770
35e62fc9
SM
2771 * files.el (read-only-mode): New minor mode.
2772 (toggle-read-only): Use it and mark obsolete.
2773 (find-file--read-only):
2774 * vc/vc.el (vc-next-action, vc-checkout):
2775 * vc/vc-cvs.el (vc-cvs-checkout):
2776 * obsolete/vc-mcvs.el (vc-mcvs-update):
2777 * ffap.el (ffap--toggle-read-only): Update callers.
2778
c2c43c23
MA
27792012-08-29 Michael Albinus <michael.albinus@gmx.de>
2780
2781 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2782 remote shell scripts.
2783 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2784
2785 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2786 "/usr/local/sbin".
2787
9fba804b
SM
27882012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2791
eada0861 27922012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2793
806f0cc7
LL
2794 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2795 completion-at-point. (Bug#12220)
2796
3bb213b9
LL
2797 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2798
22ab32ef
LL
2799 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2800
eada0861 28012012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2802
19c17fc1
CY
2803 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2804 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2805
eada0861 28062012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2807
2808 * progmodes/hideif.el (hif-compress-define-list):
2809 Fix typo. (Bug#11951)
2810
eada0861 28112012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2812
2813 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2814 buffer local setting.
2815
27d6c5a8
LL
2816 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2817 rcirc-encode-coding-system.
2818
eada0861 28192012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2820
2821 * net/rcirc.el (rcirc-split-message): New function.
2822 (rcirc-send-message): Use it. (Bug#12051)
2823
d44688e4
JL
28242012-08-28 Juri Linkov <juri@jurta.org>
2825
2826 * info.el (Info-fontify-node): Hide empty lines at the end of
2827 the node. (Bug#12272)
2828
34f10d41
MR
28292012-08-27 Drew Adams <drew.adams@oracle.com>
2830
2831 * dired.el (dired-pop-to-buffer): Make window start at beginning
2832 of buffer (Bug#12281).
2833
77f1f99c
CY
28342012-08-26 Chong Yidong <cyd@gnu.org>
2835
2836 * window.el (special-display-regexps, special-display-frame-alist)
2837 (special-display-buffer-names, special-display-function)
2838 (display-buffer-reuse-frames): Mark as obsolete.
2839
2840 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2841
2842 * help.el (help-print-return-message): Don't treat
2843 display-buffer-reuse-frames specially.
2844
d97af5a0
CY
28452012-08-26 Chong Yidong <cyd@gnu.org>
2846
9fba804b
SM
2847 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2848 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2849 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2850 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2851 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2852 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2853 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2854 the functions directly with gdb-display-buffer-other-frame-action.
2855 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2856 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2857 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2858 (gdb-display-registers-buffer): Define directly.
2859 (def-gdb-display-buffer): Macro deleted.
2860 (gdb-display-buffer): Remove second and third args, callers don't
2861 use them. Defer to the default display-buffer behavior, apart
2862 from making windows dedicated.
2863 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2864
2865 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2866
2867 * window.el (display-buffer-pop-up-frame): Handle a
2868 pop-up-frame-parameters alist entry.
2869 (display-buffer): Document it.
2870
dd7ffad6
CY
28712012-08-26 Chong Yidong <cyd@gnu.org>
2872
2873 * isearch.el (search-whitespace-regexp): Make string and nil
2874 values apply to both ordinary and regexp search. Allow a cons
2875 cell value to distinguish between the two.
2876 (isearch-whitespace-regexp, isearch-search-forward)
2877 (isearch-search-backward): New functions.
2878 (isearch-occur, isearch-search-fun-default, isearch-search)
2879 (isearch-lazy-highlight-new-loop): Use them.
2880 (isearch-forward, isearch-forward-regexp): Doc fix.
2881
4c47bd1e
CY
28822012-08-26 Chong Yidong <cyd@gnu.org>
2883
2884 * faces.el (help-argument-name): Always inherit from italic
2885 (Bug#12213).
2886
9aba119d
MR
28872012-08-25 Martin Rudalics <rudalics@gmx.at>
2888
2889 * window.el (window--even-window-heights): Even heights when
2890 WINDOW and the selected window form a vertical combination.
2891 (display-buffer-use-some-window): Provide that window used gets
2892 sized back by quit-window. (Bug#11880) and (Bug#12091)
2893
ca5256ad
PE
28942012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2895
2896 Fix file time stamp problem with bzr and CVS (Bug#12001).
2897 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2898 in the file's time stamp, since the version control system loses
2899 that information.
2900
d1c0d176
JL
29012012-08-22 Juri Linkov <juri@jurta.org>
2902
2903 * info.el (Info-fontify-node): Hide the suffix of the
2904 Info file name in the header line. (Bug#12187)
2905
141562ff
GM
29062012-08-22 Glenn Morris <rgm@gnu.org>
2907
2908 * calendar/cal-tex.el (cal-tex-weekly-common):
2909 Restore leading blank page.
2910
61a48e19 29112012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2912
2913 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2914 the region under `shift-select-mode'. (Bug#12231)
2915
29162012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2917
2918 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2919 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2920 gives details on why the space is never needed.
2921
ea95074e
MR
29222012-08-22 Martin Rudalics <rudalics@gmx.at>
2923
9fba804b
SM
2924 * window.el (walk-window-tree, window-with-parameter):
2925 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2926 should run on the minibuffer window.
2927 (window-at-side-list): Don't operate on minibuffer window.
2928 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2929 (window--size-ignore): Rename to window--size-ignore-p.
2930 Update callers.
caceae25
MR
2931 (display-buffer-in-atom-window, window--major-non-side-window)
2932 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2933 (delete-side-window, display-buffer-in-side-window):
2934 New functions.
caceae25
MR
2935 (window--side-check, window-deletable-p, delete-window)
2936 (delete-other-windows, split-window): Handle side windows and
2937 atomic windows appropriately.
2938 (window--display-buffer): Call display-buffer-record-window also
2939 when the window buffer did not change.
ea95074e 2940
80a51fa0
CS
29412012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2942
2943 * help-fns.el (help-fns--key-bindings):
2944 Abbreviate non-symbol remap targets. (Bug#12174)
2945
fbb6300b
MR
29462012-08-22 Martin Rudalics <rudalics@gmx.at>
2947
2948 * dired.el (dired-mark-remembered): Don't clobber point.
2949 (Bug#11795)
2950
2b2c0794
GM
29512012-08-22 Glenn Morris <rgm@gnu.org>
2952
2953 * progmodes/bug-reference.el (bug-reference): New custom group.
2954 (bug-reference-bug-regexp): Make it a defcustom.
2955
37219830
DU
29562012-08-22 Daiki Ueno <ueno@unixuser.org>
2957
2958 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2959 (js-paren-indent-offset, js-square-indent-offset)
2960 (js-curly-indent-offset): Add :safe (Bug#12257).
2961
94e0e559
EC
29622012-08-22 Edward O'Connor <hober0@gmail.com>
2963
2964 * json.el (json-key-format): Add error properties.
2965 (json-encode-key): New function.
2966 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2967 Use json-encode-key.
2968
da485f5e
GM
29692012-08-22 Glenn Morris <rgm@gnu.org>
2970
2971 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2972 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2973 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2974 Update for above change.
2975
c6cc78b8
AS
29762012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2977
2978 * cus-face.el (custom-face-attributes): Fix customize type for the
2979 :underline attribute. (Bug#11805)
2980
5481664a
MR
29812012-08-21 Martin Rudalics <rudalics@gmx.at>
2982
2983 * window.el (window-point-1, set-window-point-1): Remove.
2984 (window-in-direction, record-window-buffer)
2985 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2986 (window--state-get-1, display-buffer-record-window):
2987 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2988 window-point and set-window-point respectively.
2989
6d74698e
GM
29902012-08-21 Glenn Morris <rgm@gnu.org>
2991
b7fa2691
GM
2992 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2993 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2994 Use it.
2995
52f56d5a
GM
2996 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2997 (cal-tex-shortday): New function.
2998 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2999 (cal-tex-cursor-filofax-daily): Use the above.
3000
9f1ee09e
GM
3001 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3002 New functions.
3003 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3004 (cal-tex-cursor-filofax-week): Use them.
3005
79858159
GM
3006 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3007 New constants.
3008 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3009 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3010
d346b2b4
GM
3011 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3012 (cal-tex-end-document): Don't rely on buffer name.
3013
b2403709
GM
3014 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3015 Use cal-tex-vspace.
3016 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3017 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3018 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3019 Use cal-tex-arg.
b2403709 3020
1cebb5c0
GM
3021 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3022 (cal-tex-cursor-week, cal-tex-cursor-week2)
3023 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3024 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3025 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3026 (cal-tex-insert-preamble, cal-tex-b-document)
3027 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3028 Improve cal-tex-cmd usage.
3029
c68cd5d4
GM
3030 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3031 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3032 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3033 (cal-tex-weekly-paper): New function.
3034 (cal-tex-cursor-week, cal-tex-cursor-week2)
3035 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3036 (cal-tex-cursor-day): Use it.
3037
9dca4801
GM
3038 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3039 (cal-tex-cursor-filofax-week): Remove leading blank page.
3040
1941e134
GM
3041 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3042 Add autoload cookie. For now at least, don't use color, since
3043 no other cal-tex function does.
3044
6d74698e
GM
3045 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3046 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3047 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3048
64cde199
JL
30492012-08-21 Juri Linkov <juri@jurta.org>
3050
3051 * info.el (Info-file-attributes): New variable.
3052 (info-insert-file-contents): Add file attributes to
3053 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3054 `Info-toc-nodes' when previous modtime of the Info file is less
3055 than new modtime.
3056 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3057 of info.el. (Bug#12230)
3058
32757648
GM
30592012-08-20 Glenn Morris <rgm@gnu.org>
3060
3061 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3062 * calendar/holidays.el (calendar-holiday-list):
3063 Report errors with display-warning rather than beep'n'sleep.
3064
a32fbbcf
MA
30652012-08-20 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * net/tramp.el (tramp-accept-process-output): Accept only output
3068 from PROC. Otherwise, process filters and sentinels might be
3069 confused. (Bug#12145)
3070
a05731a0
CY
30712012-08-20 Chong Yidong <cyd@gnu.org>
3072
3073 * descr-text.el (describe-text-properties-1): Use overlays-in to
3074 report on empty overlays (Bug#3322).
3075
36e8d1eb
GM
30762012-08-20 Glenn Morris <rgm@gnu.org>
3077
3d300447
GM
3078 * mail/rmailout.el (rmail-output-read-file-name):
3079 Trap and report errors in rmail-output-file-alist elements.
3080
36e8d1eb
GM
3081 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3082 since most non-font-lock faces are not also variables).
3083
b96e5814
ER
30842012-08-20 Edward Reingold <reingold@iit.edu>
3085
3086 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3087 New function. (Bug12160)
3088
7cef3569
GM
30892012-08-19 Glenn Morris <rgm@gnu.org>
3090
3091 * mail/rmailout.el (rmail-output-read-file-name):
3092 Fix previous change (when the alist is nil or does not match).
3093
17975d7f
CY
30942012-08-19 Chong Yidong <cyd@gnu.org>
3095
3096 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3097 (Bug#12228).
3098
2170b1bd
CY
30992012-08-18 Chong Yidong <cyd@gnu.org>
3100
3101 * simple.el (yank-handled-properties): New defcustom.
3102 (yank-excluded-properties): Add font-lock-face and category.
3103 (yank): Doc fix.
3104
9fba804b
SM
3105 * subr.el (remove-yank-excluded-properties):
3106 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3107 and category is now done this way, instead of being hard-coded.
3108 (insert-for-yank-1): Remove font-lock-face handling.
3109 (yank-handle-font-lock-face-property)
3110 (yank-handle-category-property): New function.
3111
ee218151
GM
31122012-08-17 Glenn Morris <rgm@gnu.org>
3113
3114 * mail/rmailout.el (rmail-output-read-file-name):
3115 Check rmail-output-file-alist against the full message body
3116 in the correct rmail buffer. (Bug#12214)
3117
4a6bc3fd
MA
31182012-08-17 Michael Albinus <michael.albinus@gmx.de>
3119
9fba804b
SM
3120 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3121 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3122
383dcbf9
CY
31232012-08-17 Chong Yidong <cyd@gnu.org>
3124
3125 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3126 font spec, set the font directly (Bug#3228).
3127
998c4a6a
MR
31282012-08-17 Martin Rudalics <rudalics@gmx.at>
3129
3130 * window.el (delete-window): Fix last fix.
3131
52162052
MR
31322012-08-16 Martin Rudalics <rudalics@gmx.at>
3133
3134 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3135 (window-child, window-child-count, window-last-child)
3136 (window-normalize-window, window-combined-p)
3137 (window-combinations, window-atom-root, window-min-size)
3138 (window-sizable, window-sizable-p, window-size-fixed-p)
3139 (window-min-delta, window-max-delta, window--resizable)
3140 (window--resizable-p, window-resizable, window-total-size)
3141 (window-full-height-p, window-full-width-p, window-body-size)
3142 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3143 (minimize-window, window-deletable-p, delete-window)
3144 (delete-other-windows, set-window-buffer-start-and-point)
3145 (next-buffer, previous-buffer, split-window, balance-windows-2)
3146 (set-window-text-height, window-buffer-height)
3147 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3148 (truncated-partial-width-window-p): Minor code adjustments.
3149 In doc-strings state whether the argument window has to denote a
85c2386b 3150 live, valid or any window.
52162052 3151
1c308380
PS
31522012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3153
3154 * progmodes/subword.el (subword-forward-function)
3155 (subword-backward-function, subword-forward-regexp)
3156 (subword-backward-regexp): New variables.
3157 (subword-forward, subword-forward-internal, subword-backward-internal):
3158 Use new variables, eg so that different "word" definitions
3159 can be easily used. (Bug#11411)
3160
94c9ece1
SM
31612012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3164 for composite selectors.
3165 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3166 operation just because we can't find a previous revision.
3167
f2045622
CY
31682012-08-15 Chong Yidong <cyd@gnu.org>
3169
3170 * frame.el (set-frame-font): Accept font objects.
3171
582db660
SM
31722012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3175
2f29c200
WJ
31762012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3177
456e62c2
WJ
3178 * man.el (Man-overstrike-face, Man-underline-face)
3179 (Man-reverse-face): Remove variables.
3180 (Man-overstrike, Man-underline, Man-reverse): New faces.
3181 (Man-fontify-manpage): Use them instead of the variables.
3182 (Man-cleanup-manpage): Comment change.
3183 (Man-ansi-color-map): New variable.
3184 (Man-fontify-manpage): Use it.
3185 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3186
2f29c200
WJ
3187 Implement ANSI SGR parameters 22-27 (bug#12146).
3188 * ansi-color.el (ansi-colors): Doc fix.
3189 (ansi-color-context, ansi-color-context-region): Doc fix.
3190 (ansi-color--find-face): New function.
3191 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3192 Rename the local variable `face' to `codes' since it is now a list of
3193 ansi codes. Doc fix.
3194 (ansi-color-get-face): Remove.
3195 (ansi-color-parse-sequence): New function, derived from
3196 ansi-color-get-face.
3197 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3198 codes 22-27.
3199
b4f5e9df
SM
32002012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * subr.el (read-passwd): Allow use from a minibuffer.
3203
ba025fbd
EZ
32042012-08-14 Eli Zaretskii <eliz@gnu.org>
3205
3206 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3207 inside comments and strings as identifiers.
3208
3209 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3210 expression to evaluate. This allows to evaluate expressions with
3211 embedded whitespace.
3212 (gud-tooltip-tips): Add a blank before the newline in the
3213 message-box text, for the benefit of message-box emulation on
3214 MS-Windows.
3215
3216 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3217 messages from GDB, pop them up in a tooltip to give feedback to
3218 user.
b4f5e9df
SM
3219 (gdb-tooltip-print-1): Quote the expression to evaluate.
3220 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3221 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3222 if the TTY name is nil or empty (which happens when communicating
3223 with the inferior via pipes, e.g. on MS-Windows).
3224 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3225 don't send that to the GUD buffer.
3226
c548f821
GM
32272012-08-14 Glenn Morris <rgm@gnu.org>
3228
3229 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3230 Optimize away setq-default with no args, as for setq. (Bug#12195)
3231
55802e4a
CY
32322012-08-14 Chong Yidong <cyd@gnu.org>
3233
4abcdac8
CY
3234 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3235
55802e4a
CY
3236 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3237 (Bug#12085).
3238
3c3cda1a
GM
32392012-08-14 Glenn Morris <rgm@gnu.org>
3240
3241 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3242
e1873bd0
MA
32432012-08-14 Michael Albinus <michael.albinus@gmx.de>
3244
3245 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3246 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3247 Use cached shell name.
3248
925411b4
FEG
32492012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3250
3251 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3252 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3253
e636fafe
DG
32542012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3255
3256 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3257 (ruby-percent-literal-beg-re): New constant.
3258 (ruby-syntax-general-delimiters-goto-beg): Rename to
3259 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3260 (ruby-syntax-propertize-general-delimiters): Rename to
3261 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3262 popular term. Adjust comments everywhere.
3263 (ruby-syntax-propertize-percent-literal): Only propertize when not
3264 inside a simple string or comment. When the literal is unclosed,
3265 leave the text after it unpropertized.
f063063a
DG
3266 (ruby-syntax-methods-before-regexp): New constant.
3267 (ruby-syntax-propertize-function): Use it to recognize regexps.
3268 Don't look at the text after regexp, just use the whitelist.
e636fafe 3269
e5b19827
AS
32702012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3271
3272 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3273 non-nil always load the compiled file if it exists. (Bug#12197)
3274
a9f6f311
CY
32752012-08-14 Chong Yidong <cyd@gnu.org>
3276
3277 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3278 (hi-lock-set-pattern): When deciding whether to use font lock or
3279 overlays, look at font-lock-mode instead of font-lock-fontified
3280 (Bug#12168).
3281 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3282 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3283
7d806b1e
DU
32842012-08-14 Daiki Ueno <ueno@unixuser.org>
3285
3286 * subr.el (internal--after-with-selected-window): Fix typo
3287 (Bug#12193).
3288
5beed586
FEG
32892012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3290
3291 Use `completion-table-dynamic' for completion functions.
3292 * progmodes/python.el
3293 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3294 (python-shell-completion--get-completions):
3295 Remove functions.
5beed586
FEG
3296 (python-shell-completion-complete-at-point): New function.
3297 (python-completion-complete-at-point): Use it.
3298
92cb3b04
J
32992012-08-13 Jambunathan K <kjambunathan@gmail.com>
3300
3301 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3302 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3303
89660017
SM
33042012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3c98c962
SM
3306 * subr.el (function-get): Refine `autoload' arg so it can also
3307 autoload functions for gv.el (bug#12191).
3308 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3309 autoloads macros.
3310
aa7c6dbe
SM
3311 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3312 Prefer pcase-let over destructuring-bind.
3313 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3314 Also, remove whitespace as we go, rather than after accumulating the
3315 various places.
3316
89660017
SM
3317 * subr.el (internal--before-with-selected-window)
3318 (internal--after-with-selected-window): Fix typo seleted->selected.
3319 (with-selected-window): Adjust callers.
3320 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3321
31cd32c9
BG
33222012-08-13 Bastien Guerry <bzg@gnu.org>
3323
0fcd3d9f 3324 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3325 enhancement. (Bug#12172)
3326
1b15d8ad
AS
33272012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3328
31e54db0
AS
3329 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3330 type 1-6.
3331 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3332 extended headers.
3333
1b15d8ad
AS
3334 * files.el (hack-local-variables-filter): Remove useless eval.
3335
35cb9c06
MR
33362012-08-13 Martin Rudalics <rudalics@gmx.at>
3337
3338 * subr.el (with-selected-window): Fix last change.
3339
1439443b
SM
33402012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * subr.el (internal--before-with-seleted-window)
3343 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3344 (with-selected-window): Use them, to replace dependency on
3345 tty-top-frame.
1439443b 3346
0d9e2599
NN
33472012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3348
3349 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3350 binding for `newline'.
3351 (ruby-move-to-block): When moving backward, stop at block opening,
3352 not indentation.
3353 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3354 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3355 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3356 `ruby-toggle-block'.
3357
ba10c48c
SM
33582012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 * ibuffer.el (ibuffer-do-toggle-read-only):
3361 * dired.el (dired-toggle-read-only):
3362 * buff-menu.el (Buffer-menu-toggle-read-only):
3363 * bindings.el (mode-line-toggle-read-only):
3364 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3365
9229c658
AS
33662012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3367
3368 * descr-text.el (describe-char): Put the overlays over the
3369 "displayed as" character.
3370
0fd09128
JB
33712012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3372
3373 * calc/calc-units.el (math-default-units-table): Give an
3374 initial value.
3375 (math-put-default-units): Add options to put composite units and
3376 unit systems in the default units table.
3377 (calc-convert-units): Send composite units to
3378 `math-put-default-units' when appropriate.
3379
9ff9402d 33802012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3381
fbb5e336
GM
3382 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3383
7aacaf15
GM
3384 * tutorial.el (help-with-tutorial):
3385 * emacs-lisp/copyright.el (copyright-update-directory):
3386 * emacs-lisp/autoload.el (autoload-find-generated-file)
3387 (autoload-find-file): Disable local eval: (for insurance).
3388
f40b9f10
GM
3389 * files.el (hack-local-variables-filter): If an eval: form is not
3390 known to be safe, and enable-local-variables is :safe, then ignore
3391 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3392 This is CVE-2012-3479.
f40b9f10 3393
daa9f1a6
SM
33942012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3397 (rx-form): Simplify.
3398
9cd80478
DG
33992012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3400
0d9e2599
NN
3401 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3402 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3403 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3404 (ruby-syntax-propertize-function): Adjust for changes in
3405 `ruby-syntax-propertize-heredoc'.
3406
34072012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3408
9cd80478
DG
3409 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3410 binding (use `M-;' instead).
9cd80478 3411 (ruby-singleton-class-p): New function.
0d9e2599 3412 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3413
d301b413
SM
34142012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3417
1530c98e
CY
34182012-08-10 Chong Yidong <cyd@gnu.org>
3419
3420 * progmodes/python.el (python-shell-get-process-name): Don't mess
3421 with same-window-buffer-names.
3422
3423 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3424 (eshell-remove-from-window-buffer-names): Make obsolete.
3425 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3426 (eshell): Just use pop-to-buffer-same-window instead.
3427
e1293765
CY
34282012-08-10 Chong Yidong <cyd@gnu.org>
3429
3430 * bindings.el: Bind M-= back to count-words-region.
3431
3432 * simple.el (count-words-region): Accept a prefix arg for acting
3433 on the entire buffer.
3434 (count-words--buffer-message): New helper function.
3435
e1894109
SM
34362012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3439 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3440 (event-start, event-end): Use posn-at-point to return a more
3441 informative posn.
3442 (posnp): New function.
3443 * mouse.el (popup-menu-normalize-position): Use it.
3444
c69f56a2
MY
34452012-08-10 Masatake YAMATO <yamato@redhat.com>
3446
3447 * mouse.el (popup-menu-normalize-position): New function.
3448 (popup-menu): Use `popup-menu-normalize-position' to normalize
3449 the form for POSITION argument.
3450
3451 * term/x-win.el (x-menu-bar-open):
3452 Use the value returend from (posn-at-point) as position
3453 passed to `popup-menu'.
3454
31673780
JB
34552012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3456
3457 * calc/calccomp.el (math-compose-expr): Add extra argument
3458 indicating that parentheses should be put around products in
3459 denominators. Give multiplication precedence over division during
3460 composition.
3461
dab7711b
CY
34622012-08-09 Chong Yidong <cyd@gnu.org>
3463
dee4ef93
CY
3464 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3465 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3466 (Man-untabify-command, manual-program): Convert to defcustom
3467 (Bug#10429).
3468
73e2bbc5
CY
3469 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3470
3e861c8a
CY
3471 * descr-text.el (describe-char): Don't insert extra newlines
3472 (Bug#10127).
3473
a9f5a649
CY
3474 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3475 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3476
dab7711b
CY
3477 * align.el (align-region): Delete temporary markers (Bug#10047).
3478 Plus some code cleanups.
3479
e0cc4efa
FEG
34802012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3481
3482 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3483 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3484 (python-shell-internal-last-output): Use make-local-variable
3485 instead of make-variable-buffer-local.
3486
489af14f
FEG
34872012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3488
3489 * progmodes/python.el: Enhancements to forward-sexp.
3490 (python-nav-forward-sexp): Rename from
3491 python-nav-forward-sexp-function.
c69f56a2
MY
3492 (python-nav--forward-sexp, python-nav--backward-sexp):
3493 New functions.
489af14f 3494
0fc50303
JB
34952012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3496
3497 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3498 modes and simplification modes.
3499
5d65606a
SM
35002012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * delsel.el (delete-selection-pre-hook): Don't propagate the
3503 file-supersession signals (bug#12161).
3504
4250fdf5
SM
35052012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3508 (cl-map-extents): Add compatibility aliases (bug#12135).
3509
d9f9b465
MA
35102012-08-08 Michael Albinus <michael.albinus@gmx.de>
3511
3512 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3513 tests by `ignore-error'.
3514 (tramp-find-shell): Open also a new shell, when cache is already
3515 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3516
ce0fcefa
JL
35172012-08-08 Juri Linkov <juri@jurta.org>
3518
3519 * bookmark.el: Add `defaults' property to the bookmark record.
3520 (bookmark-current-buffer): Doc fix.
3521 (bookmark-make-record): Add `defaults' property with default values
3522 to the bookmark record.
3523 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3524 with `bookmark-insert-current-bookmark'.
3525 (bookmark-set): Get `defaults' property from the bookmark record
3526 and use it in `read-from-minibuffer'.
3527 (bookmark-insert-current-bookmark): Remove function.
3528
3529 * info.el (Info-bookmark-make-record): Add `defaults' property
3530 with values of canonical Info node name, the current Info file
3531 name and the current Info node name. (Bug#12107)
3532
53fa8652
JL
35332012-08-08 Juri Linkov <juri@jurta.org>
3534
3535 * files.el (basic-save-buffer): Use `buffer-name' as the default
3536 of `read-file-name' when buffer is not visiting a file (bug#12128).
3537
242c0a95
JL
35382012-08-08 Juri Linkov <juri@jurta.org>
3539
3540 * info.el (Info-isearch-search): Doc fix.
3541 (Info-search): Change search-failed message from "initial node" to
3542 "end of node" (bug#12078).
3543 (Info-isearch-search): Change `isearch-string-state' to
3544 `isearch--state-string'.
3545
32ac3a6b
GM
35462012-08-08 Glenn Morris <rgm@gnu.org>
3547
3548 * language/persian.el: Remove file.
f8c1afd5 3549 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3550 * loadup.el: Remove language/persian.
3551
2c2d9c9c
OF
35522012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3553
3554 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3555
2d79ec42
FEG
35562012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3557
3558 * progmodes/python.el Fixed defsubst warning.
3559 (python-syntax-context) Rename from python-info-ppss-context.
3560 (python-syntax-context-type): Rename from
3561 python-info-ppss-context-type.
3562 (python-syntax-comment-or-string-p): Rename from
3563 python-info-ppss-comment-or-string-p.
3564
2bd255dd
JB
35652012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3566
3567 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3568
c395097f
AS
35692012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3570
6125983e
AS
3571 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3572 a defcustom that is quoted with backquote.
3573
4250fdf5
SM
3574 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3575 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3576 (math-do-arg-check, math-define-function-body): Use backquote forms.
3577 * calc/calc-ext.el (math-defcache): Likewise.
3578 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3579 * allout.el (allout-new-exposure): Likewise.
3580 * calc/calcalg2.el (math-tracing-integral): Likewise.
3581 * info.el (Info-last-menu-item): Likewise.
3582 * emulation/vip.el (vip-loop): Likewise.
3583 * textmodes/artist.el (artist-funcall): Likewise.
3584 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3585 Construct menu-item directly.
3586
4250fdf5
SM
3587 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3588 Don't declare.
c395097f 3589
5fb50dd3
CY
35902012-08-07 Chong Yidong <cyd@gnu.org>
3591
3592 * simple.el (deactivate-mark): Preserve text properties when
3593 saving the primary selection (Bug#8384).
3594
54eea618
KR
35952012-08-07 Kevin Ryde <user42@zip.com.au>
3596
3597 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3598 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3599 and continue processing (Bug#12110).
3600
638eaeb9
SM
36012012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3602
3603 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3604 syntax-propertize-function (bug#10095).
3605
ea376861
SM
36062012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3607
f91b35be
SM
3608 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3609 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3610 describe-function-1.
3611 (describe-function-1): Use them. Move compiler macro after sig.
3612 (help-fns--compiler-macro): Use function-get. Assume we're already in
3613 standard-output. Adjust layout to new call order.
3614
ea376861
SM
3615 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3616 re-binding a symbol that has a symbol-macro (bug#12119).
3617
d5be7bd0
MB
36182012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3619
3620 * language/persian.el: New file. (Bug#11812)
3621 * loadup.el: Add language/persian.el.
3622
90749b53
CY
36232012-08-06 Chong Yidong <cyd@gnu.org>
3624
3625 * window.el (window--maybe-raise-frame): New function.
3626 (window--display-buffer): Split off from here.
3627 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3628 (display-buffer-pop-up-window, display-buffer-use-some-window):
3629 Obey an inhibit-switch-frame action alist entry.
3630 (display-buffer): Update doc.
3631
3632 * replace.el (occur-after-change-function): Avoid losing focus by
3633 using the inhibit-switch-frame display parameter (Bug#12139).
3634
ba7b0154
FEG
36352012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3636
3637 Make internal shell process buffer names start with space.
3638 * progmodes/python.el (python-shell-make-comint): Add optional
3639 argument INTERNAL.
3640 (run-python-internal): Use it.
3641 (python-shell-internal-get-or-create-process): Check for new
3642 internal buffer names.
3643
5eaeacb5
GM
36442012-08-06 Glenn Morris <rgm@gnu.org>
3645
e296d94b 3646 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3647 Do less getting and setting of environment variables.
3648
b7ccbdc2
CY
36492012-08-05 Chong Yidong <cyd@gnu.org>
3650
777fe95e
CY
3651 * proced.el (proced): Add substitution string to docstring to
3652 trigger autoloading of the proced library on C-h f (Bug#1768).
3653
4250fdf5
SM
3654 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3655 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3656
3657 * imenu.el (imenu-generic-expression): Move documentation here
3658 from imenu--generic-function.
3659 (imenu--generic-function): Refer to imenu-generic-expression.
3660
9e3b7800 36612012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3662
3663 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3664 indentation declaration.
3665 (viper-loop): Add indentation declaration (Bug#7025).
3666
e5d9c0d1
CY
36672012-08-05 Chong Yidong <cyd@gnu.org>
3668
f0422feb
CY
3669 * help-fns.el (describe-variable): Add hyperlink for
3670 directory-local variables files. Improve buffer-local and
3671 permanent-local reporting; suggested by MON KEY (Bug#6644).
3672
3673 * help-mode.el (help-dir-local-var-def): New button type.
3674
e5d9c0d1
CY
3675 * files.el (kill-buffer-hook): Provide a defvar.
3676
a4f2deaa
GM
36772012-08-05 Glenn Morris <rgm@gnu.org>
3678
3679 * eshell/esh-ext.el (eshell/addpath):
3680 Also update eshell-path-env. (Bug#12013)
3681
a9dd5754
CY
36822012-08-05 Chong Yidong <cyd@gnu.org>
3683
a4f2deaa 3684 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3685
d014c740
CY
3686 * fringe.el (fringe-styles): Add docstring.
3687 (fringe--check-mode): New function.
3688 (set-fringe-mode, set-fringe-style): Use it.
3689 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3690
a9dd5754
CY
3691 * files.el (set-auto-mode): Fix invalid setq call.
3692
7c2dc8bd
SM
36932012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * isearch.el: Misc simplification; use defstruct.
3696 (isearch-mode-map): Dense maps now work like sparse ones.
3697 (isearch--state): New defstruct.
3698 (isearch-string-state, isearch-message-state, isearch-point-state)
3699 (isearch-success-state, isearch-forward-state)
3700 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3701 (isearch-wrapped-state, isearch-barrier-state)
3702 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3703 replaced by defstruct's accessors.
3704 (isearch--set-state): Rename from isearch-top-state and change
3705 calling convention.
3706 (isearch-push-state): Use new isearch--get-state.
3707 (isearch-toggle-word): Disable regexp when enabling word.
3708 (isearch-message-prefix): Remove unused arg _c-q-hack.
3709 (isearch-message-suffix): Remove unused arg _ellipsis.
3710
7fcc0070
AS
37112012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3712
3713 * simple.el (list-processes--refresh): For a server use :host or
3714 :local as the address.
97ad0769 3715 (list-processes): Doc fix.
7fcc0070 3716
a11035b8 37172012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3718
3719 * lisp/mpc.el: Support password in host argument.
3720 (mpc--proc-connect): Parse and use new password element.
3721 Set mpc-proc variable instead of returning process.
3722 (mpc-proc): Adjust accordingly.
3723
6dad7178
EZ
37242012-08-03 Eli Zaretskii <eliz@gnu.org>
3725
18949c2f
EZ
3726 * whitespace.el (whitespace-display-mappings): Use Unicode
3727 codepoints, instead of emacs-mule codepoints. See
3728 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3729 for the details.
3730
6dad7178
EZ
3731 * files.el (file-truename): Don't skip symlink-chasing part on
3732 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3733 Windows into the loop that recursively chases symlinks.
3734 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3735 MS-DOS.
3736
385b0198
CY
37372012-08-03 Chong Yidong <cyd@gnu.org>
3738
6200f3c4
CY
3739 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3740
385b0198
CY
3741 * sort.el (sort-regexp-fields): Doc fix.
3742
b9e74744
TH
37432012-08-03 Tassilo Horn <tsdh@gnu.org>
3744
3745 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3746 labels regex position point at the expected place.
3747
41013cb4
MK
37482012-08-03 MON KEY <monkey@sandpframing.com>
3749
3750 * net/imap.el (imap-interactive-login, imap-authenticate)
3751 (imap-mailbox-lsub, imap-mailbox-list)
3752 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3753 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3754 (imap-parse-response): Doc fix.
3755
0ffee616
JT
37562012-08-03 João Távora <joaotavora@gmail.com>
3757
3758 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3759 if sexp scanning does not move point (Bug#5734).
3760
cfcc9cc8
TH
37612012-08-02 Tassilo Horn <tsdh@gnu.org>
3762
3763 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3764 Add listings, minted, and ctable packages.
3765 (reftex-label-alist-builtin): Move listings, minted, and ctable
3766 entries before LaTeX.
a01bbb84 3767 (reftex-label-alist): Docfix.
cfcc9cc8 3768
66ec2442
BG
37692012-08-02 Bastien Guerry <bzg@gnu.org>
3770
3771 * replace.el (occur): Fix docstring (bug#12122).
3772
837b365b
GM
37732012-08-02 Glenn Morris <rgm@gnu.org>
3774
3775 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3776
e098de97
PE
37772012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3778
3779 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3780 * international/mule-cmds.el: Create
3781 inactivate-current-input-method-function as an obsolete alias for
3782 deactivate-current-input-method-function. See Katsumi Yamaoka in
3783 <http://bugs.gnu.org/10150#46>.
3784
a0f95636
JB
37852012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3786
3787 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3788 of nested `if's.
3789
0d26d7c4
GM
37902012-08-01 Glenn Morris <rgm@gnu.org>
3791
3792 * progmodes/autoconf.el (autoconf-definition-regexp):
3793 Add AH_TEMPLATE, adjust submatch numbering.
3794 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3795 (autoconf-current-defun-function): Update for above change.
3796 (autoconf-current-defun-function): First skip to end of current word.
3797
b686ba06
RS
37982012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3799
3800 * calendar/cal-html.el (cal-html-insert-agenda-days):
3801 Fix typo. (Bug#12018)
3802
0d49da68
FEG
38032012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3804
3805 Shell processes: enhancements to startup and CEDET compatibility.
3806 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3807 (python-shell-make-comint): accept-process-output at startup.
3808 (run-python-internal): Set inferior-python-mode-hook to nil.
3809 (python-shell-internal-get-or-create-process): call sit-for.
3810 (python-preoutput-result): Add obsolete alias.
3811 (python-shell-internal-send-string): Use it.
3812 (python-shell-send-setup-code): Remove call to
3813 accept-process-output.
3814
f1a71c6e
AS
38152012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3816
3817 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3818 (Bug#12108)
3819
d2605269
JB
38202012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3821
3822 * calc-mode.el (calc-basic-simplification-mode): Rename from
3823 `calc-limited-simplification-mode'.
3824 (calc-alg-simplification-mode): New function.
fc0c31f8 3825 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3826
d2605269
JB
3827 * calc.el (calc-set-mode-line): Adjust mode line display for
3828 basic simplification mode.
3829
3830 * calc-help.el (calc-m-prefix-help): Update help message.
3831
3832 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3833 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3834
a3827a43
BG
38352012-07-31 Bastien Guerry <bzg@gnu.org>
3836
3837 * man.el (man): Fix comment. (bug#12101)
3838
502e3f89
MR
38392012-07-31 Martin Rudalics <rudalics@gmx.at>
3840
3841 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3842 Don't return a non-nil value when no suitable buffer was found.
3843
d7714961
FEG
38442012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3845
3846 * progmodes/python.el (run-python-internal): Disable font lock for
3847 internal shells.
3848
1f45e27e
SM
38492012-07-30 Stefan Merten <smerten@oekonux.de>
3850
70efc5c9 3851 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3852 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3853 (rst-official-version, rst-official-cvs-rev)
3854 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3855 (rst-mode-map): New key binding.
3856
0aee6912
PE
38572012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3858
3859 Update .PHONY listings in makefiles.
3860 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3861 autoloads, update-subdirs, updates, bzr-update, update-authors,
3862 compile-onefile, compile-calc, backup-compiled-files,
3863 compile-after-backup, compile-one-process, mh-autoloads,
3864 bootstrap-clean, distclean, maintainer-clean.
3865
9052f9f0
JB
38662012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3867
1823ac5a
JB
3868 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3869 (calc-set-mode-line): Don't display "AlgSimp ".
3870
3871 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3872 (calc-lim-simplify-mode): New function.
3873 (calc-set-simplify-mode): Default to 'alg.
3874 (calc-default-simplify-mode): Make algebraic simplifications
3875 the default.
3876
3877 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3878 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3879
8d7c7eed 3880 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3881 indicate new simplification modes.
3882
1823ac5a
JB
3883 * calc/README: Mention new default simplification mode.
3884
9052f9f0
JB
3885 * calc/calc.el (math-normalize-error): New variable.
3886 (math-normalize): Set `math-normalize-error' to t
3887 when there's an error.
3888
3889 * calc/calc-alg.el (math-simplify): Don't simplify when
3890 `math-normalize' returns an error.
3891
20ba0cb4
EZ
38922012-07-29 Eli Zaretskii <eliz@gnu.org>
3893
3894 * international/mule-cmds.el (set-locale-environment): Revert last
3895 change, since display-graphic-p returns nil when this function is
3896 called during startup. Instead...
3897
3898 * term/w32console.el (terminal-init-w32console): ...setup the
3899 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3900
a5dcc929
JL
39012012-07-29 Juri Linkov <juri@jurta.org>
3902
3903 * simple.el (goto-line): Don't display default line number in the
3904 prompt because it should be displayed by `read-number' (bug#9952).
3905 Add the current line number to the defaults of `goto-line' to
3906 allow its easier modification by users with `M-n' (bug#9201).
3907
3908 * subr.el (read-number): Support multiple default values like in
3909 other minibuffer reading functions. Replace `read' with
3910 `string-to-number' for consistency with `number-to-string'.
3911
72b255c7
PE
39122012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3913
3914 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3915 * emulation/viper-init.el (viper-deactivate-input-method-action):
3916 Rename from viper-inactivate-input-method-action.
3917 (viper-deactivate-input-method):
3918 Rename from viper-inactivate-input-method.
3919 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3920 * international/mule-cmds.el (deactivate-input-method):
3921 Rename from inactivate-input-method.
3922 Also run input-method-deactivate-hook.
3923 (deactivate-current-input-method-function):
3924 Rename from inactivate-current-input-method-function.
3925 (input-method-deactivate-hook): New hook.
3926 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3927 (inactivate-input-method): Mark obsolete.
3928
72b255c7
PE
3929 * international/quail.el (quail-activate):
3930 Also run quail-deactivate-hook.
3931 (quail-deactivate): Rename from quail-inactivate.
3932 * international/robin.el (robin-activate):
3933 Also run robin-deactivate-hook.
3934 (robin-deactivate): Rename from robin-inactivate.
3935
2549c068
CY
39362012-07-29 Chong Yidong <cyd@gnu.org>
3937
3938 * simple.el (indicate-copied-region): New function.
3939 (kill-ring-save): Split off from here.
3940
3941 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3942 (kill-rectangle): Set deactivate-mark to t on read-only error.
3943
3944 * register.el (copy-to-register, copy-rectangle-to-register):
3945 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3946 (append-to-register, prepend-to-register): Call indicate-copied-region.
3947
39482012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3949
3950 * simple.el (async-shell-command-buffer): New defcustom.
3951 (shell-command): Use it. (Bug#4719)
3952
01bd1b0d
EZ
39532012-07-28 Eli Zaretskii <eliz@gnu.org>
3954
3955 * international/mule-cmds.el (set-locale-environment): In a
3956 console session on MS-Windows, set up keyboard and terminal
3957 encoding from the OEM codepage, not the ANSI codepage.
3958 (Bug#12055)
3959
a55739d3
CY
39602012-07-28 Chong Yidong <cyd@gnu.org>
3961
3962 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3963 gdb-get-location.
3964
0e1a094f 39652012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3966
3967 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3968 the alist (bug#12029).
3969
20329d73
EZ
39702012-07-28 Eli Zaretskii <eliz@gnu.org>
3971
3972 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3973 (compile-always, compile-first)
3974 ($(lisp)/calendar/cal-loaddefs.el)
3975 ($(lisp)/calendar/diary-loaddefs.el)
3976 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3977 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3978 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3979 instead of on update-subdirs.
3980 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3981
345a2258
CY
39822012-07-28 Chong Yidong <cyd@gnu.org>
3983
1eee6341
CY
3984 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3985 directory if vc-deduce-backend returns nil (Bug#7350).
3986
345a2258
CY
3987 * simple.el (delete-trailing-lines): New option.
3988 (delete-trailing-whitespace): Obey it (Bug#11879).
3989
049a0936
DE
39902012-07-28 David Engster <deng@randomsample.de>
3991
3992 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3993 Explanation of new 'symbol-qnames feature in doc-strings.
3994 (xml-maybe-do-ns): Return expanded names as plain symbols if
3995 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3996 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3997
aa81af71
FEG
39982012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3999
4000 Consistent completion in inferior python with emacs -nw.
4001 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4002 binding in inferior-python-mode-map with "\t".
4003 (python-shell-completion-complete-at-point)
4004 (python-completion-complete-at-point): Remove interactive spec.
4005
e827b1eb
JB
40062012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4007
4008 * calc/calccomp.el (math-compose-expr): Undo previous change.
4009
a90dfb95
FEG
40102012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4011
4250fdf5 4012 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4013 run-python.
4014 (python-shell-make-comint): Fix pop-to-buffer call.
4015 (run-python): Autoload. New arg SHOW.
4016 (python-shell-get-or-create-process): Do not pop python process
4017 buffer.
4018
32770973 40192012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4020
4021 * notifications.el (notifications-on-action-signal)
4022 (notifications-on-closed-signal): Use also the bus address for the map.
4023 (notifications-notify, notifications-close-notification)
fc0c31f8 4024 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4025
86332df2
TH
40262012-07-27 Tassilo Horn <tsdh@gnu.org>
4027
4250fdf5
SM
4028 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4029 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4030 ctable macro.
4031 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4032 labels written in keyvals syntax.
4033
ca1302a4
JB
40342012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4035
4036 * calc/calccomp.el (math-compose-expr): Use parentheses when
4037 there is a product in the denominator of a fraction.
4038
f8b91036
EZ
40392012-07-26 Eli Zaretskii <eliz@gnu.org>
4040
4041 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4042 ($(lisp)/calendar/diary-loaddefs.el)
4043 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4044 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4045 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4046 rewritten while the autoload files are built at the same time,
4047 which needs to load subdirs.el.
4048
c8e5a42c
MR
40492012-07-26 Martin Rudalics <rudalics@gmx.at>
4050
4051 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4052 (mouse-drag-line): Don't exit tracking when a switch-frame or
4053 switch-window event occurs (Bug#12006).
4054
670d85ea
SM
40552012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * mouse.el (popup-menu): Fix last change.
4058
7abaf5cc
SM
40592012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 Autoload from Lisp with more care. Follow aliases when looking for
4062 function properties.
4063 * subr.el (autoloadp): New function.
4064 (symbol-file): Use it.
4065 (function-get): New function.
4066 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4067 autoload-do-load.
4068 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4069 (lisp-indent-function):
4070 * emacs-lisp/gv.el (gv-get):
4071 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4072 * emacs-lisp/byte-opt.el (byte-optimize-form):
4073 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4074 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4075 Use function-get.
4076 * emacs-lisp/cl.el: Don't propagate function properties any more.
4077
4078 * speedbar.el (speedbar-add-localized-speedbar-support):
4079 * emacs-lisp/disass.el (disassemble-internal):
4080 * desktop.el (desktop-load-file):
4081 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4082 (describe-function-1):
4083 * emacs-lisp/find-func.el (find-function-noselect):
4084 * emacs-lisp/elp.el (elp-instrument-function):
4085 * emacs-lisp/advice.el (ad-has-proper-definition):
4086 * apropos.el (apropos-safe-documentation, apropos-macrop):
4087 * emacs-lisp/debug.el (debug-on-entry):
4088 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4089 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4090 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4091
b1364986
AA
40922012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4093
4094 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4095 function, not an obsolete variable (Bug#12046).
4096
67ada220
AS
40972012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4098
4099 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4100
f08088e3
CS
41012012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4102
4103 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4104 window only if it is still live (Bug#12034).
4105
8137e7b3
MR
41062012-07-25 Martin Rudalics <rudalics@gmx.at>
4107
4108 * subr.el (redirect-frame-focus): Add advertised calling
4109 convention (Bug#12030).
4110
09ae5da1
PE
41112012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4112
4113 Prefer typical American spelling for "acknowledgment".
4114 * vc/add-log.el (change-log-acknowledgment): Rename from
4115 change-log-acknowledgement, with an alias for the old name.
4116
3cc5a3a8
JB
41172012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4118
4119 * calc-alg.el (math-simplify-divide): Don't cross multiply
4120 in an equation when the lhs is a variable.
4121
b7af7f62
JD
41222012-07-24 Julien Danjou <julien@danjou.info>
4123
4124 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4125 Remove, unused.
4126
ec1b09b1
EZ
41272012-07-23 Eli Zaretskii <eliz@gnu.org>
4128
4129 * startup.el (command-line): Don't display an empty user name in
4130 the error message about non-existent home directory, when
4131 init-file-user was set to an empty string. See
4132 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4133 for the details and context.
4134
b525fd8a
VB
41352012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4136
4137 * ses.el (ses-cell-formula-aset): New macro.
4138 (ses-cell-references-aset): New macro.
4139 (ses-cell-p): New function.
4140 (ses-rename-cell): Do no longer rely on complex operations like
4141 ses-cell-set-formula or ses-set-cell to change the cell and handle
4142 the undo at the same time, but rather use lower level new macros
4143 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4144 the undo directly. Refresh the mode line.
b525fd8a 4145
2c73e345
LL
41462012-07-21 Leo Liu <sdl.web@gmail.com>
4147
670d85ea
SM
4148 * progmodes/cc-cmds.el (c-defun-name):
4149 Use match-string-no-properties instead for consistency.
2c73e345 4150
542dfbde
LL
41512012-07-20 Leo Liu <sdl.web@gmail.com>
4152
3646bcd6
LL
4153 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4154 (Bug#7879)
4155
542dfbde
LL
4156 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4157
25721031
CY
41582012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4159
4160 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4161 * progmodes/bug-reference.el, misearch.el: Provide themselves
4162 (bug#11915).
4163
4164 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4165 of narrowed buffer (bug#11966).
4166
316e68a7
VB
41672012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4168
4169 * ses.el (ses-rename-cell): Set new name also in reference list of
4170 cells of which the renamed cell depends.
4171
bbf0e7d9
MY
41722012-07-20 Masatake YAMATO <yamato@redhat.com>
4173
4174 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4175 to check whether menu-bar is shown or not. If not shown,
4176 show the menu-bar as a popup menu instead of using tmm.
4177 * mouse.el (popup-menu): Accept `point' as `position' argument.
4178
c28662a8
DG
41792012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4180
4181 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4182 up inside string symbol literal (bug#11923).
4183
87ab808f
EZ
41842012-07-20 Eli Zaretskii <eliz@gnu.org>
4185
4186 * startup.el (fancy-startup-text): Read the whole tutorial, not
4187 just its first 256 bytes. Prevents gibberish in display of the
4188 tutorial title.
4189
89dea803
DA
41902012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4191
4192 Drop idle buffer compaction due to an absence of the
4193 proved efficiency.
4194 * compact.el: Remove.
4195
8a4e6db8
SS
41962012-07-19 Sam Steingold <sds@gnu.org>
4197
4198 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4199 vc-bzr-pull & vc-bzr-merge-branch.
4200 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4201 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4202 for consistency with compilation-error-regexp-alist.
4203 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4204 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4205 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4206 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4207
5db81e33
SM
42082012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * emacs-lisp/chart.el: Use lexical-binding.
4211 (chart-emacs-storage): Don't hardcode the list of entries.
4212
5b835e1d
DA
42132012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4214
4215 Next round of tweaks caused by Fgarbage_collect changes.
4216 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4217
9cd47b72
DA
42182012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4219
4220 Compact buffers when idle.
4221 * compact.el: New file.
4222
1d6fc0df
SM
42232012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * subr.el (eventp): Presume that if it looks vaguely like an event,
4226 it's an event (bug#10190).
4227
1d29cc7d
FEG
42282012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4229
4230 Enhancements to ppss related code (thanks Stefan).
4231 * progmodes/python.el (python-indent-context)
4232 (python-indent-calculate-indentation, python-indent-dedent-line)
4233 (python-indent-electric-colon, python-nav-forward-block)
4234 (python-mode-abbrev-table)
1d6fc0df 4235 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4236 for ppss context.
4237 (python-info-continuation-line-p): Cleanup.
4238 (python-info-ppss-context): Do not catch 'quote.
4239 (python-info-ppss-context-type)
4240 (python-info-ppss-comment-or-string-p): Simplify.
4241
d583cbe6
FEG
42422012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4243
4244 * progmodes/python.el: Enhancements to eldoc support.
4245 (python-info-current-symbol): New function.
4246 (python-eldoc-at-point): Use python-info-current-symbol.
4247 (python-info-current-defun): Fix cornercase on first defun scan.
4248 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4249 and signal error when no inferior python process is available.
4250
eceb6feb
DG
42512012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4252
4253 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4254 assume it's always t.
4255 (vc-git-registered): Remove caching, the function is only called
4256 once.
4257 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4258
4c8ff0fe
CY
42592012-07-18 Chong Yidong <cyd@gnu.org>
4260
19fb7186
CY
4261 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4262
9587c688
CY
4263 * simple.el (count-words): Report on narrowing (Bug#9959).
4264
0fe776a1
CY
4265 * bindings.el: Bind M-= to count-words.
4266
4c8ff0fe
CY
4267 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4268
7f5331cc
MY
42692012-07-18 Masatake YAMATO <yamato@redhat.com>
4270
4271 * progmodes/sh-script.el (sh-imenu-generic-expression):
4272 Capture a function with `function' keyword and without parentheses
4273 like "function FOO" (bug#11856).
4274
2dc2a609
TH
42752012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4276
4277 * window.el (split-window-sensibly): Make WINDOW argument
4278 optional.
4279
439f7677
CY
42802012-07-18 Chong Yidong <cyd@gnu.org>
4281
9aeb25a6
CY
4282 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4283
439f7677
CY
4284 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4285 and make C-x 8 RET exit isearch (Bug#11439).
4286
4287 * international/iso-transl.el: Move isearch-mode-map key
4288 definitions to isearch.el.
4289
12999ea8
SM
42902012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4293 (eieio-defclass): Use gv-define-setter when possible.
4294
3ab6e069
DA
42952012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4296
4297 Reflect recent changes in Fgarbage_collect.
4298 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4299 reflect new format of data returned by Fgarbage_collect.
4300
0a60bc10
FEG
43012012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4302
4303 New utility functions + python-info-ppss-context fix (Bug#11910).
4304 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4305 (python-info-ppss-comment-or-string-p): New functions.
4306 (python-info-ppss-context): Small fix for string check.
4307
6dafa0d5
JL
43082012-07-17 Juri Linkov <juri@jurta.org>
4309
4310 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4311 (dired-do-async-shell-command): Don't add `*' at the end of the
4312 command (Bug#11815).
4313 (dired-do-shell-command): Doc fix.
4314 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4315 Join the individual commands using either "&" or ";" as the
4316 separator depending on the values of these trailing characters.
4317 At the end re-add the trailing "&". (Bug#10598)
4318
4319 * simple.el (async-shell-command): Sync the interactive spec with
4320 `shell-command'. Doc fix.
4321 (shell-command): Doc fix.
4322
b19dd9d1
JL
43232012-07-17 Juri Linkov <juri@jurta.org>
4324
4325 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4326
bcdc27d7 43272012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4328
bcdc27d7 4329 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4330 * progmodes/python.el (python-nav-beginning-of-statement):
4331 Rename from python-nav-statement-start.
bcdc27d7
FEG
4332 (python-nav-end-of-statement): Rename from
4333 python-nav-statement-end.
4334 (python-nav-beginning-of-block): Rename from
4335 python-nav-block-start.
4336 (python-nav-end-of-block): Rename from python-nav-block-end.
4337
191da00e
FEG
43382012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4339
7f5331cc
MY
4340 * progmodes/python.el (python-shell-send-string-no-output):
4341 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4342 future interactions (Bug#11868).
4343
4dc7c8d5 43442012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4345
88ecaf8f
SM
4346 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4347
ef501ef0
SM
4348 * emacs-lisp/elint.el (elint-find-args-in-code):
4349 Use help-function-arglist, so as to handle lexical byte-code.
4350
aa7aaf8f
SM
4351 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4352 change (bug#11826).
4353
45fd731c
SM
43542012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4355
2143fa32
SM
4356 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4357 Avoid spuriously marking the buffer as modified because of c-is-sws.
4358
efc26dbe
SM
4359 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4360 as not-a-comment (bug#11946).
4361
f5695c9a
SM
4362 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4363 for uninterned vars.
4364
4365 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4366 Use read-event since we don't really want to read chars but bytes.
4367
45fd731c
SM
4368 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4369 $$..$$ but also $..$ using regexps (bug#11953).
4370 Use tex-verbatim for \url and \path.
4371 (tex-font-lock-keywords): Define as defconst like the others.
4372 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4373
ddfc8813
RK
43742012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4375
4376 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4377 alias for insert-char.
4378
758e556a
FEG
43792012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4380
4381 * progmodes/python.el: Simplified imenu implementation.
4382 (python-nav-jump-to-defun): Remove command.
4383 (python-mode-map): Use `imenu' instead.
4384 (python-nav-list-defun-positions-cache)
4385 (python-imenu-include-defun-type, python-imenu-make-tree)
4386 (python-imenu-subtree-root-label, python-imenu-index-alist):
4387 Remove vars.
4388 (python-nav-list-defun-positions, python-nav-read-defun)
4389 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4390 (python-imenu-make-tree, python-imenu-create-index):
4391 Remove functions.
758e556a
FEG
4392 (python-mode): Update to interact with imenu by setting
4393 `imenu-extract-index-name-function' only.
4394
032d23ab
FEG
43952012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4396
4397 * progmodes/python.el: Enhancements to navigation commands.
4398 (python-nav-backward-sentence)
4399 (python-nav-forward-sentence): Remove.
4400 (python-nav-backward-statement, python-nav-forward-statement)
4401 (python-nav-statement-start, python-nav-statement-end)
4402 (python-nav-backward-block, python-nav-forward-block)
4403 (python-nav-block-start, python-nav-block-end)
4404 (python-nav-forward-sexp-function)
4405 (python-info-current-line-comment-p)
4406 (python-info-current-line-empty-p): New functions.
4407 (python-indent-context): Use `python-nav-statement-start'.
4408
01795a1b
MA
44092012-07-16 Michael Albinus <michael.albinus@gmx.de>
4410
9328d9aa
MA
4411 * eshell/em-ls.el (eshell/ls): Use `apply'.
4412
4413 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4414 multi-hops, instead of Tramp internals.
4415
01795a1b
MA
4416 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4417
4418 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4419 when F1 and F2 are located on different hosts.
4420
63408057
CY
44212012-07-14 Chong Yidong <cyd@gnu.org>
4422
4423 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4424 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4425 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4426 (xterm-mouse--read-event-sequence-1000)
4427 (xterm-mouse--read-event-sequence-1006): New functions. For old
4428 mouse protocol, handle M-mouse-X events correctly.
4429 (xterm-mouse-event): New arg specifying mouse protocol.
4430 (turn-on-xterm-mouse-tracking-on-terminal)
4431 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4432 sequence to toggle extended coordinates on newer XTerms.
4433 This appears to be harmless on terminals which do not support this.
63408057 4434
cd276f6e
LL
44352012-07-14 Leo Liu <sdl.web@gmail.com>
4436
28ca98ac
LL
4437 Add fringe bitmap indicators for flymake. (Bug#11253)
4438 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4439 (flymake-make-overlay): New arg BITMAP.
4440 (flymake-error-bitmap, flymake-warning-bitmap)
4441 (flymake-fringe-indicator-position): New user variables.
4442
cd276f6e
LL
4443 * fringe.el: New bitmap exclamation-mark.
4444
04408072
JD
44452012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4446
4447 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4448 also (Bug#7879).
4449
b5cf7fc4
CY
44502012-07-14 Chong Yidong <cyd@gnu.org>
4451
4452 * electric.el (electric-pair-post-self-insert-function): Fix pair
4453 insertion in empty-region case (Bug#11520).
4454
be755c79
RT
44552012-07-14 Chong Yidong <cyd@gnu.org>
4456
45fd731c
SM
4457 * bindings.el: Consolidate ctl-x-r-map bindings.
4458 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4459
4460 * rect.el, register.el: Move bindings to bindings.el.
4461
44622012-07-14 Reuben Thomas <rrt@sc3d.org>
4463
4464 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4465
7f5b3198
AS
44662012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4467
4468 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4469
97662200
JB
44702012-07-13 Juanma Barranquero <lekktu@gmail.com>
4471
80185fed
JB
4472 * bindings.el (top): Use `mapc' instead of `mapcar'.
4473
97662200
JB
4474 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4475
2bb1ae55
MA
44762012-07-13 Michael Albinus <michael.albinus@gmx.de>
4477
4478 * progmodes/sql.el (sql-comint): Suppress the check for program on
4479 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4480 (Bug#11908)
4481
dea31bd3
CY
44822012-07-13 Chong Yidong <cyd@gnu.org>
4483
4484 * bindings.el: Assign a non-nil permanent-local property to
4485 per-buffer variables which lack a default value (Bug#11930).
4486
4487 * help-fns.el (describe-variable): In the "automatically becomes
4488 local" notice, take note of permanent-local variables.
4489
b68b3337
CY
44902012-07-13 Chong Yidong <cyd@gnu.org>
4491
4492 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4493 to allow printing the message when called from Lisp.
4494
4495 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4496 Remove toggle-read-only.
4497
4498 * bs.el (bs-toggle-readonly):
45fd731c
SM
4499 * buff-menu.el (Buffer-menu-toggle-read-only):
4500 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4501
4502 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4503 Remove with-no-warnings around toggle-read-only.
4504 (ffap-read-only, ffap-read-only-other-window)
4505 (ffap-read-only-other-frame): Callers changed.
4506
4507 * help-mode.el: Don't require view package.
4508 (help-mode-finish): Set buffer-read-only instead of calling
4509 toggle-read-only.
4510
4511 * bindings.el (mode-line-toggle-read-only):
4512 * dired.el (dired-toggle-read-only):
4513 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4514 with non-nil second arg.
4515
4516 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4517 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4518 directly.
4519
56bc1586
EZ
45202012-07-12 Eli Zaretskii <eliz@gnu.org>
4521
4522 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4523 not incf.
4524
a464a6c7
SM
45252012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 More CL cleanups and reduction of use of cl.el.
4528 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4529 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4530 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4531 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4532 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4533 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4534 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4535 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4536 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4537 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4538 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4539 * eshell/em-cmpl.el, eshell/em-banner.el:
4540 * calendar/parse-time.el: Use cl-lib.
4541 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4542 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4543 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4544 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4545 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4546 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4547 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4548 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4549 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4550 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4551 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4552 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4553 `lambda' rather than with `quote'.
4554 (eshell-do-opt): Adjust accordingly.
4555 (eshell-process-option): Simplify.
4556 * eshell/esh-var.el:
4557 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4558 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4559 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4560 to `pcase--dontcare'.
4561 * emacs-lisp/cl.el (labels): Mark obsolete.
4562 (cl--letf, letf): Move to cl-lib.
4563 (cl--letf*, letf*): Remove.
4564 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4565 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4566 (cl-progv): Rewrite.
4567 (cl--letf, cl-letf): Move from cl.el.
4568 (cl-letf*): New macro.
4569 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4570
7ad4afe1
MA
45712012-07-11 Michael Albinus <michael.albinus@gmx.de>
4572
4573 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4574
9af57756
CY
45752012-07-11 Chong Yidong <cyd@gnu.org>
4576
4577 * vc/log-edit.el (log-edit-vc-backend): New variable.
4578 (log-edit): Doc fix.
4579
4580 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4581 argument of log-edit to set up all local variables.
4582 (vc-start-logentry): New optional arg specifying VC backend.
4583
4584 * vc/vc.el (vc-checkin): Use it.
4585 (vc-deduce-fileset): Handle Log Edit buffers.
4586 (vc-diff): Make first argument optional too.
4587
4588 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4589
8477cc7a
MA
45902012-07-10 Michael Albinus <michael.albinus@gmx.de>
4591
4592 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4593 command, just in case. The function is not needed anymore.
4594 (eshell-external-command): Do not call `eshell-remote-command'.
4595
19faa8e8
SM
45962012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4597
f58e0fd5
SM
4598 Reduce use of (require 'cl).
4599 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4600 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4601 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4602 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4603 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4604 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4605 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4606 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4607 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4608 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4609 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4610 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4611 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4612 (byte-compile-unfold-bcf, byte-compile-check-variable):
4613 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4614 (byte-compile-nilconstp):
4615 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4616 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4617
2519d43a
SM
4618 * emacs-lisp/gv.el (cond): Make it a valid place.
4619 (if): Simplify slightly.
4620
19faa8e8
SM
4621 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4622 (pcase--self-quoting-p): New function.
4623 (pcase--u1): Use it.
4624
c4907a5e
GM
46252012-07-10 Glenn Morris <rgm@gnu.org>
4626
4627 * emacs-lisp/authors.el (authors-fixed-entries):
4628 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4629
c4444d16
PE
46302012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4631
4632 Rename configure.in to configure.ac (Bug#11603).
4633 * emacs-lisp/authors.el (authors-canonical-file-name):
4634 * progmodes/autoconf.el (autoconf-mode):
4635 Prefer configure.ac to configure.in.
4636
d75be97d
CY
46372012-07-08 Chong Yidong <cyd@gnu.org>
4638
01ac65bd
CY
4639 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4640 Implement the mouse-1-click-follows-link handling properly.
4641
4642 * info.el (Info-link-keymap): Use follow-link mechanism for
4643 header-line links (Bug#374).
4644
d75be97d
CY
4645 * simple.el (deactivate-mark): Do not set the primary selection
4646 if another program has acquired it (Bug#11772).
4647
87a92845 46482012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4649
4650 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4651 (woman-decode-region): Replace escaped-escapes without destroying
4652 bold or underline (Bug#11552).
87a92845 4653 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4654
621b9d6c
CY
46552012-07-07 Chong Yidong <cyd@gnu.org>
4656
4657 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4658 (interprogram-cut-function, interprogram-paste-function):
4659 Mention that we typically mean the clipboard.
621b9d6c 4660
133a11fc
GM
46612012-07-06 Glenn Morris <rgm@gnu.org>
4662
0d27a45e
GM
4663 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4664
133a11fc
GM
4665 * files.el (toggle-read-only): Restrict message to interactive use.
4666
07b151f1
MA
46672012-07-06 Michael Albinus <michael.albinus@gmx.de>
4668
4669 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4670
4671 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4672
211b896b
GM
46732012-07-06 Glenn Morris <rgm@gnu.org>
4674
50394322
GM
4675 * Makefile.in (compile-one-process): Rename from "recompile".
4676
211b896b
GM
4677 * Makefile.in (bzr-update): "compile" is the same as "recompile
4678 autoloads", but parallelizable, so use that instead.
4679
4737eec9
DG
46802012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4681
4682 * window.el (quit-window): Always restore window height when
8137e7b3 4683 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4684
226c3633 46852012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4686
4687 * simple.el (kill-whole-line): Doc tweak.
4688
226c3633 46892012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4690
4691 * files.el (file-relative-name): Compare file names
4692 case-insensitively if on MS-Windows or MS-DOS, or if
4693 read-file-name-completion-ignore-case is non-nil. Don't use
4694 case-fold-search for this purpose. (Bug#11827)
4695
4dc7c8d5
SM
46962012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4697
4698 * calendar/cal-dst.el (calendar-current-time-zone):
4699 Return calendar-current-time-zone-cache if non-nil.
4700
47012012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 47022012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4703
19faa8e8
SM
4704 * calendar/cal-dst.el (calendar-current-time-zone):
4705 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4706
60198fc9
GM
47072012-07-06 Glenn Morris <rgm@gnu.org>
4708
4709 * Makefile.in (cvs-update): Remove old alias.
4710
957b3189
MA
47112012-07-05 Michael Albinus <michael.albinus@gmx.de>
4712
4713 Sync with Tramp 2.2.6-pre.
4714
4715 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4716 compatible declaration.
4717
19faa8e8
SM
4718 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4719 Protect `list-load-path-shadows' call.
957b3189
MA
4720
4721 * net/tramp-compat.el (top): Require packages, which aren't
4722 autoloaded anymore for XEmacs. Protect call of
4723 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4724 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4725 it hurts at least for SXEmacs.
4726 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4727 standard-value for `temporary-file-directory'.
4728
4729 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4730 Redirect stderr to /dev/null.
4731 (tramp-sh-handle-write-region): uid and gid can be floats.
4732 Reported by Russell Sim <russell.sim@gmail.com>.
4733 (tramp-sh-handle-vc-registered): Hide errors.
4734 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4735 and `start-file-process'.
4736 (tramp-maybe-open-connection): Check also whether `non-essential'
4737 is bound.
4738
566df3fc
CY
47392012-07-04 Chong Yidong <cyd@gnu.org>
4740
4741 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4742 (xml-parse-tag): Likewise, and avoid changing entity tables.
4743 (xml-syntax-table): Define from scratch, making sure not to give
4744 x2000 and other Unicode spaces whitespace syntax, since those are
4745 not spaces in XML.
4746 (xml-parse-fragment): Delete unused function.
4747 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4748 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4749 (xml-entity-ref, xml-pe-reference-re)
4750 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4751 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4752 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4753 (xml-entity-value-re): Use syntax references in regexps where
4754 possible; no need to define inside a let-binding.
4755 (xml-parse-dtd): Use xml-pe-reference-re.
4756 (xml-entity-or-char-ref-re): New defconst.
4757 (xml-parse-string, xml-substitute-special): Use it.
4758
30eabd7a
SM
47592012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4760
0781098a
SM
4761 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4762 (find-file--read-only): New function.
4763 (find-file-read-only, find-file-read-only-other-window)
4764 (find-file-read-only-other-frame): Use it.
4765 (insert-file-contents-literally): Don't `fset'.
4766 (get-free-disk-space): Use locate-dominating-file.
4767
b5771c0d
SM
4768 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4769 function is already compiled.
4770
30eabd7a
SM
4771 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4772
b4886f6e
MA
47732012-07-03 Michael Albinus <michael.albinus@gmx.de>
4774
4775 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4776 files on the same host.
4777
b9d82339
AS
47782012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4779
4780 * help-fns.el (describe-function-1): Only call
4781 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4782
a76e6535
CY
47832012-07-03 Chong Yidong <cyd@gnu.org>
4784
4785 * xml.el: Protect parser against XML bombs.
4786 (xml-entity-expansion-limit): New variable.
4787 (xml-parse-string, xml-substitute-special): Use it.
4788 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4789
b544fef2
GM
47902012-07-03 Glenn Morris <rgm@gnu.org>
4791
4792 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4793 Allow linking to specific messages in debbugs reports (eg 123#5).
4794
a7aef6f5
CY
47952012-07-02 Chong Yidong <cyd@gnu.org>
4796
4797 * xml.el: Fix entity and character reference expansion, allowing
4798 them to expand into markup as per XML spec.
4799 (xml-default-ns): New variable.
4800 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4801 (xml-parse-region): Make first two arguments optional.
4802 Discard text properties.
4803 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4804 All callers changed.
a7aef6f5
CY
4805 (xml-parse-tag): Call xml-parse-tag-1. For backward
4806 compatibility, this function should not modify buffer contents.
4807 (xml-parse-tag-1): Fix opening-tag regexp.
4808 (xml-parse-string): Rewrite, handling entity and character
4809 references properly.
4810 (xml--entity-replacement-text): Signal an error if a parameter
4811 entity is undefined.
4812
3df31c9f
SM
48132012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4814
2b5208f1
SM
4815 * comint.el (comint-output-filter): Filter out repeated prompts.
4816
3df31c9f
SM
4817 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4818 and file-name-absolute-p.
4819 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4820 internal calls.
4821
e3ac1281
PE
48222012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4823
4824 Spelling fixes.
4825 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4826 Rename from byte-compile--refiy-function. All uses changed.
4827
fbf2e7ad
CY
48282012-07-01 Chong Yidong <cyd@gnu.org>
4829
4830 * xml.el (xml--parse-buffer): New function. Move most of
4831 xml-parse-region here.
4832 (xml-parse-region): Copy region into a temporary buffer, since
4833 parameter entity substitution requires changing buffer contents.
4834 Use xml--parse-buffer.
4835 (xml-parse-file): Use xml--parse-buffer.
4836 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4837 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4838
9bf0aa15
GM
48392012-06-30 Glenn Morris <rgm@gnu.org>
4840
bbce2853
GM
4841 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4842
9bf0aa15
GM
4843 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4844 Remove outdated and unnecessary dbus declarations.
4845
0d23c240
EZ
48462012-06-30 Eli Zaretskii <eliz@gnu.org>
4847
4848 * emacs-lisp/timer.el (timer-until): Subtract results of
4849 float-time, instead of taking float-time of the result of
4850 time-subtract, since float-time signals an error for negative time
4851 arguments.
4852
b3218de1
CY
48532012-06-30 Chong Yidong <cyd@gnu.org>
4854
4855 * xml.el (xml-*-re): Convert defvars into defconsts, and
4856 eval-and-compile them so eval-and-compile works on derivatives.
4857 (xml--entity-replacement-text): Use eval-and-comple.
4858
a40c87a0
MA
48592012-06-30 Michael Albinus <michael.albinus@gmx.de>
4860
4861 * vc/vc-git.el (vc-git-registered): Use cache property
4862 `git-registered'.
4863 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4864 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4865 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4866
ac87de97
DG
48672012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4868
4869 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4870 removed (likely outside Emacs). (Bug#11757)
ac87de97 4871
ac10fe06
SM
48722012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4873
3df31c9f 4874 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4875
7f3fbd5d
CY
48762012-06-30 Chong Yidong <cyd@gnu.org>
4877
4878 * xml.el: Implement XML parameter entities.
4879 (xml-parameter-entity-alist): New variable.
4880 (xml-parse-region, xml-parse-fragment): Preserve previous values
4881 of xml-entity-alist and xml-parameter-entity-alist, so that
4882 repeated calls on different documents do not change them.
4883 (xml-parse-tag): Fix doctype regexp.
4884 (xml--entity-replacement-text): New function.
4885 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4886 properly requires url retrieval which is unimplemented.
4887 (xml-escape-string): Doc fix.
4888
3cfbebba
SM
48892012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4892
2af3565e
DA
48932012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4894
4895 * fringe.el (fringe-mode): Doc fix.
4896
929df0e7
MA
48972012-06-29 Michael Albinus <michael.albinus@gmx.de>
4898
4899 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4900 is non-nil.
4901 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4902 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4903
c8d3a25c 49042012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4905
c8d3a25c
GM
4906 * calendar/cal-dst.el (calendar-current-time-zone):
4907 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4908
c8d3a25c 49092012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4910
4911 * progmodes/which-func.el (which-func-format):
4912 Add mouse-face. (Bug#11698)
4913
c8d3a25c
GM
49142012-06-29 Leo Liu <sdl.web@gmail.com>
4915
4916 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4917
49182012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * minibuffer.el (minibuffer-confirm-exit-commands):
4921 Add completion-at-point (bug#11725).
4922
49232012-06-29 Glenn Morris <rgm@gnu.org>
4924
4925 * progmodes/f90.el (f90-font-lock-keywords-2):
4926 Add some preprocessor elements. (Bug#10499)
4927
49282012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4929
4930 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4931 Use syntax-propertize (bug#11739).
4932
2badeec4
JB
49332012-06-28 Juanma Barranquero <lekktu@gmail.com>
4934
4935 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4936
ae4969c2
JD
49372012-06-28 Julien Danjou <julien@danjou.info>
4938
4939 * term.el (term-handle-colors-array): Use a set of new faces to
4940 color the terminal. Also uses :inverse-video property.
4941 (term-default-fg-color): Set to nil by default, deprecate in favor
4942 of `term-face'.
4943 (term-default-bg-color): Set to nil by default, deprecate in favor
4944 of `term-face'.
4945 (term-current-face): Use `term-face' by default.
4946 (term-bold-attribute): Variable deleted.
4947
1c9bd870
GM
49482012-06-28 Glenn Morris <rgm@gnu.org>
4949
4950 * simple.el (completion-list-mode-finish):
4951 Don't use toggle-read-only. (Since completion-list-mode has
4952 a special mode-class, it wasn't doing anything extra anyway.)
4953
c207708c
SM
49542012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 Make inlining of other-mode interpreted functions work (bug#11799).
4957 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4958 (byte-compile): Use it to fix compilation of lexical-binding closures.
4959 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4960 function, if needed.
4961
3fd56834
SM
49622012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4963
04901786
SM
4964 * help-mode.el (help-make-xrefs): Don't just withstand
4965 cyclic-variable-indirection but any error in documentation-property.
4966
1ec4b7b2
SM
4967 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4968 memory use.
4969 * bindings.el (bindings--define-key): New function.
4970 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4971 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4972 * bindings.el: Use it to purecopy define-key bindings.
4973
e309e2a5
SM
4974 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4975
d5c6faf9
SM
4976 * emacs-lisp/cl.el (flet): Mark obsolete.
4977 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4978 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4979 * progmodes/js.el (js-c-fill-paragraph):
4980 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4981 (ebrowse-switch-member-buffer-to-derived-class):
4982 * play/5x5.el (5x5-solver): Use cl-flet.
4983
6e9590e2
SM
4984 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4985 (cl--symbol-function): New macro.
4986 (cl--letf, cl--letf*): Use it.
4987
3fd56834
SM
4988 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4989 Strip "toggle-" if any.
4990
35ff222c
GM
49912012-06-27 Glenn Morris <rgm@gnu.org>
4992
1ba6038a
GM
4993 * info.el (Info-default-directory-list): Move here from paths.el.
4994 * paths.el: Remove file, which is now empty.
4995 * loadup.el: No longer load "paths".
4996
0ea0e51b
GM
4997 * custom.el (custom-initialize-delay): Doc fix.
4998
35ff222c
GM
4999 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5000 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5001 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5002 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5003 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5004 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5005 * eshell/eshell.el (eshell-defgroup): Remove alias.
5006
c89926a5
CY
50072012-06-27 Chong Yidong <cyd@gnu.org>
5008
5009 * help.el (help-enable-auto-load): New variable.
5010
5011 * help-fns.el (help-fns--autoloaded-p): New function.
5012 (describe-function-1): Refer to a function as "autoloaded" if it
5013 was autoloaded at any time in the past. Perform autoloading if
5014 help-enable-auto-load is non-nil.
5015
cc06e7e7
EZ
50162012-06-26 Eli Zaretskii <eliz@gnu.org>
5017
5018 * makefile.w32-in (compile, compile-always): Depend on
5019 update-subdirs, not on subdirs.el. Otherwise, several different
5020 sub-targets of 'bootstrap' running in parallel could
5021 simultaneously write to subdirs.el, producing a garbled file.
5022
d2c32364
SS
50232012-06-26 Sam Steingold <sds@gnu.org>
5024
5025 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5026 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5027 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5028 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5029 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5030 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5031 * textmodes/tex-mode.el: Use it.
5032 Did not touch cedet and org because they are maintained elsewhere.
5033
5cf983b2
MR
50342012-06-26 Martin Rudalics <rudalics@gmx.at>
5035
5036 * calendar/calendar.el (calendar-exit): Don't try to delete or
5037 iconify last frame. See:
5038 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5039
8c4f2952
JD
50402012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5041
5042 * server.el (server-process-filter): Remember dir in the
5043 process's `server-client-directory' properties.
5044
772b2e2c
CY
50452012-06-24 Chong Yidong <cyd@gnu.org>
5046
5047 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5048 non-tag text.
5049
711b11e1
JB
50502012-06-23 Juanma Barranquero <lekktu@gmail.com>
5051
5052 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5053
dc5d230c
SM
50542012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * help-fns.el (describe-variable): Don't croak when doc is not found.
5057 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5058 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5059 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5060 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5061 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5062 ((lambda ..) ..).
5063 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5064
136e1c1d
CY
50652012-06-23 Chong Yidong <cyd@gnu.org>
5066
e8c1cabf
CY
5067 * info.el (Info-mouse-follow-link): Accept symbol values of
5068 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5069 (Info-fontify-node): Use Info-link-keymap for all navigation
5070 buttons, with link-args property to perform the desired action.
5071 (Info-link-keymap): Doc fix.
5072 (Info-next-link-keymap, Info-prev-link-keymap)
5073 (Info-up-link-keymap): Delete now-unused keymaps.
5074
0e9e6c6a
CY
50752012-06-23 Chong Yidong <cyd@gnu.org>
5076
05e89fea
CY
5077 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5078
0e9e6c6a
CY
5079 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5080 system abbrevs.
5081
5082 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5083
e33c6771
SM
50842012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5085
b68581e2
SM
5086 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5087 (bug#11719).
5088
e33c6771
SM
5089 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5090 the requote function doesn't work properly (bug#11714).
5091
7117e105
GM
50922012-06-23 Glenn Morris <rgm@gnu.org>
5093
5094 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5095
36cec983
SM
50962012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 Further GV/CL cleanups.
5099 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5100 gv-expander.
5101 (gv--defun-declaration): New function.
5102 (defun-declarations-alist): Use it.
5103 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5104 (gv-place): Autoload.
5105 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5106 original definition of dotimes and dolist.
5107 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5108 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5109 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5110 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5111 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5112 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5113 to the function's definition.
5114 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5115 * window.el:
5116 * files.el:
5117 * faces.el:
5118 * env.el: Don't use CL.
5119
d35af63c
PE
51202012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5121
5122 Support higher-resolution time stamps (Bug#9000).
5123
5124 * calendar/time-date.el (with-decoded-time-value): New arg
5125 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5126 (encode-time-value): New optional arg PICO. New type 3.
5127 (time-to-seconds) [!float-time]: Support the new picoseconds
5128 component if it's used.
5129 (seconds-to-time, time-subtract, time-add):
5130 Support ps-resolution time stamps as well.
5131
5132 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5133 (timerp): Timer vectors now have length 9, not 8.
5134 (timer--time): Support new-style (4-part) time stamps.
5135 (timer-next-integral-multiple-of-time): Time stamps now have
5136 picosecond resolution, so take a bit more care about rounding.
5137 (timer-relative-time, timer-inc-time): New optional arg psecs.
5138 (timer-set-time-with-usecs): Set psecs to 0.
5139 (timer--activate): Check psecs component, too.
5140
5141 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5142
ac77b21a
SM
51432012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5144
f143bfe3
SM
5145 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5146 Move the non-essential binding to the post/pre-command-hook where it is
5147 more obviously correct.
5148
ac77b21a
SM
5149 * subr.el (read-passwd): Don't use a history at all.
5150 * savehist.el (savehist-save): Remove password saved accidentally
5151 because of the above bug.
5152
76386c5a
BG
51532012-06-22 Bastien Guerry <bzg@gnu.org>
5154
5155 * files.el (toggle-read-only): Display a message telling whether
5156 the buffer is read-only or not (bug#11726).
5157
2ee3d7f0
SM
51582012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * emacs-lisp/gv.el: New file.
5161 * subr.el (push, pop): Extend to generalized variables.
5162 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5163 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5164 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5165 gv-define-simple-setter, and gv-define-expander.
5166 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5167 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5168 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5169 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5170 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5171 gv-letplace.
5172 (cl-defstruct): Don't define setf-method any more.
5173 * emacs-lisp/cl.el (flet): Don't autoload.
5174 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5175 (define-setf-expander, defsetf, define-modify-macro)
5176 (cl-struct-setf-expander): Move from cl-lib.el.
5177 * emacs-lisp/syntax.el:
5178 * emacs-lisp/ewoc.el:
5179 * emacs-lisp/smie.el:
5180 * emacs-lisp/cconv.el:
5181 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5182 (timer--time): Use gv-define-simple-setter.
5183 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5184 to avoid coding-system problems in subr.el. Adjust all users.
5185 (macroexp--maxsize, macroexp-small-p): New functions.
5186 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5187 * scroll-bar.el (scroll-bar-mode):
5188 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5189 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5190 * winner.el (winner-configuration, winner-make-point-alist)
5191 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5192 * files.el (locate-file-completion-table): Avoid list*.
5193
c5695d1d
CY
51942012-06-22 Chong Yidong <cyd@gnu.org>
5195
5196 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5197 (dired-create-files): Doc fix (Bug#11329).
5198 (dired-do-copy): Doc fix (Bug#11334).
5199 (dired-mark-read-string): Doc fix (Bug#11553).
5200
2ee3d7f0
SM
5201 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5202 Doc fix (Bug#11326).
c5695d1d
CY
5203 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5204 (dired-dwim-target): Doc fix.
5205
5206 * wdired.el (wdired-mode): Doc fix.
5207
89b5595a
GM
52082012-06-22 Glenn Morris <rgm@gnu.org>
5209
575db3f1
GM
5210 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5211 (pcmpl-rpm-cache-stamp-file): New constant.
5212 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5213 (pcmpl-rpm-packages): Optionally cache list of packages.
5214
a4c8dd51
GM
5215 * pcmpl-rpm.el (pcmpl-rpm): New group.
5216 (pcmpl-rpm-query-options): New option.
5217 (pcmpl-rpm-packages): No need to inline it.
5218 Use pcmpl-rpm-query-options.
5219
89b5595a
GM
5220 * calendar/calendar.el (calendar-in-read-only-buffer):
5221 Avoid some needless mode changes.
5222
e76f0800
CY
52232012-06-21 Chong Yidong <cyd@gnu.org>
5224
5225 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5226 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5227 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5228
297a8f1d
CY
52292012-06-20 Chong Yidong <cyd@gnu.org>
5230
5231 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5232
d34c18b1
DR
52332012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5234
5235 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5236 (bug#11201).
5237
32f7f28e
CY
52382012-06-20 Chong Yidong <cyd@gnu.org>
5239
5240 * term.el (term-window-width): Handle the case of a missing right
5241 fringe (Bug#8837).
5242 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5243 (term-mode): Use define-derived-mode. Minor cleanups.
5244 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5245 (term-move-columns, term-insert-char, term-emulate-terminal)
5246 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5247
493c6688
MA
52482012-06-20 Michael Albinus <michael.albinus@gmx.de>
5249
d34c18b1
DR
5250 * net/ange-ftp.el (ange-ftp-get-passwd):
5251 Bind `enable-recursive-minibuffers'.
493c6688
MA
5252 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5253
3f06ecf4
DR
52542012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5255
5256 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5257
68f12411
GM
52582012-06-19 Glenn Morris <rgm@gnu.org>
5259
5260 * progmodes/python.el (python-mode): Derive from prog-mode.
5261
b3820318
KG
52622012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5263
5264 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5265 (edt-user-menu-bar-update-buffers): New functions.
5266 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5267
c6bf3022
CY
52682012-06-19 Chong Yidong <cyd@gnu.org>
5269
5270 * subr.el (with-selected-window): Preserve the selected window's
5271 terminal's top-frame (Bug#4702).
5272
5273 * window.el (save-selected-window): Likewise.
5274
25f09295
SM
52752012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5276
5277 * progmodes/python.el (python-rx-constituents): Move backquote.
5278 (python-skeleton-define, python-define-auxiliary-skeleton):
5279 Use `declare'.
5280
6b11952a
MA
52812012-06-18 Michael Albinus <michael.albinus@gmx.de>
5282
5283 * minibuffer.el (read-file-name-default): Revert the patch from
5284 2012-06-17.
5285
ee4b1330
SM
52862012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5289 (pcase--u1, pcase--q1): Don't use apply-partially.
5290
35647f79
GM
52912012-06-18 Glenn Morris <rgm@gnu.org>
5292
5293 * progmodes/python.el (python-proc, python-buffer)
5294 (python-send-receive, python-send-string): Fix obsolete versions.
5295
24b0cff0
MR
52962012-06-18 Martin Rudalics <rudalics@gmx.at>
5297
5298 * window.el (special-display-p): Completely remove stringp
5299 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5300
29855149
MA
53012012-06-17 Michael Albinus <michael.albinus@gmx.de>
5302
5303 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5304
5305 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5306
5307 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5308 * net/tramp-sh.el (tramp-maybe-open-connection):
5309 Throw if `non-essential' is non-nil.
5310
07463363
MR
53112012-06-17 Martin Rudalics <rudalics@gmx.at>
5312
5313 * window.el (special-display-p): Signal an error if BUFFER-NAME
5314 is not a string (Bug#11713).
5315
48d1354e
PE
53162012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5317
5318 * progmodes/python.el (python-info-beginning-of-backslash):
5319 Rename from python-info-beginning-of-backlash, as a spelling fix.
5320
eb4a8a9a
CY
53212012-06-17 Chong Yidong <cyd@gnu.org>
5322
5323 * term.el (term-emulate-terminal): If term-check-size is called,
5324 move point to the process mark without resetting point (Bug#4635).
5325
ddfbf826 53262012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5327
5328 * international/mule-cmds.el (mule-menu-keymap)
5329 (set-language-environment, set-locale-environment): Doc tweaks.
5330
9b0e3eba
AA
53312012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5332
5333 * cus-face.el (custom-face-attributes): Add wave-style underline
5334 attribute.
5335 * faces.el (set-face-attribute): Update docstring to describe
5336 wave-style underline attribute.
5337
771e3eae
CY
53382012-06-16 Chong Yidong <cyd@gnu.org>
5339
5340 * term/xterm.el (terminal-init-xterm): Discard input before
5341 querying background mode (Bug#10959).
5342
7ae2ea10
SM
53432012-06-16 Stefan Merten <smerten@oekonux.de>
5344
5345 * textmodes/rst.el: Added and corrected some comments.
5346 (rst-re-alist-def): Improve symbol syntax.
5347 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5348 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5349 (rst-official-version, rst-official-cvs-rev): Update version
5350 information.
7ae2ea10 5351
b6974efa
JB
53522012-06-15 Juanma Barranquero <lekktu@gmail.com>
5353
5354 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5355 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5356
8826d473
GM
53572012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5358
5359 * progmodes/python.el: New python.el merge.
5360 (python-guess-indent): Obsolete var.
5361 (python-indent-guess-indent-offset): New defcustom.
5362 (python-indent): Obsolete var.
5363 (python-indent-offset): New defcustom.
5364 (python-python-command, python-jython-command): Delete var.
5365 (python-shell-interpreter): New defcustom.
5366 (python-pdbtrack-do-tracking-p): Delete var.
5367 (python-pdbtrack-activate): New defcustom.
5368 (python-use-skeletons): Obsolete var.
5369 (python-skeleton-autoinsert): New defcustom.
5370 (inferior-python-filter-regexp, python-continuation-offset)
5371 (python-honour-comment-indentation, python-indent-string-contents)
5372 (python-jython-packages, python-mode-hook)
5373 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5374 (python-shell-prompt-alist)
5375 (python-source-modes): Delete defcustoms.
5376 (python-check-buffer-name, python-eldoc-setup-code)
5377 (python-eldoc-string-code, python-ffap-setup-code)
5378 (python-ffap-string-code, python-fill-comment-function)
5379 (python-fill-decorator-function, python-fill-paren-function)
5380 (python-fill-string-function, python-imenu-include-defun-type)
5381 (python-imenu-make-tree, python-imenu-subtree-root-label)
5382 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5383 (python-shell-compilation-regexp-alist)
5384 (python-shell-completion-module-string-code)
5385 (python-shell-completion-pdb-string-code)
5386 (python-shell-completion-setup-code)
5387 (python-shell-completion-string-code)
5388 (python-shell-enable-font-lock, python-shell-exec-path)
5389 (python-shell-extra-pythonpaths)
5390 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5391 (python-shell-process-environment)
5392 (python-shell-prompt-block-regexp)
5393 (python-shell-prompt-output-regexp)
5394 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5395 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5396 (python-shell-virtualenv-path): New defcustoms.
5397 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5398 (inferior-python-mode-syntax-table, python--prompt-regexp)
5399 (python-buffer, python-command python-python-command)
5400 (python-default-template, python-imports, python-indent-index)
5401 (python-indent-list, python-indent-list-length)
5402 (python-mode-running, python-pdbtrack-is-tracking-p)
5403 (python-preoutput-continuation, python-preoutput-leftover)
5404 (python-preoutput-result, python-preoutput-skip-next-prompt)
5405 (python-prev-dir/file, python-recursing)
5406 (python-saved-check-command, python-version-checked)
5407 (python-which-func-length-limit)
5408 (view-return-to-alist): Delete vars.
5409 (python-check-custom-command, python-dotty-syntax-table)
5410 (python-imenu-index-alist, python-indent-current-level)
5411 (python-indent-dedenters, python-indent-levels)
5412 (python-nav-beginning-of-defun-regexp)
5413 (python-nav-list-defun-positions-cache)
5414 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5415 (python-shell-internal-buffer)
5416 (python-skeleton-available): New vars.
5417 (def-python-skeleton): Delete macro.
5418 (python-skeleton-define): New macro.
5419 (python-define-auxiliary-skeleton, python-rx): New macros.
5420 (python-insert-class): Delete command.
5421 (python-skeleton-class): New command.
5422 (python-insert-def): Delete command.
5423 (python-skeleton-def): New command.
5424 (python-insert-for): Delete command.
5425 (python-skeleton-for): New command.
5426 (python-insert-if): Delete command.
5427 (python-skeleton-if): New command.
5428 (python-insert-try/except, python-insert-try/finally): Delete commands.
5429 (python-skeleton-try): New command.
5430 (python-insert-while): Delete command.
5431 (python-skeleton-while): New command.
5432 (python-backspace): Delete command.
5433 (python-indent-dedent-line-backspace): New command.
5434 (python-electric-colon): Delete command.
5435 (python-indent-electric-colon): New command.
5436 (python-guess-indent): Delete command.
5437 (python-indent-guess-indent-offset): New command.
5438 (python-shift-left): Delete command.
5439 (python-indent-shift-left): New command.
5440 (python-shift-right): Delete command.
5441 (python-indent-shift-right): New command.
5442 (python-find-function): Delete command.
5443 (python-nav-jump-to-defun): New command.
5444 (python-next-statement): Delete command.
5445 (python-nav-forward-sentence): New command.
5446 (python-previous-statement): Delete command.
5447 (python-nav-backward-sentence): New command.
5448 (python-fill-paragraph): Delete command.
5449 (python-fill-paragraph-function): New command.
5450 (python-send-buffer): Delete command.
5451 (python-shell-send-buffer): New command.
5452 (python-send-defun): Delete command.
5453 (python-shell-send-defun): New command.
5454 (python-send-region, python-send-region-and-go): Delete commands.
5455 (python-shell-send-region)
5456 (python-shell-switch-to-shell): New commands.
5457 (python-send-string): Delete command.
5458 (python-shell-send-string): New command.
5459 (python-switch-to-python): Delete command.
5460 (python-shell-switch-to-shell): New command.
5461 (python-describe-symbol): Delete command.
5462 (python-eldoc-at-point): New command.
5463 (python--set-prompt-regexp, python-args-to-list)
5464 (python-after-info-look, python-check-version)
5465 (python-check-comint-prompt, python-find-imports)
5466 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5467 (python-unload-function, python-expand-template)
5468 (python-maybe-jython, python-preoutput-filter)
5469 (python-pdbtrack-get-source-buffer)
5470 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5471 (python-pdbtrack-toggle-stack-tracking)
5472 (python-pdbtrack-track-stack-file, python-initial-text)
5473 (python-first-word, python-comment-line-p, python-send-command)
5474 (python-setup-brm, python-sentinel, python-set-proc)
5475 (python-skip-out, python-input-filter, python-outdent-p)
5476 (python-outline-level, python-backslash-continuation-line-p)
5477 (python-end-of-block, python-end-of-statement, python-mark-block)
5478 (python-beginning-of-block, python-beginning-of-statement)
5479 (python-blank-line-p, python-beginning-of-string)
5480 (python-open-block-statement-p): Delete functions.
5481 (python-indent-line, python-indent-line-1): Delete functions.
5482 (python-indent-line): New function.
5483 (python-indentation-levels): Delete function.
5484 (python-indent-calculate-levels): New function.
5485 (python-proc): Delete function.
5486 (python-shell-get-process): New function.
5487 (python-send-receive): Delete function.
5488 (python-shell-send-string-no-output): New function.
5489 (python-module-path): Delete function.
5490 (python-ffap-module-path): New function.
5491 (python-completion-at-point)
5492 (python-symbol-completions): Delete functions.
5493 (python-completion-complete-at-point): New function.
5494 (python-load-file): Delete function.
5495 (python-shell-send-file): New function.
5496 (python-calculate-indentation): Delete function.
5497 (python-indent-calculate-indentation): New function.
5498 (python-skip-comments/blanks): Delete function.
5499 (python-util-forward-comment): New function.
5500 (python-continuation-line-p): Delete function.
5501 (python-info-continuation-line-p): New function.
5502 (python-which-func, python-current-defun): Delete function.
5503 (python-info-current-defun): New function.
5504 (python-beginning-of-defun): Delete function.
5505 (python-nav-beginning-of-defun): New function.
5506 (python-close-block-statement-p)
5507 (python-block-end-p): Delete function.
5508 (python-info-closing-block): New function.
5509 (python-comint-output-filter-function)
5510 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5511 (python-fill-comment, python-fill-decorator, python-fill-paren)
5512 (python-fill-string, python-imenu-make-element-tree)
5513 (python-imenu-make-tree, python-imenu-tree-assoc)
5514 (python-indent-context, python-indent-dedent-line)
5515 (python-indent-line-function)
5516 (python-indent-post-self-insert-function)
5517 (python-indent-toggle-levels)
5518 (python-info-assignment-continuation-line-p)
5519 (python-info-beginning-of-backlash)
5520 (python-info-block-continuation-line-p)
5521 (python-info-closing-block-message)
5522 (python-info-line-ends-backslash-p)
5523 (python-info-looking-at-beginning-of-defun)
5524 (python-info-ppss-context, python-info-ppss-context-type)
5525 (python-nav-list-defun-positions, python-nav-read-defun)
5526 (python-nav-sentence-end, python-nav-sentence-start)
5527 (python-pdbtrack-comint-output-filter-function)
5528 (python-pdbtrack-set-tracked-buffer)
5529 (python-shell-calculate-exec-path)
5530 (python-shell-calculate-process-environment)
5531 (python-shell-completion--do-completion-at-point)
5532 (python-shell-completion--get-completions)
5533 (python-shell-completion-complete-at-point)
5534 (python-shell-completion-complete-or-indent)
5535 (python-shell-get-or-create-process)
5536 (python-shell-get-process-name)
5537 (python-shell-internal-get-or-create-process)
5538 (python-shell-internal-get-process-name)
5539 (python-shell-internal-send-string, python-shell-make-comint)
5540 (python-shell-parse-command, python-shell-send-setup-code)
5541 (python-skeleton-add-menu-items)
5542 (python-util-clone-local-variables, python-util-position)
5543 (run-python-internal, python-indentation-levels)
5544 (python-nav-beginning-of-defun)
5545 (python-completion-complete-at-point): New functions.
5546 (run-python): Change arguments. New API requirements.
5547
4302f5ba
SM
55482012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5549
f38ea36d
SM
5550 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5551 (bug#11649).
5552
5553 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5554 (macroexp--expand-all): Use it.
5555
4302f5ba
SM
5556 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5557 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5558 Use `cl-function' instead.
5559
33377562
JB
55602012-06-14 Juanma Barranquero <lekktu@gmail.com>
5561
5562 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5563 Suggested by Stefan Monnier while discussing bug#11657.
5564
54c5ba1a
SS
55652012-06-14 Sam Steingold <sds@gnu.org>
5566
5567 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5568
f9f1b1fe
AS
55692012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5570
5571 * play/doctor.el (doctor-doc): Remove parameter and use
5572 doctor-sent instead of sent.
5573 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5574
a81068ba
SM
55752012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5a315f9c
SM
5577 * files.el: Require cl-lib.
5578 (file-name-non-special): Replace case -> cl-case.
5579
5580 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5581
a81068ba
SM
5582 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5583 mapping from #' to function*.
5584
8cca9703
CY
55852012-06-13 Chong Yidong <cyd@gnu.org>
5586
5587 * mouse.el (mouse-drag-track): Do not set the mark if the user
5588 releases the mouse without selecting anything (Bug#11588).
5589
a12ac9d7
SM
55902012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5591
ccf1dc18
SM
5592 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5593 as well (bug#11646).
5594
ef62b23d
SM
5595 * loadup.el: Count byte-code functions as well.
5596
c4c8444a
SM
5597 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5598 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5599
a12ac9d7
SM
5600 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5601 (bug#11649). Add cl-defun and cl-defmacro.
5602
87e6e64f
DA
56032012-06-13 Drew Adams <drew.adams@oracle.com>
5604
5605 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5606 Fix last change.
5607
682cefaf
MA
56082012-06-13 Michael Albinus <michael.albinus@gmx.de>
5609
5610 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5611 Otherwise, it blocks in batch mode.
5612
773e1f08
JB
56132012-06-13 Juanma Barranquero <lekktu@gmail.com>
5614
5615 * help-mode.el (bookmark-make-record-default): Declare.
5616
60057926
CY
56172012-06-13 Chong Yidong <cyd@gnu.org>
5618
5619 * emacs-lisp/package.el (list-packages): Compute a list of
5620 packages that are newly-available since the last list-packages
5621 invocation.
5622 (package-menu--new-package-list): New var.
5623 (package-menu--generate, package-menu--print-info)
5624 (package-menu--status-predicate, package-menu-mark-install):
5625 Handle new status label "new".
5626
ad4d226c
SM
56272012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5630 conversion to backquotes.
5631
f1a4e679
CY
56322012-06-12 Chong Yidong <cyd@gnu.org>
5633
5634 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5635 Rename from gud-inhibit-global-bindings.
5636
5637 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5638
5639 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5640 hook from nxml-glyph-set-hook.
5641
5642 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5643 declaration.
5644
5645 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5646
5647 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5648 Convert to defcustom.
5649
0c9e42b5
DA
56502012-06-12 Drew Adams <drew.adams@oracle.com>
5651
5652 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5653 New functions.
5654 (help-mode): Use them.
5655
09e06855
GM
56562012-06-11 Glenn Morris <rgm@gnu.org>
5657
5658 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5659 Use preprocessor face for directives.
5660 (fortran-directive-re): Doc fix.
5661
71adb94b
SM
56622012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5663
2eb87922
SM
5664 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5665 conversion to backquotes (bug#11652).
5666
71adb94b
SM
5667 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5668 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5669 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5670 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5671 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5672 (cl-ninth, cl-tenth): Mark them as inlinable.
5673 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5674 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5675 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5676 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5677 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5678 (cl-list*, cl-adjoin): Don't put an autoload manually.
5679 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5680 (cl--compiler-macro-list*): Add autoload cookie.
5681 (cl--compiler-macro-cXXr): New function.
2eb87922 5682
71adb94b
SM
5683 * help-fns.el (help-fns--compiler-macro): New function extracted from
5684 describe-function-1; follow aliases and use `compiler-macro' property.
5685 (describe-function-1): Use it.
5686
a6674402
CY
56872012-06-11 Chong Yidong <cyd@gnu.org>
5688
5689 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5690 is uninstalled, if imagemagick is installed.
5691
bb3faf5b
SM
56922012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5693
5694 * emacs-lisp/cl-lib.el: Use lexical-binding.
5695 (cl-map-extents, cl-maclisp-member): Remove.
5696 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5697 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5698 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5699 * emacs-lisp/cl-extra.el: Use lexical-binding.
5700 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5701 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5702 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5703 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5704 * emacs-lisp/cl-seq.el: Use lexical-binding.
5705 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5706 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5707 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5708 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5709 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5710 CL's internals.
5711
2fe4b125
MA
57122012-06-11 Michael Albinus <michael.albinus@gmx.de>
5713
5714 Sync with Tramp 2.2.6-pre.
5715
5716 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5717 `print-length' and `print-level' to nil, in order to avoid
5718 truncation. Reported by Christopher Schmidt
5719 <christopher@ristopher.com>.
5720
5721 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5722
5723 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5724 New defmacro.
5725 (tramp-compat-copy-directory): Add optional argument
5726 COPY-CONTENTS. It is not handled yet.
5727
5728 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5729 (tramp-ftp-file-name-p): Simplify.
5730
5731 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5732 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5733 connection vector.
5734
5735 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5736 (tramp-methods): Do not use `tramp-password-end-of-line'.
5737 (tramp-completion-function-alist-putty): Handle UNIX case.
5738 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5739 (tramp-do-file-attributes-with-stat)
5740 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5741 gid as real numbers. They could run out of integer range on cygwin.
5742 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5743 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5744 (tramp-open-connection-setup-interactive-shell):
5745 Use `tramp-cleanup'. Move check for busyboxes ...
5746 (tramp-find-shell): ... here. Simplify implementation.
5747 Set "remote-shell" property also for alternative shells.
5748 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5749 If failing, a regular file would be written otherwise.
5750 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5751 (tramp-find-inline-encoding): Cache the coding commands in the
5752 process cache. Apply test command on the remote side, if defined.
5753 (tramp-find-inline-compress): Cache the compress commands in the
5754 process cache.
5755 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5756 when requested. Handle hops.
5757 (tramp-current-connection): New defvar.
87e6e64f
DA
5758 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5759 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5760 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5761 (tramp-get-inline-compress, tramp-get-inline-coding):
5762 Read connection properties from the process cache.
2fe4b125
MA
5763
5764 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5765 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5766 New defconsts.
2fe4b125
MA
5767 (tramp-smb-prompt): Extend for powershell prompt.
5768 (tramp-smb-file-name-handler-alist): Add handlers for
5769 `process-file', `shell-command' and `start-file-process'.
5770 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5771 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5772 (tramp-smb-file-name-p): Simplify.
5773 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5774 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5775 (tramp-smb-shell-quote-argument): New defuns.
5776 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5777 Implement using "tar". By this, time-stamps are preserved.
5778 (tramp-smb-handle-copy-file): Handle also the case of directories.
5779 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5780 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5781 Use `tramp-get-connection-buffer').
2fe4b125
MA
5782 (tramp-smb-handle-rename-file): Use "rename", when source and
5783 target are on the same share.
87e6e64f
DA
5784 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5785 Use `tramp-smb-server-version'.
2fe4b125
MA
5786 (tramp-smb-wait-for-output): Remove prompt.
5787
5788 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5789 (tramp-methods, tramp-rsh-end-of-line):
5790 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5791 (tramp-save-ad-hoc-proxies): New defcustom.
5792 (tramp-completion-function-alist): Adapt docstring.
5793 (tramp-default-password-end-of-line): Remove defcustom.
5794 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5795 (tramp-user-regexp, tramp-file-name-regexp-unified)
5796 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5797 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5798 (tramp-remote-file-name-spec-regexp): New defconst.
5799 (tramp-file-name-structure): Extend structure for hops.
5800 (tramp-get-method-parameter): Move up.
5801 (tramp-file-name-p, tramp-dissect-file-name)
5802 (with-parsed-tramp-file-name): Handle hops.
5803 (tramp-file-name-hop): New defun.
5804 (tramp-make-tramp-file-name): New optional arg HOP.
5805 (tramp-message-show-progress-reporter-message): New defvar.
5806 (tramp-with-progress-reporter): Use it. We cannot use
5807 `tramp-message-show-message' here, because this suppresses also
5808 error buffers.
5809 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5810 `tramp-message-show-message' is nil.
5811 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5812 (tramp-cleanup): New defun.
5813 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5814 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5815 an error unchanged.
5816 (tramp-completion-handle-file-name-all-completions): Handle hops.
5817 Fix an error when called from ido.
5818 (tramp-completion-dissect-file-name): Use better local variable
5819 name. Add hop to the vector.
5820 (tramp-handle-insert-file-contents): Use progress-reporter for the
5821 whole scenario.
5822 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5823 to `t'.
5824 (tramp-check-for-regexp): Simplify search.
5825 (tramp-enter-password): Remove it. Move implementation ...
5826 (tramp-action-password): ... here.
5827 (tramp-mode-string-to-int, tramp-local-host-p)
5828 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5829 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5830 Set tramp-autoload cookie.
2fe4b125
MA
5831
5832 * net/trampver.el: Update release number.
5833
58342012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5835 Michael Albinus <michael.albinus@gmx.de>
5836
5837 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5838 (tramp-parse-group, tramp-parse-file)
5839 (tramp-parse-shostkeys-sknownhosts): New defuns.
5840 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5841 (tramp-parse-shosts-group, tramp-parse-sconfig)
5842 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5843 (tramp-parse-sknownhosts, tramp-parse-hosts)
5844 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5845 Use them.
5846 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5847 (tramp-parse-putty-group): Don't narrow.
5848 (tramp-parse-putty): Make a loop.
5849 (tramp-file-name-handler): Catch the `suppress' signal.
5850
72834e10
CY
58512012-06-11 Chong Yidong <cyd@gnu.org>
5852
5853 * image.el (imagemagick-register-types): Put the ImageMagick entry
5854 at the end of image-type-file-name-regexps.
5855
a4712e11
JB
58562012-06-11 Johan Bockgård <bojohan@gnu.org>
5857
5858 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5859 (pcase, pcase-let*, pcase-dolist): Use them.
5860
82ad98e3
SM
58612012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * emacs-lisp/pcase.el (pcase--let*): New function.
5864 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5865 (pcase--expand): Use macroexp-let².
5866
f80efb86
SM
58672012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5870 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5871 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5872 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5873 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5874 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5875
31ca4639 58762012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5877
31ca4639
CY
5878 * mail/rmail.el (rmail-yank-current-message): Leave point at
5879 correct position. (Bug#11660)
94f0aa34 5880
31ca4639 58812012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5882
31ca4639 5883 * allout-widgets.el: Fix code header.
9e1b8ec4 5884
31ca4639 58852012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5886
f80efb86
SM
5887 * cus-edit.el (customize-changed-options-previous-release):
5888 Bump to 24.1.
31ca4639 5889
642b6d30
AS
58902012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5891
5892 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5893
4f5d2ba1
CY
58942012-06-09 Chong Yidong <cyd@gnu.org>
5895
5896 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5897
e75852fd
MR
58982012-06-09 Martin Rudalics <rudalics@gmx.at>
5899
5900 * window.el (special-display-popup-frame): Don't use
5901 window--display-buffer (Bug#11651).
5902
1e48e282
EZ
59032012-06-09 Eli Zaretskii <eliz@gnu.org>
5904
8a26b487
EZ
5905 Fix parallel builds: make sure loaddefs.el is not being written
5906 while Lisp files are compiled.
5907 (compile): Don't depend on 'mh-autoloads'.
5908 (compile-CMD, compile-SH): Depend on 'autoloads'.
5909 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5910
1e48e282
EZ
5911 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5912
6175e34b
CY
59132012-06-09 Chong Yidong <cyd@gnu.org>
5914
5915 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5916 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5917 Doc fixes (Bug#11225).
5918
d9857e53
SM
59192012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5922 a function if there's a clear indication that it has a compiler-macro.
5923 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5924 (macro-declarations-alist): Add arglist to declaration functions.
5925 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5926 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5927 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5928 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5929 Also add autoload to find the compiler macro.
5930 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5931 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5932 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5933 (cl--compiler-macro-get): New functions, replacing calls to
5934 cl-define-compiler-macro.
5935 (cl-typep) [compiler-macro]: Use macroexp-let².
5936
f81298f8 59372012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5938
5939 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5940 string properly, fixes Bug#11473.
5941
4b56d0fe
CY
59422012-06-08 Chong Yidong <cyd@gnu.org>
5943
5944 * faces.el (set-face-attribute): Doc fix.
5945 (modify-face): Don't use :bold and :italic.
5946 (error, warning, success): Tweak definitions.
5947
5948 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5949 (custom-modified, custom-set, custom-changed, custom-themed)
5950 (custom-saved, custom-button, custom-button-mouse)
5951 (custom-button-pressed, custom-state, custom-comment-tag)
5952 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5953 (custom-group-subtitle): Use new-style face specs.
5954 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5955 (custom-set-face, custom-changed-face, custom-saved-face)
5956 (custom-button-face, custom-button-pressed-face)
5957 (custom-documentation-face, custom-state-face)
5958 (custom-comment-face, custom-comment-tag-face)
5959 (custom-variable-tag-face, custom-variable-button-face)
5960 (custom-face-tag-face, custom-group-tag-face-1)
5961 (custom-group-tag-face): Remove obsolete face alias.
5962
5963 * epa.el (epa-validity-high, epa-validity-medium)
5964 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5965 (epa-field-name, epa-field-body):
5966 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5967 (font-lock-keyword-face, font-lock-builtin-face)
5968 (font-lock-function-name-face, font-lock-variable-name-face)
5969 (font-lock-type-face, font-lock-constant-face):
5970 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5971 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5972 * speedbar.el (speedbar-button-face, speedbar-file-face)
5973 (speedbar-directory-face, speedbar-tag-face)
5974 (speedbar-selected-face, speedbar-highlight-face)
5975 (speedbar-separator-face):
5976 * whitespace.el (whitespace-newline, whitespace-space)
5977 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5978 (whitespace-line, whitespace-space-before-tab)
5979 (whitespace-space-after-tab, whitespace-indentation)
5980 (whitespace-empty):
5981 * emulation/cua-base.el (cua-global-mark):
5982 * eshell/em-prompt.el (eshell-prompt):
5983 * net/newst-plainview.el (newsticker-new-item-face)
5984 (newsticker-old-item-face, newsticker-immortal-item-face)
5985 (newsticker-obsolete-item-face, newsticker-date-face)
5986 (newsticker-statistics-face, newsticker-default-face):
5987 * net/newst-reader.el (newsticker-feed-face)
5988 (newsticker-extra-face, newsticker-enclosure-face):
5989 * net/newst-treeview.el (newsticker-treeview-face)
5990 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5991 (newsticker-treeview-immortal-face)
5992 (newsticker-treeview-obsolete-face)
5993 (newsticker-treeview-selection-face):
5994 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5995 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5996 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5997 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5998 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5999 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6000 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6001 (mpuz-text):
6002 * progmodes/vera-mode.el (vera-font-lock-number)
6003 (vera-font-lock-function, vera-font-lock-interface):
6004 * textmodes/table.el (table-cell): Use new-style face specs, and
6005 don't use the old :bold and :italic attributes.
6006
6007 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6008 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6009 (ebrowse-member-class, ebrowse-progress): Likewise.
6010 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6011 (ebrowse-file-name-face, ebrowse-default-face)
6012 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6013 (ebrowse-progress-face): Remove obsolete faces.
6014
6015 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6016 Inherit from error and warning faces respectively.
6017
6018 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6019 Likewise.
f80efb86
SM
6020 (flyspell-incorrect-face, flyspell-duplicate-face):
6021 Remove obsolete aliases.
4b56d0fe 6022
03310646
MA
60232012-06-08 Michael Albinus <michael.albinus@gmx.de>
6024
6025 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6026 Avoid infloop.
6027
513749ee
SM
60282012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * startup.el (argv, argi): Make lexically scoped.
6031 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6032 * emacs-lisp/cl-macs.el: Use lexical-binding.
6033 Rename cl-bind-* to cl--bind-*.
6034 * files.el: Don't require `cl' since it doesn't use it.
6035 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6036
595ef4ad
JB
60372012-06-08 Juanma Barranquero <lekktu@gmail.com>
6038
6039 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6040 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6041 instead of calling external sort utility.
6042 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6043
e9f66fcb
EZ
60442012-06-08 Eli Zaretskii <eliz@gnu.org>
6045
6046 * descr-text.el (describe-char): Mention how to insert the
6047 character, if the current input method doesn't support it.
6048 See the discussion in this thread for the details:
6049 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6050
3d10db47
SS
60512012-06-08 Sam Steingold <sds@gnu.org>
6052
6053 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6054 XF86Back to previous-buffer.
6055 (minibuffer-local-map): Bind them to next-history-element and
6056 previous-history-element respectively.
6057 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6058 help-go-back respectively.
6059 * info.el (Info-mode-map): Bind them to Info-history-forward and
6060 Info-history-back respectively.
6061 These are the keys next to Up on the ThinkPad keyboard.
6062
de7e2b36
SM
60632012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6066 * emacs-lisp/cl-macs.el: Provide itself.
6067 (cl--labels-convert-cache): New var.
6068 (cl--labels-convert): New function.
6069 (cl-flet, cl-labels): New implementation with new semantics, relying on
6070 lexical-binding.
6071 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6072 (cl-closure-vars, cl--function-convert-cache)
6073 (cl--function-convert): Move from cl-macs.el.
6074 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6075 rename by removing the "cl-" prefix.
6076 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6077
6fa6c4ae
SM
60782012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6081 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6082 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6083 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6084 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6085 (cl-hash-table-count): Add old compatibility aliases.
6086
6087 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6088 Use macroexpand-all-environment instead.
6089 (cl--old-macroexpand): New var.
6090 (cl--sm-macroexpand): New function.
6091 (cl-symbol-macrolet): Use it during macro expansion.
6092 (cl--function-convert-cache): New var.
6093 (cl--function-convert): New function, extracted from
6094 cl-macroexpand-all.
6095 (cl-lexical-let): Use it.
6096
6097 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6098 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6099 (cl-member): Remove old alias.
6100
6101 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6102 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6103 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6104 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6105 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6106 (cl-macroexpand-cmacs): Remove var.
6107 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6108 Use macroexpand-all instead.
6109
4dd1c416
SM
61102012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6113 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6114 (macroexp-copyable-p): New functions and macros.
6115 * emacs-lisp/edebug.el (edebug-unwrap):
6116 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6117 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6118 (pcase--let*): Remove.
6119 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6120 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6121 macroexp-const-p instead.
6122 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6123
6124 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6125 instead of "cl-" for internal definitions. Use macroexp-const-p.
6126 (cl-old-bc-file-form): Remove var.
6127 (cl-const-exprs-p): Remove fun.
6128 (cl-labels, cl-macrolet): Use backquote.
6129 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6130 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6131 (cl-define-setf-expander): Rename from cl-define-setf-method.
6132 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6133
6134 * international/mule-cmds.el: Don't require CL.
6135 (view-hello-file): Don't use `letf'.
6136
ed8bd4d7
SM
61372012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6138
7287f2f3
SM
6139 * tmm.el (tmm-prompt): Use string-prefix-p.
6140 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6141 (tmm-add-prompt): Use minibuffer-completion-help.
6142 (tmm-delete-map): Remove.
6143
ed8bd4d7
SM
6144 * subr.el (kbd): Make it its own function.
6145
7b4cdbf4
SM
61462012-06-07 Stefan Merten <smerten@oekonux.de>
6147
6148 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6149 Silence compiler warnings. Fix versions.
ed8bd4d7 6150 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6151 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6152 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6153 (rst-package-emacs-version-alist): Correct Emacs version to
6154 represent major merge with upstream.
ed8bd4d7 6155 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6156
2b48d721
GM
61572012-06-06 Glenn Morris <rgm@gnu.org>
6158
6159 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6160 Only print environment variables if set.
6161
fa779ab0
SM
61622012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6165 (macroexp--cons): Rename from maybe-cons.
6166 (macroexp--accumulate): Rename from macroexp-accumulate.
6167 (macroexp--all-forms): Rename from macroexpand-all-forms.
6168 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6169 (macroexp--expand-all): Rename from macroexpand-all-1.
6170
628299e0
SS
61712012-06-06 Sam Steingold <sds@gnu.org>
6172
6173 * calendar/calendar.el (calendar-in-read-only-buffer):
6174 Call `special-mode' to enable the standard read-only keybindings.
6175
b7bb5838
SM
61762012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6179 with "loading" messages (bug#11635).
6180
dfb308ba
MA
61812012-06-06 Michael Albinus <michael.albinus@gmx.de>
6182
6183 * files.el (enable-remote-dir-locals): New option.
6184 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6185
0372ee92
MA
6186 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6187 Ensure, that the temp directory is local.
6188
6189 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6190 `temporary-file-directory'.
6191
eed0bb91
MA
6192 * progmodes/python.el (python-send-region): Ensure, that the
6193 temporary file is created also in the remote case.
6194
7a58f64d
GM
61952012-06-06 Glenn Morris <rgm@gnu.org>
6196
f7dd4e98
GM
6197 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6198 (vc-rcs-update-changelog): Use it.
6199
090bd7cb 6200 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6201
7a58f64d
GM
6202 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6203 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6204 (vc-sccs-diff): Replace use of the external vcdiff script.
6205
daed4003
GM
62062012-06-05 Glenn Morris <rgm@gnu.org>
6207
6208 * ledit.el: Move to obsolete/.
6209
48c455c7
SS
62102012-06-05 Sam Steingold <sds@gnu.org>
6211
ed9265fc 6212 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6213 patch (Bug#11140).
6214
57a7d507
SM
62152012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6216
090bd7cb 6217 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6218
53aacf21
SM
6219 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6220 compiler-macro expansion.
6221
57a7d507
SM
6222 Add native compiler-macro support.
6223 * emacs-lisp/macroexp.el (macroexpand-all-1):
6224 Support compiler-macros directly. Properly follow aliases and apply
6225 the compiler macros more thoroughly.
6226 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6227 macroexpand now properly follows aliases.
6228 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6229 (cl-compiler-macroexpand): Use new prop.
6230 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6231
6232 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6233
51a5f9d8
MR
62342012-06-05 Martin Rudalics <rudalics@gmx.at>
6235
6236 * window.el (get-lru-window, get-mru-window, get-largest-window):
6237 New argument NOT-SELECTED to avoid picking the selected window.
6238 (window--display-buffer-1, window--display-buffer-2): Replace by
6239 new function window--display-buffer
6240 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6241 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6242 Use window--display-buffer.
51a5f9d8
MR
6243 (display-buffer-use-some-window): Remove temporary dedication
6244 hack by calling get-lru-window and get-largest-window with
6245 NOT-SELECTED argument non-nil. Call window--display-buffer.
6246
08f9f738
GM
62472012-06-05 Glenn Morris <rgm@gnu.org>
6248
6249 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6250 Replace external vcdiff script.
6251
e364a2b7
SM
62522012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6255
041df390
CY
62562012-06-04 Chong Yidong <cyd@gnu.org>
6257
e364a2b7
SM
6258 * image.el (imagemagick-types-inhibit): Revert last change.
6259 Add INFO and M.
47b36b94 6260 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6261
7c1898a7
SM
62622012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * emacs-lisp/cl-lib.el: Rename from cl.el.
6265 * emacs-lisp/cl.el: New compatibility file.
6266 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6267 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6268 to obey the "cl-" prefix.
6269 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6270
0c3461de
GM
62712012-06-03 Glenn Morris <rgm@gnu.org>
6272
1e266c88
GM
6273 * emacs-lisp/authors.el (authors-aliases): Addition.
6274
0c3461de
GM
6275 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6276 Fix :version.
6277
d8a52e15
SM
62782012-06-03 Stefan Merten <smerten@oekonux.de>
6279
6280 * textmodes/rst.el: Add comments.
6281 (rst-transition, rst-adornment): New faces.
6282 (rst-adornment-faces-alist): Make default safe to reevaluate.
6283 Fixes
6284 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6285 Improve customization tags.
6286 (rst-define-level-faces): Clarify meaning.
6287
5205d6f6
CY
62882012-06-03 Chong Yidong <cyd@gnu.org>
6289
6290 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6291 (compilation-mode-line-run, compilation-mode-line-exit):
6292 New faces.
5205d6f6
CY
6293 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6294
757ee657
JD
62952012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6296
7c1898a7
SM
6297 * progmodes/which-func.el (which-func-update-ediff-windows):
6298 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6299
5f2c76c6
CY
63002012-06-03 Chong Yidong <cyd@gnu.org>
6301
6302 * bindings.el: Remove explicit help text from format-mode-line.
6303 It is now supplied by mode-line-default-help-echo.
6304 (mode-line-front-space, mode-line-end-spaces)
6305 (mode-line-misc-info): New variables.
6306 (mode-line-modes, mode-line-position): Move the default value to
6307 the variable definition.
6308 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6309 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6310 (mode-line-modified-help-echo): New functions.
6311 (mode-line-mule-info, mode-line-modified): Use them.
6312 (mode-line-eol-desc, propertized-buffer-identification):
6313 Consistency fixes for help text.
cbe46e5f
CY
6314 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6315 set-buffer-file-coding-system (Bug#289).
6316 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6317
f2d6a3df
SM
63182012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * simple.el (execute-extended-command): Set real-this-command
6321 (bug#11506).
6322
37269466
CY
63232012-06-02 Chong Yidong <cyd@gnu.org>
6324
6325 Remove incorrect uses of "modeline" in comments, docstrings, and
6326 function/variable names (Bug#10329).
6327
6328 * cus-edit.el (mode-line):
6329 * dframe.el (dframe-mouse-hscroll):
6330 * emacs-lisp/re-builder.el:
6331 * emacs-lisp/easy-mmode.el (define-minor-mode):
6332 * frame.el (set-frame-name):
6333 * help.el (lookup-minor-mode-from-indicator):
6334 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6335 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6336 (c-toggle-hungry-state):
6337 * progmodes/antlr-mode.el (antlr-language-alist):
6338 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6339 * progmodes/vhdl-mode.el (vhdl-mode):
6340 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6341 * term/ns-win.el (ns-face-at-pos):
6342 * term/sup-mouse.el (sup-mouse-report):
6343 * textmodes/flyspell.el (flyspell-mode-line-string):
6344 * textmodes/ispell.el (ispell-highlight-face):
6345 * textmodes/reftex-global.el:
6346 * vc/vc-arch.el (vc-arch-mode-line-string):
6347 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6348 * vc/vc-git.el (vc-git-mode-line-string):
6349 * vc/vc-hooks.el (vc-display-status)
6350 (vc-default-mode-line-string):
6351 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6352
6353 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6354
6355 * dired.el (dired-sort-set-mode-line): Rename from
6356 dired-sort-set-modeline. All callers changed.
6357
6358 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6359 eshell-status-in-modeline.
6360
6361 * foldout.el (foldout-mode-line-string): Rename from
6362 foldout-modeline-string. All callers changed.
6363 (foldout-update-mode-line): Rename from foldout-update-modeline.
6364
6365 * subr.el (redraw-modeline): Make into obsolete alias.
6366
6367 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6368 timeclock-modeline-display. Make old name an alias.
6369 (timeclock-update-mode-line): Likewise. All callers changed.
6370 (timeclock-mode-line-display): No need to check before using
6371 add-hook.
6372 (timeclock-relative, timeclock-day-over-hook)
6373 (timeclock-use-elapsed, timeclock-mode-string)
6374 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6375
6376 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6377 crisp-mode-modeline-string.
6378
6379 * play/solitaire.el (solitaire-build-mode-line): Rename from
6380 solitaire-build-modeline. All callers changed.
6381
6382 * play/zone.el (zone-hiding-mode-line): Rename from
6383 zone-hiding-modeline. All callers changed.
6384 (zone): Remove unusued `modeline-hidden-level' property.
6385
6386 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6387 xscheme-modeline-initialize. All callers changed.
6388
6389 * strokes.el (strokes-lighter): Rename from
6390 strokes-modeline-string.
6391
6392 * textmodes/sgml-mode.el (html-face-tag-alist)
6393 (html-tag-face-alist): Use mode-line face instead of obsolete
6394 alias modeline.
6395
42152ee4
SM
63962012-06-02 Stefan Merten <smerten@oekonux.de>
6397
6398 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6399 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6400
95f520b5
CY
64012012-06-02 Chong Yidong <cyd@gnu.org>
6402
6403 * image.el (imagemagick-enabled-types): Rename from
6404 imagemagick-types-enable. Add many more types.
6405 (imagemagick-types-inhibit): Change default to nil.
6406 (imagemagick-filter-types): Caller changed.
6407
4a5f187a
SM
64082012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6409
03fef3e6
SM
6410 * emacs-lisp/cl-macs.el: Use backquotes.
6411 (cl-transform-function-property): Use eval-and-compile rather than
6412 abusing `require'.
6413 (defstruct): Use declare-function instead of with-no-warnings.
6414
4a5f187a
SM
6415 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6416 (byte-compile-output-docform): Re-add the print-circle bindings.
6417 (byte-compile-fix-header): Use #$ just because it's shorter.
6418 (byte-compile-output-file-form): Remove defun/defmacro.
6419
bd56924f
MR
64202012-06-01 Martin Rudalics <rudalics@gmx.at>
6421
6422 * simple.el (choose-completion): Remove now obsolete binding for
6423 owindow.
6424
046e38ce
MA
64252012-06-01 Michael Albinus <michael.albinus@gmx.de>
6426
6427 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6428 in order to avoid "Stack overflow in regexp matcher".
6429
32d72c2f
GM
64302012-05-31 Glenn Morris <rgm@gnu.org>
6431
6432 * image.el: For clarity, call imagemagick-register-types at
6433 top-level, rather than relying on a custom :initialize.
6434 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6435 (imagemagick-filter-types): New function. (Bug#7406)
6436 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6437 If disabling support, remove elements altogether rather
6438 than using an impossible regexp.
6439 (imagemagick-types-inhibit): Give it the default init function.
6440
dd41169b
SM
64412012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6442
4a5f187a
SM
6443 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6444 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6445
efc00ab1 64462012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6447
6448 * desktop.el (desktop-read): Clear previous and next buffers for
6449 all windows and bury *Messages* buffer (bug#11556).
6450
500fcedc
SM
64512012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 Add `declare' for `defun'. Align `defmacro's with it.
6454 * emacs-lisp/easy-mmode.el (define-minor-mode)
6455 (define-globalized-minor-mode): Don't autoload the var definitions.
6456 * emacs-lisp/byte-run.el: Use lexical-binding.
6457 (defun-declarations-alist, macro-declarations-alist): New vars.
6458 (defmacro, defun): Use them.
6459 (make-obsolete, define-obsolete-function-alias)
6460 (make-obsolete-variable, define-obsolete-variable-alias):
6461 Use `declare'.
6462 (macro-declaration-function): Mark obsolete.
6463 * emacs-lisp/autoload.el: Use lexical-binding.
6464 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6465
6e8a1786
AM
64662012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6467
6468 * textmodes/ispell.el (ispell-with-no-warnings):
6469 Define as a macro.
500fcedc
SM
6470 (ispell-kill-ispell, ispell-change-dictionary):
6471 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6472 `interactive-p'.
6473
61b108cc
SM
64742012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6477 (macro-declaration-function): Move var from C code.
6478 (macro-declaration-function): Define function with defalias.
6479 * emacs-lisp/macroexp.el (macroexpand-all-1):
6480 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6481 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6482 defun/defmacro any more.
6483 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6484 Provide fallback for unknown arglist.
6485 (byte-compile-arglist-warn): Change calling convention.
6486 (byte-compile-output-file-form): Move print-vars binding.
6487 (byte-compile-output-docform): Simplify accordingly.
6488 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6489 (byte-compile-defmacro-declaration): Remove.
6490 (byte-compile-file-form-defmumble): Generalize to defalias.
6491 (byte-compile-output-as-comment): Return byte-positions.
6492 Simplify callers accordingly.
6493 (byte-compile-lambda): Use `assert'.
6494 (byte-compile-defun, byte-compile-defmacro): Remove.
6495 (byte-compile-file-form-defalias):
6496 Use byte-compile-file-form-defmumble.
6497 (byte-compile-defalias-warn): Remove.
6498
6d3f7c2f
SM
64992012-05-29 Stefan Merten <smerten@oekonux.de>
6500
6501 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6502 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6503
6504 (rst-mode-abbrev-table): Merge definition.
6505 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6506 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6507
6dbaa1c7
UJ
65082012-05-29 Ulf Jasper <ulf.jasper@web.de>
6509
6510 * calendar/icalendar.el
6511 (icalendar-export-region): Export UID properly.
6512
d209e2fb 65132012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6514 * calendar/icalendar.el (icalendar-import-format):
6515 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6516 (icalendar-import-format-uid): New.
6517 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6518 Export UID.
6519
6876a58d
SM
65202012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6523 different alternative patterns.
6524 (pcase-codegen): Be more careful to preserve identity.
6525 (pcase--u1): Don't forget to mark vars as used.
6526
6527 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6528 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6529 (byte-compile-from-buffer): ...rather than here.
6530
6531 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6532 functions from byte-compile-function-environment.
6533
46b7967e
TN
65342012-05-29 Troels Nielsen <bn.troels@gmail.com>
6535
6536 * window.el (window-deletable-p): Avoid deleting the root window
6537 of a frame with an active minibuffer.
6538
69d565e2
MR
65392012-05-29 Martin Rudalics <rudalics@gmx.at>
6540
6541 * simple.el (choose-completion): Use quit-window (Bug#11567).
6542
a149fa51
CY
65432012-05-29 Chong Yidong <cyd@gnu.org>
6544
6545 * whitespace.el (whitespace-cleanup): Fix usage of
6546 whitespace-empty-at-bob-regexp (Bug#11492).
6547
2b311310
AH
65482012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6549
6550 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6551 revert (Bug#11488).
6552
b9cb2387
JL
65532012-05-29 Juri Linkov <juri@jurta.org>
6554
6555 * isearch.el (isearch-mode-map): Bind `M-s _' to
6556 `isearch-toggle-symbol'. Bind `M-s c' to
6557 `isearch-toggle-case-fold'.
6558 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6559 (isearch-forward): Add `M-s _' to the docstring.
6560 (isearch-forward-symbol, isearch-toggle-case-fold)
6561 (isearch-symbol-regexp): New functions. (Bug#11381)
6562
d5e61c1c
JL
65632012-05-29 Juri Linkov <juri@jurta.org>
6564
6565 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6566 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6567 a function, call it to get the regexp.
6568 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6569 property `isearch-message-prefix' instead of the string "word ".
6570 (isearch-search-fun-default): For the case of `isearch-word',
6571 return a lambda that calls re-search-forward/re-search-backward
6572 with a regexp returned by `word-search-regexp' or by the function
6573 in `isearch-word'.
6574
8cbd80f7
JL
65752012-05-29 Juri Linkov <juri@jurta.org>
6576
6577 * isearch.el (isearch-search-fun-default): New function.
6578 (isearch-search-fun): Move default part to the new function
6579 `isearch-search-fun-default'.
6580 (isearch-search-fun-function): Set the default value to
6581 `isearch-search-fun-default'. (Bug#11381)
6582
6583 * comint.el (comint-history-isearch-end):
6584 Use `isearch-search-fun-default'.
6585 (comint-history-isearch-search): Use `isearch-search-fun-default'
6586 and remove spacial case for `isearch-word'.
6587 (comint-history-isearch-wrap): Remove spacial case for
6588 `isearch-word'.
6589
6590 * hexl.el (hexl-isearch-search-function):
6591 Use `isearch-search-fun-default'.
6592
6593 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6594 Use `word-search-regexp' for `isearch-word'.
6595
6596 * misearch.el (multi-isearch-search-fun):
6597 Use `isearch-search-fun-default'.
6598
6599 * simple.el (minibuffer-history-isearch-search):
6600 Use `isearch-search-fun-default' and remove spacial case for
6601 `isearch-word'.
6602 (minibuffer-history-isearch-wrap): Remove spacial case for
6603 `isearch-word'.
6604
6605 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6606 Remove spacial case for `isearch-word'.
6607 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6608
85c8c5b6
AM
66092012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6610
6611 Decrease XEmacs incompatibilities.
6612 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6613 Use `string-match'.
6614 (flyspell-delete-region-overlays): Use alternative definition for
6615 XEmacs.
6616 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6617 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6618 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6619 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6620 `define-obsolete-face-alias' under XEmacs, but old method.
6621
6622 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6623 `with-no-warnings' definition or Emacs alias.
6624 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6625 (ispell-word): Do not use `region-p' if XEmacs.
6626
8cab9efc
AM
66272012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6628
6629 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6630 Check for `ispell-dictionary-base-alist' instead of full
6631 `ispell-dictionary-alist'.
6632 (ispell-init-process): Show spellchecker when starting new Ispell
6633 process.
6634
fda91268
RZ
66352012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6638 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6639
694ea8e3
JB
66402012-05-27 Juanma Barranquero <lekktu@gmail.com>
6641
6642 * version.el (motif-version-string, gtk-version-string)
6643 (ns-version-string): Declare.
6644
e4d4f539
JL
66452012-05-27 Juri Linkov <juri@jurta.org>
6646
6647 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6648 after the `eval-defun-1' specialcaseing
6649 like in `edebug-eval-defun' (bug#10181).
6650
6651 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6652 like in `eval-defun-1'.
6653
33017faf 66542012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6655
fda91268
RZ
6656 * mail/sendmail.el (mail-yank-region):
6657 Recognize rmail-yank-current-message in addition to insert-buffer.
6658 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6659 a *mail* buffer created through rmail-start-mail with sendmail as
6660 mail-user-agent.
6661
33017faf
GM
66622012-05-27 Chong Yidong <cyd@gnu.org>
6663
6664 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6665 Default to 256 (Bug#11267).
6666
6667 * help.el (describe-mode): Doc fix.
6668
04188bb9
GM
66692012-05-26 Glenn Morris <rgm@gnu.org>
6670
38264cc9
GM
6671 * w32-fns.el (w32-init-info): Remove.
6672 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6673
eb7afdad
GM
6674 * info.el (info-initialize): For self-contained NS builds, put the
6675 included info/ directory at the front. (Bug#2791)
6676
04188bb9
GM
6677 * paths.el (Info-default-directory-list): Make it a defcustom,
6678 mainly so that we can use custom-initialize-delay.
6679
a179e3f7
SM
66802012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6681
43416392
SM
6682 * subr.el (buffer-has-markers-at): Mark obsolete.
6683
a179e3f7 6684 * subr.el (lambda): Use declare.
43416392 6685
a179e3f7
SM
6686 * emacs-lisp/lisp-mode.el (lambda):
6687 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6688
34a008d9
AH
66892012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6690
6691 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6692
0a3b289f
GM
66932012-05-26 Glenn Morris <rgm@gnu.org>
6694
6695 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6696
758c81e8
GM
66972012-05-25 Glenn Morris <rgm@gnu.org>
6698
f9f334f0
GM
6699 * paths.el: Remove no-byte-compile.
6700 * loadup.el: No need to load paths.el uncompiled.
6701
87eb79c2
GM
6702 * image.el (imagemagick-types-inhibit): Doc fix.
6703
758c81e8
GM
6704 * version.el: Remove no-byte-compile and associated formatting.
6705 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6706 is ancient code from when there was an "inc-vers.el".
6707
e7e85dc0
SM
67082012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * progmodes/gdb-mi.el: Minor style changes.
6711 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6712 Turn into minor modes.
6713 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6714 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6715 (gdb-shell): Remove unneeded let-binding.
6716 (gdb-get-many-fields): Eliminate O(n²) behavior.
6717
f31237a4
EZ
67182012-05-25 Eli Zaretskii <eliz@gnu.org>
6719
6720 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6721 platforms that don't link in fontset.c.
6722
bc1b21bb
JL
67232012-05-25 Juri Linkov <juri@jurta.org>
6724
6725 Use the same diff color scheme as in modern VCSes (bug#10181).
6726
6727 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6728 to avoid confusion with `diff-added' that now uses green colors.
6729 (diff-removed): Use shades of red.
6730 (diff-added): Use shades of green.
6731 (diff-changed): Leave just the yellow color.
6732 (diff-use-changed-face): New variable.
6733 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6734 how to highlight context diff changes.
6735 (diff-refine-change): Use shades of yellow.
6736 (diff-refine-removed): New face that uses shades of red.
6737 (diff-refine-added): New face that uses shades of green.
6738 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6739 `diff-refine-removed' in the call to `smerge-refine-subst'
6740 depending on the value of `diff-use-changed-face'.
6741
6742 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6743 (smerge-other): Use shades of green.
6744 (smerge-base): Use shades of yellow.
6745 (smerge-refined-change): Empty face.
6746 (smerge-refined-removed): New face that uses shades of red.
6747 (smerge-refined-added): New face that uses shades of green.
6748 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6749 args `props-r' and `props-a', and use them. Doc fix.
6750 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6751 on its value use different faces `smerge-refined-change',
6752 `smerge-refined-removed', `smerge-refined-added' in the call to
6753 `smerge-refine-subst'.
6754
6755 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6756 Add face condition `min-colors 88' with shades of red.
6757 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6758 `min-colors 88' with shades of green.
6759 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6760 `min-colors 88' with shades of yellow.
6761
6df9112c
GM
67622012-05-24 Glenn Morris <rgm@gnu.org>
6763
ead5edc0
GM
6764 * paths.el (prune-directory-list, remote-shell-program): Move to...
6765 * files.el (prune-directory-list, remote-shell-program): ...here.
6766 For the latter, delay initialization, prefer ssh, just search PATH.
6767
f18b81e6
GM
6768 * paths.el (term-file-prefix): Move to faces.el (the only user).
6769 * faces.el (term-file-prefix): Move here, make it a defcustom.
6770
ee2f89a6
GM
6771 * paths.el (news-directory, news-path, news-inews-program):
6772 Move to gnus/nnspool.el.
61a583ca 6773
f8815e4c
GM
6774 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6775
c8f3b42c
GM
6776 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6777 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6778 Make the latter a defcustom, with a delayed initialization.
6779
6df9112c
GM
6780 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6781 These were deleted from Gnus itself late 2010.
6782
5dadff36
JB
67832012-05-22 Juanma Barranquero <lekktu@gmail.com>
6784
9e1701c6
JB
6785 * progmodes/which-func.el (which-func-ff-hook):
6786 Check against user-error, not error.
6787
bd7239f5 6788 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6789 cl-specs.el, which no longer exists.
6790
3290526d
GM
67912012-05-22 Glenn Morris <rgm@gnu.org>
6792
6793 * info.el (info-emacs-bug): New command.
6794 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6795 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6796
ff0c3cfb
GM
67972012-05-21 Glenn Morris <rgm@gnu.org>
6798
6799 * makefile.w32-in (update-subdirs-SH):
6800 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6801
5814f126
SM
68022012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6803
a52c0aa0
SM
6804 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6805
5814f126
SM
6806 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6807 Simplify Maven regexp, and make sure the file can't start with a space
6808 (bug#11517).
6809
b847032c
GM
68102012-05-21 Glenn Morris <rgm@gnu.org>
6811
6812 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6813 Scrap superfluous subshells.
6814
3858bfe7
SM
68152012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6818 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6819
d14b0029
JB
68202012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6821
6822 * calc/calc.el (calc-ensure-consistent-units): New variable.
6823
a52c0aa0
SM
6824 * calc/calc-units.el (math-consistent-units-p)
6825 (math-check-unit-consistency): New functions.
6826 (calc-quick-units, calc-convert-units):
6827 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6828 is non-nil.
d14b0029
JB
6829 (calc-extract-units): Fix typo.
6830
60c4db3a
SM
68312012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6832
77f3b62e
SM
6833 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6834
60c4db3a
SM
6835 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6836 (flyspell-default-deplacement-commands): Don't spell check after
6837 repeated window/frame switches (e.g. triggered by mouse-movement).
6838 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6839 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6840 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6841 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6842 Remove unused vars.
6843 (flyspell-get-casechars, flyspell-get-not-casechars):
6844 Simplify; Don't bother removing a ] just to add it back.
6845 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6846
d209e2fb 68472012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6848
6849 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6850 New functions.
bd7239f5 6851 (math-function-table): Add support for more C functions.
b1a10716 6852
3f1b25b5
AM
68532012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6854
090bd7cb
JB
6855 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6856 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6857 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6858
b581bb5c
SM
68592012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6862 their respective macro declarations.
6863 * skeleton.el (define-skeleton):
6864 * progmodes/compile.el (define-compilation-mode):
6865 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6866 (define-ibuffer-filter):
6867 * emacs-lisp/generic.el (define-generic-mode):
6868 * emacs-lisp/easy-mmode.el (define-minor-mode)
6869 (define-globalized-minor-mode):
6870 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6871 * emacs-lisp/byte-run.el (defsubst):
6872 * custom.el (deftheme): Add doc-string metadata.
6873
70b8ef8f
SM
68742012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6877
b1198e17
SM
68782012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6879
9abdc45d
SM
6880 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6881
b1198e17
SM
6882 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6883 * emacs-lisp/cl-macs.el: Idem.
6884 * emacs-lisp/cl-specs.el: Remove.
6885
4735906a
SM
68862012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 Minor renaming of internal CL functions and variables.
6889 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6890 (cl--position): Rename from cl-position.
6891 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6892 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6893 (cl--random-state): Rename from *random-state*.
6894
ac348012
SM
68952012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6898 parens around the arg list (bug#11499).
6899
a0a79cde
JL
69002012-05-17 Juri Linkov <juri@jurta.org>
6901
6902 * isearch.el (word-search-regexp, word-search-backward)
6903 (word-search-forward, word-search-backward-lax)
6904 (word-search-forward-lax): Move functions from search.c
6905 (bug#10145, bug#11381).
6906
65034a51
AM
69072012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6908
090bd7cb
JB
6909 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6910 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6911 Delay for otherchars as for normal word components.
65034a51 6912
1a72a195
SM
69132012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * minibuffer.el (completion--sifn-requote): Fix last change.
6916 (minibuffer-local-must-match-filename-map):
6917 Move define-obsolete-variable-alias before its var.
6918
fdb058c2
SM
69192012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6920
c41045e6
SM
6921 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6922
036dfb8b
SM
6923 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6924 behavior.
6925 (completion--string-equal-p): New function.
6926 (completion--twq-all): Use it to get better assertion failure data.
6927
2473256d
SM
6928 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6929 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6930 (shell--requote-argument): New functions.
6931 (shell-completion-vars): Use them.
6932 (shell--parse-pcomplete-arguments): Rename from
6933 shell-parse-pcomplete-arguments.
6934 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6935 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6936 Obey comint-file-name-quote-list.
6937
fdb058c2
SM
6938 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6939 (smie-indent-keyword): Use it.
6940
51fa99f1
SM
69412012-05-14 Stefan Merten <smerten@oekonux.de>
6942
6943 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6944
e18afed7 69452012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6946
6947 * net/rlogin.el (rlogin-mode-map): Fix last change.
6948
e18afed7 69492012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6950
6951 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6952 the following \r\n using a single `process-send-string', since the
6953 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6954 with two `process-send-string's (Bug#11444).
8633b1f4 6955
e18afed7 69562012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6957
fdb058c2
SM
6958 * shell.el (shell-parse-pcomplete-arguments):
6959 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6960
2d21d7f6
WJ
69612012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6962
e18afed7 6963 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6964 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6965 (image-transform-width, image-transform-fit-width): New functions.
6966 (image-transform-properties): Use them.
6967 (image-transform-check-size): New function.
6968 (image-toggle-display-image): Use it (for testing).
6969 (image-transform-set-rotation): Reduce angle mod 360.
6970 Delete obsolete comment.
6971
7102e6d0
WJ
69722012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6973
6974 * image-mode.el: Fix scaling (bug#11399).
6975 (image-transform-resize): Doc fix.
6976 (image-transform-properties): Default scale is 1 and height should
6977 be an integer.
6978
06bc5e6e
SM
69792012-05-13 Johan Bockgård <bojohan@gnu.org>
6980
6981 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6982 than hard-coding `car', to fix misbehavior when moving forward.
6983
0ae03b6a
CY
69842012-05-13 Chong Yidong <cyd@gnu.org>
6985
6986 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6987 (tabulated-list-entries, tabulated-list-padding)
6988 (tabulated-list-sort-key): Make permanent-local.
6989
6990 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6991 (electric-buffer-list): Put electric buffer menu
6992 command descriptions in this docstring, instead of the docstring
6993 of electric-buffer-menu-mode. Code cleanups.
6994 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6995 Electric-buffer-menu-mode.
6996 (electric-buffer-update-highlight): Minor code cleanup.
6997
205a7391
MA
69982012-05-13 Michael Albinus <michael.albinus@gmx.de>
6999
7000 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7001 (Bug#11447)
7002
e5bd0a28
SM
70032012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 Move define-obsolete-variable-alias before the var's definition.
7006 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7007 * tooltip.el (tooltip-hook):
7008 * textmodes/reftex-toc.el (reftex-toc-map):
7009 * textmodes/reftex-sel.el (reftex-select-label-map)
7010 (reftex-select-bib-map):
7011 * textmodes/reftex-index.el (reftex-index-map)
7012 (reftex-index-phrases-map):
7013 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7014 * progmodes/meta-mode.el (meta-mode-map):
7015 * novice.el (disabled-command-hook):
7016 * loadhist.el (unload-hook-features-list):
7017 * frame.el (blink-cursor):
7018 * files.el (find-file-not-found-hooks, write-file-hooks)
7019 (write-contents-hooks):
7020 * emulation/tpu-edt.el (GOLD-map):
7021 * emacs-lock.el (emacs-lock-from-exiting):
7022 * emacs-lisp/generic.el (generic-font-lock-defaults):
7023 * emacs-lisp/chart.el (chart-map):
7024 * dos-fns.el (register-name-alist):
7025 * dired-x.el (dired-omit-files-p):
7026 * desktop.el (desktop-enable):
7027 * cus-edit.el (custom-mode-hook):
7028 * buff-menu.el (buffer-menu-mode-hook):
7029 * bookmark.el (bookmark-read-annotation-text-func)
7030 (bookmark-exit-hooks):
7031 * allout.el (allout-mode-deactivate-hook)
7032 (allout-exposure-change-hook, allout-structure-added-hook)
7033 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7034 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7035 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7036 comes before the corresponding variable's definition.
7037
ac59c2f6
CY
70382012-05-12 Chong Yidong <cyd@gnu.org>
7039
7040 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7041 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7042 (Buffer-menu-mode-map): Bind it.
7043 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7044
dee6c9a3
SM
70452012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7046
2171cea5
SM
7047 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7048 (prolog-upper-case-string, prolog-lower-case-string)
7049 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7050 (prolog-use-smie, prolog-smie-grammar): New vars.
7051 (prolog-smie-forward-token, prolog-smie-backward-token)
7052 (prolog-smie-rules): New funs.
7053 (prolog-comment-indent): Remove.
7054 (prolog-mode-variables): Use default comment indentation instead.
7055 Setup SMIE.
7056 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7057 (prolog-mode): Don't call them any more.
7058 (prolog-electric-colon, prolog-electric-dash)
7059 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7060
aa0382bd
SM
7061 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7062
dbacb4bd
SM
7063 * minibuffer.el (completion--twq-all): Again, allow case differences.
7064
13bdd94c
SM
7065 * term.el: Move keymap initialization code to be more idiomatic.
7066 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7067 (term-terminal-menu): Move initialization into declaration.
7068 (term-escape-char): Let the user set it in her .emacs.
7069
ff46c759
SM
7070 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7071 Provide SMIE-based indentation (not enabled by default yet).
7072 (sh-mode-map): Don't bind electric keys.
7073 Use electric-pair-mode instead of skeleton-pair.
7074 (sh-assignment-regexp): Fit within 80 columns.
7075 (sh-indent-supported): Specify actual shell name instead of boolean.
7076 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7077 (sh-maybe-here-document): Use it. Make obsolete.
7078 (sh-electric-here-document-mode) New minor mode.
7079 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7080 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7081 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7082 (sh-smie-rc-grammar, sh-use-smie): New vars.
7083 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7084 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7085 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7086 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7087 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7088 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7089 (sh-set-shell): Use smie-setup if requested.
7090
dee6c9a3
SM
7091 * term.el (term-set-escape-char): Properly set term-escape-char.
7092 See http://stackoverflow.com/questions/10524656.
7093
9f9aa044
CY
70942012-05-10 Chong Yidong <cyd@gnu.org>
7095
7096 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7097 Use url-generic-parse-url, and handle host names and Windows
7098 filenames properly.
7099 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7100 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7101 URL schemes to work on.
7102 (ffap--toggle-read-only): New function.
7103 (ffap-read-only, ffap-read-only-other-window)
7104 (ffap-read-only-other-frame): Use it.
7105 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7106 necessary for ffap-url-unwrap-remote.
7107
836d29b3
DA
71082012-05-10 Dave Abrahams <dave@boostpro.com>
7109
7110 * cus-start.el (create-lockfiles): Add it.
7111
00fd78ed
CY
71122012-05-09 Chong Yidong <cyd@gnu.org>
7113
7114 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7115 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7116
666b903b 71172012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7118
7119 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7120
666b903b 71212012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7122
7123 * ansi-color.el (ansi-color-process-output): Check for validity of
7124 comint-last-output-start before using it. This avoids a bad
7125 interaction with gdb-mi's input/output buffer.
7126
666b903b 71272012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7128
7129 * files.el (dir-locals-read-from-file):
7130 Mention dir-locals in any error message.
7131
666b903b 71322012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7133
7134 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7135 package (Bug#11410).
7136
f677562b
CY
7137 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7138 variables into description.
7139
666b903b 71402012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7141
7142 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7143 shell-delimiter-argument-list (bug#11348).
7144 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7145
b499d8d0
JB
71462012-05-09 Juanma Barranquero <lekktu@gmail.com>
7147
8f6b6da8
JB
7148 * textmodes/rst.el: Silence byte-compiler warnings.
7149 (rst-re-alist, rst-reset-section-caches): Move around.
7150 (rst-re): Use `characterp', not `char-valid-p'.
7151 (font-lock-beg, font-lock-end): Declare.
7152
4824146a
JB
7153 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7154 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7155
b499d8d0
JB
7156 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7157
ad89bb83
GM
71582012-05-08 Glenn Morris <rgm@gnu.org>
7159
7160 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7161
8bba5a75
SM
71622012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7163
49ed9c8e
SM
7164 * vc/log-edit.el: Add GNU coding standards highlighting.
7165 (log-edit-font-lock-gnu-style)
7166 (log-edit-font-lock-gnu-keywords): New vars.
7167 (log-edit-font-lock-keywords): New fun.
7168 (log-edit-mode): Don't fold case in font-lock.
7169 (log-edit-font-lock-keywords): Do not assume case-folding.
7170
07d00b56
SM
7171 * imenu.el: Misc cleanup. Make docstrings out of comments.
7172 Use lexical-binding.
7173 (imenu--index-alist, imenu--last-menubar-index-alist)
7174 (imenu-menubar-modified-tick): Use defvar-local.
7175 (imenu--split-menu): Remove unused var.
7176 (imenu--cleanup-seen): Declare as global.
7177 (imenu--cleanup): Use dolist.
7178
8bba5a75
SM
7179 * subr.el (defvar-local): Add debug spec and doc-string position.
7180
5075bdb5
GM
71812012-05-08 Glenn Morris <rgm@gnu.org>
7182
090bd7cb 7183 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7184 * language/english.el, language/georgian.el, language/greek.el:
7185 * language/japanese.el, language/khmer.el, language/korean.el:
7186 * language/lao.el, language/misc-lang.el, language/romanian.el:
7187 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7188 * language/thai.el, language/utf-8-lang.el:
7189 Remove no-byte-compile setting.
7190
5075bdb5
GM
7191 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7192
06f679a7
AH
71932012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7194
7195 * progmodes/make-mode.el (makefile-browse):
7196 Remove unnecessary interactive. (Bug#11324)
7197
03794570
GM
71982012-05-07 Glenn Morris <rgm@gnu.org>
7199
af8630f4
GM
7200 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7201
03794570
GM
7202 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7203
f0809a9d
SM
72042012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7205
28be5ce7
SM
7206 * loadup.el: Preload newcomment.el.
7207 * newcomment.el: Move autoload-only code to toplevel.
7208
f0809a9d
SM
7209 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7210 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7211 Handle new :right-align column property.
7212 (tabulated-list-print-col): Idem, plus use `display' text-property to
7213 try and preserve alignment for variable pitch fonts.
7214
1241b724
CY
72152012-05-07 Chong Yidong <cyd@gnu.org>
7216
7217 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7218 (tabulated-list-use-header-line): New var.
7219 (tabulated-list-init-header): Use it.
7220 (tabulated-list-print-fake-header): New function.
7221 (tabulated-list-print): Use it.
7222 (tabulated-list-sort-button-map): Add non-header-line commands.
7223 (tabulated-list-init-header): Add column name property to basic
7224 labels as well.
7225 (tabulated-list-col-sort): Handle non-header-line button case.
7226 (tabulated-list--sort-by-column-name): Fix a corner case.
7227
f0809a9d
SM
7228 * buff-menu.el (list-buffers--refresh):
7229 Handle Buffer-menu-use-header-line.
1241b724 7230
e5f9458f
CY
72312012-05-06 Chong Yidong <cyd@gnu.org>
7232
7233 * buff-menu.el: Convert to Tabulated List mode.
7234 (Buffer-menu-buffer+size-width): Make obsolete.
7235 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7236 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7237 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7238 documentation into docstring of buffer-menu.
7239 (Buffer-menu-toggle-files-only): Add an informative message.
7240 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7241 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7242 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7243 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7244 (Buffer-menu-execute, Buffer-menu-select)
7245 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7246 (Buffer-menu-bury): Use Tabulated List machinery.
7247 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7248 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7249 Delete.
e5f9458f
CY
7250 (list-buffers--refresh): New function.
7251 (list-buffers-noselect): Use it.
7252 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7253 (Buffer-menu--pretty-file-name): New helper functions.
7254
7255 * loadup.el: Preload tabulated-list.
7256
7257 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7258 tabulated-list-sort-column.
7259 (tabulated-list-init-header): Add the initial aligning space even
7260 if tabulated-list-padding is zero.
7261
e129292c
CS
72622012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7263
7264 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7265 whose cdr is not a cons cell correctly (bug#11038).
7266
6632d361
CY
72672012-05-06 Chong Yidong <cyd@gnu.org>
7268
e129292c
CS
7269 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7270 Accept additional plist in column descriptors.
6632d361
CY
7271 (tabulated-list-init-header): Obey it.
7272 (tabulated-list-get-entry): New function.
7273 (tabulated-list-put-tag): Use it. Use string-width instead of
7274 length.
7275 (tabulated-list--column-number): New function.
7276 (tabulated-list-print): Use it.
e129292c
CS
7277 (tabulated-list-print-col): New function.
7278 Set `tabulated-list-column-name' property on each column's text.
6632d361 7279 (tabulated-list-print-entry): Use it.
e129292c
CS
7280 (tabulated-list-delete-entry, tabulated-list-set-col):
7281 New functions.
6632d361
CY
7282 (tabulated-list-sort-column): New command (Bug#11337).
7283
3cc99f68
CY
7284 * buff-menu.el (list-buffers): Move C-x C-b binding from
7285 buff-menu.el to bindings.el.
7286
7287 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7288 :advertised-binding feature.
7289
52b61776
TN
72902012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7291
7292 * progmodes/compile.el (compilation-internal-error-properties):
7293 Calculate start position correctly when end-col is set but
7294 end-line is not (Bug#11382).
7295
ebfe2597
WJ
72962012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7297
7298 * man.el (Man-unindent): Use text-property-default-nonsticky to
7299 prevent untabify from inheriting face properties (Bug#11408).
7300
6d3f7c2f
SM
73012012-05-05 Stefan Merten <smerten@oekonux.de>
7302
7303 * textmodes/rst.el: Major merge with upstream development up to
7304 Docutils SVN r7399 / rst.el V1.2.1.
7305
7306 Clarify maintainership and authors.
7307
7308 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7309 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7310 (rst-official-version, rst-official-cvs-rev, rst-version)
7311 (rst-package-emacs-version-alist): New functions and variables
7312 for version information.
7313
7314 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7315 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7316 (rst-mode-syntax-table, rst-mode): New and corrected functions
7317 and variables representing reStructuredText features.
7318
7319 (rst-re): New function for reStructuredText regexes. Use in
7320 many places.
7321
7322 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7323 (rst-mode-map): Rebind keys.
7324
7325 (rst-mode-lazy, rst-font-lock-keywords)
7326 (rst-font-lock-extend-region)
7327 (rst-font-lock-extend-region-internal)
7328 (rst-font-lock-extend-region-extend)
7329 (rst-font-lock-find-unindented-line-limit)
7330 (rst-font-lock-find-unindented-line-match)
7331 (rst-adornment-level, rst-font-lock-adornment-level)
7332 (rst-font-lock-adornment-match)
7333 (rst-font-lock-handle-adornment-pre-match-form)
7334 (rst-font-lock-handle-adornment-matcher): Major revision of
7335 font-locking. Integrate with other code. Use `jit-lock-mode'.
7336
7337 (rst-preferred-adornments, rst-adjust-hook)
7338 (rst-new-adornment-down, rst-preferred-bullets)
7339 (rst-preferred-bullets, rst-indent, rst-indent-width)
7340 (rst-indent-field, rst-indent-literal-normal)
7341 (rst-indent-literal-minimized, rst-indent-comment): Change,
7342 extend and improve customization.
7343
7344 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7345 (rst-normalize-cursor-position, rst-get-decoration)
7346 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7347 (rst-rstrip, rst-toc-insert-find-delete-contents)
7348 (rst-shift-fill-region, rst-compute-bullet-tabs)
7349 (rst-debug-print-tabs, rst-debug-mark-found)
7350 (rst-shift-region-guts, rst-shift-region-right)
7351 (rst-shift-region-left, rst-use-char-classes)
7352 (rst-font-lock-keywords-function)
7353 (rst-font-lock-indentation-point)
7354 (rst-font-lock-find-unindented-line-begin)
7355 (rst-font-lock-find-unindented-line-end)
7356 (rst-font-lock-find-unindented-line)
7357 (rst-font-lock-adornment-point, rst-font-lock-level)
7358 (rst-adornment-level-alist): Remove functions and variables.
7359
7360 (rst-compare-adornments, rst-get-adornment-match)
7361 (rst-suggest-new-adornment, rst-get-adornments-around)
7362 (rst-adornment-complete-p, rst-get-next-adornment)
7363 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7364 (rst-straighten-adornments): Standardize function names to
7365 use "adornment" instead of "decoration". Correct callers.
7366 Similar standardizing in many places.
7367
7368 (rst-update-section, rst-adjust, rst-promote-region)
7369 (rst-enumerate-region, rst-bullet-list-region)
7370 (rst-repeat-last-character): Correct use of `interactive'.
7371
7372 (rst-classify-adornment, rst-find-all-adornments)
7373 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7374 (rst-find-leftmost-column, rst-repeat-last-character):
7375 Refactor functions.
7376
7377 (rst-find-title-line, rst-reset-section-caches)
7378 (rst-get-adornments-around, rst-adjust-adornment-work)
7379 (rst-arabic-to-roman, rst-roman-to-arabic)
7380 (rst-insert-list-pos, rst-insert-list-new-item)
7381 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7382 New functions.
7383
7384 (rst-all-sections, rst-section-hierarchy)
7385 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7386 New variables.
7387
7388 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7389 configuration instead of only buffer. Change where necessary.
7390
7391 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7392 (rst-shift-region, rst-adaptive-fill): New functions for
7393 indentation and filling.
7394
7395 (rst-comment-line-break, rst-comment-indent)
7396 (rst-comment-insert-comment, rst-comment-region)
7397 (rst-uncomment-region): New functions for handling comments.
7398
7399 (rst-compile): Quote shell arguments.
7400
7401 (rst-compile-pdf-preview, rst-compile-slides-preview):
7402 Delete temporary files after use.
7403
a43f98b3
GM
74042012-05-05 Glenn Morris <rgm@gnu.org>
7405
48176e8b
GM
7406 * calendar/cal-html.el: Optionally include holidays in the output.
7407 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7408 (cal-html-holidays): New option.
7409 (cal-html-css-default): Add holiday entry.
7410 (holiday-in-range): Autoload it.
7411 (cal-html-htmlify-entry): Add optional class argument.
7412 (cal-html-htmlify-list): Add optional holidays argument.
7413 (cal-html-insert-agenda-days): Include holidays in the output.
7414 (cal-html-one-month): Maybe include holidays.
7415
a43f98b3
GM
7416 * calendar/holidays.el (holiday-in-range):
7417 Move here from cal-tex-list-holidays.
7418 * calendar/cal-tex.el (cal-tex-list-holidays):
7419 Make it an obsolete alias for holiday-in-range. Update all callers.
7420
fef9d149 74212012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7422
7423 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7424 Nextstep.
7425
248da2f4
RW
74262012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7427
7428 * files.el (file-auto-mode-skip): New var.
7429 (set-auto-mode-1): Use it.
7430
f95e9344
SM
74312012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7432
df96ab1e
SM
7433 * repeat.el: Use lexical-binding.
7434 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7435 (repeat-undo-count): Remove.
7436 (repeat):
7437 * progmodes/octave-mod.el (octave-abbrev-start):
7438 * progmodes/f90.el (f90-abbrev-start):
7439 * face-remap.el (text-scale-adjust):
7440 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7441
5342bb06
SM
7442 * emacs-lisp/pcase.el (pcase--let*): New function.
7443 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7444 a bit more.
7445 (pcase--split-pred): Be more clever about ruling out overlap between
7446 a predicate and some constant pattern.
7447 (pcase--q1): Use `null' instead of (eq foo nil).
7448
f95e9344
SM
7449 * subr.el (setq-local, defvar-local): New macros.
7450 (kbd): Redefine as an alias.
7451 (with-selected-window): Leave unrelated frames alone.
7452 (set-temporary-overlay-map): New function.
7453
71873e2b
SM
74542012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7455
7456 * subr.el (user-error): New function.
7457 * window.el (switch-to-buffer):
7458 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7459 (smerge-match-conflict):
7460 * simple.el (previous-matching-history-element)
7461 (next-matching-history-element, goto-history-element, undo-more)
7462 (undo-start):
7463 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7464 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7465 (next-file, tags-loop-scan, list-tags, complete-tag):
7466 * progmodes/compile.el (compilation-loop):
7467 * mouse.el (mouse-minibuffer-check):
7468 * man.el (Man-bgproc-sentinel, Man-goto-page):
7469 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7470 (Info-history-forward, Info-follow-reference, Info-menu)
7471 (Info-extract-menu-item, Info-extract-menu-counting)
7472 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7473 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7474 (Info-next-reference, Info-prev-reference, Info-index)
7475 (Info-index-next, Info-follow-nearest-node)
7476 (Info-copy-current-node-name):
7477 * imenu.el (imenu--make-index-alist)
7478 (imenu-default-create-index-function, imenu-add-to-menubar):
7479 * files.el (basic-save-buffer, recover-file):
7480 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7481 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7482 (checkdoc-message-text, checkdoc-defun):
7483 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7484 * cus-edit.el (customize-changed-options, customize-rogue)
7485 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7486 (custom-variable-mark-to-reset-standard)
7487 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7488 (custom-file):
7489 * completion.el (check-completion-length):
7490 * comint.el (comint-search-arg)
7491 (comint-previous-matching-input-string-position)
7492 (comint-previous-matching-input)
7493 (comint-replace-by-expanded-history-before-point, comint-send-input)
7494 (comint-copy-old-input, comint-backward-matching-input)
7495 (comint-goto-process-mark, comint-set-process-mark):
7496 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7497 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7498
8a61ee22
SM
74992012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7500
66408d1e
SM
7501 * dabbrev.el (dabbrev--ignore-case-p): New function.
7502 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7503 Use it.
7504
8a61ee22
SM
7505 * files.el (automount-dir-prefix): Mark as obsolete.
7506
3c74813a
GM
75072012-05-04 Glenn Morris <rgm@gnu.org>
7508
7509 * patcomp.el, play/bruce.el: Move to obsolete/.
7510
0bfcf5c5
PE
75112012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7512
7513 Fix minor Y10k bugs.
7514 * arc-mode.el (archive-unixdate):
7515 * autoinsert.el (auto-insert-alist):
7516 * calc/calc-forms.el (math-this-year):
7517 * emacs-lisp/copyright.el (copyright-current-year)
7518 (copyright-update-year, copyright):
7519 * tar-mode.el (tar-clip-time-string):
7520 * time.el (display-time-update):
7521 Don't assume years have 4 digits.
7522
78f3273a
CY
75232012-05-04 Chong Yidong <cyd@gnu.org>
7524
7525 * dos-w32.el (file-name-buffer-file-type-alist)
7526 (direct-print-region-use-command-dot-com):
7527 * ffap.el (ffap-menu-regexp):
7528 * find-file.el (ff-special-constructs):
7529 * follow.el (follow-debug):
7530 * forms.el (forms--debug):
7531 * iswitchb.el (iswitchb-all-frames):
7532 * ido.el (ido-all-frames):
7533 * emacs-lisp/timer.el (timer-max-repeats):
7534 * mail/feedmail.el (feedmail-mail-send-hook)
7535 (feedmail-mail-send-hook-queued):
7536 * mail/footnote.el (footnote-signature-separator):
7537 * mail/mailabbrev.el (mail-alias-separator-string)
7538 (mail-abbrev-mode-regexp):
7539 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7540 * progmodes/idlwave.el (idlwave-libinfo-file)
7541 (idlwave-default-completion-case-is-down)
7542 (idlwave-library-routines): Convert defvars to defcustoms.
7543
7544 * mail/rmail.el (rmail-decode-mime-charset):
7545 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7546 (idlwave-shell-fix-inserted-breaks)
7547 (idlwave-shell-activate-alt-keybindings)
7548 (idlwave-shell-use-breakpoint-glyph):
7549 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7550
f7ae6719
SM
75512012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7554
47086495
WS
75552012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7556
7557 * progmodes/verilog-mode.el (font-lock-keywords):
7558 Fix mis-highligting auto. Reported by Craig Barner.
7559 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7560 defines from global name space. Reported by Dan Dever.
47086495
WS
7561 (verilog-auto-reset, verilog-auto-reset-widths)
7562 (verilog-auto-tieoff): Support using unbased numbers for
7563 AUTORESET and AUTOTIEOFF.
7564 (verilog-submit-bug-report): Update variable list.
7565 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7566 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7567 (verilog-auto-template-lint): Fix hash error when linting modules
7568 with no used templates.
7569 (verilog-warn, verilog-warn-error)
7570 (verilog-warn-fatal): When non-interactive report multiple
7571 warnings before exiting. Suggested by Brad Dobbie.
7572 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7573 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7574 to report unused template errors. Reported by Brad Dobbie.
7575 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7576 nets, bug438. Reported by Vns Blore.
47086495
WS
7577 (verilog-auto-inout-module, verilog-auto-reg)
7578 (verilog-read-decls, verilog-read-sub-decls-sig)
7579 (verilog-signals-edit-wire-reg, verilog-signals-with):
7580 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7581 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7582 "reg" for backwards compatibility presuming Verilog 2001.
7583 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7584 (verilog-preprocess): Fix replication of preprocess output.
7585 Reported by Brad Dobbie.
7586 (verilog-auto-inst-interfaced-ports):
7587 Create verilog-auto-inst-interfaced-ports, bug429.
7588 Reported by Julian Gorfajn.
7589 (verilog-after-save-font-hook)
7590 (verilog-before-save-font-hook): New variable.
7591 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7592 (verilog-save-font-mods): Wrap disabling fontification, reported
7593 by David Rogoff.
7594 (verilog-do-indent, verilog-pretty-declarations-auto)
7595 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7596 Reported by Pierre-David Pfister.
7597 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7598 of class declarations, bug292. Reported by Kevin Heilman.
7599 (verilog-read-decls): Fix 'parameter type' not appearing in
7600 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7601 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7602 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7603 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7604 Reported by David Kravitz.
7605
76062012-05-03 Michael McNamara <mac@mail.brushroad.com>
7607
7608 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7609 assignment with tests in ifs and for loops.
7610 (verilog-extended-complete-re, verilog-complete-reg): Change so
7611 that DPI inport functions don't look like fuction declarations.
7612 (verilog-pretty-expr): Don't line up assignment
7613 operations to the test and increment in if and for loops
7614 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7615 that DPI inport functions don't look like fuction declarations.
47086495 7616
2e51d4b5
KH
76172012-05-03 Kenichi Handa <handa@m17n.org>
7618
7619 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7620 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7621 (Bug#11282).
7622
2bd785a2
SM
76232012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 * emacs-lisp/bytecomp.el
7626 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7627 since cconv.el might have introduced :fun-body, internal-make-closure,
7628 and friends for bytecomp to handle (bug#11391).
7629 * custom.el (defcustom): Avoid ((λ ..) ..).
7630
99d27583
SM
76312012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7634
55a71479
JB
76352012-05-02 Juanma Barranquero <lekktu@gmail.com>
7636
7637 * notifications.el (dbus-debug):
7638 * term/linux.el (gpm-mouse-enable):
7639 * term/screen.el (xterm-register-default-colors): Declare.
7640
7b97c764
CY
76412012-05-02 Chong Yidong <cyd@gnu.org>
7642
2bc356d7
CY
7643 * cus-start.el (gc-cons-percentage, exec-suffixes)
7644 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7645 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7646 (make-cursor-line-fully-visible, void-text-area-pointer)
7647 (font-list-limit): Add customization data.
7648
7b97c764
CY
7649 * allout.el (allout-exposure-change-functions)
7650 (allout-structure-added-functions)
7651 (allout-structure-deleted-functions)
7652 (allout-structure-shifted-functions): Rename abnormal hooks from
7653 *-hook, and convert to defcustoms.
5d3385a0
JB
7654 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7655 Convert to defcustoms.
7b97c764
CY
7656 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7657
7658 * allout-widgets.el: Hook callers changed.
7659
90207a15 76602012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7661
7662 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7663 the yanked message in preference to the default value of
7664 buffer-file-coding-system.
7665
90207a15 76662012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7667
5d3385a0
JB
7668 * window.el (display-buffer--action-function-custom-type):
7669 Fix entry.
d9558cad 7670
90207a15 76712012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7672
7673 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7674
d80ac57b
GM
76752012-05-01 Glenn Morris <rgm@gnu.org>
7676
976f7668
GM
7677 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7678
beb83b5a
GM
7679 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7680
d80ac57b
GM
7681 * cus-edit.el (custom-variable-documentation): Simplify with format.
7682
b593d6a9 76832012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7684 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7685
7686 * simple.el (suggest-key-bindings, execute-extended-command):
7687 Move from keyboard.c.
7688
782fbf2a
CY
76892012-05-01 Chong Yidong <cyd@gnu.org>
7690
7691 * follow.el: Eliminate advice.
7692 (set-process-filter, process-filter, sit-for): Advice deleted.
7693 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7694 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7695 Vars deleted.
782fbf2a
CY
7696 (follow-auto): Use a :set function.
7697 (follow-mode): Rewritten. Don't advise process filters.
7698 (follow-switch-to-current-buffer-all, follow-scroll-up)
7699 (follow-scroll-down): Assume follow-mode is bound.
7700 (follow-comint-scroll-to-bottom)
7701 (follow-align-compilation-windows): New functions.
7702 (follow--window-sorter): New function.
7703 (follow-all-followers): Use it to explicitly sort windows by their
7704 positions; don't make assumptions about next-window order.
7705 (follow-windows-start-end, follow-delete-other-windows-and-split)
7706 (follow-calc-win-start): Doc fix.
7707 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7708 vertical-motion unnecessarily.
7709 (follow-adjust-window): New function.
7710 (follow-post-command-hook): Use it.
7711 (follow-call-set-process-filter, follow-call-process-filter)
7712 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7713 (follow-stop-intercept-process-output, follow-generic-filter):
7714 Functions deleted.
7715 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7716 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7717 New functions, replacing advice on scroll-bar-* commands.
87233a14 7718 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7719
7720 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7721 (comint-postoutput-scroll-to-bottom): Use it.
7722 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7723
290af740
GM
77242012-05-01 Glenn Morris <rgm@gnu.org>
7725
7726 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7727 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7728 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7729 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7730 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7731 Remove no-byte-compile setting.
7732
6eac8dc9
SM
77332012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7734
7735 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7736 all-completions code to not return a number in the last cdr.
7737
9cc7819c
LL
77382012-04-30 Leo Liu <sdl.web@gmail.com>
7739
7740 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7741 read-only error.
7742
c93b886f
CY
77432012-04-29 Chong Yidong <cyd@gnu.org>
7744
7745 * follow.el (follow-calc-win-end): Rewrite to handle partial
7746 screen lines correctly (Bug#8390).
7747 (follow-avoid-tail-recenter): Minor cleanup.
7748
8b6c19f4
SM
77492012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 Avoid the obsolete `assoc' package.
7752 * speedbar.el (speedbar-refresh): Avoid adelete.
7753 (speedbar-file-lists): Simplify and avoid aput.
7754 * man.el (Man--sections, Man--refpages): New vars, replacing
7755 Man-sections-alist and Man-refpages-alist.
7756 (Man-build-section-alist, Man-build-references-alist):
7757 Use them; avoid aput.
7758 (Man--last-section, Man--last-refpage): New vars.
7759 (Man-follow-manual-reference): Use them.
7760 Use the `default' arg of completing-read.
7761 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7762
c5bb7569
CY
77632012-04-27 Chong Yidong <cyd@gnu.org>
7764
d1d2e2e8
CY
7765 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7766
15cd8efd
CY
7767 * startup.el (x-apply-session-resources): New function.
7768
7769 * term/ns-win.el (ns-initialize-window-system):
7770 * term/w32-win.el (w32-initialize-window-system):
7771 * term/x-win.el (x-initialize-window-system): Use it to properly
7772 set menu-bar-mode and other vars from X resources, even if the
7773 initial frame is not a window-system frame (Bug#2299).
7774
c5bb7569
CY
7775 * subr.el (read-key): Avoid running filter function when setting
7776 up temporary tool bar entries (Bug#9922).
7777
a8e7d6d7 77782012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7779
7780 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7781 (Bug#11344)
7782
a8e7d6d7 77832012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7784
7785 * select.el (xselect--encode-string): New function, split from
7786 xselect-convert-to-string.
7787 (xselect-convert-to-string): Use it.
7788 (xselect-convert-to-filename, xselect-convert-to-os)
7789 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7790 returned strings are properly encoded (Bug#11315).
7791
a8e7d6d7 77922012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7793
7794 * simple.el (delete-active-region): Move to killing custom group.
7795
a8e7d6d7 77962012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7797
7798 * progmodes/which-func.el (which-func-current): Quote %
7799 characters for mode-line processing.
7800
578c1d4b 78012012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7802
7803 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7804 reaching eob (Bug#11286).
7805
a8e7d6d7 78062012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7807
7808 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7809 (gdb): Make it buffer-local and init to zero.
7810 (gdb-control-commands-regexp): New variable.
7811 (gdb-send): Don't wrap in "-interpreter-exec console" if
7812 gdb-control-level is positive. Increment gdb-control-level
7813 whenever the command matches gdb-control-commands-regexp, and
7814 decrement it each time the command is "end". (Bug#11279)
7815
a8e7d6d7 78162012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7817
7818 * window.el (adjust-window-trailing-edge, enlarge-window)
7819 (shrink-window, window-resize):
7820 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7821 windows (Bug#11276).
7822
b3608390
CY
78232012-04-27 Chong Yidong <cyd@gnu.org>
7824
7825 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7826 fix "missing prefix" warning. All callers changed.
b3608390 7827
797e6e88
SM
78282012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * emacs-lisp/assoc.el: Move to obsolete/.
7831
e95a67dc
SM
78322012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7833
657c21e4 7834 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7835
7836 * term/ns-win.el (ns-define-service):
7837 * progmodes/pascal.el (pascal-goto-defun):
7838 * progmodes/js.el (js--read-tab):
7839 * progmodes/etags.el (tags-lazy-completion-table):
7840 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7841 * emacs-lisp/ewoc.el (ewoc--wrap):
7842 * emacs-lisp/assoc.el (aput, adelete, amake):
7843 * doc-view.el (doc-view-convert-current-doc):
7844 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7845
cb3e7ae0
CY
78462012-04-26 Chong Yidong <cyd@gnu.org>
7847
dce04f7f
CY
7848 * image.el (image-type-from-buffer): Only return supported image
7849 type (Bug#9045).
7850
cb3e7ae0
CY
7851 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7852 value, for symmetry with diff-end-of-hunk.
7853 (diff-split-hunk, diff-find-source-location)
7854 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7855 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7856 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7857 compute the relevant hunk or file properly (Bug#6005).
7858 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7859
0d42eb3e
SM
78602012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 * vc/vc-mtn.el:
7863 * vc/vc-hg.el:
7864 * vc/vc-git.el:
7865 * vc/vc-dir.el:
7866 * vc/vc-cvs.el:
7867 * vc/vc-bzr.el:
7868 * vc/vc-arch.el:
7869 * vc/vc.el: Replace lexical-let by lexical-binding.
7870 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7871 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7872 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7873
f08ae1c9
CY
78742012-04-26 Chong Yidong <cyd@gnu.org>
7875
8b71081d
CY
7876 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7877 (diff-mode-shared-map): Bind it to / and [remap undo].
7878
f08ae1c9
CY
7879 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7880 (ediff-window-setup-function): Use it as the default, to set up
7881 windows based on whether the current frame is graphical (Bug#2138).
7882 (ediff-choose-window-setup-function-automatically): Make obsolete.
7883
7884 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7885
ef24141c
SM
78862012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7887
cc356a5d
SM
7888 * ffap.el: Remove old code for obsolete package.
7889 (ffap-complete-as-file-p): Remove.
7890
b4ff4f1f
SM
7891 Use completion-table-with-quoting for comint and pcomplete.
7892 * comint.el (comint--unquote&requote-argument)
7893 (comint--unquote-argument, comint--requote-argument): New functions.
7894 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7895 (comint-quote-filename): Use regexp-opt-charset.
7896 (comint--common-suffix, comint--common-quoted-suffix)
7897 (comint--table-subvert): Remove.
7898 (comint-unquote-function, comint-requote-function): New vars.
7899 (comint--complete-file-name-data): Use them with
7900 completion-table-with-quoting.
7901 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7902 * pcomplete.el (pcomplete-arg-quote-list)
7903 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7904 (pcomplete-unquote-argument-function): Default to non-nil.
7905 (pcomplete-unquote-argument): Simplify.
7906 (pcomplete--common-quoted-suffix): Remove.
7907 (pcomplete-requote-argument-function): New var.
7908 (pcomplete--common-suffix): New function.
7909 (pcomplete-completions-at-point): Use completion-table-with-quoting
7910 and completion-table-subvert.
7911
79c4eeb4
SM
7912 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7913 (minibuffer--double-dollars): Preserve properties.
7914 (completion--sifn-requote): New function.
7915 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7916
ef24141c
SM
7917 * minibuffer.el: Add support for completion of quoted/escaped data.
7918 (completion-table-with-quoting, completion-table-subvert): New funs.
7919 (completion--twq-try, completion--twq-all): New functions.
7920 (completion--nth-completion): New function.
7921 (completion-try-completion, completion-all-completions): Use it.
7922
784e7d6e
LL
79232012-04-25 Leo Liu <sdl.web@gmail.com>
7924
dd2ac746
SM
7925 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7926 Use compilation-message if available to find real filename.
784e7d6e 7927
07875ee7
CY
79282012-04-25 Chong Yidong <cyd@gnu.org>
7929
7930 * vc/diff-mode.el (diff-setup-whitespace): New function.
7931 (diff-mode): Use it.
7932
7933 * vc/diff.el (diff-sentinel):
7934 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7935 Whitespace mode variables based on diff style (Bug#8612).
7936
5055880d
LL
79372012-04-25 Leo Liu <sdl.web@gmail.com>
7938
daf75653
LL
7939 * progmodes/python.el (python-send-region): Add suffix .py to the
7940 temp file.
7941
5055880d
LL
7942 * files.el (auto-mode-alist): Use javascript-mode instead.
7943
db9b177b
AH
79442012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7945
ef24141c 7946 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7947
090bd7cb 7948 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7949 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7950 references, see Bug#9.
ef24141c 7951 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7952 when receiving a fault reply.
ef24141c 7953 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7954
090bd7cb 7955 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7956 (soap-inspect-simple-type): New function.
db9b177b 7957
090bd7cb 7958 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7959 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7960 (soap-decode-basic-type, soap-encode-basic-type):
7961 support unsignedInt and double basic types.
db9b177b 7962 (soap-resolve-references-for-simple-type)
ef24141c
SM
7963 (soap-parse-simple-type, soap-encode-simple-type): New function.
7964 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7965
090bd7cb 7966 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7967 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7968 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7969 the local name of "soapenc:Array".
7970 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7971 decoding integer, byte and anyURI xsd types.
7972
1fc6097b
CY
79732012-04-25 Chong Yidong <cyd@gnu.org>
7974
7975 * cus-edit.el (custom-buffer-create-internal): Update header text.
7976
afc6df87
EZ
79772012-04-25 Eli Zaretskii <eliz@gnu.org>
7978
7979 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7980 settings on 'system-type', not on 'window-system'. On MS-Windows,
7981 set interactive-mode on in GDB.
7982
dfbd787f
SM
79832012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7984
7985 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7986 (ruby-syntax-propertize-regexp): Remove.
7987 (ruby-syntax-propertize-function): Split regexp into chunks.
7988 Match following code directly.
7989
85222d44
DG
79902012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7991
51a8ea2a
DG
7992 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7993 (ruby-syntax-propertize-regexp): New function.
7994 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7995 by a special keyword.
7996
85222d44
DG
7997 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7998 (ruby-syntax-general-delimiters-goto-beg)
7999 (ruby-syntax-propertize-general-delimiters): New functions.
8000 (ruby-syntax-propertize-function): Use them to handle GDL.
8001 (ruby-font-lock-keywords): Move old handling of GDL...
8002 (ruby-font-lock-syntactic-keywords): .. to here.
8003 (ruby-calculate-indent): Adjust indentation for GDL.
8004
b613912b
MA
80052012-04-24 Michael Albinus <michael.albinus@gmx.de>
8006
b5380639
MA
8007 * notifications.el (top): Remove unneeded declarations.
8008 (notifications-specification-version): Change to "1.2".
e43042fe 8009 (notifications-interface, notifications-notify-method)
b613912b
MA
8010 (notifications-close-notification-method): Fix docstring.
8011 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8012 (notifications-notify): Add :action-items, :resident and
8013 :transient hints. Change "image_data" to "image-data" and
8014 "image_path" to "image-path".
b613912b
MA
8015 (notifications-get-capabilities): New defun.
8016
257440aa
LL
80172012-04-24 Leo Liu <sdl.web@gmail.com>
8018
8019 * progmodes/python.el: Move hideshow setup to the end.
8020
b1bac16e
MR
80212012-04-24 Martin Rudalics <rudalics@gmx.at>
8022
8023 * window.el (handle-select-window): Clear echo area since this is
8024 no more done by read_char (Bug#11304).
8025
d81bd059
SM
80262012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8029 and `/ M' to filter-derived-mode.
8030 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8031 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8032 (ibuffer-mark-by-mode): Use default rather than initial-input.
8033 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8034
c4cf6d91
IA
80352012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8036
8037 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8038 (ibuffer-filter-by-derived-mode): New filter.
8039 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8040
7511ded8
CY
80412012-04-23 Andreas Politz <politza@fh-trier.de>
8042
8043 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8044
775c916b
CY
80452012-04-23 Chong Yidong <cyd@gnu.org>
8046
8047 * cus-edit.el (customize-apropos, customize-apropos-options):
8048 Disable matching of non-option variables (Bug#11176).
8049 (customize-option, customize-option-other-window)
8050 (customize-changed-options): Doc fix.
8051 (customize-apropos-options, customize-apropos-faces)
8052 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8053
8054 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8055 Fix word list splitting (Bug#11132).
46c71e23
CY
8056 (apropos-symbol, apropos-keybinding, apropos-label)
8057 (apropos-property, apropos-function-button)
8058 (apropos-variable-button, apropos-misc-button): New faces.
8059 (apropos-symbol-face, apropos-keybinding-face)
8060 (apropos-label-face, apropos-property-face, apropos-match-face):
8061 Variables removed (Bug#8396).
8062 (apropos-library-button, apropos-format-plist, apropos-print)
8063 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8064
2df41f9c
MA
80652012-04-23 Michael Albinus <michael.albinus@gmx.de>
8066
8067 * net/xesam.el (xesam-mode-map): Use let-bound map in
8068 initialization. (Bug#11292)
8069
da00640a
AM
80702012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8071
8072 Preserve ispell session localwords when switching back to
8073 original buffer.
8074
090bd7cb
JB
8075 * textmodes/ispell.el (ispell-buffer-session-localwords):
8076 New buffer-local variable to hold buffer session localwords.
ed9265fc 8077 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8078 localwords.
8079 (ispell-command-loop, ispell-change-dictionary)
8080 (ispell-buffer-local-words): Preserve session localwords when
8081 needed.
8082
090bd7cb
JB
8083 * textmodes/flyspell.el (flyspell-process-localwords)
8084 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8085
f621ccf5
AM
80862012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8087
090bd7cb
JB
8088 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8089 using obsolete `translation-table-for-input'.
ef24141c
SM
8090 (ispell-word, ispell-process-line, ispell-complete-word):
8091 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8092
c2d1019e
CY
80932012-04-22 Chong Yidong <cyd@gnu.org>
8094
8095 * cus-edit.el (custom-variable-menu)
8096 (custom-variable-reset-saved, custom-face-menu)
8097 (custom-face-reset-saved): If there is no saved value, make the
8098 "reset-saved" operation bring back the default (Bug#9509).
8099 (custom-face-state): Properly detect themed faces.
8100
eeddc531
CY
8101 * faces.el (face-spec-set): Stop supporting deprecated form of
8102 third arg.
8103
dcbf5805
MA
81042012-04-22 Michael Albinus <michael.albinus@gmx.de>
8105
8106 Move functions from C to Lisp. Make non-blocking method calls
8107 the default. Implement further D-Bus standard interfaces.
8108
ef24141c
SM
8109 * net/dbus.el (dbus-message-internal): Declare function.
8110 Remove unneeded function declarations.
dcbf5805
MA
8111 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8112 (dbus-message-type-method-return, dbus-message-type-error)
8113 (dbus-message-type-signal): Declare variables. Remove local
8114 definitions.
8115 (dbus-interface-dbus, dbus-interface-peer)
8116 (dbus-interface-introspectable, dbus-interface-properties)
8117 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8118 Adapt docstring.
8119 (dbus-interface-objectmanager): New defconst.
8120 (dbus-call-method, dbus-call-method-asynchronously)
8121 (dbus-send-signal, dbus-method-return-internal)
8122 (dbus-method-error-internal, dbus-register-service)
8123 (dbus-register-signal, dbus-register-method): New defuns, moved
8124 from dbusbind.c
8125 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8126 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8127 New defuns.
dcbf5805
MA
8128 (dbus-call-method-non-blocking): Make it an obsolete function.
8129 (dbus-unregister-object, dbus-unregister-service)
8130 (dbus-handle-event, dbus-register-property)
8131 (dbus-property-handler): Obey the new structure of
8132 `bus-registered-objects'.
8133 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8134 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8135 Use `dbus-call-method'.
8136
cf20dee0
CY
81372012-04-22 Chong Yidong <cyd@gnu.org>
8138
8139 * cus-edit.el (custom-commands, custom-reset-menu)
8140 (Custom-reset-standard): Tweak labels.
8141 (custom-reset-button-menu): Change default to t.
8142 (custom-buffer-create-internal): For the custom-reset-button-menu
8143 case, put the revert button first.
8144 (custom-group-subtitle): New face.
8145 (custom-group-value-create): Align docstring to a specific column.
8146
8147 * wid-edit.el (widget-documentation-link-add): Don't handle
8148 indentation in this function.
8149 (widget-documentation-string-indent-to): New function.
8150 (widget-documentation-string-value-create): Use it.
8151
8152 * autorevert.el (auto-revert):
8153 * epg-config.el (epg):
8154 * ibuffer.el (ibuffer):
8155 * mpc.el (mpc):
8156 * ses.el (ses):
8157 * eshell/eshell.el (eshell):
8158 * net/ange-ftp.el (ange-ftp):
8159 * progmodes/ebnf2ps.el (postscript):
8160 * progmodes/flymake.el (flymake):
8161 * progmodes/prolog.el (prolog):
8162 * progmodes/verilog-mode.el (verilog-mode):
8163 * progmodes/which-func.el (which-func):
8164 * term/xterm.el (xterm):
8165 * textmodes/picture.el (picture):
8166 * textmodes/tildify.el (tildify):
8167 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8168 customization buffers.
8169
583e23bd
AM
81702012-04-22 Alan Mackenzie <acm@muc.de>
8171
8172 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8173 Adding a ) can hide the resulting (..) from searches. Fix it.
8174 Bound the backward search to the position of the existing (.
8175
7dd51bf1
JB
81762012-04-21 Juanma Barranquero <lekktu@gmail.com>
8177
8178 * progmodes/verilog-mode.el (verilog-mode): Check whether
8179 which-func-modes is t before adding verilog-mode.
8180 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8181
d64a438f
LL
81822012-04-21 Leo Liu <sdl.web@gmail.com>
8183
7dd51bf1 8184 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8185
081e8d65
MV
81862012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8187
8188 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8189 filling of the last column of a table (Bug#5635).
8190 (woman-find-next-control-line): New arg, specifying an additional
8191 regexp component for the control line.
8192 (woman2-roff-buffer): Use it.
8193 (woman-break-table): New function.
8194 (woman2-TS): Use it.
8195
81962012-04-21 Chong Yidong <cyd@gnu.org>
8197
8198 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8199 (woman-horizontal-escapes, woman-negative-vertical-space)
8200 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8201 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8202
ed571ccb
SM
82032012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * minibuffer.el (completion-file-name-table): Complete user names.
8206
39773899
LL
82072012-04-20 Leo Liu <sdl.web@gmail.com>
8208
8209 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8210 and pcase-let*.
8211
de6ff46d
CY
82122012-04-20 Chong Yidong <cyd@gnu.org>
8213
8214 * server.el (server-execute): Respect initial-buffer-choice if it
8215 is a string and there are no files to open (Bug#2825).
8216 (server-create-window-system-frame, server-create-tty-frame):
8217 Don't switch buffers here.
2d0e8e61
CY
8218 (server-process-filter): Only try to open a window system frame if
8219 compiled with graphical support (Bug#8314).
de6ff46d 8220
54071013
DN
82212012-04-20 Dan Nicolaescu <dann@gnu.org>
8222
8223 * battery.el (battery-echo-area-format): Display remaining time
8224 for sysfs backend too (Bug#11269).
8225 (battery-linux-sysfs): Fix conditional for the charge.
8226
f30d612a
CY
82272012-04-20 Chong Yidong <cyd@gnu.org>
8228
c07a4c0b 8229 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8230 (gdb-inferior-io--init-proc): New function.
8231 (gdb-init-1): Use it.
8232 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8233 responsible for allocating a new pty and hooking it to gdb when
8234 the old pty gets an EIO due to process exit.
8235 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8236 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8237 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8238
2116e93c
EZ
82392012-04-20 Eli Zaretskii <eliz@gnu.org>
8240
8241 * window.el (window-min-size, window-sizable, window-min-delta)
8242 (window-max-delta, window--resizable, window-resizable)
8243 (window-total-size, window-full-height-p, window-full-width-p)
8244 (window-in-direction, window--resize-mini-window, window-resize)
8245 (window--resize-child-windows-normal)
8246 (window--resize-child-windows, window--resize-siblings)
8247 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8248 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8249
c07a4c0b 82502012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8251
ef24141c
SM
8252 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8253 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8254 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8255 pty process (Bug#11273).
8256 (gdb-update): New arg to suppress talking to the gdb process.
8257 (gdb-done-or-error): Use it.
8258 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8259 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8260 sentinel not being called.
8261
8262 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8263
d02766ab
CY
8264 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8265
c07a4c0b 82662012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8267
8268 * net/network-stream.el (open-network-stream): Doc fix.
8269
c07a4c0b 82702012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8271
8272 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8273
c07a4c0b 82742012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8275
8276 Ensure searching for keywords is case sensitive.
8277
8278 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8279 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8280 (c-defun-name, c-mark-function, c-cpp-define-name)
8281 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8282 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8283
ef24141c
SM
8284 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8285 Bind case-fold-search to nil.
f0f6bc35 8286
c07a4c0b 82872012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8288
8289 * mail/sendmail.el (mail-bury): Call return action with the right
8290 Rmail buffer (Bug#11242).
8291
9a864fa2
CY
8292 * server.el (server-process-filter): Handle corner case where both
8293 tty and nowait options are present (Bug#11102).
8294
539aa513
EZ
82952012-04-20 Eli Zaretskii <eliz@gnu.org>
8296
8297 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8298 (top level): Put into the executable the ident-style '$Id:' tag on
8299 windows-nt as well.
539aa513 8300
cfc7d5da
SM
83012012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8302
8303 * electric.el (electric-indent-post-self-insert-function): Check that
8304 electric-indent-mode is enabled in current buffer.
8305
5b01685c
JB
83062012-04-19 Juanma Barranquero <lekktu@gmail.com>
8307
8308 * imenu.el (imenu-progress-message): Restore; it is "used" in
8309 erc/erc-imenu.el and net/snmp-mode.el.
8310
4d6769e1
JB
83112012-04-19 Juanma Barranquero <lekktu@gmail.com>
8312
8313 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8314 (mouse-avoidance-nudge-mouse): Remove unused binding.
8315
8316 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8317
8318 * descr-text.el (describe-char):
8319 * progmodes/python.el (python-describe-symbol):
8320 Don't call `toggle-read-only', set `buffer-read-only'.
8321
8322 * imenu.el (imenu-default-goto-function): Mark unused args.
8323 (imenu-progress-message): Remove obsolete macro; all callers changed.
8324
8325 * subr.el (keymap-canonicalize): Remove unused binding.
8326 (read-passwd): Mark unused arg.
8327
8328 * tutorial.el (tutorial--display-changes): Remove unused binding.
8329 (tutorial--save-tutorial-to): Remove unused variable.
8330
8331 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8332 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8333 (package-generate-autoloads, package-menu--generate)
8334 (package-menu--find-upgrades): Remove unused bindings.
8335
8336 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8337 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8338 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8339 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8340 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8341 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8342 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8343 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8344 (cua-delete-char-rectangle): Mark unused args.
8345 (cua-align-rectangle): Remove unused binding.
8346
8347 * mail/rmail.el (compilation--message->loc)
8348 (epa--find-coding-system-for-mime-charset): Declare.
8349
8350 * net/dbus.el (dbus-register-service): Declare.
8351 (dbus-name-owner-changed-handler): Remove unused binding.
8352
8353 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8354 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8355 (nxml-scan-backward-within): Mark unused arg.
8356 (nxml-dynamic-markup-word): Remove unused binding.
8357
8358 * mouse.el (mouse-menu-major-mode-map):
8359 * emacs-lisp/authors.el (authors-scan-change-log)
8360 (authors-add-to-author-list):
8361 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8362 * emacs-lisp/smie.el (smie-auto-fill):
8363 * mail/sendmail.el (mail-bury):
8364 * mail/unrmail.el (unrmail):
8365 * net/tls.el (open-tls-stream):
8366 * textmodes/picture.el (picture-mouse-set-point):
8367 Remove unused bindings.
8368
8c8fc5df
MA
83692012-04-19 Michael Albinus <michael.albinus@gmx.de>
8370
8371 * net/tramp.el (tramp-action-password): Let-bind
8372 `enable-recursive-minibuffers' to t.
8373
a77b0ac9
SS
83742012-04-18 Sam Steingold <sds@gnu.org>
8375
8376 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8377 instead of 'string to accommodate values like [f11].
8378 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8379 * progmodes/gdb-mi.el: Likewise.
8380
12a106a9
LL
83812012-04-18 Leo Liu <sdl.web@gmail.com>
8382
8383 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8384 current buffer.
8385 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8386 LOCAL is nil.
8387
bc6494ef
CY
83882012-04-18 Chong Yidong <cyd@gnu.org>
8389
8390 * simple.el (line-move): Use forward-line if in batch mode
8391 (Bug#11053).
8392
c09c46b2
CS
83932012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8394
8395 * files.el (after-find-file): Do not try to add a final newline if
8396 the buffer is read-only (Bug#11156).
8397
5f6530ea
RS
83982012-04-17 Richard Stallman <rms@gnu.org>
8399
8400 * mail/rmail.el (rmail-start-mail):
8401 Pass (rmail-mail-return...) for the return-action.
8402 Pass (rmail-yank-current-message...) for the yank-action.
8403 (rmail-yank-current-message): New function.
8404 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8405 (rmail-reply): Likewise.
8406 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8407
8408 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8409 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8410 buffer, not newbuf.
8411
197b6f3c
JB
84122012-04-17 Juanma Barranquero <lekktu@gmail.com>
8413
8414 * server.el (server-ensure-safe-dir): Simplify.
8415
2311d8e5 84162012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8417
2311d8e5
GM
8418 * emacs-lisp/smie.el: Provide smarter auto-filling.
8419 (smie-auto-fill): New function.
8420 (smie-setup): Use it.
98fb480e 8421
2311d8e5
GM
8422 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8423
84242012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8425
8426 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8427 (comment-indent): Use it.
8428
2311d8e5 84292012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8430
8431 * ses.el: The overall change is to add cell renaming, that is
8432 setting fancy names for cell symbols other than name matching
8433 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8434 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8435 (ses-create-cell-variable): New defun.
2311d8e5 8436 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8437 (ses-relocate-formula): Relocate formulas only for cells the
8438 symbols of which are not renamed, i.e. symbols whose names do not
8439 match regexp "\\`[A-Z]+[0-9]+\\'".
8440 (ses-relocate-all): Relocate values only for cells the symbols of
8441 which are not renamed.
8442 (ses-load): Create cells variables as the (ses-cell ...) are read,
8443 in order to check row col consistency with cell symbol name only
8444 for cells that are not renamed.
8445 (ses-replace-name-in-formula): New defun.
8446 (ses-rename-cell): New defun.
4bdf2ad2 8447
fc72b15c
PO
84482012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8449
8450 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8451 New option (bug#11118).
8452 (perl-calculate-indent): Respect it.
8453
12e10e61
GM
84542012-04-17 Glenn Morris <rgm@gnu.org>
8455
8456 * dired-aux.el (dired-mark-read-string): Doc fix.
8457
30009afd
DA
84582012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8459
8460 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8461 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8462
41f03f4d
GM
84632012-04-17 Glenn Morris <rgm@gnu.org>
8464
8465 * mouse.el (mouse-drag-track):
8466 * speedbar.el (speedbar-frame-mode):
8467 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8468
f45f90f3
LL
84692012-04-16 Leo Liu <sdl.web@gmail.com>
8470
8471 * progmodes/python.el: Trivial cleanup.
8472
94ee8db5
GM
84732012-04-16 Glenn Morris <rgm@gnu.org>
8474
121b8917
GM
8475 * vc/vc.el (vc-string-prefix-p):
8476 * vc/pcvs-util.el (cvs-string-prefix-p):
8477 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8478 * mpc.el (mpc-string-prefix-p):
8479 Make all of these into obsolete aliases for string-prefix-p.
8480 Update callers.
8481 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8482
1197ecfa
GM
8483 * textmodes/two-column.el: Move custom options to the start.
8484 (frame-width): Remove compat definition.
8485 (2C-associate-buffer, 2C-dissociate):
8486 Use with-current-buffer rather than save-excursion.
8487 (2C-dissociate): Force a mode-line update.
8488 (2C-autoscroll): Use ignore-errors.
8489
099e7202
GM
8490 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8491 Autoload trivia.
8492
bf350d6a
GM
8493 * emacs-lisp/cl-extra.el (*random-state*):
8494 Remove unnecessary declaration.
8495
0e829eab
GM
8496 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8497
e3ad7552
GM
8498 * play/cookie1.el (cookie-snarf):
8499 Give an explicit error if input file cannot be read.
8500
68892d27
GM
8501 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8502
20f0c46d
GM
8503 * progmodes/perl-mode.el (c-macro-expand):
8504 Remove unnecessary autoload (it is in loaddefs.el).
8505
5a0978ce
GM
8506 * textmodes/picture.el (picture-desired-column)
8507 (picture-update-desired-column): Convert comments to doc-strings.
8508 (picture-substitute): Remove function.
8509 (picture-mode-map): Initialize in the defvar.
8510
6b955486
GM
8511 * woman.el: Remove eval-after-load for tar-mode.
8512 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8513 (woman-tar-extract-file): Autoload it.
8514
94ee8db5
GM
8515 * frame.el (automatic-hscrolling): Make this alias obsolete.
8516
177eca34
AM
85172012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8518
090bd7cb 8519 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8520 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8521 (ispell-dictionary-base-alist): Revert to original XEmacs
8522 friendly version for default. [:alpha:] will be added in
090bd7cb 8523 `ispell-set-spellchecker-params' if needed.
177eca34 8524
c505aaeb
CY
85252012-04-16 Chong Yidong <cyd@gnu.org>
8526
b19dd9d1 8527 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8528 (imagemagick-register-types): Use it.
8529 (imagemagick-types-inhibit): Add :set function. Allow new value
8530 of t to inhibit all types.
8531
8532 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8533 so we can preload it.
8534
8535 * loadup.el (fboundp): Preload regexp-opt, needed by
8536 imagemagick-register-types.
8537
60efac0f
CY
85382012-04-15 Chong Yidong <cyd@gnu.org>
8539
8540 * frame.el (scrolling): Remove nearly unused customization group.
8541
8542 * scroll-all.el (scroll-all-mode): Move to windows group.
8543
5dd1713e
CY
85442012-04-15 Chong Yidong <cyd@gnu.org>
8545
8546 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8547
e6fd457e
CY
85482012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8551 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8552
e153c136
GM
85532012-04-15 Glenn Morris <rgm@gnu.org>
8554
8555 * simple.el (process-file-side-effects): Doc fix.
8556
e6fd457e 85572012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8558
8559 * international/mule-cmds.el (set-language-environment): Doc fix.
8560
3603c3b1
JB
85612012-04-14 Juanma Barranquero <lekktu@gmail.com>
8562
8563 * server.el (server-auth-key, server-generate-key): Doc fixes.
8564 (server-get-auth-key): Doc fix. Use `string-match-p'.
8565 (server-start): Reflow docstring.
8566
e6de100c
LI
85672012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8568
8569 * server.el (server-generate-key): `called-interactively-p'
8570 requires a parameter.
8571
29734c21
MN
85722012-04-14 Michal Nazarewicz <mina86@mina86.com>
8573
8574 * server.el (server-auth-key): New variable.
75f1671a 8575 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8576 (server-start): Use the new variable and functions to allow
8577 setting a permanent server key (bug#9423).
8578
d65c9521
LL
85792012-04-14 Leo Liu <sdl.web@gmail.com>
8580
8581 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8582
5ae255c7
PE
85832012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8584
8585 Spelling fixes.
8586 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8587 Emacs uses American spelling.
8588
d5e6342e
JB
85892012-04-14 Juanma Barranquero <lekktu@gmail.com>
8590
8591 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8592 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8593 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8594 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8595
ab036cd7
SM
85962012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8597
8598 * progmodes/which-func.el (which-func-modes): Change default.
8599
35dc09a1 86002012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8601
8602 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8603 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8604
35dc09a1 86052012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8606
8607 * custom.el (custom-theme-set-variables): Doc fix.
8608
35dc09a1 86092012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8610
8611 * international/mule.el (set-auto-coding-for-load): Doc fix.
8612
35dc09a1 86132012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8614
35dc09a1
GM
8615 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8616 imenu work again for Objective C Mode. Correct the *-index values,
8617 these having been disturbed by a previous change in 2011-08.
57f845ee 8618
0de3da9f
AM
8619 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8620 Correct two search limits.
8621
35dc09a1 86222012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8623
8624 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8625
35dc09a1 86262012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8627
8628 * international/characters.el: Fix sorting.
8629
35dc09a1 86302012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8631
8632 * international/characters.el: Add more missing Latin case pairs.
8633
35dc09a1 86342012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8635
8636 * files.el (dir-locals-set-class-variables): Doc fix.
8637
35dc09a1 86382012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8639
3f1b5bf8
EZ
8640 * international/characters.el: Add set-case-syntax-pair call for
8641 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8642 counterpart. (Bug#11209)
8643
9f847f41
EZ
8644 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8645
35dc09a1 86462012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8647
8648 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8649
35dc09a1 86502012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8651
35dc09a1
GM
8652 * textmodes/ispell.el (ispell-dictionary-base-alist):
8653 Add data for Hebrew.
e2627d21 8654
35dc09a1 86552012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8656
35dc09a1
GM
8657 * net/rcirc.el (rcirc-cmd-quit):
8658 Revert 2012-03-18 change (Bug#11192).
5c14e333 8659
35dc09a1 86602012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8661
8662 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8663
35dc09a1 86642012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8665
4517fe3a
SM
8666 * minibuffer.el (completion-in-region-mode-map):
8667 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8668
b472a594
VD
86692012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8670
8671 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8672
09b95ce3
MY
86732012-04-13 Masatake YAMATO <yamato@redhat.com>
8674
8675 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8676 to allow `C-M-f' and `C-M-b' to move to the nearest path
8677 separator (bug#9511).
8678
4b63a9ca
LI
86792012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8680
8681 * avoid.el: Require cl when compiling. And also move the
8682 `provide' to the end.
8683
7b55b8bf
TV
86842012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8685
8686 * avoid.el (mouse-avoidance-banish-position): New variable.
8687 (mouse-avoidance-banish-destination): Use it (bug#10165).
8688
adedaa1f
LL
86892012-04-13 Leo Liu <sdl.web@gmail.com>
8690
8691 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8692
70e74021
KB
86932012-04-13 Ken Brown <kbrown@cornell.edu>
8694
8695 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8696 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8697 (browse-url-filename-alist): For the same reason, don't modify
8698 file:// URLs on Cygwin.
8699
e75e89ba
SM
87002012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8703 the region on shift if the binding is already shifted (bug#11221).
8704
82f289a4
GM
87052012-04-12 Glenn Morris <rgm@gnu.org>
8706
8707 * mail/mailpost.el: Move to obsolete/.
8708
d333dc4c
DA
87092012-04-12 Drew Adams <drew.adams@oracle.com>
8710
8711 * imenu.el (imenu--generic-function): Ignore invisible definitions
8712 (bug#10123).
8713
0d15b5ba
VD
87142012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8715
8716 * hexl.el (hexl-bits): New variable.
8717 (hexl-options): Mention the variable in the doc string.
75f1671a 8718 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8719 (hexl-mode): Mention the new variable.
75f1671a
JB
8720 (hexl-mode, hexl-current-address, hexl-current-address):
8721 Use the displen.
0d15b5ba
VD
8722 (hexl-ascii-start-column): New function.
8723 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8724 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8725
64a440db
AM
87262012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8727
8728 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8729 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8730 the encoding, as expected by hunspell.
8731
6decb6c2
SM
87322012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * battery.el (battery--linux-sysfs-regexp): New const.
8735 (battery-status-function): Use it. Remove yeeloong special case.
8736 (battery-yeeloong-sysfs): Remove.
8737 (battery-echo-area-format): Remove yeeloong special case.
8738
088be6fb
SM
87392012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8740
6622e416
SM
8741 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8742 Reported by Noah Friedman.
8743
088be6fb
SM
8744 * subr.el (read-passwd): Use read-string.
8745
b49f886e
LMI
87462012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8747
8748 * vcursor.el (vcursor-move): Increase the priority of the overlay
8749 (bug#9663).
8750
a63067fc
DD
87512012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8752
8753 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8754 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8755
ac3cf14a
WS
87562012-04-11 William Stevenson <yhvh2000@gmail.com>
8757
8758 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8759 define-minor-mode (bug#10760).
8760
c4fc691b 87612012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8762
4d6769e1 8763 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8764 that directories matching `grep-find-ignored-files' won't be
8765 pruned (bug#10351).
8766
af23e2e5
CY
87672012-04-11 Chong Yidong <cyd@gnu.org>
8768
8769 * startup.el (command-line): Remove support for long-obsolete
8770 variable font-lock-face-attributes.
8771
ab7ce8c1
GM
87722012-04-11 Glenn Morris <rgm@gnu.org>
8773
8774 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8775
de8c03dc
SM
87762012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * window.el (window--state-get-1): Obey window-point-insertion-type.
8779
050cc68b
LB
87802012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8781
8782 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8783 to previous function when point is on the first character of a
75f1671a 8784 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8785
a38c310c
GM
87862012-04-11 Glenn Morris <rgm@gnu.org>
8787
effed0c2
GM
8788 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8789 not just file-errors.
8790
a38c310c
GM
8791 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8792 (vc-bzr-sha1): Use internal sha1.
8793
0221e323
SM
87942012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8797
43956923
SG
87982012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8799
8800 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8801 that start in the middle of the line (bug#10496).
8802
6a8c9eaf
DN
88032012-04-10 Dan Nicolaescu <dann@gnu.org>
8804
8805 * battery.el (battery-linux-proc-acpi): Only one battery is
8806 discharged at a time, but that seems to confuse battery.el when
8807 computing `rate-type' for the battery not being discharged
8808 (bug#10332).
8809
1930bf5d
SM
88102012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8811
2a718f6f
SM
8812 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8813
599430d0
SM
8814 * international/quail.el: Use dolist and simplify.
8815 (quail-define-package, quail-update-keyboard-layout)
8816 (quail-define-rules): Use dolist.
8817 (quail-insert-kbd-layout, quail-get-translation): CSE.
8818
a2754b6c
SM
8819 * tmm.el: Use dolist, remove left over hook.
8820 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8821 Use dolist.
8822 (calendar-load-hook): Don't mess with it.
8823
1930bf5d
SM
8824 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8825 Use derived-mode-p. Run the diff asynchronously.
8826
9f67961c
LMI
88272012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8828
8829 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8830
2a8ce227
JB
88312012-04-10 Juanma Barranquero <lekktu@gmail.com>
8832
8833 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8834 (list-dynamic-libraries--loaded): New function.
8835 (list-dynamic-libraries--refresh): Use it.
8836
8f33b5f8
NW
88372012-04-10 Nathan Weizenbaum <nweiz@google.com>
8838
1930bf5d
SM
8839 * progmodes/python.el (python-fill-paragraph):
8840 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8841 disabled (bug#7018).
8842
b12f0439
L
88432012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8844
1930bf5d 8845 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8846 DOS/MS Windows for the Baltic languages. There are still plenty
8847 of texts written in this encoding/codepage (bug#6519).
b12f0439 8848
57c3bd01
GM
88492012-04-10 Glenn Morris <rgm@gnu.org>
8850
8851 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8852 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8853
6c3eab30
FA
88542012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8855
1930bf5d 8856 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8857 next-line "n" and previous-line "p" in order to make recentf more
8858 consistent with ibuffer, dired or org-mode (bug#9387).
8859
24d78a88
LMI
88602012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8861
bc72b5d9
LMI
8862 * image.el (put-image): Return the overlay created instead of the
8863 optional input string (bug#7834). Note that this may break code
8864 that is (for some reason or other) depending on `put-image'
8865 returning the string.
8866
bd2dba5a
LMI
8867 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8868
74beb59f
LMI
8869 * simple.el (zap-to-char): Allow zapping using input methods
8870 (bug#1580).
8871
24d78a88
LMI
8872 * textmodes/fill.el (fill-region): Leave point and mark where they
8873 were before filling (bug#5399).
8874
263f20cd
GM
88752012-04-09 Glenn Morris <rgm@gnu.org>
8876
8877 * version.el (emacs-bzr-get-version):
8878 Handle lightweight checkouts of local branches.
8879
58d1f797
AS
88802012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8881
263f20cd 8882 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8883
b4d3bc10
CY
88842012-04-09 Chong Yidong <cyd@gnu.org>
8885
8886 * custom.el (custom-variable-p): Return nil for non-symbol
8887 arguments instead of signaling an error.
8888 (user-variable-p): Obsolete alias for custom-variable-p.
8889
8890 * apropos.el (apropos-variable):
8891 * files-x.el (read-file-local-variable):
8892 * simple.el (set-variable):
8893 * woman.el (woman-mini-help):
8894 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8895
fd06db5d
GM
88962012-04-09 Glenn Morris <rgm@gnu.org>
8897
e5fcdb5e
GM
8898 * startup.el (normal-top-level): Don't look for leim-list.el
8899 in places where it will not be found. (Bug#910)
8900
fd06db5d
GM
8901 * international/mule-cmds.el (set-default-coding-systems):
8902 * files.el (normal-mode):
8903 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8904 This function was removed with ucs-tables.el in 2008.
8905
b39bb7e1
EZ
89062012-04-08 Eli Zaretskii <eliz@gnu.org>
8907
8908 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8909 ispell-encoding8-command to "-i", without a trailing space.
8910 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8911 separate command-line arguments, to specify the encoding, since
8912 that's how hunspell expects it.
8913
5c5b8e23
GM
89142012-04-08 Glenn Morris <rgm@gnu.org>
8915
8916 * loadup.el: Load bindings before cus-start.
8917 This reduces somewhat the number of "rogue" settings in emacs -Q.
8918
a1ed8b05
GM
89192012-04-07 Glenn Morris <rgm@gnu.org>
8920
8921 * version.el (emacs-bzr-get-version): New function.
dfae128a 8922 (emacs-bzr-version): New variable.
a1ed8b05
GM
8923 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8924 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8925
b142f158
EZ
89262012-04-07 Eli Zaretskii <eliz@gnu.org>
8927
dfae128a
GM
8928 * international/uni-bidi.el, international/uni-category.el:
8929 * international/uni-combining.el, international/uni-decimal.el:
8930 * international/uni-decomposition.el, international/uni-digit.el:
8931 * international/uni-lowercase.el, international/uni-mirrored.el:
8932 * international/uni-name.el, international/uni-numeric.el:
8933 * international/uni-titlecase.el, international/uni-uppercase.el:
8934 Update for Unicode 6.1.
b142f158 8935
9078ead6
EZ
89362012-04-07 Eli Zaretskii <eliz@gnu.org>
8937
8938 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8939
f23d2c7d
LMI
89402012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8941
8942 * window.el (shrink-window): Mention the `window-min-height'
8943 variable in the doc string.
8944
0a0a3573
BG
89452012-04-05 Bastien Guerry <bzg@altern.org>
8946
8947 * color.el (color-lighten-name): Fix typo.
8948
e5248ac9
SM
89492012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * server.el (server--on-display-p): New function.
8952 (server--on-display-p): Use it.
8953
b4243e22
GV
89542012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8955
8956 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8957 (bug#11145).
8958
305d9f44
SM
89592012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8960
8961 * comint.el (comint--common-quoted-suffix): Check string boundary
8962 before comparing (bug#11158).
8963 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8964
3d439cd1
CY
89652012-04-04 Chong Yidong <cyd@gnu.org>
8966
321cc491
CY
8967 * minibuffer.el (completion-extra-properties): Doc fix.
8968
3d439cd1
CY
8969 * subr.el (delayed-warnings-hook): Doc fix.
8970
2d562c0f
DU
89712012-04-04 Daiki Ueno <ueno@unixuser.org>
8972
8973 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8974 selection (Bug#11159).
8975 (epa-insert-keys): Inform that the default public key will be
8976 exported if no key is selected.
8977
4443f204
RS
89782012-04-04 Richard Stallman <rms@gnu.org>
8979
8980 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8981
529c06b6
CY
89822012-04-03 Chong Yidong <cyd@gnu.org>
8983
8984 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8985 mail-insert-file, not its obsolete alias mail-attach-file.
8986
66b907dc
MA
89872012-04-03 Michael Albinus <michael.albinus@gmx.de>
8988
8989 * notifications.el (notifications-notify): Fix docstring.
8990
c0ea195d
GM
89912012-04-02 Glenn Morris <rgm@gnu.org>
8992
8993 * emacs-lisp/authors.el (authors-aliases): Another addition.
8994
5ca64e00
MA
89952012-04-02 Michael Albinus <michael.albinus@gmx.de>
8996
8997 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8998 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8999 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9000
42ee526b
CY
90012012-04-01 Chong Yidong <cyd@gnu.org>
9002
9003 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9004 Handle root directory properly.
9005 (copy-directory): Caller changed.
9006
9007 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9008 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9009
0b021094
GM
90102012-03-31 Glenn Morris <rgm@gnu.org>
9011
40f86458
GM
9012 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9013
7019c177
GM
9014 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9015
a1daddd6
GM
9016 * calendar/calendar.el (calendar-window-list)
9017 (calendar-hide-window): Restore. (Bug#11140)
9018 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9019
0b021094
GM
9020 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9021
40311efc
TV
90222012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9023
9024 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9025 Check if file is a symlink (Bug#10489).
9026
9027 * files.el (copy-directory): Likewise.
9028
5319014e
CY
90292012-03-30 Chong Yidong <cyd@gnu.org>
9030
9031 * image.el (imagemagick-types-inhibit)
9032 (imagemagick-register-types): Doc fix.
9033
935d1290
AM
90342012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9035
090bd7cb 9036 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9037 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9038 and treats ~word as ordinary words in pipe mode.
935d1290 9039
61c6e8fd
GM
90402012-03-30 Glenn Morris <rgm@gnu.org>
9041
9042 * tutorial.el (help-with-tutorial): Ensure local variables don't
9043 happen to make the buffer read-only. (Bug#11127)
9044
81fdff00
SM
90452012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9048 (perl-calculate-indent): Return `noindent' in strings.
9049
6e7a6ec0
SS
90502012-03-28 Sam Steingold <sds@gnu.org>
9051
9052 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9053 instead of the broken adhockery which does not prevent calendar
9054 buffers from being displayed at random after exit.
9055 (calendar-window-list, calendar-hide-window): Remove the broken
9056 adhockery.
9057
fee88ca0
GM
90582012-03-28 Glenn Morris <rgm@gnu.org>
9059
9060 * replace.el (query-replace-map): Doc fix.
9061
38de3354
AS
90622012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9063
9064 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9065 contents. (Bug#11109)
9066
b973155e
SM
90672012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9070 (bug#11077).
9071 (avl-tree--check, avl-tree--check-node): New funs.
9072
dcb6e7b3
MR
90732012-03-27 Martin Rudalics <rudalics@gmx.at>
9074
9075 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9076 (switch-to-prev-buffer, switch-to-next-buffer):
9077 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9078 showing a buffer already is done on the same frame.
9079
b4fa35fa
GM
90802012-03-27 Glenn Morris <rgm@gnu.org>
9081
9082 * startup.el (mail-host-address): Doc fix.
9083
f9210e18
SM
90842012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9087 than 197 variables.
9088
c0bf7753
AF
90892012-03-26 Ami Fischman <ami@fischman.org>
9090
9091 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9092
33da7b16
GM
90932012-03-26 Glenn Morris <rgm@gnu.org>
9094
02243d9d
GM
9095 * files.el (save-buffers-kill-emacs): Doc fix.
9096
33da7b16
GM
9097 * startup.el (normal-top-level, command-line, command-line-1):
9098 Give them doc strings.
9099
e5a69fd0
EZ
91002012-03-25 Eli Zaretskii <eliz@gnu.org>
9101
9102 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9103 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9104
9a69676a
CY
91052012-03-25 Chong Yidong <cyd@gnu.org>
9106
4125cb8b
CY
9107 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9108 theme if it was previously enabled before (Bug#11031).
9109
dd470960
CY
9110 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9111 spec with custom-face-get-current-spec if its :shown-value is not
9112 determined yet (Bug#9337).
4125cb8b 9113 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9114
9a69676a
CY
9115 * button.el (button-at): Minor addition to docstring.
9116
6e7e90fa
SL
91172012-03-24 Simon Leinen <simon.leinen@gmail.com>
9118
9119 * vc/vc.el (vc-merge): Fix a prompt.
9120
f06e2758
CY
91212012-03-24 Chong Yidong <cyd@gnu.org>
9122
9123 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9124 point (Bug#9623).
9125
6e7e90fa
SL
9126 * button.el (button-at): Minor addition to docstring.
9127
b9d0879b
SM
91282012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * newcomment.el (comment-choose-indent): No space after BOL.
9131
e71cebb3
SS
91322012-03-22 Sam Steingold <sds@gnu.org>
9133
9134 * window.el (switch-to-prev-buffer): Revert last patch because the
9135 bug turned out to be an advertised feature (Elisp manual 28.14).
9136
335aff35
GM
91372012-03-22 Glenn Morris <rgm@gnu.org>
9138
9139 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9140 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9141
c676576a
LMI
91422012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9143
9144 * net/network-stream.el (network-stream-open-starttls): Make error
9145 message under Windows be less misleading.
9146
126f3d39
LW
91472012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9148
9149 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9150 understands (bug#9942).
9151
64fee311
CY
91522012-03-22 Chong Yidong <cyd@gnu.org>
9153
9154 * simple.el (end-of-visible-line): Handle return value of
9155 next-single-property-change properly (Bug#9371).
9156
a640d29a
KH
91572012-03-22 Kenichi Handa <handa@m17n.org>
9158
9159 * international/quail.el (quail-insert-kbd-layout): Fix previous
9160 change. To avoid unwanted bidi reordering, use
9161 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9162
39675016
DG
91632012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9164
9165 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9166 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9167 (ruby-beginning-of-indent): Be more careful with the difference
9168 between word-boundary and symbol boundary.
9169 (ruby-mode-syntax-table): Make : a symbol constituent.
9170
0a6934fc 91712012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9172
3d008e4f
SM
9173 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9174
0a6934fc
SM
91752012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9176
af67c9d7
SM
9177 * progmodes/etags.el (tags-completion-at-point-function):
9178 Improve last fix.
9179
1acad97c
SM
9180 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9181
e298b5da
SS
91822012-03-21 Sam Steingold <sds@gnu.org>
9183
9184 * progmodes/etags.el (tags-completion-at-point-function):
9185 Avoid the error when point is inside the pattern.
9186
91d82a70
JY
91872012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9188
9189 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9190 line (Bug#10855).
9191
69188b79
CY
91922012-03-21 Drew Adams <drew.adams@oracle.com>
9193
9194 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9195
99fc91fe
AK
91962012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9197
9198 * ido.el (ido-set-current-directory, ido-read-internal)
9199 (ido-choose-completion-string, ido-completion-help): Handle nil
9200 value of ido-completion-buffer (Bug#11008).
9201
087bbb4c
SS
92022012-03-21 Sam Steingold <sds@gnu.org>
9203
9204 * window.el (switch-to-prev-buffer): Do not switch to a visible
9205 window previous buffer, just like with the frame previous buffers.
9206
fb5b8aca
CY
92072012-03-21 Chong Yidong <cyd@gnu.org>
9208
9209 * faces.el (make-face, make-empty-face, copy-face):
9210 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9211 Doc fixes.
9212
dc9924b8
SM
92132012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9216 (widget-complete): Remove broken use of it.
9217
f0bcceb9
CY
92182012-03-20 Chong Yidong <cyd@gnu.org>
9219
dc9924b8
SM
9220 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9221 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9222 characters.
9223
ee52ebf3
TH
92242012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9225
9226 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9227 to draw rectangles, not squares. (Regression introduced by revno
9228 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9229
4c5779ab
CY
92302012-03-18 Chong Yidong <cyd@gnu.org>
9231
9232 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9233 it is not yet defined (for temacs).
9234
15360934
LL
92352012-03-18 Leo Liu <sdl.web@gmail.com>
9236
735135f9
PE
9237 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9238 prefix.
15360934 9239
d9a8eb66
EZ
92402012-03-17 Eli Zaretskii <eliz@gnu.org>
9241
9242 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9243 (ispell-choices-win-default-height, ispell-silently-savep)
9244 (ispell-dictionary-alist, ispell-encoding8-command)
9245 (ispell-check-version, ispell-aspell-find-dictionary)
9246 (ispell-valid-dictionary-list, ispell-words-keyword)
9247 (ispell-get-word, ispell-internal-change-dictionary)
9248 (ispell-region, ispell-skip-region-list)
9249 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9250 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9251 (ispell-message-text-end, ispell-message)
9252 (ispell-buffer-local-parsing): Doc fix.
9253
f02ff80d
J
92542012-03-13 Jambunathan K <kjambunathan@gmail.com>
9255
9256 * htmlfontify.el: Add support for code block fontification for ODT
9257 export (Bug #9914).
9258 (hfy-optimisations): Define new option
9259 `body-text-only'
9260 (hfy-fontify-buffer): Honor above setting.
9261 (hfy-begin-span, hfy-end-span): New routines factored out form
9262 `hfy-fontify-buffer'.
9263 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9264 that permit insertion of custom tags.
9265 (hfy-fontify-buffer): Use above handlers.
9266 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9267 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9268 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9269 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9270 bind a special variable `hfy-user-sheet-assoc'.
9271 (htmlfontify-string): New defun.
9272 (hfy-compile-face-map): Make sure that the last char in the
9273 buffer is correctly fontified.
9274 (hfy-face-resolve-face): Whitespace only change.
9275
9ac7a13f
EZ
92762012-03-17 Eli Zaretskii <eliz@gnu.org>
9277
9278 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9279 message more clear.
9280
e2b5bdd7
LL
92812012-03-16 Leo Liu <sdl.web@gmail.com>
9282
9283 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9284
2e492df3
AM
92852012-03-16 Alan Mackenzie <acm@muc.de>
9286
9287 Further optimise the handling of large macros.
9288
9289 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9290 limit to a call of `c-literal-limits'.
9291 (c-determine-+ve-limit): New function.
dc9924b8
SM
9292 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9293 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9294 In CASE 5B, restrict a search limit to 500.
9295 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9296
9297 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9298 Restrict macro bounds to +-500 from after-change's BEG END.
9299
50e94f0c
LL
93002012-03-16 Leo Liu <sdl.web@gmail.com>
9301
9302 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9303
6f09f6ed
AH
93042012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9305
9306 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9307 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9308
c7e73d51
GM
93092012-03-16 Glenn Morris <rgm@gnu.org>
9310
da986230
GM
9311 * view.el (view-buffer, view-buffer-other-window)
9312 (view-buffer-other-frame): Doc fixes re special mode-class.
9313
0835f01e
GM
9314 * subr.el (eval-after-load): If named feature is provided not from
9315 a file, run after-load forms. (Bug#10946)
9316
c7e73d51
GM
9317 * calendar/calendar.el (calendar-insert-at-column):
9318 Handle non-unit-width characters a bit better. (Bug#10978)
9319
3f2eafd1
CY
93202012-03-15 Chong Yidong <cyd@gnu.org>
9321
9322 * emacs-lisp/ring.el (ring-extend): New function.
9323 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9324
9325 * comint.el (comint-read-input-ring)
9326 (comint-add-to-input-history): Grow comint-input-ring lazily.
9327
103af3fe
SM
93282012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9329
663b1677
SM
9330 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9331 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9332
103af3fe
SM
9333 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9334 (imenu-add-to-menubar): Don't add a redundant index.
9335 (imenu-update-menubar): Handle a dynamically composed keymap.
9336
899cb7cb
KY
93372012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9338
9339 * mail/sendmail.el (mail-encode-header):
9340 Bind rfc2047-encode-encoded-words to nil.
9341
3809f91d
GM
93422012-03-13 Glenn Morris <rgm@gnu.org>
9343
9344 * calendar/calendar.el (calendar-string-spread):
9345 Handle non-unit-width characters a bit better. (Bug#10978)
9346
9e345a01
LL
93472012-03-13 Leo Liu <sdl.web@gmail.com>
9348
9349 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9350 directory and file as argument (Bug#10822).
9351
4a07df36
KS
93522012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9353
9354 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9355 For dynamically generated code, follow $PC.
9356 (gdb-disassembly-handler-custom): Handle no function name case.
9357
4aaa9356
TL
93582012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9359
9360 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9361 * emulation/ws-mode.el (ws-query-replace):
9362 * sort.el (sort-regexp-fields):
9363 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9364
225979da
SM
93652012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9366
9367 * dabbrev.el: Fix cycle completion order (bug#10963).
9368 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9369 (dabbrev-completion): Don't use an obarray; provide
9370 a cycle-sort-function.
9371
e2f1fdab
LL
93722012-03-12 Leo Liu <sdl.web@gmail.com>
9373
dc9924b8 9374 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9375 (kill-do-not-save-duplicates): Doc fix.
9376
b19490ed
SM
93772012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * dabbrev.el: Fix cycle completion (bug#10963).
9380 Use lexical binding and wrap to 80 columns.
9381 (dabbrev-completion): Delay computing the list of completions.
9382
4b05d722
KH
93832012-03-12 Kenichi Handa <handa@m17n.org>
9384
9385 * international/quail.el (quail-insert-kbd-layout): Surround each
9386 row by LRO and PDF instead of inserting many LRMs. Pad the left
9387 and right of each non-spacing marks. Insert invisible space
9388 between lower and upper characters to prevent composition.
9389
dbbc2e69
SM
93902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * minibuffer.el (minibuffer-complete): Don't get confused when the
9393 function is run twice via different commands (bug#10958).
9394 (complete-with-action): Fix docstring.
9395
292112ed
CY
93962012-03-12 Chong Yidong <cyd@gnu.org>
9397
5d1ac394
CY
9398 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9399 (nxml-completion-at-point-function): New function.
9400 (nxml-mode): Use it.
9401 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9402
292112ed
CY
9403 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9404 Load generated autoloads file before byte compiling (Bug#10970).
9405 (package--make-autoloads-and-compile): New helper fun.
9406
4098f8f7
CS
94072012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9408
9409 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9410
8f754691
MA
94112012-03-11 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * autorevert.el (auto-revert-handler): Ensure, that
9414 file-readable-p is applied only for local files or in
9415 auto-revert-tail-mode.
9416
e29ab36b
AS
94172012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9418
dbbc2e69
SM
9419 * server.el (server-eval-at): Handle non-tcp connections.
9420 Decode result string.
ad0bf5b6 9421
e29ab36b
AS
9422 * server.el (server-msg-size): New constant.
9423 (server-reply-print): New function.
9424 (server-eval-and-print): Use it.
9425 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9426 Handle -print-nonl.
9427
de5939ba
CS
94282012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9429
9430 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9431 (Bug#10987).
9432
0c93eabf
CY
94332012-03-11 Chong Yidong <cyd@gnu.org>
9434
397a688f
CY
9435 * simple.el (goto-line): Doc fix (Bug#9938).
9436
2cc775f9
CY
9437 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9438
0c93eabf
CY
9439 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9440 when finished (Bug#10963).
9441
c491fa41
MR
94422012-03-11 Martin Rudalics <rudalics@gmx.at>
9443
9444 * window.el (split-window-below): Fix bug in case where
9445 split-window-keep-point is nil (Bug#10971).
9446
300e8fa5
JL
94472012-03-11 Juri Linkov <juri@jurta.org>
9448
9449 * replace.el (replace-highlight): Set isearch-word to nil
9450 unconditionally. (Bug#10887)
9451
dbf6c5a1
EZ
94522012-03-10 Eli Zaretskii <eliz@gnu.org>
9453
9454 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9455 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9456 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9457 (mairix-widget-create-query): Add usage information about mairix
9458 search forms: negating words, searching for substrings, etc.
9459
b9e501de
JP
94602012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9461
9462 * international/fontset.el (font-encoding-alist): Add an entry for
9463 ksx1001 (Bug#5667).
9464
92795c91
RS
94652012-03-10 Richard Stallman <rms@gnu.org>
9466
1694e6c1
RS
9467 * mail/sendmail.el (mail-encode-header):
9468 Set rfc2047-encode-encoded-words.
9469
607e8555
RS
9470 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9471
de3bc99a
RS
9472 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9473 view buffer means not swapped.
9474 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9475 (rmail-write-region-annotate): Error if real text has disappeared.
9476
92795c91
RS
9477 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9478
699bd04e
CY
94792012-03-10 Chong Yidong <cyd@gnu.org>
9480
9481 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9482 * emulation/cua-base.el (cua--init-keymaps):
9483 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9484
570a1714
MR
94852012-03-10 Martin Rudalics <rudalics@gmx.at>
9486
dbbc2e69
SM
9487 * speedbar.el (speedbar-unhighlight-one-tag-line):
9488 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9489
82dcf4e4
CY
94902012-03-10 Chong Yidong <cyd@gnu.org>
9491
7a2c7ca7
CY
9492 * minibuffer.el (completion-in-region, completion-help-at-point):
9493 Give the completion field overlay a high priority (Bug#6830).
9494
82dcf4e4
CY
9495 * dired.el (dired-goto-file): Recognize absolute file name
9496 listings (Bug#7126).
9497 (dired-goto-file-1): New helper function.
9498 (dired-toggle-read-only): Inhibit warnings.
9499
052e28ac
MA
95002012-03-09 Michael Albinus <michael.albinus@gmx.de>
9501
75f1671a 9502 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9503 there are no properties.
9504
95d5e396
LL
95052012-03-09 Leo Liu <sdl.web@gmail.com>
9506
9507 * savehist.el (savehist-printable): Stricter check for string
9508 value (Bug#10937).
9509
3f018d6d
EZ
95102012-03-09 Eli Zaretskii <eliz@gnu.org>
9511
dbbc2e69
SM
9512 * mail/smtpmail.el (smtpmail-send-it):
9513 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9514 valid mbox format.
9515
f7fd3d79
GM
95162012-03-09 Glenn Morris <rgm@gnu.org>
9517
9518 * files.el (dir-locals-find-file):
9519 Don't check result is regular, readable.
9520 (dir-locals-read-from-file): Demote errors.
9521
6ff6e72f
EZ
95222012-03-08 Eli Zaretskii <eliz@gnu.org>
9523
dbbc2e69
SM
9524 * international/quail.el (quail-insert-kbd-layout):
9525 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9526 layout cell, to prevent their reordering by bidi display engine.
9527 For details, see the discussion in
9528 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9529
9cec7834
AM
95302012-03-08 Alan Mackenzie <acm@muc.de>
9531
9532 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9533 the starting position; make it extend the marked region when
9534 invoked repeatedly - all under appropriate circumstances.
9535 Fixes bugs #5525, #10906.
9536
9a40b8d4
GM
95372012-03-08 Glenn Morris <rgm@gnu.org>
9538
9539 * files.el (locate-dominating-file, dir-locals-find-file):
9540 Undo 2012-03-06 change.
9541
7a08ed35
EZ
95422012-03-07 Eli Zaretskii <eliz@gnu.org>
9543
dbbc2e69
SM
9544 * international/quail.el (quail-help):
9545 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9546 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9547 for the reason.
9548
5aca4f71 95492012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9550
9551 Avoid superfluous registering of signals. (Bug#10807)
9552
9553 * notifications.el (notifications-on-action-object)
9554 (notifications-on-close-object): New defvars.
9555 (notifications-on-action-signal, notifications-on-closed-signal):
9556 Unregister the signal if not needed any longer.
9557 (notifications-notify): Register `notifications-action-signal' or
9558 `notifications-closed-signal', if :on-action or :on-close has been
9559 passed as argument.
9560
78e8b10a
CY
95612012-03-07 Chong Yidong <cyd@gnu.org>
9562
9563 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9564 non-X platforms.
9565
69481eb8
GM
95662012-03-06 Glenn Morris <rgm@gnu.org>
9567
9568 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9569 (x-disown-selection-internal, x-get-selection-internal):
9570 Doc fix (add arglist signatures). (Bug#10783)
9571
133b8e11
KS
95722012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9573
9574 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9575 Handle breakpoints with no "type".
9576
99a83064
GM
95772012-03-06 Glenn Morris <rgm@gnu.org>
9578
9579 * files.el (locate-dominating-file): Add optional predicate argument.
9580 (dir-locals-find-file): Make use of above change.
9581
17798e78
TTN
95822012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9583
9584 * info.el (Info-insert-dir): Also try "dir.gz".
9585
eb182446
GM
95862012-03-06 Glenn Morris <rgm@gnu.org>
9587
8f2114ee
GM
9588 * files.el (dir-locals-find-file):
9589 Ignore non-readable or non-regular files. (Bug#10928)
9590
eb182446
GM
9591 * files.el (locate-dominating-file): Doc fix.
9592
24679323
AS
95932012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9594
9595 * calendar/calendar.el (calendar-set-mode-line):
9596 `getenv' returns a string. (Bug#10951)
9597
01d972a9
LL
95982012-03-05 Leo Liu <sdl.web@gmail.com>
9599
109aa8a9
LL
9600 * simple.el (backward-delete-char-untabify): Constrain point to
9601 field (Bug#10939).
9602
01d972a9
LL
9603 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9604
10607bea
CY
96052012-03-05 Chong Yidong <cyd@gnu.org>
9606
9607 * simple.el (count-words): If called from Lisp, return the word
9608 count, for symmetry with `count-lines'. Arglist changed.
9609 (count-words--message): Args changed. Consolidate counting code
9610 from count-words and count-words-region.
9611 (count-words-region): Caller changed.
9612 (count-lines-region): Make it an obsolete alias.
9613
5dd11cfe
TH
96142012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9615
9616 * saveplace.el (save-place-to-alist)
9617 (save-place-ignore-files-regexp): Allow value nil to disable this
9618 feature.
9619
c349f4e6
CY
96202012-03-04 Chong Yidong <cyd@gnu.org>
9621
9622 * faces.el (face-spec-reset-face): For the default face, reset the
9623 attributes to default values (Bug#10748).
9624
e627be4c
LMI
96252012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9626
9627 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9628 previous patch: Check `message-send-mail-function', and not the
9629 default function (bug#10897).
9630
ebeabff4
MA
96312012-03-04 Michael Albinus <michael.albinus@gmx.de>
9632
a41a6cf4
MA
9633 * notifications.el (notifications-on-action-signal)
9634 (notifications-on-closed-signal): Check for unique service name of
9635 incoming event. Fix error in removing entry.
ebeabff4 9636 (top): Register for signals with wildcard service name.
a41a6cf4 9637 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9638
c1ca42b4
CY
96392012-03-04 Chong Yidong <cyd@gnu.org>
9640
dc9924b8 9641 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9642
ea16568d
GM
96432012-03-04 Glenn Morris <rgm@gnu.org>
9644
9645 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9646 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9647 (expand-abbrev, define-abbrev-table): Doc fixes.
9648
fbae4637
LMI
96492012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9650
9651 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9652 `message-default-send-mail-function' and not `send-mail-function'
9653 when doing the prompting for `sendmail-query-once' before sending
9654 in Message buffers (bug#10897).
9655
a1e7225c
LMI
9656 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9657 This is inconsistent with all the other stream functions, which leave
9658 the setting up to the higher levels (if so wanted) (bug#10931).
9659
56d093a9
AM
96602012-03-02 Alan Mackenzie <acm@muc.de>
9661
9662 Depessimize the handling of very large macros.
9663
9664 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9665 (c-macro-cache-syntactic): New variables to implement a one
9666 element macro cache.
9667 (c-invalidate-macro-cache): New function.
9668 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9669 Adapt to use the new cache.
9670 (c-state-safe-place): Use better the cache of safe positions.
9671 (c-state-semi-nonlit-pos-cache)
9672 (c-state-semi-nonlit-pos-cache-limit):
9673 New variables for...
9674 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9675 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9676 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9677 Use c-state-semi-safe-place.
56d093a9 9678
dbbc2e69
SM
9679 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9680 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9681
817e5c3d
MA
96822012-03-02 Michael Albinus <michael.albinus@gmx.de>
9683
dbbc2e69
SM
9684 * jka-compr.el (jka-compr-call-process):
9685 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9686 not remote.
9687
a032a702
MA
96882012-03-01 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9691 access of FILE2, if FILE1 does not exist.
9692
99a54f21
MA
9693 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9694 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9695
9696 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9697 Add "PAGER=" to `process-environment'.
9698
f6561e1f
MM
96992012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9700
9701 * progmodes/sql.el: Bug fix
9702 (sql-get-login-ext): Save login values in globals.
9703 (sql-get-login): Use new version of `sql-get-login-ext'.
9704 (sql-interactive-mode): Set global `sql-connection' to nil.
9705 (sql-connect): Set global values for connection.
9706 (sql-product-interactive): Save global values as buffer local.
9707
2d44d9cc
LL
97082012-02-29 Leo Liu <sdl.web@gmail.com>
9709
9710 * abbrev.el (define-abbrevs): Reset sys to nil.
9711
96b49301 97122012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9713
bf7f9bc5
JB
9714 * files.el (file-equal-p): Rename from `files-equal-p'.
9715 Return nil when one or both files don't exist.
96b49301 9716 (file-subdir-of-p): Now only top directory must exists,
9717 return nil if it doesn't.
bf7f9bc5
JB
9718 (copy-directory): No need to test with `file-subdir-of-p' after
9719 creating dir.
9720 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9721 to `file-equal-p'.
96b49301 9722
44e97401
GM
97232012-02-28 Glenn Morris <rgm@gnu.org>
9724
9725 * shell.el (shell-mode):
9726 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9727 * play/landmark.el (landmark-font-lock-face-O):
9728 * play/handwrite.el (handwrite):
9729 * play/gomoku.el (gomoku-O):
9730 * net/browse-url.el (browse-url-browser-display):
9731 * international/mule.el (define-charset):
9732 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9733 * filesets.el (filesets-find-file-delay):
9734 * eshell/em-xtra.el (eshell-xtra):
9735 * eshell/em-unix.el (eshell-grep):
9736 * emulation/viper.el (viper-mode):
9737 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9738 * emacs-lisp/easymenu.el (easy-menu-define):
9739 * calendar/timeclock.el (timeclock-use-display-time):
9740 * bs.el (bs-mode):
9741 * bookmark.el (bookmark-save-flag):
9742 Doc fix (standardize possessive apostrophe usage).
9743
c98c6276
CY
97442012-02-27 Chong Yidong <cyd@gnu.org>
9745
bf7f9bc5
JB
9746 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9747 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9748
c98c6276
CY
9749 * font-lock.el (font-lock-specified-p): Rename from
9750 font-lock-spec-present. Callers changed.
9751
9c62cd04 97522012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9753
bf7f9bc5
JB
9754 * emacs-lisp/package.el (package-compute-transaction):
9755 Handle holding a package version to t in package-load-list.
8ac9e529 9756
530739c9
MA
97572012-02-26 Michael Albinus <michael.albinus@gmx.de>
9758
9759 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9760 (tramp-get-inode, tramp-get-device): Use cached values.
9761
487915d7
AM
97622012-02-26 Alan Mackenzie <acm@muc.de>
9763
9764 Check there is a font-lock specification before doing initial
9765 fontification.
9766
9767 * font-core.el (font-lock-mode): Move the conditional from
9768 :after-hook to font-lock-initial-fontify.
9769 (font-lock-default-function): Move the check for a specification
9770 to font-lock-spec-present.
9771
dc9924b8 9772 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9773 (font-lock-spec-present): New function.
9774
4fd96557
JB
97752012-02-26 Jim Blandy <jimb@red-bean.com>
9776
9777 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9778 (gdb-send): Apply it to the operand of the '-interpreter-exec
9779 console' command, so that we can pass arguments with (say) quotes
9780 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9781
9a4888c0
CY
97822012-02-26 Chong Yidong <cyd@gnu.org>
9783
07498861
CY
9784 * help-fns.el (describe-function-1): Clarify description of
9785 remapping (Bug#10844).
9786
9a4888c0
CY
9787 * files.el (files-equal-p): Doc fix.
9788 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9789 and quit the loop once a mismatch is found.
9790
ea8fb88d
JB
97912012-02-25 Juanma Barranquero <lekktu@gmail.com>
9792
9793 * bs.el (bs--show-with-configuration): Don't throw an error
9794 if the window cannot be split; otherwise, subsequent calls to
9795 bs-show fail, restoring a stale window config. (Bug#10882)
9796
525795c1
JD
97972012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9798
9799 * term/ns-win.el (global-map): Bind ns-drag-file to
9800 ns-find-file (Bug#5855, Bug#10050).
9801
f008086f
AS
98022012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9803
9804 * calendar/parse-time.el (parse-time-string): Allow extractor to
9805 return nil.
9806
a3fcfa99
MA
98072012-02-25 Michael Albinus <michael.albinus@gmx.de>
9808
91027d08
JB
9809 * net/tramp.el (tramp-file-name-for-operation):
9810 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9811
9812 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9813 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9814 Add COPY-CONTENTS argument.
a3fcfa99 9815
67b0de11
CY
98162012-02-25 Chong Yidong <cyd@gnu.org>
9817
9818 Add custom groups for VC backends, for consistency with vc-bzr.
9819
9820 * vc/vc-arch.el (vc-arch):
9821 * vc/vc-cvs.el (vc-cvs):
9822 * vc/vc-git.el (vc-git):
9823 * vc/vc-hg.el (vc-hg):
9824 * vc/vc-mtn.el (vc-mtn):
9825 * vc/vc-rcs.el (vc-rcs):
9826 * vc/vc-sccs.el (vc-sccs):
9827 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9828 All relevant defcustoms reassigned.
9829
3c9dfce6
CY
98302012-02-25 Chong Yidong <cyd@gnu.org>
9831
1339bf43
CY
9832 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9833
3c9dfce6
CY
9834 * term/x-win.el (x-initialize-window-system): Reduce default for
9835 x-selection-timeout to 5 seconds (Bug#8869).
9836
25b2e303 98372012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9838
ec70a47d
GM
9839 * files.el (files-equal-p, file-subdir-of-p): New functions.
9840 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9841 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9842 * dired-aux.el (dired-copy-file-recursive): Same.
9843 (dired-create-files): Modify destination when source is equal to
9844 dest when copying files.
53a46cd0 9845 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9846
914260cd
MA
98472012-02-24 Michael Albinus <michael.albinus@gmx.de>
9848
9849 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9850 (Bug#10874)
9851
2cb228f7
AM
98522012-02-23 Alan Mackenzie <acm@muc.de>
9853
9854 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9855 parameter "after-hook:" to allow the expansion to run code after
9856 the execution of the mode hooks.
9857
9858 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9859 from font-lock-mode-internal.
2cb228f7 9860
91027d08 9861 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9862 :after-hook.
9863
8f0fde21
SM
98642012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9865
3e88618b
SM
9866 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9867 (completion--cache-all-sorted-completions): New function.
9868 (completion-all-sorted-completions): Use it.
9869 (completion--do-completion, minibuffer-force-complete):
9870 Use it to re-instate the flush hook.
9871
8f0fde21
SM
9872 * icomplete.el (icomplete-completions): Replace last fix with a better
9873 one (bug#10850).
9874
8e911f6f
DG
98752012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9876
9877 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9878 when it might call us back infinitely (bug#10797).
9879
49fe4321
GM
98802012-02-23 Glenn Morris <rgm@gnu.org>
9881
9882 * minibuffer.el (completion-category-overrides): Doc fix.
9883
b291b572
SM
98842012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9885
9886 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9887 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9888
31a9ef2e
GM
98892012-02-23 Glenn Morris <rgm@gnu.org>
9890
5e6e6794 9891 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9892 (authors-obsolete-files-regexps, authors-ignored-files)
9893 (authors-ambiguous-files, authors-renamed-files-alist):
9894 Add more entries.
9895
0bd1e074
JL
98962012-02-23 Juri Linkov <juri@jurta.org>
9897
9898 * isearch.el (isearch-occur): Sync interactive spec with occur's
9899 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9900
b617673c
JL
9901 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9902
19e9789e
JL
99032012-02-22 Juri Linkov <juri@jurta.org>
9904
9905 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9906 (ucs-insert): Doc fix. Check for hex digits in the string.
9907 Don't display `nil' in the error message. (Bug#10857)
9908
f41ce09d
AM
99092012-02-22 Alan Mackenzie <acm@muc.de>
9910
7a71b18d 9911 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9912
ac2eceee
GM
99132012-02-22 Glenn Morris <rgm@gnu.org>
9914
9915 * ffap.el (ffap-c-path):
9916 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9917
abd1f678
CY
99182012-02-22 Chong Yidong <cyd@gnu.org>
9919
9920 * custom.el (load-theme): Doc fix.
9921
f25aef2e
GM
99222012-02-22 Glenn Morris <rgm@gnu.org>
9923
9924 * dired-x.el (dired-guess-shell-alist-default):
9925 Remove escape sequences from nroff output. (Bug#172)
9926
5f8dc2ca
GM
99272012-02-21 Glenn Morris <rgm@gnu.org>
9928
6ff86ec4
GM
9929 * vc/emerge.el (emerge-defvar-local):
9930 Set `permanent-local' property rather than unused `preserved'.
9931
be3223a3 9932 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9933 (picture-mode-map): Use it. (Bug#10860)
9934 (picture-mode): Doc fix.
9935
3fe58f4f
JB
99362012-02-21 Juanma Barranquero <lekktu@gmail.com>
9937
9938 * newcomment.el (uncomment-region-default): Remove unused binding.
9939
f9a998c3
GM
99402012-02-21 Glenn Morris <rgm@gnu.org>
9941
9942 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9943 (picture-self-insert, picture-tab-chars): Doc fix.
9944 (picture-mode-map): Fix C-a, C-e.
9945
c6029348
GM
99462012-02-20 Glenn Morris <rgm@gnu.org>
9947
9948 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9949
ab1ce9d7
LL
99502012-02-20 Leo Liu <sdl.web@gmail.com>
9951
9952 * icomplete.el (icomplete-completions): Check FROM arg before
9953 passing to substring (Bug#10850).
9954
0fd40f89
CY
99552012-02-19 Chong Yidong <cyd@gnu.org>
9956
9957 * comint.el: Require ansi-color.
9958 (comint-output-filter-functions): Add ansi-color-process-output.
9959
9960 * ansi-color.el: Don't set comint-output-filter-functions; it is
9961 now in the initial value defined in comint.el.
9962 (ansi-color-apply-face-function): New variable.
9963 (ansi-color-apply-on-region): Use it.
9964 (ansi-color-apply-overlay-face): New function.
9965
9966 * shell.el (shell): No need to require ansi-color.
9967 (shell-mode): Use ansi-color-apply-face-function to highlight
9968 color escapes using font-lock-face property (Bug#10835).
9969
20af2394
CY
99702012-02-19 Chong Yidong <cyd@gnu.org>
9971
9972 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9973 mode-line formats (Bug#10839).
9974
e23a3fbe
GM
99752012-02-18 Glenn Morris <rgm@gnu.org>
9976
b474519e
GM
9977 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9978
9979 * mail/undigest.el (unforward-rmail-message): Doc fix.
9980
e23a3fbe
GM
9981 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9982
57939ff4
EZ
99832012-02-18 Eli Zaretskii <eliz@gnu.org>
9984
9985 * international/characters.el (script-list): Sync with the latest
9986 Unicode Character Database.
9987
0c23686e
AS
99882012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9989
9990 * international/titdic-cnv.el: Remove duplicate coding tag.
9991 * language/cham.el: Likewise.
9992 * language/tai-viet.el: Likewise.
9993
6818b449
GM
99942012-02-18 Glenn Morris <rgm@gnu.org>
9995
9996 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9997 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9998 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9999 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10000 * calendar/holidays.el (holiday-bahai-holidays)
10001 (calendar-holidays, list-holidays):
10002 Use utf-8 Bahá'í in doc-strings, menus, etc.
10003
0311a3fc
TH
100042012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10005
10006 * saveplace.el (save-place-ignore-files-regexp): New variable
10007 allowing for excluding files from saving their location of point.
10008 The default value matches the temporary commit message editing
10009 files from Git, SVN, Bazaar, and Mercurial.
10010 (save-place-to-alist): Use it.
10011
d209e2fb 100122012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10013 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10014
10015 * newcomment.el (uncomment-region-default): Don't leave extra space
10016 when an arg is provided (bug#8150).
10017
ee0ce425
TZ
100182012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10019
eb864a71 10020 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10021
95ddf442
GM
100222012-02-17 Glenn Morris <rgm@gnu.org>
10023
10024 * net/socks.el: Require network-stream. (Bug#10599)
10025
48dd1e39 100262012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10027
10028 * international/charprop.el:
10029 * international/uni-name.el:
10030 * international/uni-old-name.el:
10031 * international/uni-comment.el: Regenerate.
10032
d68cd087
GM
100332012-02-16 Glenn Morris <rgm@gnu.org>
10034
10035 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10036 Interactively in calendar buffer, give an error if not on a date.
10037
13932042
GM
100382012-02-15 Glenn Morris <rgm@gnu.org>
10039
10040 * shell.el (shell-delimiter-argument-list):
10041 Revert 2011-02-17 change. (Bug#8027)
10042
c3a70e2b
CY
100432012-02-15 Chong Yidong <cyd@gnu.org>
10044
60236b0d
CY
10045 * minibuffer.el (completion-at-point-functions): Doc fix.
10046
c3a70e2b
CY
10047 * custom.el (defcustom): Doc fix; note use of defvar.
10048
9f26dc24
GM
100492012-02-15 Glenn Morris <rgm@gnu.org>
10050
10051 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10052 Doc fixes.
10053
6546b134
GM
100542012-02-14 Glenn Morris <rgm@gnu.org>
10055
10056 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10057
d29b2b4c
LI
100582012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10059
10060 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10061 way the ports list is computed.
835bdcba
LI
10062 (smtpmail-query-smtp-server): Prompt the user for a port number if
10063 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10064
08dcdbc9
TZ
100652012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10066
10067 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10068
2605051a
GM
100692012-02-13 Glenn Morris <rgm@gnu.org>
10070
10071 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10072
7ee99f32
TZ
100732012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10074
10075 * net/gnutls.el (gnutls-trustfiles): New variable.
10076 (gnutls-negotiate): Use it.
10077
5f0af64f
LI
100782012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10079
10080 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10081 does its stuff if Gnus is running.
10082
c14fcc95
AM
100832012-02-13 Alan Mackenzie <acm@muc.de>
10084
10085 Fix a loop in c-set-fl-decl-start.
10086
7a71b18d 10087 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10088 c-backward-syntactic-ws actually moves backwards.
10089
142b4d90
LL
100902012-02-13 Leo Liu <sdl.web@gmail.com>
10091
10092 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10093 beginning so that all \C-o chars are removed.
10094
fa9958a6
TZ
100952012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10096
dc9924b8 10097 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10098
0bc5886a
AM
100992012-02-12 Alan Mackenzie <acm@muc.de>
10100
10101 Fix infinite loop with long macros.
4d6769e1 10102 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10103
d4bd55e7
CY
101042012-02-12 Chong Yidong <cyd@gnu.org>
10105
10106 * window.el (display-buffer): Doc fix (Bug#10785).
10107
66f3fe22
GM
101082012-02-12 Glenn Morris <rgm@gnu.org>
10109
bd7da63e
GM
10110 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10111 (x-disown-selection-internal, x-get-selection-internal):
10112 Sync docs with the xselect.c versions.
10113
66f3fe22
GM
10114 * allout-widgets.el: Add missing license notice.
10115
3e0d2fa7
GM
101162012-02-11 Glenn Morris <rgm@gnu.org>
10117
cfecdf09
GM
10118 * select.el (x-get-selection-internal, x-own-selection-internal)
10119 (x-disown-selection-internal):
10120 * x-dnd.el (x-get-selection-internal): Update declarations.
10121
6d216d7f
GM
10122 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10123
2bed3f04
GM
10124 * window.el (window-sides-slots):
10125 * tool-bar.el (tool-bar-position):
10126 * term/xterm.el (xterm-extra-capabilities):
10127 * ses.el (ses-self-reference-early-detection):
10128 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10129 (verilog-auto-wire-type)
10130 (verilog-auto-delete-trailing-whitespace)
10131 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10132 (verilog-auto-tieoff-declaration):
10133 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10134 (sql-oracle-statement-starters, sql-oracle-scan-on):
10135 * progmodes/prolog.el (prolog-align-comments-flag)
10136 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10137 (prolog-left-indent-regexp, prolog-paren-indent-p)
10138 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10139 (prolog-types, prolog-mode-specificators)
10140 (prolog-determinism-specificators, prolog-directives)
10141 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10142 (prolog-electric-dot-flag)
10143 (prolog-electric-dot-full-predicate-template)
10144 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10145 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10146 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10147 (prolog-program-switches, prolog-prompt-regexp)
10148 (prolog-debug-on-string, prolog-debug-off-string)
10149 (prolog-trace-on-string, prolog-trace-off-string)
10150 (prolog-zip-on-string, prolog-zip-off-string)
10151 (prolog-use-standard-consult-compile-method-flag)
10152 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10153 (prolog-imenu-max-lines, prolog-info-predicate-index)
10154 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10155 (prolog-char-quote-workaround):
10156 * progmodes/cc-vars.el (c-defun-tactic):
10157 * net/tramp.el (tramp-encoding-command-interactive)
10158 (tramp-local-end-of-line):
10159 * net/soap-client.el (soap-client):
10160 * net/netrc.el (netrc-file):
10161 * net/gnutls.el (gnutls):
10162 * minibuffer.el (completion-category-overrides)
10163 (completion-cycle-threshold)
10164 (completion-pcm-complete-word-inserts-delimiters):
10165 * man.el (Man-name-local-regexp):
10166 * mail/feedmail.el (feedmail-display-full-frame):
10167 * international/characters.el (glyphless-char-display-control):
10168 * eshell/em-ls.el (eshell-ls-date-format):
10169 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10170 (lisp-lambda-list-keyword-parameter-indentation)
10171 (lisp-lambda-list-keyword-parameter-alignment):
10172 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10173 * dired-x.el (dired-omit-verbose):
10174 * cus-theme.el (custom-theme-allow-multiple-selections):
10175 * calc/calc.el (calc-highlight-selections-with-faces)
10176 (calc-lu-field-reference, calc-lu-power-reference)
10177 (calc-note-threshold):
10178 * battery.el (battery-mode-line-limit):
10179 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10180 (archive-7z-update):
10181 * allout.el (allout-prefixed-keybindings)
10182 (allout-unprefixed-keybindings)
10183 (allout-inhibit-auto-fill-on-headline)
10184 (allout-flattened-numbering-abbreviation):
10185 * allout-widgets.el (allout-widgets-auto-activation)
10186 (allout-widgets-icons-dark-subdir)
10187 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10188 (allout-widgets-theme-dark-background)
10189 (allout-widgets-theme-light-background)
10190 (allout-widgets-item-image-properties-emacs)
10191 (allout-widgets-item-image-properties-xemacs)
10192 (allout-widgets-run-unit-tests-on-load)
10193 (allout-widgets-time-decoration-activity)
10194 (allout-widgets-hook-error-post-time)
10195 (allout-widgets-track-decoration):
10196 Add missing :version tags to new defcustoms and defgroups.
10197
5fec1b8e
GM
10198 * progmodes/sql.el (sql-ansi-statement-starters)
10199 (sql-oracle-statement-starters): Add custom type.
10200
3e0d2fa7
GM
10201 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10202 (prolog-system-version): Give it a type.
10203
90b671e2
EZ
102042012-02-11 Eli Zaretskii <eliz@gnu.org>
10205
10206 * term/pc-win.el (x-select-text, x-selection-owner-p)
10207 (x-own-selection-internal, x-disown-selection-internal)
10208 (x-get-selection-internal): Sync doc strings and argument lists
10209 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10210
5eac0c02
LL
102112012-02-11 Leo Liu <sdl.web@gmail.com>
10212
10213 * progmodes/python.el (python-end-of-statement): Fix infinite
10214 loop. (Bug#10788)
10215
f82cb659
GM
102162012-02-10 Glenn Morris <rgm@gnu.org>
10217
10218 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10219 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10220
cc26d239
LI
102212012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10222
10223 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10224 about SMTP before checking the From header.
10225
91027d08 10226 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10227 into own function for reuse by emacsbug.el.
10228
1be3ca5a
LL
102292012-02-10 Leo Liu <sdl.web@gmail.com>
10230
10231 * subr.el (condition-case-unless-debug): Rename from
10232 condition-case-no-debug. All callers changed.
10233 (with-demoted-errors): Fix caller.
10234
10235 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10236 * nxml/rng-valid.el (rng-do-some-validation):
10237 * emacs-lisp/package.el (package-refresh-contents)
10238 (package-menu-execute):
10239 * desktop.el (desktop-create-buffer):
91027d08 10240 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10241
b011fbfe
GM
102422012-02-10 Glenn Morris <rgm@gnu.org>
10243
b2096d72
GM
10244 * textmodes/bibtex.el:
10245 Add missing :version tags for new/changed defcustoms.
10246
b011fbfe
GM
10247 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10248
4c7e65bf
LI
102492012-02-09 Lars Ingebrigtsen <larsi@rusty>
10250
10251 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10252 (smtpmail-via-smtp): Use it, or fall back on the From address.
10253 (smtpmail-send-it): Ditto.
10254
f3934f6f
SM
102552012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10258 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10259 (byte-compile-tmp-var): New const.
10260 (byte-compile-defvar): Use it to minimize .elc size.
10261 Just use `defvar' rather than simulate it (bug#10761).
10262
a075a2c5
GM
102632012-02-09 Glenn Morris <rgm@gnu.org>
10264
cf3aa21b
GM
10265 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10266
354998cd
GM
10267 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10268 Add :version tags.
10269
dc9924b8
SM
10270 * progmodes/compile.el (compilation-error-screen-columns)
10271 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10272
dab3703d
GM
10273 * vc/log-view.el (log-view-toggle-entry-display):
10274 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10275
3f88cd72
GM
10276 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10277 (report-emacs-bug-can-use-xdg-email):
10278 (report-emacs-bug-insert-to-mailer): Doc fixes.
10279 (report-emacs-bug): Message fix.
10280
d95b247d
GM
10281 * net/browse-url.el (browse-url-can-use-xdg-open)
10282 (browse-url-xdg-open): Doc fixes.
10283
a075a2c5
GM
10284 * electric.el (electric-indent-mode, electric-pair-mode)
10285 (electric-layout-rules, electric-layout-mode): Doc fixes.
10286 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10287
ffb6157e
MR
102882012-02-08 Martin Rudalics <rudalics@gmx.at>
10289
10290 * server.el (server-unselect-display): Don't inadvertently kill
10291 the current buffer. (Bug#10729)
10292
e1ac4066
GM
102932012-02-08 Glenn Morris <rgm@gnu.org>
10294
34e8a2da
GM
10295 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10296 (sql-list-table): Doc fixes.
10297
b4ac6e8c
GM
10298 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10299 Comment out (does nothing).
10300
e1ac4066
GM
10301 * completion.el (dynamic-completion-mode):
10302 * dirtrack.el (dirtrack-debug-mode):
10303 * electric.el (electric-layout-mode):
10304 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10305 * face-remap.el (text-scale-mode, buffer-face-mode):
10306 * iimage.el (iimage-mode):
10307 * image-mode.el (image-transform-mode):
10308 * minibuffer.el (completion-in-region-mode):
10309 * scroll-lock.el (scroll-lock-mode):
10310 * simple.el (next-error-follow-minor-mode):
10311 * tar-mode.el (tar-subfile-mode):
10312 * tooltip.el (tooltip-mode):
10313 * vcursor.el (vcursor-use-vcursor-map):
10314 * wid-browse.el (widget-minor-mode):
10315 * emulation/tpu-edt.el (tpu-edt-mode):
10316 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10317 * international/iso-ascii.el (iso-ascii-mode):
10318 * language/thai-util.el (thai-word-mode):
10319 * mail/supercite.el (sc-minor-mode):
10320 * net/goto-addr.el (goto-address-mode):
10321 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10322 * progmodes/cwarn.el (cwarn-mode):
10323 * progmodes/flymake.el (flymake-mode):
10324 * progmodes/glasses.el (glasses-mode):
10325 * progmodes/hideshow.el (hs-minor-mode):
10326 * progmodes/pascal.el (pascal-outline-mode):
10327 * textmodes/enriched.el (enriched-mode):
10328 * vc/smerge-mode.el (smerge-mode):
10329 Doc fixes (minor mode argument).
10330
5e0d957f
EZ
103312012-02-07 Eli Zaretskii <eliz@gnu.org>
10332
10333 * ls-lisp.el (ls-lisp-sanitize): New function.
10334 (ls-lisp-insert-directory): Use it to fix or remove any elements
10335 in file-alist with missing attributes. (Bug#4673)
10336
98d7371e
AM
103372012-02-07 Alan Mackenzie <acm@muc.de>
10338
10339 Fix spurious recognition of c-in-knr-argdecl.
10340
10341 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10342 putative K&R region.
10343
667ced3a
AM
103442012-02-07 Alan Mackenzie <acm@muc.de>
10345
eb864a71
LM
10346 * progmodes/cc-engine.el (c-forward-objc-directive):
10347 Prevent looping in "#pragma mark @implementation".
667ced3a 10348
5b77774d
MA
103492012-02-07 Michael Albinus <michael.albinus@gmx.de>
10350
10351 * notifications.el (notifications-on-closed-signal): Make `reason'
10352 optional. (Bug#10744)
10353
af008560
GM
103542012-02-07 Glenn Morris <rgm@gnu.org>
10355
60d47423
GM
10356 * emacs-lisp/easy-mmode.el (define-minor-mode):
10357 Doc fixes for the macro and the mode it defines.
10358
dd605cc4
GM
10359 * image.el (imagemagick-types-inhibit): Doc fix.
10360
af008560
GM
10361 * cus-start.el (imagemagick-render-type): Add it.
10362
5cc59a37
LI
103632012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10364
4d6769e1
JB
10365 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10366 Set the default at load time, too, so that `font-lock-fontify-buffer'
10367 can be called without setting up the entire mode first. This fixes
10368 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10369
9a6dd747
CY
103702012-02-06 Chong Yidong <cyd@gnu.org>
10371
2d16b285
CY
10372 * simple.el (list-processes--refresh): Delete exited processes
10373 (Bug#8094).
10374
171e9b6e
CY
10375 * comint.el (comint-next-prompt): next-single-char-property-change
10376 and prev-single-char-property-change never return nil (Bug#8657).
10377
9a6dd747
CY
10378 * custom.el (defcustom): Doc fix (Bug#9711).
10379
aa4589a7
CY
103802012-02-05 Chong Yidong <cyd@gnu.org>
10381
5c2a252f
CY
10382 * cus-edit.el (custom-variable-reset-backup): Quote the value
10383 before storing it in the customized-value property (Bug#6712).
4aab9006 10384 (custom-display): Add a customization type tag.
983b9602 10385 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10386
aa4589a7
CY
10387 * wid-edit.el (widget-field-value-get): New optional arg to
10388 suppress trailing whitespace truncation.
10389 (character): Use it (Bug#2689).
10390
1ff980ae
AS
103912012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10392
10393 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10394 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10395
03988c98
CY
103962012-02-05 Chong Yidong <cyd@gnu.org>
10397
eeb6cc88
CY
10398 * cus-edit.el (custom-variable-value-create): For mismatched
10399 types, show the current value (Bug#7600).
10400
03988c98
CY
10401 * custom.el (defcustom): Doc fix.
10402
f8cdeef0
GM
104032012-02-05 Glenn Morris <rgm@gnu.org>
10404
10405 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10406
0696d255
JB
104072012-02-05 Juanma Barranquero <lekktu@gmail.com>
10408
10409 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10410 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10411 (pp-last-sexp): Use `looking-at-p'.
10412
34c99998
GM
104132012-02-04 Glenn Morris <rgm@gnu.org>
10414
8f05da42
GM
10415 * files.el (revert-buffer):
10416 Doc fix (mention revert-buffer-in-progress-p).
10417
f160676e
GM
10418 * emacs-lisp/ert-x.el (ert-simulate-command):
10419 Check deferred-action-list (which is obsolete) is bound.
10420
c7291ad9
GM
10421 * subr.el (with-wrapper-hook): Doc fixes.
10422
34c99998
GM
10423 * simple.el (filter-buffer-substring-functions)
10424 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10425
6283a7d3
LL
104262012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10427
10428 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10429 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10430
e96e3013
LL
104312012-02-04 Leo Liu <sdl.web@gmail.com>
10432
10433 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10434
8ded50f2
GM
104352012-02-04 Glenn Morris <rgm@gnu.org>
10436
82ff1d13
GM
10437 * image.el (image-extension-data): Add obsolete alias.
10438
987a0a16
GM
10439 * isearch.el (isearch-update): Doc fix.
10440
ea32ef46
GM
10441 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10442
8ded50f2
GM
10443 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10444
eea14f31
GM
104452012-02-03 Glenn Morris <rgm@gnu.org>
10446
10447 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10448 (image-animate-timeout): Doc fix.
10449
10450 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10451
12f381b7
GM
104522012-02-02 Glenn Morris <rgm@gnu.org>
10453
953cebf5
GM
10454 * server.el (server-auth-dir): Doc fix.
10455 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10456
12f381b7
GM
10457 * subr.el (run-mode-hooks): Doc fix.
10458
953a8c3b
JL
104592012-02-02 Juri Linkov <juri@jurta.org>
10460
10461 * image-mode.el (image-toggle-display-image): Remove tautological
10462 `major-mode' from the `derived-mode-p' test.
10463
c5d3843c
KH
104642012-02-02 Kenichi Handa <handa@m17n.org>
10465
9f6e692e 10466 * composite.el (compose-region): Cancel previous change.
c5d3843c 10467
159462d4 104682012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10469
10470 * composite.el (compose-region, compose-string): Signal error for
10471 a null string component (Bug#6988).
10472
9f562668
CY
104732012-02-01 Chong Yidong <cyd@gnu.org>
10474
e2cef717
CY
10475 * view.el (view-buffer-other-window, view-buffer-other-frame):
10476 Handle special modes like view-buffer (Bug#10650).
10477 (view-buffer): Simplify.
10478
9f562668
CY
10479 * frame.el (set-frame-font): Tweak meaning of third argument.
10480
9f6e692e
JB
10481 * dynamic-setting.el (font-setting-change-default-font):
10482 Use set-frame-font (Bug#9982).
9f562668 10483
781acb9f
GM
104842012-02-01 Glenn Morris <rgm@gnu.org>
10485
6035be52
GM
10486 * progmodes/compile.el (compilation-internal-error-properties):
10487 Respect compilation-first-column in the "*compilation*" buffer.
10488
781acb9f
GM
10489 * emacs-lisp/easy-mmode.el (define-minor-mode):
10490 Relax :variable's test for a named function.
10491
abbceb00
AM
104922012-01-31 Alan Mackenzie <acm@muc.de>
10493
10494 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10495 off by one error.
10496
fce3fdeb
CY
104972012-01-31 Chong Yidong <cyd@gnu.org>
10498
10499 * frame.el (set-frame-font): New arg ALL-FRAMES.
10500
10501 * menu-bar.el (menu-set-font): Use set-frame-font.
10502
10503 * faces.el (face-spec-reset-face): Don't apply unspecified
10504 attribute values to the default face.
10505
47893581
JB
105062012-01-31 Juanma Barranquero <lekktu@gmail.com>
10507
10508 * progmodes/cwarn.el (cwarn): Remove dead link.
10509 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10510 Remove * from defcustom docstrings.
10511 (turn-on-cwarn-mode): Make obsolete.
10512 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10513 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10514
e58e988a
GM
105152012-01-31 Glenn Morris <rgm@gnu.org>
10516
60dc2671 10517 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10518 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10519 Allow named functions to be used as the cdr of :variable.
e58e988a 10520
7a3f511d
GM
105212012-01-30 Glenn Morris <rgm@gnu.org>
10522
10523 * emacs-lisp/authors.el (authors-fixed-entries):
10524 Remove reference to deleted file rnewspost.el.
10525
cb882333
JB
105262012-01-29 Juanma Barranquero <lekktu@gmail.com>
10527
10528 * window.el (window-with-parameter): Remove unused variable `windows'.
10529 (window--side-check): Remove unused variable `code'.
10530 (window--resize-siblings): Remove unused variable `first'.
10531 (adjust-window-trailing-edge): Remove unused variable `failed'.
10532 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10533 Use `let', not `let*'.
10534 (balance-windows-2): Remove unused variable `found'.
10535 (window--state-put-2): Remove unused variable `splits'.
10536 (window-state-put): Remove unused variable `selected'.
10537 (same-window-p): Use `string-match-p'.
10538 (display-buffer-assq-regexp): Remove unused variable `value'.
10539 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10540 Mark argument ALIST as ignored.
10541 (pop-to-buffer): Remove unused variable `old-window'.
10542
907201af
EZ
105432012-01-29 Eli Zaretskii <eliz@gnu.org>
10544
10545 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10546 and .lzma compressed files.
10547
ea162670
CY
105482012-01-29 Chong Yidong <cyd@gnu.org>
10549
5b95ee8a
CY
10550 * frame.el (window-system-default-frame-alist): Doc fix.
10551
ea162670
CY
10552 * dynamic-setting.el (font-setting-change-default-font): Don't
10553 change the default face if SET-FONT argument is non-nil (Bug#9982).
10554
d6e6f4b1
SB
105552012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10556
10557 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10558
0f29fa41 105592012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10560
10561 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10562 breakpoints in files outside current directory (Bug#6098).
10563
db174434
CY
105642012-01-29 Chong Yidong <cyd@gnu.org>
10565
6b25e4e2
SE
10566 * progmodes/python.el: Require ansi-color at top-level.
10567
6df6ae42
JB
10568 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10569 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10570 (lisp-mode-abbrev-table): Add doc.
10571 (lisp-mode-variables): Don't set local-abbrev-table.
10572 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10573
e70ee681
RW
105742012-01-28 Roland Winkler <winkler@gnu.org>
10575
10576 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10577
ace88aa2
RW
105782012-01-28 Roland Winkler <winkler@gnu.org>
10579
10580 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10581 (bibtex-set-dialect): Use it. Either set global values of
10582 dialect-dependent variables or bind these variables buffer-locally
10583 (Bug#10254).
10584 (bibtex-mode): Call bibtex-set-dialect via
10585 hack-local-variables-hook.
eb864a71
LM
10586 (bibtex-dialect): Update docstring.
10587 Add safe-local-variable predicate.
ace88aa2
RW
10588 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10589 bibtex-set-dialect.
10590 (bibtex-mode-map): Define menu for each dialect.
10591 (bibtex-entry): Fix docstring.
10592
93376c5b
CY
105932012-01-28 Chong Yidong <cyd@gnu.org>
10594
10595 * eshell/esh-arg.el (eshell-quote-argument): New function.
10596
10597 * eshell/esh-ext.el (eshell-invoke-batch-file):
10598 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10599 first arg to eshell-parse-command (Bug#10523).
10600
4372494f
DA
106012012-01-28 Drew Adams <drew.adams@oracle.com>
10602
10603 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10604 `default-directory' is non-nil.
10605
4d4ec1f8
EZ
106062012-01-28 Eli Zaretskii <eliz@gnu.org>
10607
10608 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10609 line that displays system-configuration-options. (Bug#9924)
10610
7c188927
DA
106112012-01-28 Drew Adams <drew.adams@oracle.com>
10612
10613 * descr-text.el (describe-char): Show information about POS, in
10614 addition to information about the character at POS. Improve and
10615 update the doc string. Change "code point" to "code point in
10616 charset", to avoid confusion with the character's Unicode code
10617 point shown above that. (Bug#10129)
10618
e0da685a
EZ
106192012-01-28 Eli Zaretskii <eliz@gnu.org>
10620
10621 * descr-text.el (describe-char): Show the raw character, not only
10622 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10623 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10624 for the reasons.
10625
70550acf
PH
106262012-01-28 Phil Hagelberg <phil@hagelb.org>
10627
eb864a71
LM
10628 * emacs-lisp/package.el (package-install):
10629 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10630
0ce8e868
CY
106312012-01-28 Chong Yidong <cyd@gnu.org>
10632
cb882333
JB
10633 * emacs-lisp/package.el (package-maybe-load-descriptor):
10634 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10635 (package-maybe-load-descriptor): Use it.
10636 (package-download-transaction): Fully load required packages
10637 inside the loop, so that `require' calls work (Bug#10593).
10638 (package-install): No need to call package-initialize now.
10639
2e7f3bea
CY
106402012-01-28 Chong Yidong <cyd@gnu.org>
10641
6e9bad14
CY
10642 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10643
f823b8ca
CY
10644 * tooltip.el (tooltip-mode): Doc fix.
10645 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10646
2680c309
CY
10647 * frame.el (set-cursor-color): Doc fix (Bug#352).
10648
d7a9e63b
CY
10649 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10650 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10651
2e7f3bea
CY
10652 * cus-edit.el (custom-buffer-create-internal): Fix search button
10653 action (Bug#10542).
2ae01800 10654 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10655
fc4f7a23
EW
106562012-01-27 Eduard Wiebe <usenet@pusto.de>
10657
10658 * dired.el (dired-mark-files-regexp):
10659 Include any subdirectory components. (Bug#10445)
10660
7dd37071
ML
106612012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10662
10663 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10664 Handle [host]:port syntax. (Bug#10533)
10665
a268160b
AH
106662012-01-27 Alex Harsanyi <harsanyi@mac.com>
10667
10668 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10669
e43273ef
GM
106702012-01-26 Glenn Morris <rgm@gnu.org>
10671
10672 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10673 * term.el (term-raw-escape-map): Use Control-X-prefix.
10674 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10675
1edf595d
MR
106762012-01-25 Martin Rudalics <rudalics@gmx.at>
10677
10678 * window.el (window-state-get, window--state-get-1): Don't deal
10679 with fixed-sizeness of windows. Simplify code.
10680
fa8eafef
JC
106812012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10682
6df6ae42
JB
10683 * window.el (window--state-get-1, window--state-put-2):
10684 Don't save and restore the mark.
fa8eafef 10685
0b21c100
CY
106862012-01-25 Chong Yidong <cyd@gnu.org>
10687
10688 * custom.el (custom-variable-p): Doc fix.
10689
5ae1a6c8
GM
106902012-01-25 Glenn Morris <rgm@gnu.org>
10691
40047858
GM
10692 * dired.el (dired-goto-file): Handle some of the more common
10693 characters that `ls -b' escapes. (Bug#10596)
10694
5ddce96c
GM
10695 * progmodes/compile.el (compilation-next-error-function):
10696 Respect compilation-first-column in the "*compilation*" buffer.
10697 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10698
5ae1a6c8
GM
10699 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10700
b559f1a9
GM
107012012-01-24 Glenn Morris <rgm@gnu.org>
10702
10703 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10704
6725d21a
JD
107052012-01-24 Julien Danjou <julien@danjou.info>
10706
10707 * color.el (color-rgb-to-hsl): Fix value computing.
10708 (color-hue-to-rgb): New function.
10709 (color-hsl-to-rgb): New function.
10710 (color-clamp, color-saturate-hsl, color-saturate-name)
10711 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10712 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10713
70df4bbe
GM
107142012-01-24 Glenn Morris <rgm@gnu.org>
10715
10716 * vc/vc-rcs.el (vc-rcs-create-tag):
10717 * vc/vc-sccs.el (vc-sccs-create-tag):
10718 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10719
802a2ae2
ML
107202012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10721
10722 * eshell/esh-util.el (eshell-read-hosts-file):
10723 Skip comment lines. (Bug#10549)
10724
d7128bb1
ML
10725 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10726
d1a5c3b4
JB
107272012-01-23 Juanma Barranquero <lekktu@gmail.com>
10728
2724d9c7
JB
10729 * subr.el (display-delayed-warnings): Doc fix.
10730 (collapse-delayed-warnings): New function to collapse identical
10731 adjacent warnings.
10732 (delayed-warnings-hook): Add it.
d1a5c3b4 10733
a5509865
MA
107342012-01-22 Michael Albinus <michael.albinus@gmx.de>
10735
10736 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10737
a5509865
MA
10738 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10739 (tramp-default-user-alist): Don't add "pscp".
10740 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10741 property "login-as", if set. (Bug#10530)
10742
cc6d5805
MA
107432012-01-21 Michael Albinus <michael.albinus@gmx.de>
10744
10745 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10746 "plink1" and "psftp". (Bug#10530)
10747
107482012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10749
10750 * international/mule-cmds.el (prefer-coding-system): Show a
10751 warning message if the default value of file-name-coding-system
10752 was not changed.
10753
f0960428
JC
107542012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10755
cb882333
JB
10756 * windmove.el (windmove-reference-loc):
10757 Fix windmove-reference-loc miscalculation.
f0960428 10758
dd6f2a63
JB
107592012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10760
10761 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10762 default unit.
10763
7b447e9b
GM
107642012-01-21 Glenn Morris <rgm@gnu.org>
10765
117a9ea1
GM
10766 * international/mule.el (auto-coding-alist): Add .tbz.
10767
7b447e9b
GM
10768 * files.el (local-enable-local-variables): Doc fix.
10769 (inhibit-local-variables-regexps): Rename from
10770 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10771 Doc fix. Add some extensions from auto-coding-alist.
10772 (inhibit-local-variables-suffixes):
10773 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10774 (inhibit-local-variables-p):
10775 New function, extracted from set-auto-mode-1.
10776 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10777 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10778 (hack-local-variables): Doc fix. Make the mode-only case
10779 respect enable-local-variables and friends.
10780 Respect inhibit-local-variables-regexps for file-locals, but
10781 not for directory-locals.
10782 (set-visited-file-name):
10783 Take account of inhibit-local-variables-regexps.
10784 Whether it applies may change as the file name is changed.
10785 * jka-cmpr-hook.el (jka-compr-install):
10786 * jka-compr.el (jka-compr-uninstall):
10787 Update for inhibit-first-line-modes-suffixes name change.
10788
dd6e3cdd
MR
107892012-01-20 Martin Rudalics <rudalics@gmx.at>
10790
10791 * help-macro.el (make-help-screen): Temporarily restore original
10792 binding for minor-mode-map-alist (Bug#10454).
10793
0d0deb38
JD
107942012-01-19 Julien Danjou <julien@danjou.info>
10795
10796 * color.el (color-name-to-rgb): Use the white color to find the max
10797 color component value and return correctly computed values.
10798 (color-name-to-rgb): Add missing float conversion for max value.
10799
34a02f46
MR
108002012-01-19 Martin Rudalics <rudalics@gmx.at>
10801
10802 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10803 special state value for window-persistent-parameters.
10804 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10805 (window--state-put-2): Reset all window parameters to nil before
10806 assigning values of persistent parameters.
10807
606c44c4
AM
108082012-01-18 Alan Mackenzie <acm@muc.de>
10809
10810 Eliminate sluggishness and hangs in fontification of "semicolon
10811 deserts".
10812
cb882333
JB
10813 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10814 Change value 10000 -> 3000.
606c44c4
AM
10815 (c-state-safe-place): Reformulate so it doesn't stack up an
10816 infinite number of wrong entries in c-state-nonlit-pos-cache.
10817 (c-determine-limit-get-base, c-determine-limit): New functions to
10818 determine backward search limits disregarding literals.
10819 (c-find-decl-spots): Amend commenting.
10820 (c-cheap-inside-bracelist-p): New function which detects "={".
10821
10822 * progmodes/cc-fonts.el
10823 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10824 backward search.
10825 (c-font-lock-declarations): Fix an occurrence of point being
10826 undefined. Check additionally for point being in a bracelist or
10827 near a macro invocation without a semicolon so as to avoid a
10828 fruitless time consuming search for a declarator. Give a more
10829 precise search limit for declarators using the new
10830 c-determine-limit.
10831
f3860cea
GM
108322012-01-18 Glenn Morris <rgm@gnu.org>
10833
10834 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10835 (set-auto-mode): Doc fixes.
10836
1db03b16
GM
108372012-01-17 Glenn Morris <rgm@gnu.org>
10838
0e6038be
GM
10839 * isearch.el (search-nonincremental-instead): Fix doc typo.
10840
1db03b16
GM
10841 * dired.el (dired-insert-directory): Handle newlines in directory name.
10842 (dired-build-subdir-alist): Unescape newlines in directory name.
10843
4cb0aa75
MA
108442012-01-17 Michael Albinus <michael.albinus@gmx.de>
10845
10846 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10847 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10848 (tramp-action-terminal): Use it. (Bug#10530)
10849
1d00653d
SM
108502012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10853
6a6ee00d
MR
108542012-01-16 Martin Rudalics <rudalics@gmx.at>
10855
10856 * window.el (window-state-ignored-parameters): Remove variable.
10857 (window--state-get-1): Rename argument MARKERS to IGNORE.
10858 Handle persistent window parameters. Make copy of clone-of
10859 parameter only if requested. (Bug#10348)
10860 (window--state-put-2): Install a window parameter only if it has
10861 a non-nil value or an existing parameter shall be overwritten.
10862
97912def
MA
108632012-01-15 Michael Albinus <michael.albinus@gmx.de>
10864
10865 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10866
688070a5
EZ
108672012-01-14 Eli Zaretskii <eliz@gnu.org>
10868
10869 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10870 don't pass the (nil) value of `upnode' to string-match.
10871
301afadc
CY
108722012-01-14 Chong Yidong <cyd@gnu.org>
10873
10874 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10875 Fix values recognized by the cursorBlink resource.
301afadc 10876
9e5788aa
PE
108772012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10878
10879 * epg.el (epg--make-temp-file): Avoid permission race condition
10880 when running on old Emacs versions (bug#10403).
10881
3cdb7f5a
GM
108822012-01-14 Glenn Morris <rgm@gnu.org>
10883
10884 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10885
8c82b1b4
AM
108862012-01-13 Alan Mackenzie <acm@muc.de>
10887
10888 Fix filling for when filladapt mode is enabled.
10889
10890 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10891 c-mask-paragraph, pass in `fill-paragraph' rather than
10892 `fill-region-as-paragraph'. (This is a reversion of a previous
10893 change.)
eb864a71
LM
10894 * progmodes/cc-mode.el (c-basic-common-init):
10895 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10896
e517eda4
GM
108972012-01-13 Glenn Morris <rgm@gnu.org>
10898
1498536e
GM
10899 * dired.el (dired-switches-escape-p): New function.
10900 (dired-insert-directory): Use dired-switches-escape-p.
10901 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10902
e517eda4
GM
10903 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10904
328f984d
GM
109052012-01-12 Glenn Morris <rgm@gnu.org>
10906
10907 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10908 changes in adaptive-fill-regexp. (Bug#10276)
10909
2cc769a8
AM
109102012-01-11 Alan Mackenzie <acm@muc.de>
10911
10912 Fix Emacs bug #10463 - put `widen's around the critical spots.
10913
1d00653d 10914 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10915 widen around each invocation of c-state-pp-to-literal. Remove an
10916 unused let variable.
10917
e52c37fa
GM
109182012-01-11 Glenn Morris <rgm@gnu.org>
10919
10920 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10921 Doc fix.
e52c37fa 10922
96f8741e
CY
109232012-01-10 Chong Yidong <cyd@gnu.org>
10924
1d00653d
SM
10925 * net/network-stream.el (network-stream-open-starttls):
10926 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10927 response to the capability command.
10928
b09a806e
GM
109292012-01-10 Glenn Morris <rgm@gnu.org>
10930
10931 * mail/unrmail.el (unrmail): Tweak previous change.
10932
7655cb66
CY
109332012-01-09 Chong Yidong <cyd@gnu.org>
10934
10935 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10936
9d5a8f0b
AM
109372012-01-08 Alan Mackenzie <acm@muc.de>
10938
10939 Optimise font locking in long enum definitions.
10940
10941 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10942 arm to a cond form to handle enums.
10943 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10944 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10945
9a0115ab 109462012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10947
10948 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10949 (Bug#10401)
6bb72cbd 10950
f186bb95
LMI
109512012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10952
29232a68
LMI
10953 * faces.el (set-face-attribute): Clarify the meaning of the nil
10954 frame (bug#10294).
10955
4e5d086d
LMI
10956 * subr.el (with-selected-frame): Mention that the selected frame
10957 is restored (bug#9980).
10958
8e66aebe
LMI
10959 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10960 (bug#9759).
10961
cd394be1 10962 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10963 (password-read): Don't autoload unused function.
10964
adf4e762
JB
109652012-01-07 Juanma Barranquero <lekktu@gmail.com>
10966
10967 * progmodes/which-func.el (which-func-mode): Turn into a
10968 non-interactive function and mark as obsolete (bug#10428).
10969
89bd9ccd
CY
109702012-01-06 Chong Yidong <cyd@gnu.org>
10971
10972 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10973 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10974 functions, along with 1 and -1.
10975
4afee9d5
EZ
109762012-01-06 Eli Zaretskii <eliz@gnu.org>
10977
10978 * time.el (display-time-load-average)
10979 (display-time-default-load-average): Doc fixes. See the thread
10980 starting at
10981 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10982 for the details.
10983
536aea70
GM
109842012-01-06 Glenn Morris <rgm@gnu.org>
10985
665ae865
GM
10986 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10987 has no messages. (Bug#10377)
10988
c869783d
GM
10989 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10990 than Info-edit. (Bug#10385)
10991
2bb4227e
GM
10992 * time.el (display-time-load-average, display-time-next-load-average):
10993 Doc fixes.
10994
7d5944b9
GM
10995 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10996 local setting of buffer-read-only to the input buffer. (Bug#10419)
10997
536aea70
GM
10998 * calendar/calendar.el (calendar-mode):
10999 Locally set scroll-margin to 0. (Bug#10379)
11000
7dccca16
UM
110012012-01-06 Ulrich Mueller <ulm@gentoo.org>
11002
11003 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11004
afbb7930
GM
110052012-01-05 Glenn Morris <rgm@gnu.org>
11006
11007 * eshell/em-unix.el (diff-no-select): Autoload it.
11008 (eshell/diff): Use diff-no-select. (Bug#10420)
11009
04482335
CY
110102012-01-05 Chong Yidong <cyd@gnu.org>
11011
7baca3bc
CY
11012 * shell.el (shell-dynamic-complete-functions): Revert last change.
11013 (shell-command-completion-function): New function.
11014 (shell-completion-vars): Use it to implement
11015 shell-completion-execonly (Bug#10417).
11016
04482335
CY
11017 * custom.el (enable-theme): Don't set custom-safe-themes.
11018
1d00653d
SM
11019 * cus-theme.el (custom-theme-merge-theme):
11020 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11021
bb5aa5d6
MM
110222012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11023
11024 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11025 first prompt in `sql-interacive-mode'.
11026 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11027 keywords.
6df6ae42 11028 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11029 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11030 context of original buffer. Invoke `sql-login-hook'.
11031
a7183d7c
EZ
110322012-01-04 Eli Zaretskii <eliz@gnu.org>
11033
11034 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11035 letters in cite-prefix.
11036
a1eacd1e
LMI
110372012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11038
11039 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11040
787cdb34
CY
110412012-01-03 Chong Yidong <cyd@gnu.org>
11042
1d00653d
SM
11043 * shell.el (shell-dynamic-complete-functions):
11044 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11045 comint-filename-completion first (Bug#10417).
11046
30710442
RS
110472012-01-02 Richard Stallman <rms@gnu.org>
11048
11049 * battery.el (battery-status-function):
11050 Detect when to use battery-yeeloong-sysfs.
11051 (battery-echo-area-format): Add string for Yeeloong.
11052 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11053 (battery-yeeloong-sysfs): New function.
11054
f75bfc33
CY
110552012-01-02 Chong Yidong <cyd@gnu.org>
11056
11057 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11058 (dirtrack): Merge code for handling relative filenames in prompt
11059 from shell-dir-cookie-watcher.
11060 (dirtrack-debug-message): New arg to avoid excess format calls.
11061
11062 * shell.el (shell-dir-cookie-re): Variable deleted.
11063 (shell-dir-cookie-watcher): Function deleted.
11064 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11065 with dirtrack-mode.
11066
651e947e
EZ
110672012-01-01 Eli Zaretskii <eliz@gnu.org>
11068
1d00653d
SM
11069 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11070 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11071 libgnutls-26.dll.
11072
94d4c7dc
AS
110732011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11074
11075 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11076
8d43f3cd
EZ
110772011-12-31 Eli Zaretskii <eliz@gnu.org>
11078
11079 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11080 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11081
98c8795a
MA
110822011-12-29 Michael Albinus <michael.albinus@gmx.de>
11083
11084 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11085 also for alternative shells.
11086 (tramp-open-connection-setup-interactive-shell): Check, whether
11087 the shell is a busybox.
11088 (tramp-send-command): Don't suppress multiple prompts for
11089 busyboxes, it hurts.
11090
51281b32
CY
110912011-12-28 Chong Yidong <cyd@gnu.org>
11092
11093 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11094 (gdb-get-source-file): Move mode line update to
11095 gdb-get-source-file (Bug#10087).
11096
2170cb53
CY
110972011-12-25 Chong Yidong <cyd@gnu.org>
11098
11099 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11100 gud-gdb-marker-filter without taking it as an argument.
11101 (gud-gdb-run-command-fetch-lines): Caller changed.
11102 (gud-gdb-completion-function): New variable.
11103 (gud-gdb-completion-at-point): Use it.
11104 (gud-gdb-completions-1): Split from gud-gdb-completions.
11105
11106 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11107 function as separate arguments.
11108 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11109 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11110 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11111 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11112 (gdb-stopped, def-gdb-auto-update-trigger)
11113 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11114 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11115 Callers changed.
2170cb53
CY
11116 (gud-gdbmi-completions): New function.
11117 (gdb): Use it for generating the completion table.
11118
be8b11bb
AM
111192011-12-24 Alan Mackenzie <acm@muc.de>
11120
11121 Introduce a mechanism to widen the region used in context font
1d00653d 11122 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11123
1d00653d
SM
11124 * progmodes/cc-langs.el (c-before-font-lock-functions):
11125 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11126 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11127 functions to be run just before context (etc.) font locking.
11128
11129 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11130 New, functionality extracted from
be8b11bb 11131 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11132 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11133 (c-after-change): Set c-in-after-change-fontification.
11134 (c-set-fl-decl-start): Rejig its interface, so it can be called
11135 from both after-change and context fontifying.
b81d40f0
JB
11136 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11137 New functions.
11138 (c-standard-font-lock-fontify-region-function): New variable.
11139 (c-font-lock-fontify-region): New function.
be8b11bb 11140
341cf6ac
JL
111412011-12-24 Juri Linkov <juri@jurta.org>
11142
11143 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11144 (Bug#10348)
11145
bffcee0a
MA
111462011-12-23 Michael Albinus <michael.albinus@gmx.de>
11147
11148 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11149 existence of source file. (Bug#10325)
11150
cb5e207c
AM
111512011-12-23 Alan Mackenzie <acm@muc.de>
11152
11153 Fix unstable fontification inside templates.
11154
b81d40f0
JB
11155 * progmodes/cc-langs.el (c-before-font-lock-functions):
11156 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11157 additionally has c-set-fl-decl-start. The other languages (apart
11158 from AWK) have that as a single entry.
11159
b81d40f0
JB
11160 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11161 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11162 c-set-fl-decl-start.
11163
b81d40f0
JB
11164 * progmodes/cc-mode.el (c-common-init, c-after-change):
11165 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11166 (c-set-fl-decl-start): New function, extracted from
11167 c-font-lock-enclosing-decls and enhanced.
11168
60ff536c
JB
111692011-12-23 Juanma Barranquero <lekktu@gmail.com>
11170
11171 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11172
1c4757d6
JL
111732011-12-22 Juri Linkov <juri@jurta.org>
11174
11175 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11176
d031f2c7
CY
111772011-12-22 Chong Yidong <cyd@gnu.org>
11178
11179 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11180
bace743a
DA
111812011-12-21 Drew Adams <drew.adams@oracle.com>
11182
11183 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11184
728a1f2b
JC
111852011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11186
11187 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11188
0d373f73
TZ
111892011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11190
fec0aaa4
TZ
11191 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11192 highlighting and support. Fix up comments for capitalization.
11193 (cfengine-mode-debug): New var.
11194 (cfengine3-mode): Change the modeline indicator to "CFE3".
11195 (cfengine3-font-lock-keywords): Improve defun highlighting.
11196 (cfengine2-actions): Rename from `cfengine-actions'.
11197 (cfengine2-font-lock-keywords): Rename from
11198 `cfengine-font-lock-keywords'.
11199 (cfengine2-imenu-expression): Rename from
11200 `cfengine-imenu-expression'.
11201 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11202 (cfengine2-beginning-of-defun): Rename from
11203 `cfengine-beginning-of-defun'.
11204 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11205 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11206 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11207 modeline indicator to "CFE2".
11208 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11209 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11210
bc86f573
CY
112112011-12-21 Chong Yidong <cyd@gnu.org>
11212
11213 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11214 filename argument.
11215
d45ba96b
MR
112162011-12-20 Martin Rudalics <rudalics@gmx.at>
11217
11218 * window.el (window-normalize-buffer-to-display): Remove.
11219 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11220
a6198c90
CY
112212011-12-19 Chong Yidong <cyd@gnu.org>
11222
11223 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11224 Don't signal an error in a predicate function; return non-nil.
11225 (vc-dir-mark-file): Move the error here.
11226 (vc-dir-mark-unmark): If acting on the region, keep going if one
11227 of the entries cannot be marked/unmarked.
11228 (vc-dir-mark-all-files): If current entry is a directory, mark
11229 only child files, as documented.
11230
34c5fb55
VB
112312011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11232
11233 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11234 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11235 addition.
11236
c803b2b7
JD
112372011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11238
11239 * term/ns-win.el (ns-get-selection-internal)
11240 (ns-store-selection-internal): Declare.
1154d12e
JB
11241 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11242 Declare as obsolete.
11243 (ns-get-pasteboard, ns-paste-secondary):
11244 Use ns-get-selection-internal.
41e9b956 11245 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11246 Use ns-store-selection-internal.
c803b2b7 11247
9cff91f8 112482011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11249
11250 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11251 (vc-deduce-fileset): Doc fix.
99a289d9 11252
f16c898a
AS
112532011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11254
11255 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11256
763237c4
SS
112572011-12-13 Sam Steingold <sds@gnu.org>
11258
11259 * man.el (Man-getpage-in-background): When running under a
11260 window-system, ignore $MANWIDTH and $COLUMNS.
11261
5fc1c122
KH
112622011-12-15 Kenichi Handa <handa@m17n.org>
11263
11264 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11265 (setup-ethiopic-environment-internal): Comment out key-binding for
11266 ethio-toggle-punctuation.
11267
13d49cbb
AM
112682011-12-13 Alan Mackenzie <acm@muc.de>
11269
898169a2
AM
11270 Add the switch statement to AWK Mode.
11271
7a71b18d 11272 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11273 "default" to the keywords regexp.
11274
7a71b18d 11275 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11276 expression as the rest.
1d00653d
SM
11277 (c-nonlabel-token-key): Allow string literals for AWK.
11278 Refactor for the other modes.
898169a2 11279
13d49cbb 11280 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11281 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11282 routines. Limit backward searching in c-font-lock-enclosing.decl.
11283
11284 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11285 pp-state and literal type in addition to the limits.
1d00653d 11286 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11287 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11288 (c-slow-in-literal, c-fast-in-literal): Remove.
11289 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11290
11291 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11292 being in a literal. Add a limit for backward searching.
11293
11294 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11295 c-slow-in-literal.
11296
15e0efc7
SM
112972011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11300
454592a6
MR
113012011-12-13 Martin Rudalics <rudalics@gmx.at>
11302
11303 * window.el (delete-other-windows): Use correct frame in call to
11304 window-with-parameter.
11305
87393f26
DP
113062011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11307
11308 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11309 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11310 (makefile-gmake-statements, makefile-makepp-statements):
11311 Use it and add new makepp keywords.
11312 (makefile-makepp-font-lock-keywords): Add new patterns.
11313 (makefile-match-function-end): Match new [...] and [[...]].
11314
11636b22
JB
113152011-12-11 Juanma Barranquero <lekktu@gmail.com>
11316
11317 * ses.el (ses-call-printer-return, ses-cell-property-get)
11318 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11319 (ses-create-cell-variable, ses-reset-header-string)
11320 (ses-cell-set-formula, ses-repair-cell-reference-all)
11321 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11322 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11323 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11324 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11325 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11326 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11327 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11328 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11329 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11330 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11331 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11332 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11333
cf018193
VB
113342011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11335
11336 * ses.el: The overall change is to add cell renaming, that is
11337 setting fancy names for cell symbols other than name matching
11338 "\\`[A-Z]+[0-9]+\\'" regexp .
11339 (ses-create-cell-variable): New defun.
11340 (ses-relocate-formula): Relocate formulas only for cells the
11341 symbols of which are not renamed, i.e. symbols whose names do not
11342 match regexp "\\`[A-Z]+[0-9]+\\'".
11343 (ses-relocate-all): Relocate values only for cells the symbols of
11344 which are not renamed.
11345 (ses-load): Create cells variables as the (ses-cell ...) are read,
11346 in order to check row col consistency with cell symbol name only
11347 for cells that are not renamed.
11348 (ses-replace-name-in-formula): New defun.
11349 (ses-rename-cell): New defun.
11350
ee957461
CY
113512011-12-11 Chong Yidong <cyd@gnu.org>
11352
11353 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11354 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11355
9a9e9ef0
MR
113562011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11357
11358 * window.el (other-window): Fix docstring.
11359
92a8eba5
EZ
113602011-12-10 Eli Zaretskii <eliz@gnu.org>
11361
11362 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11363 `from' or `to' address before taking its substring.
11364 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11365 encoded name is chopped in the middle of the encoded string, and
11366 thus displayed encoded.
11367
e152e577
JB
113682011-12-10 Juanma Barranquero <lekktu@gmail.com>
11369
11370 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11371
e5d84bfe
EZ
113722011-12-10 Eli Zaretskii <eliz@gnu.org>
11373
11374 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11375 to use texinfo-update-node and commands that call it if the
11376 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11377 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11378 (texinfo-all-menus-update, texinfo-master-menu)
11379 (texinfo-update-node, texinfo-every-node-update)
11380 (texinfo-multiple-files-update): Doc fix. Warn against updating
11381 all the @node lines.
11382 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11383 argument is numeric. Explain better in the doc string what the
11384 function really does.
11385 (texinfo-insert-master-menu-list): Improve the error message
11386 displayed if there's no menu in the Top node.
11387 (Bug#2975) See also this thread:
e5d84bfe
EZ
11388 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11389
1d84e9bb
MG
113902011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11391
11392 * speedbar.el (speedbar-supported-extension-expressions):
11393 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11394
382c953b
JB
113952011-12-09 Juanma Barranquero <lekktu@gmail.com>
11396
11397 * printing.el (pr-mode-alist):
11398 * simple.el (filter-buffer-substring-functions)
11399 (completion-list-insert-choice-function):
11400 * window.el (window-with-parameter, window-atom-root)
11401 (window-sides-slots, window-size-fixed, window-min-delta)
11402 (window-max-delta, window--resize-mini-window)
11403 (window--resize-child-windows-normal, window-tree)
11404 (delete-other-windows, quit-window, split-window)
11405 (display-buffer-record-window, special-display-buffer-names)
11406 (special-display-regexps, special-display-popup-frame)
11407 (same-window-p, split-window-sensibly)
11408 (display-buffer-overriding-action, display-buffer-alist)
11409 (display-buffer-base-action, display-buffer, switch-to-buffer)
11410 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11411 (fit-window-to-buffer, recenter-positions)
11412 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11413 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11414 and remove unneeded backslashes in docstrings.
11415
39c9faef
SM
114162011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11417
98449af8
SM
11418 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11419
39c9faef
SM
11420 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11421 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11422 end in ".mk".
11423 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11424 when reading the makefile (bug#10116).
11425
86ed9fdc
SM
114262011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11427
11428 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11429 (bug#10116).
11430
5580f89d
GM
114312011-12-06 Glenn Morris <rgm@gnu.org>
11432
11433 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11434
28d3917c
CY
114352011-12-06 Chong Yidong <cyd@gnu.org>
11436
11437 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11438
a98edce9
JB
114392011-12-06 Juanma Barranquero <lekktu@gmail.com>
11440
11441 * textmodes/table.el (table-shorten-cell): Fix typo.
11442
e65adfac
CG
114432011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11444
11445 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11446
71cc0b74
EZ
114472011-12-05 Eli Zaretskii <eliz@gnu.org>
11448
11449 * descr-text.el (describe-char): Fix display of strong
11450 right-to-left characters and directional embeddings and overrides.
11451
11452 * simple.el (what-cursor-position): Fix display of codepoints of
11453 strong right-to-left characters.
11454
315bc30d
CY
114552011-12-05 Chong Yidong <cyd@gnu.org>
11456
11457 * faces.el (read-color): Doc fix.
11458
58a70b94
GM
114592011-12-05 Glenn Morris <rgm@gnu.org>
11460
11461 * align.el (align--set-marker): Add doc-string.
11462 Don't try to move something that is not a marker. (Bug#10216)
11463
5158face
GM
114642011-12-04 Glenn Morris <rgm@gnu.org>
11465
11466 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11467 overly zealous deletion of trailing whitespace.
11468
520fca41
JB
114692011-12-04 Juanma Barranquero <lekktu@gmail.com>
11470
11471 * server.el (server-delete-client): On Windows, do not try to delete
11472 the only terminal.
11473 (server-process-filter): On Windows, treat requests for a tty frame as
11474 if they were for a GUI frame if the running server is in GUI mode.
11475
5e605a2e
GM
114762011-12-03 Glenn Morris <rgm@gnu.org>
11477
11478 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11479
5c3fe83f
SM
114802011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11481
6f5e57e7
SM
11482 * electric.el: Streamline electric-indent's hook.
11483 (electric-indent-chars): Revert to simple list.
11484 (electric-indent-functions): New var.
11485 (electric-indent-post-self-insert-function): Use it.
11486
5c3fe83f
SM
11487 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11488 there's no inferior buffer (bug#10196).
11489 (prolog-consult-compile): Don't use toggle-read-only.
11490
6bdac736
MA
114912011-12-02 Michael Albinus <michael.albinus@gmx.de>
11492
11493 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11494 interrupt. (Bug#10187)
11495
6131ba7f
SM
114962011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11497
99c79fee
SM
11498 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11499 (bug#9160).
11500
6131ba7f
SM
11501 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11502 (bug#10191).
11503
cb0a02ea
JL
115042011-12-02 Juri Linkov <juri@jurta.org>
11505
11506 * info.el (Info-search): Display "end of manual" when Isearch
11507 reaches the end of single-file Info manual. (Bug#9918)
11508
66e0570c
EZ
115092011-12-02 Eli Zaretskii <eliz@gnu.org>
11510
11511 * isearch.el (isearch-message-prefix): Run the input method part
11512 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11513
02b16839
JL
115142011-12-02 Juri Linkov <juri@jurta.org>
11515
11516 * isearch.el (isearch-occur): Use `word-search-regexp' for
11517 `isearch-word'.
11518 (isearch-search-and-update): Add condition for `isearch-word' and
11519 call `word-search-regexp'. (Bug#10145)
11520
0b950688
GM
115212011-12-01 Glenn Morris <rgm@gnu.org>
11522
11523 * eshell/em-hist.el (eshell-hist-initialize):
11524 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11525 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11526
9505c3c7
SM
115272011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11528
11529 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11530
1bbe96b2 115312011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11532
a1beca85
SM
11533 * progmodes/verilog-mode.el (verilog-pretty-expr):
11534 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11535 verilog, such as += *= and the like.
11536 (verilog-assignment-operator-re): Regular expression to find the
11537 assigment operator in a verilog assignment.
11538 (verilog-assignment-operation-re): Regular expression to find an
11539 assignment statement for pretty-expr.
11540 (verilog-in-attribute-p): Query returns true if point is in an
11541 attribute context; used to skip these for expression line up from
11542 pretty-expr.
11543 (verilog-in-parameter-p): Query returns true if point is in an
11544 parameter definition context; used to skip these for expression
11545 line up from pretty-expr.
11546 (verilog-in-parenthesis-p): Query returns true if point is in a
11547 parenthetical expression, specifically ( ) but not [ ] or { };
11548 used by pretty-expr.
11549 (verilog-just-one-space): If there is no space, don't add one.
11550 (verilog-get-lineup-indent-2): Specifically skip just attribute
11551 contexts for expression lineup, rather than skipping all
11552 parenthetical expressions.
11553 (verilog-calculate-indent): Fix comment, and fix indent.
11554 (verilog-do-indent): Indent declarations in lists (suggested by
11555 Joachim Lechner).
11556 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11557 skeleton items.
11558 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11559 by Alain Mellan).
11560
1bbe96b2 115612011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11562
11563 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11564 parameters with embedded comments. Reported by Ray Stevens.
11565 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11566 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11567 Reported by Tim Holt.
11568 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11569 instantiated by upper module causing wrong expansion until AUTOed a
11570 second time. Reported by K C Buckenmaier.
11571 (verilog-diff-auto): Fix showing .* as a difference when
11572 `verilog-auto-star-save' off. Reported by Dan Dever.
11573 (verilog-auto-reset, verilog-read-always-signals)
11574 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11575 temporary signals in reset list if
11576 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11577 style to each signal's assignment type, bug381.
11578 Reported by Thomas Esposito.
6288f0ca
WS
11579 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11580 (verilog-uvm-statement-re): Support UVM indentation and
11581 highlighting, with old OVM keywords only.
a1beca85 11582 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11583 Support AUTOTIEOFF creating non-wire data types.
11584 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11585 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11586 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11587 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11588 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11589 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11590 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11591 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11592 non-numeric vector width. Reported by Alex Reed.
11593 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11594 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11595 (verilog-auto-delete-trailing-whitespace):
11596 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11597 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11598 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11599 Fix verilog-scan-cache corruption when running user AUTO expansion
11600 hooks that call indentation routines.
11601 (verilog-simplify-range-expression): Fix typo ignoring lower case
11602 identifiers.
11603 (verilog-delete-auto): Fix delete-autos to also remove user created
11604 automatics, as long as they start with AUTO.
11605 (verilog-batch-diff-auto, verilog-diff-auto)
11606 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11607 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11608 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11609 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11610 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11611 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11612 is disabled and its cache will get corrupt, causing AUTOS not to
11613 expand. Instead use only -quick functions.
11614 (verilog-scan-region): Fix scanning over escaped quotes.
11615 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11616 (verilog-re-search-backward-quick)
11617 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11618 related functions now ignore strings, to fix misparsing of strings
11619 with magic comments embedded in them.
a1beca85
SM
11620 (verilog-read-auto-template):
11621 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11622 Reported by Brad Dobbie.
11623 (verilog-read-auto-template):
11624 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11625 Reported by Brad Dobbie.
6288f0ca
WS
11626 (verilog-auto-inst, verilog-auto-inst-param)
11627 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11628 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11629 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11630 debugging templates without merge conflicts, bug357.
11631 Reported by Brad Dobbie.
11632 (verilog-read-auto-template):
11633 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11634 Reported by Brad Dobbie.
11635 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11636 abbrevs so user won't be asked to save.
11637 (verilog-read-auto-lisp-present): Fix to start at beginning of
11638 buffer in case called outside of verilog-auto.
11639 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11640 to "X-2". Reported by Matthew Myers.
11641 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11642 all inputs from module templates. Reported by Leith Johnson.
11643 (verilog-module-inside-filename-p): Fix locating programs as with
11644 modules.
11645 (verilog-auto-inst-port): Fix vl-width expressions when using
11646 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11647 (verilog-decls-get-regs, verilog-decls-get-signals,
11648 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11649 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11650 verilog-read-decls): Combine reg and wire structures into one var
11651 structure to represent SystemVerilog concepts.
11652 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11653 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11654 (verilog-auto-wire-type, verilog-insert-definition):
11655 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11656 SystemVerilog "logic" keyword instead of "wire"/"reg".
11657 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11658 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11659 ifdef or generate if so there's not a driver conflict).
11660 Reported by Matthew Myers.
11661 (verilog-auto-declare-nettype, verilog-insert-definition):
11662 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11663 `default_nettype none. Reported by Julian Gorfajn.
11664 (verilog-read-always-signals-recurse, verilog-read-decls)
11665 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11666 malformed end statement, bug325. Reported by Joshua Wise and
11667 Andrew Drake.
11668 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11669 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11670 when expanding .* in interfaces, bug320.
11671 Reported by Pierre-David Pfister.
6288f0ca 11672 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11673 name and open parenthesis, bug317.
11674 Reported by Pierre-David Pfister.
6288f0ca
WS
11675 (verilog-simplify-range-expression): Fix simplification of
11676 multiplications inside AUTOWIRE connections, bug303.
11677 (verilog-auto-inst-port): Support parameter expansion in
11678 multidimensional arrays.
11679 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11680 after "assert property". Reported by Julian Gorfajn.
11681 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11682 with multiplication, bug303.
11683 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11684 Reported by Jan Frode Lonnum.
11685
1bbe96b2
GM
116862011-11-30 Juanma Barranquero <lekktu@gmail.com>
11687
11688 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11689 (hfy-shell-file-name, hfy-shell):
11690 * international/fontset.el (x-decompose-font-name): Fix typos.
11691
116922011-11-29 Ken Brown <kbrown@cornell.edu>
11693
11694 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11695 (gdb-version): Remove defvar.
11696 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11697 (gdb-gud-context-command, gdb-non-stop-handler)
11698 (gdb-current-context-command, gdb-stopped): Use it.
11699 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11700 (gdb-non-stop-handler): Don't enable pretty-printing here.
11701 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11702 non-stop mode. Use the following.
11703 (gdb-check-target-async): New defun.
11704 (gud-watch, gdb-stopped): Fix whitespace.
11705 (gdb-get-source-file): Don't try to display the source file if
11706 `gdb-main-file' is nil.
11707
117082011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11709
11710 * align.el: Try to generate fewer markers (bug#10047).
11711 (align--set-marker): New macro.
11712 (align-region): Use it.
11713
c935221f
SM
117142011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11715
11716 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11717
e70b5064
CY
117182011-11-29 Chong Yidong <cyd@gnu.org>
11719
11720 * indent.el (indent-for-tab-command, indent-according-to-mode):
11721 Doc fix.
11722 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11723
f3af92b7
MA
117242011-11-29 Michael Albinus <michael.albinus@gmx.de>
11725
11726 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11727 aware of remote file names. (Bug#10124)
11728
ed472be9
CY
117292011-11-29 Chong Yidong <cyd@gnu.org>
11730
11731 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11732
24510c22
SM
117332011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11734
11735 * files.el (find-file): Don't use force-same-window (bug#10144).
11736 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11737 use pop-to-buffer if the selected window can't be used.
11738 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11739
c60c3703
EZ
117402011-11-28 Eli Zaretskii <eliz@gnu.org>
11741
11742 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11743 special-mode-map.
11744
e95def75
CY
117452011-11-28 Chong Yidong <cyd@gnu.org>
11746
11747 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11748
c3f1c606
NR
117492011-11-27 Nick Roberts <nickrob@snap.net.nz>
11750
11751 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11752 gdb-get-source-file-list on gdb-create-source-file-list.
11753
00db469c
EZ
117542011-11-26 Eli Zaretskii <eliz@gnu.org>
11755
11756 * whitespace.el (whitespace-newline): Use a different foreground
11757 color for 16-color light-background displays.
11758
4ad3bc2a
CY
117592011-11-24 Chong Yidong <cyd@gnu.org>
11760
11761 * window.el (display-buffer--special-action): Doc fix.
11762
e9fce1ac
JB
117632011-11-25 Juanma Barranquero <lekktu@gmail.com>
11764
11765 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11766 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11767 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11768 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11769 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11770 (avl-tree-stack-first):
11771 * emacs-lisp/cconv.el (cconv--analyse-use):
11772 * net/gnutls.el (gnutls-negotiate): Fix typos.
11773
cb825e5d
GM
117742011-11-24 Glenn Morris <rgm@gnu.org>
11775
3adbe224
GM
11776 * lpr.el (lpr-windows-system, lpr-lp-system):
11777 * mail/binhex.el (binhex-begin-line):
11778 * progmodes/grep.el (grep-history, grep-find-history):
11779 * textmodes/flyspell.el:
11780 * vc/pcvs-defs.el (cvs-global-menu):
11781 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11782 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11783 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11784
321decc8
GM
11785 * net/tls.el: Fix case of "GnuTLS".
11786
420b63ad
GM
11787 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11788
cb825e5d
GM
11789 * version.el (emacs-build-system): Give it a doc-string.
11790
a0649f08
JL
117912011-11-24 Juri Linkov <juri@jurta.org>
11792
11793 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11794
c0bc0fd4
GM
117952011-11-24 Glenn Morris <rgm@gnu.org>
11796
11797 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11798 if called on a non-mime message just toggle the headers. (Bug#8006)
11799
20db1522
JB
118002011-11-24 Juanma Barranquero <lekktu@gmail.com>
11801
11802 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11803 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11804 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11805 (allout-rebullet-heading, allout-open-sibtopic)
11806 (allout-toggle-current-subtree-encryption)
11807 (allout-toggle-subtree-encryption, allout-encrypt-string)
11808 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11809 (allout-distinctive-bullets-string, allout-auto-activation):
11810 * window.el (window-normalize-buffer-to-display):
11811 * progmodes/verilog-mode.el (verilog-batch-indent):
11812 * textmodes/bibtex.el (bibtex-field-braces-opt)
11813 (bibtex-field-strings-opt):
11814 * vc/cvs-status.el (cvs-tree-merge):
11815 Fix typos.
11816
7262a87c
MA
118172011-11-23 Michael Albinus <michael.albinus@gmx.de>
11818
11819 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11820 `non-essential' to t, in order to avoid remote connections.
11821
283430a1
EZ
118222011-11-23 Eli Zaretskii <eliz@gnu.org>
11823
a1beca85
SM
11824 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11825 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11826 case-insensitively.
11827
d2992a38
ML
118282011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11829
11830 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11831
50419064
GM
118322011-11-23 Glenn Morris <rgm@gnu.org>
11833
da94eca1
GM
11834 * paths.el (rmail-file-name): Reformat the doc-string so that it
11835 is picked up.
11836
9aac4de2
GM
11837 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11838 (rmail-auto-file): Ignore case in the "special" field names,
11839 as mail-fetch-field does for all others.
11840
8038d2d2
GM
11841 * mail/rmail.el (rmail-forward):
11842 * mail/rmailkwd.el (rmail-set-label):
11843 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11844 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11845
f3fe222a
GM
11846 * mail/rmail.el (rmail-current-message): Doc fix.
11847
50419064
GM
11848 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11849
28109f49
SM
118502011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11853
394c65f1
GM
118542011-11-22 Glenn Morris <rgm@gnu.org>
11855
11856 * mail/rmailmm.el (test-rmail-mime-handler)
11857 (test-rmail-mime-bulk-handler)
11858 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11859
f2a0aa3a
JL
118602011-11-21 Juri Linkov <juri@jurta.org>
11861
1154d12e
JB
11862 * calc/calc.el (calc-read-key-sequence):
11863 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11864
9c34a344
LMI
118652011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11866
11867 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11868 Tell the caller that the next line needs recomputation, even
11869 though it doesn't start a sexp (bug#10094).
11870
f04a3be9
SM
118712011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11872
11873 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11874
7978747f
SM
118752011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11876
f04a3be9
SM
11877 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11878 Use force-same-window.
7978747f 11879
fe7a3057
JB
118802011-11-20 Juanma Barranquero <lekktu@gmail.com>
11881
11882 * descr-text.el (describe-char-unicode-data):
11883 * json.el (json-string-escape):
11884 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11885 (Footnote-unicode, Footnote-style-p):
11886 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11887
24901d61
CY
118882011-11-20 Chong Yidong <cyd@gnu.org>
11889
11890 * window.el (replace-buffer-in-windows): Restore interactive spec.
11891
bac7ff22
SM
118922011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11893
24f3d7b9
SM
11894 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11895
bac7ff22
SM
11896 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11897 (byte-compile-global-not-obsolete-vars): New var.
11898 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11899 Use it.
11900 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11901
cd1181db
JB
119022011-11-20 Juanma Barranquero <lekktu@gmail.com>
11903
11904 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11905 * progmodes/pascal.el (electric-pascal-equal):
11906 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11907 * xml.el (xml-substitute-special): Fix typos.
11908
7fb18e9e
GM
119092011-11-20 Glenn Morris <rgm@gnu.org>
11910
11911 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11912 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11913 Doc fixes.
11914 (rmail-decode-mime-charset): Mark as obsolete.
11915
11916 * mail/rmailsum.el (rmail-message-regexp-p-1):
11917 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11918 Before using mime functions, check they are set. (Bug#10077)
11919
d5a6b3ba
JL
119202011-11-19 Juri Linkov <juri@jurta.org>
11921
11922 * info.el (Info-finder-find-node): Use `package--builtins' instead
11923 of `package-alist'. Use node names formed by the pattern "Keyword "
11924 and the keyword name.
11925
e981b61f
AS
119262011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11927
1d00653d 11928 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11929
3ffbc301
JL
119302011-11-19 Juri Linkov <juri@jurta.org>
11931
11932 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11933 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11934 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11935 `old-history', `old-history-forward'. Add let-binding
11936 `window-selected'. Remove calls to `kill-buffer',
11937 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11938 before calling `Info-find-node', so `Info-find-node-2' will reread
11939 the Info file. Restore window positions only when `window-selected'
11940 is non-nil.
11941
30c62133
JL
119422011-11-19 Juri Linkov <juri@jurta.org>
11943
11944 * isearch.el (isearch-lazy-highlight-new-loop):
11945 Remove condition `(not isearch-error)'. (Bug#9918)
11946
11947 * misearch.el (multi-isearch-search-fun): Add condition
11948 `(not bound)' to ignore lazy-highlighting search.
11949 Add the search-failed message "end of multi" when the end of
11950 multi-sequence is reached. Uncapitalize the search-failed
11951 message "Repeat for next buffer".
11952
11953 * info.el (Info-search): Add the search-failed message
11954 "end of the manual" when the end of the manual is reached
11955 in Isearch mode.
11956
645ca9cf
JL
119572011-11-19 Juri Linkov <juri@jurta.org>
11958
11959 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11960 Use non-destructive `remove' instead of `delete' because
11961 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11962 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11963
df754f66
JL
119642011-11-19 Juri Linkov <juri@jurta.org>
11965
11966 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11967 to nil instead of binding `search-ring' and `regexp-search-ring'.
11968 (Bug#9185)
11969
0e23d96a
EZ
119702011-11-19 Eli Zaretskii <eliz@gnu.org>
11971
11972 * simple.el (line-move): Force movement by logical lines for any
11973 hscrolled window, not only when auto-hscroll-mode is on.
11974 (line-move-visual): Update doc string to that effect. (Bug#10076)
11975
8a6ccb66
AS
119762011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11977
11978 * language/european.el (macintosh): Define as alias for mac-roman.
11979
49ae5b39
EZ
119802011-11-19 Eli Zaretskii <eliz@gnu.org>
11981
11982 * mail/rmailmm.el (rmail-mime-display-header)
11983 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11984 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11985 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11986 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11987 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11988 of a raw aref.
11989 (rmail-mime-entity-segment): To get past the tagline, move forward
11990 2 more lines, to account for the 2 empty lines that precede and
11991 follow the line with the buttons.
11992 (rmail-mime-update-tagline): Move one more line, to get past the
11993 empty line that follows the buttons in the tagline. (Bug#9520)
11994
c56cad4a
MR
119952011-11-19 Martin Rudalics <rudalics@gmx.at>
11996
11997 * window.el (window-max-delta-1, window-min-delta-1)
11998 (window-min-size-1, window-state-get-1, window-state-put-1)
11999 (window-state-put-2): Use "window--" prefix.
12000
cbe71af3
SM
120012011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12002
2ad52c60
SM
12003 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12004 (smie-warning-count): New var.
12005 (smie-set-prec2tab): Use it.
12006 (smie-bnf->prec2): Improve warnings. Add docstring.
12007 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12008 (smie-bnf--set-class): New function.
12009 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12010 corner case.
12011
6944dbc1
SM
12012 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12013 (compilation-error-properties, compilation-move-to-column):
12014 Handle compilation-first-column while in the target buffer.
12015
c400c4d7
SM
12016 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12017 Don't hardcode point-min==1.
12018
6dbe3e96
SM
12019 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12020 (eshell-rewrite-for-command): Remove workaround.
12021 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12022 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12023 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12024
cbe71af3
SM
12025 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12026
a8e1496d
GM
120272011-11-17 Glenn Morris <rgm@gnu.org>
12028
12029 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12030 Ignore buffer-local generated-autoload-file if it is the same
12031 as the global value. (Bug#10049)
12032
df85d315
JB
120332011-11-17 Juanma Barranquero <lekktu@gmail.com>
12034
12035 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12036 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12037 (reftex-toc-previous-heading, reftex-toc-max-level)
12038 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12039 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12040 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12041 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12042 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12043 (reftex-toc-rename-label, reftex-toc-visit-location)
12044 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12045 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12046 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12047 leaving "*toc*" only for references to the buffer.
12048
a0c2d0ae
MR
120492011-11-17 Martin Rudalics <rudalics@gmx.at>
12050
12051 * window.el (window-resize, delete-window, split-window):
12052 Replace window-splits by window-combination-resize.
1d00653d 12053 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12054
35c0bac8
GM
120552011-11-17 Glenn Morris <rgm@gnu.org>
12056
12057 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12058 Make bash entry derive from sh entry, not shell entry.
12059
d0c8fc8a
MA
120602011-11-16 Michael Albinus <michael.albinus@gmx.de>
12061
7262a87c
MA
12062 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12063 local file name.
12064
7877f373
JB
120652011-11-16 Juanma Barranquero <lekktu@gmail.com>
12066
12067 * menu-bar.el (menu-bar-file-menu):
12068 * printing.el (pr-ps-utility):
12069 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12070 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12071 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12072 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12073 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12074 (icalendar--convert-cyclic-to-ical)
12075 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12076 (icalendar--convert-ical-to-diary)
12077 (icalendar--convert-recurring-to-diary)
12078 (icalendar--convert-non-recurring-all-day-to-diary)
12079 (icalendar-import-format-sample):
12080 * progmodes/idlw-shell.el (idlwave-shell-mode):
12081 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12082 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12083 (vhdl-ps-print-init): Fix typos.
12084
10649b82
KM
120852011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12086
9d0cfcd6
GM
12087 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12088 FSF and collapse date sequence, obscure author/maintainer email address
12089 better, remove extra version line, track relocation of author's webpage.
10649b82 12090
9d0cfcd6
GM
12091 * progmodes/python.el (python-pdbtrack-input-prompt)
12092 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12093 regular python pdb prompts. Adjustments shamelessly taken exactly as
12094 suggested in EmacsWiki page (tiny change):
12095 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12096
58179cce
JB
120972011-11-16 Juanma Barranquero <lekktu@gmail.com>
12098
12099 * expand.el (expand-pos, expand-index, expand-point):
12100 Remove redundant info from docstring.
12101 (expand-add-abbrevs): Doc fix.
12102 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12103 (expand-sample-perl-mode-expand-list): Fix typos.
12104
12105 * net/dbus.el (dbus-event-member-name):
12106 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12107 * term/pc-win.el (msdos-create-frame-with-faces):
12108 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12109
b6f67890
MR
121102011-11-16 Martin Rudalics <rudalics@gmx.at>
12111
12112 * window.el (split-window, window-state-get-1)
12113 (window-state-put-1, window-state-put-2): Rename occurrences of
12114 window-nest to window-combination-limit.
1d00653d 12115 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12116
ce7ddba0
CY
121172011-11-16 Chong Yidong <cyd@gnu.org>
12118
12119 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12120 regexp (Bug#10033).
12121
3ae704f4
SM
121222011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12125 `completing-read' will remove *Completions* and will preserve
12126 current-buffer for us.
12127 (tmm-add-prompt): Users of *Completions* will always (re)set its
12128 major mode.
12129 (tmm-old-comp-map): Remove.
12130
6ad1cdde
GM
121312011-11-16 Glenn Morris <rgm@gnu.org>
12132
12133 * mail/rmailedit.el: Require rmailmm when compiling.
12134 (rmail-old-mime-state): New declaration.
12135 (rmail-edit-current-message): If editing a mime message,
12136 edit the "raw" message from the mbox buffer.
12137 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12138
d20faa20
GM
121392011-11-15 Glenn Morris <rgm@gnu.org>
12140
12141 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12142 which wasn't being used. Add optional arg to force given state.
12143 (rmail-mime): Add optional arg to force given state.
12144
c7015153
JB
121452011-11-15 Juanma Barranquero <lekktu@gmail.com>
12146
12147 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12148 * frame.el (display-mm-dimensions-alist):
12149 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12150 (outline-move-subtree-down):
12151 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12152 (newsticker--treeview-do-get-node):
12153 * net/quickurl.el (quickurl-list-buffer-name):
12154 * progmodes/dcl-mode.el (dcl-mode):
12155 * progmodes/gdb-mi.el (gdb-mapcar*):
12156 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12157
45261b50
GM
121582011-11-15 Glenn Morris <rgm@gnu.org>
12159
12160 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12161 in a boolean sense, so just make it a boolean, and fix the doc.
12162 (rmail-show-mime-function, rmail-mime-feature)
12163 (rmail-require-mime-maybe): Doc fixes.
12164 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12165
12166 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12167
0d26e0b6
JB
121682011-11-15 Juanma Barranquero <lekktu@gmail.com>
12169
12170 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12171 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12172 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12173 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12174
447f30f6
GM
121752011-11-15 Glenn Morris <rgm@gnu.org>
12176
672b871d
GM
12177 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12178 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12179 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12180 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12181 (rmail-mime, rmail-show-mime): Doc fixes.
12182
f6aa5bb1
GM
12183 * term/ns-win.el (mode-line-frame-identification):
12184 Leave it alone. (Bug#10051)
12185
947cd66b
GM
12186 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12187
447f30f6
GM
12188 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12189 Handle empty buffers. (Bug#9978)
12190
0b381c7e
JB
121912011-11-14 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * international/mule.el (define-charset):
12194 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12195 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12196 * progmodes/verilog-mode.el (verilog-backward-token):
12197 * textmodes/ispell.el (lookup-words):
12198 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12199
71e027ac
GM
122002011-11-14 Glenn Morris <rgm@gnu.org>
12201
56632ce4
GM
12202 * progmodes/executable.el
12203 (executable-make-buffer-file-executable-if-script-p):
12204 Handle file-modes returning nil.
12205
40500957
GM
12206 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12207 message - not necessary, and causes problems. (Bug#9831)
12208
071c2340
GM
12209 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12210
d3cfca60
GM
12211 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12212
71e027ac
GM
12213 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12214 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12215 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12216
89d61221
MR
122172011-11-12 Martin Rudalics <rudalics@gmx.at>
12218
12219 * window.el (window-resize, delete-window): Use window-splits
12220 variable instead of function.
12221 (window-state-get-1, window-state-put-2, window-state-put):
12222 Don't deal with windows' splits status.
12223
98282f6f
GM
122242011-11-12 Glenn Morris <rgm@gnu.org>
12225
12226 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12227 (apropos-documentation): Doc fixes.
12228
40a8bdf6
JB
122292011-11-11 Juanma Barranquero <lekktu@gmail.com>
12230
12231 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12232 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12233
65bd19ff
SM
122342011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * electric.el (electric-indent-post-self-insert-function): Make it
12237 possible for a char to only indent in some circumstances.
12238 (electric-indent-mode): Simplify.
12239
54f9154c
MR
122402011-11-11 Martin Rudalics <rudalics@gmx.at>
12241
12242 * window.el (windows-with-parameter): Remove unused function.
12243 (windows-at-side): Rename to window-at-side-list.
12244 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12245 (window-side-check, window-size-ignore, window-size-fixed-1)
12246 (window-in-direction-2): Prefix with "window--".
12247 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12248
68cbc58b
GM
122492011-11-11 Glenn Morris <rgm@gnu.org>
12250
12251 * subr.el (eval-after-load): If FILE is already loaded,
12252 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12253
b2621720
GM
122542011-11-10 Glenn Morris <rgm@gnu.org>
12255
9a4de110
GM
12256 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12257 Call svn via vc-svn-command rather than vc-do-command.
12258 (vc-svn-command): Add --non-interactive. (Bug#9993)
12259 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12260
b2621720
GM
12261 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12262 Add toggle-read-only. (Bug#7292)
12263 * files.el (toggle-read-only): Mention that it should only
12264 be used interactively. (Bug#10006)
12265
1dce7193
SM
122662011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12267
d9ac1a1e
SM
12268 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12269 Adjust regexp for OCaml warnings.
12270
0c325082
SM
12271 * electric.el (electric-pair-post-self-insert-function): Let user
12272 turn it off buffer-locally (bug#9932).
12273
90132c14
SM
12274 * progmodes/python.el (python-beginning-of-statement):
12275 Rewrite (bug#2703).
12276
1dce7193
SM
12277 * progmodes/compile.el: Better handle TABs (bug#9749).
12278 (compilation-internal-error-properties)
12279 (compilation-next-error-function): Obey the target buffer's
12280 compilation-error-screen-columns.
12281
c4e7c63a
JB
122822011-11-09 Juanma Barranquero <lekktu@gmail.com>
12283
12284 * progmodes/meta-mode.el: Remove obsolete comments.
12285 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12286 Fix typos in docstrings.
12287
2cffd681
MR
122882011-11-09 Martin Rudalics <rudalics@gmx.at>
12289
12290 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12291 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12292 (window--resizable): New function. Make all callers of
12293 window-resizable call window--resizable instead.
12294 (window-resizable): Rewrite in terms of window--resizable.
12295
0edcba87
GM
122962011-11-08 Glenn Morris <rgm@gnu.org>
12297
12298 * progmodes/delphi.el (delphi-mode-syntax-table):
12299 Let define-derived-mode define a proper syntax table. (Bug#9994)
12300
4b0d61e3
SM
123012011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12302
12303 * window.el: Stay away from defsubst.
12304 (window-list-no-nils): Remove.
12305 (window-state-get-1, window-state-get): Use backquote instead.
12306
cd394be1 123072011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12308
4b0d61e3 12309 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12310 Fix incorrect use of default argument in `completing-read'.
12311
e1c2c6f2
MR
123122011-11-08 Martin Rudalics <rudalics@gmx.at>
12313
12314 * window.el (display-buffer-function, special-display-function):
12315 Mention display-buffer-record-window but do not mention
12316 help-setup parameter in doc-strings.
b3f4a882 12317 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12318
105216ed
CY
123192011-11-08 Chong Yidong <cyd@gnu.org>
12320
12321 * window.el (window-total-height, window-total-width): Doc fix.
12322 (window-body-size): Move from C.
12323 (window-body-height, window-body-width): Move to C.
12324
0a9f9ab5
SM
123252011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * window.el: Make special-display like display-buffer-alist (bug#9532).
12328 (display-buffer--special-action): New function, morphed
12329 from display-buffer--special.
12330 (display-buffer): Use it to handle special-display-buffers at higher
12331 priority (just after display-buffer-alist).
12332 (display-buffer-fallback-action, display-buffer--other-frame-action)
12333 (pop-to-buffer-same-window): Remove display-buffer--special.
12334
a769dd15
GM
123352011-11-07 Glenn Morris <rgm@gnu.org>
12336
12337 * calendar/cal-menu.el (cal-menu-set-date-title):
12338 Do nothing if not in a calendar. (Bug#9976)
12339
05a61ee3
SM
123402011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12341
12342 * files.el (find-file): Always use selected-window.
12343
be7f5545
MR
123442011-11-07 Martin Rudalics <rudalics@gmx.at>
12345
12346 * window.el (window-combinations): Make WINDOW argument
12347 mandatory. Rewrite doc-string.
12348 (walk-window-subtree, window-atom-check, window-min-delta)
12349 (window-max-delta, window--resize-this-window)
12350 (window--resize-root-window-vertically, window-tree)
12351 (balance-windows, window-state-put): Rewrite doc-strings as to
12352 not mention the term "subwindow".
12353 (window--resize-subwindows-skip-p): Rename to
12354 window--resize-child-windows-skip-p.
12355 (window--resize-subwindows-normal): Rename to
12356 window--resize-child-windows-normal.
12357 (window--resize-subwindows): Rename to
12358 window--resize-child-windows.
12359 (window-or-subwindow-p): Rename to window--in-subtree-p.
12360
3c6702ef
ML
123612011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12362
12363 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12364 Ensure that mbox format messages end in two newlines (Bug#9974).
12365
49745b39
CY
123662011-11-06 Chong Yidong <cyd@gnu.org>
12367
12368 * window.el (window-combination-p): Function deleted; its
12369 side-effect is not used in any existing code.
12370 (window-combinations, window-combined-p): Call window-*-child
12371 directly.
12372
24300f5f
CY
123732011-11-05 Chong Yidong <cyd@gnu.org>
12374
12375 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12376 (window-size-ignore, window-state-get): Callers changed.
12377 (window-normalize-window): Rename from window-normalize-any-window.
12378 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12379 (window-normalize-live-window): Delete.
447f16b8
CY
12380 (window-combination-p, window-combined-p, window-combinations)
12381 (walk-window-subtree, window-atom-root, window-min-size)
12382 (window-sizable, window-sizable-p, window-size-fixed-p)
12383 (window-min-delta, window-max-delta, window-resizable)
12384 (window-resizable-p, window-full-height-p, window-full-width-p)
12385 (window-current-scroll-bars, window-point-1, set-window-point-1)
12386 (window-at-side-p, window-in-direction, window-resize)
12387 (adjust-window-trailing-edge, maximize-window, minimize-window)
12388 (window-deletable-p, delete-window, delete-other-windows)
12389 (record-window-buffer, unrecord-window-buffer)
12390 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12391 (quit-window, split-window, window-state-put)
12392 (set-window-text-height, fit-window-to-buffer)
12393 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12394
89bd5ee1
EZ
123952011-11-04 Eli Zaretskii <eliz@gnu.org>
12396
53479029
EZ
12397 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12398 rfc2047-decode-string.
12399 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12400 warnings.
12401
89bd5ee1
EZ
12402 * window.el (window-body-height, window-body-width): Mention in
12403 the doc string that the return values are in frame's canonical
12404 units. (Bug#9949)
12405
bd17fdee
AM
124062011-11-03 Alan Mackenzie <acm@muc.de>
12407
12408 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12409 change in cc-engine.el.
12410
acc825c5
SM
124112011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12414
1885e5b8
MR
124152011-11-02 Martin Rudalics <rudalics@gmx.at>
12416
12417 * window.el (quit-window): Call unrecord-window-buffer after
12418 showing another buffer in the window. (Bug#9937)
acc825c5 12419 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12420
ebe06da9
JB
124212011-11-02 Juanma Barranquero <lekktu@gmail.com>
12422
12423 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12424 Accept status with more than 9 shelves. (Bug#9935)
12425 Reported by Colin D Bennett <colin@gibibit.com>.
12426
4ee88440
MR
124272011-11-01 Martin Rudalics <rudalics@gmx.at>
12428
12429 * help.el (with-help-window): Don't reference
12430 temp-buffer-show-specifiers in doc-string.
12431
08e1d82c
AS
124322011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12433
12434 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12435 menu-item.
12436
84bd6e9e
VJL
124372011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12438
12439 * whitespace.el: New version 13.2.2.
12440 (whitespace-newline-mode): Disable properly. Reported by Sarah
12441 <EmacsWiki>.
12442
dba0634a
UJ
124432011-10-30 Ulf Jasper <ulf.jasper@web.de>
12444
12445 * net/newst-treeview.el: Remove "Time-stamp".
12446 (newsticker--group-manage-orphan-feeds): Do not call
12447 newsticker--treeview-tree-update.
db22a3c2
JB
12448 (newsticker-treeview-update, newsticker-treeview):
12449 Call newsticker--treeview-tree-update if necessary.
dba0634a 12450
3d8daefe
MR
124512011-10-30 Martin Rudalics <rudalics@gmx.at>
12452
12453 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12454 (window-iso-combinations): Remove "iso-" infix.
12455 Suggested by Chong Yidong.
3d8daefe
MR
12456 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12457 (window-max-delta-1, window-resize, window--resize-siblings)
12458 (window--resize-this-window, adjust-window-trailing-edge)
12459 (split-window, balance-windows-1)
12460 (shrink-window-if-larger-than-buffer):
12461 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12462 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12463
1bc4c3ae
SM
124642011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12467 in place (bug#9907).
12468 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12469 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12470 (eshell-structure-basic-command, eshell-rewrite-while-command)
12471 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12472 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12473 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12474 (eshell-do-pipelines-synchronously, eshell-eval-command):
12475 Use backquotes and prefer setq to set.
12476 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12477 (eshell-macrop): Use functionp.
c1e2f5fa 12478 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12479
30b65d9c
CY
124802011-10-30 Chong Yidong <cyd@gnu.org>
12481
12482 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12483 instead of set-mark (Bug#9810).
12484
2d197ffb
CY
124852011-10-30 Chong Yidong <cyd@gnu.org>
12486
12487 * window.el (split-window-below, split-window-right): Rename from
12488 split-window-above-each-other and split-window-side-by-side
12489 respectively. All callers changed.
12490 (split-window-sensibly, split-window-sensibly): Use them.
12491 (split-window-keep-point): Doc fix.
12492
12493 * isearch.el: Add isearch-scroll property to split-window-below
12494 and split-window-right.
12495
12496 * follow.el (follow-mode):
12497 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12498 * progmodes/ada-xref.el (ada-gdb-application):
12499 * emulation/vip.el (vip-buffer-in-two-windows):
12500 * image-dired.el (image-dired-dired-with-window-configuration):
12501 * dired-x.el (dired-do-find-marked-files):
12502 * dired.el (dired-pop-to-buffer):
12503 * bs.el (bs--show-with-configuration):
12504 * vc/emerge.el (emerge-setup-windows):
12505 * textmodes/two-column.el (2C-two-columns):
12506 * textmodes/reftex-toc.el (reftex-toc):
12507 * progmodes/gdb-mi.el (gdb-setup-windows):
12508 * progmodes/fortran.el (fortran-window-create):
12509 * net/newst-treeview.el (newsticker--treeview-window-init):
12510 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12511 * emulation/tpu-edt.el (tpu-gold-map):
12512 * emulation/crisp.el (crisp-mode-map):
12513 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12514
38bb2ca8
CY
125152011-10-29 Chong Yidong <cyd@gnu.org>
12516
aa4de341
CY
12517 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12518
e1eb5385
CY
12519 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12520
5d2ece3c
CY
12521 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12522 forged Ispell output (Bug#7904).
12523
38bb2ca8
CY
12524 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12525
d0af9f77
SM
125262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12527
12528 * doc-view.el: Avoid ugly errors about not finding nil.
12529 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12530 (doc-view-dvipdf-program, doc-view-unoconv-program)
12531 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12532 Avoid nil or absolute file name as default value.
12533 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12534
52bedd34
AM
125352011-10-28 Alan Mackenzie <acm@muc.de>
12536
db22a3c2 12537 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12538
7e43cfa5
AM
125392011-10-28 Alan Mackenzie <acm@muc.de>
12540
12541 Amend the handling of c-beginning/end-of-defun in nested declaration
12542 scopes.
12543
52bedd34
AM
12544 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12545 cc-langs.el. Change it to a defcustom.
7e43cfa5 12546
52bedd34
AM
12547 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12548 cc-vars.el.
7e43cfa5 12549
d0af9f77
SM
12550 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12551 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12552
52bedd34 12553 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12554 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12555 (c-widen-to-enclosing-decl-scope): New function.
12556 (c-while-widening-to-decl-block): New macro.
12557 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12558 outward for defun boundaries, and correspondingly change symbol
12559 `respect-enclosure' to `go-outward'.
12560 (c-declaration-limits): Change algorithm to report only the "innermost"
12561 defun's boundaries.
12562
1a2ce9ee
DD
125632011-10-28 Deniz Dogan <deniz@dogan.se>
12564
12565 * net/rcirc.el (rcirc-mode): Use hard newlines.
12566
bc97a826
AM
125672011-10-28 Alan Mackenzie <acm@muc.de>
12568
12569 Amend to indent and fontify macros "which include their own semicolon"
12570 correctly, using the "virtual semicolon" mechanism.
12571
52bedd34 12572 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12573
d0af9f77 12574 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12575 Recode to scan one line at a time rather than having \n and \r
58179cce 12576 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12577 (c-forward-label): Amend for virtual semicolons.
58179cce 12578 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12579
52bedd34
AM
12580 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12581 of the new C macros.
bc97a826 12582
52bedd34 12583 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12584 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12585 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12586 (c-opt-cpp-macro-define): Make into a full language variable.
12587 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12588 AWK Mode (including \n, \r) removed, no longer needed.
12589
d0af9f77
SM
12590 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12591 Invoke c-make-macro-with-semi-re.
bc97a826 12592
52bedd34
AM
12593 * progmodes/cc-vars.el (c-macro-with-semi-re):
12594 (c-macro-names-with-semicolon): New variables.
58179cce 12595 (c-make-macro-with-semi-re): New function.
bc97a826 12596
7a6c0941
SM
125972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * vc/log-edit.el: Fill empty field rather than adding new one.
12600 (log-edit-add-field): New function.
12601 (log-edit-insert-changelog): Use it.
12602
b0c4cdcf
ML
126032011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12604
12605 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12606
ee1f1da9
SM
126072011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12610 (gdb--check-interpreter): New function.
12611 (gdb): Use it.
12612
51bc5f8b
GM
126132011-10-27 Glenn Morris <rgm@gnu.org>
12614
416a2c45
GM
12615 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12616 (least-positive-float, least-negative-float)
12617 (least-positive-normalized-float, least-negative-normalized-float)
12618 (float-epsilon, float-negative-epsilon):
12619 Remove unnecessary declarations.
12620
12621 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12622 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12623 (least-positive-float, least-negative-float)
12624 (least-positive-normalized-float, least-negative-normalized-float)
12625 (float-epsilon, float-negative-epsilon): Add doc-strings,
12626 based on those in cl.texi.
12627
51bc5f8b
GM
12628 * files.el (set-visited-file-name): If the major-mode changed,
12629 reload the local variables. (Bug#9796)
12630
15de15c6
CY
126312011-10-27 Chong Yidong <cyd@gnu.org>
12632
12633 * subr.el (change-major-mode-after-body-hook): New hook.
12634 (run-mode-hooks): Run it.
12635
ee1f1da9
SM
12636 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12637 Use change-major-mode-before-body-hook.
15de15c6
CY
12638
12639 * simple.el (fundamental-mode):
12640 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12641 change introducing fundamental-mode-hook.
12642
5430d399
JB
126432011-10-26 Juanma Barranquero <lekktu@gmail.com>
12644
acc825c5 12645 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12646
ad74a69e
MA
126472011-10-26 Michael Albinus <michael.albinus@gmx.de>
12648
12649 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12650 tramp.el explicitly. (Bug#7583)
ad74a69e 12651
71d4c2a5
SM
126522011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12653
12654 * progmodes/octave-mod.el:
12655 * progmodes/octave-inf.el: Update maintainer.
12656
b1f6fa26
CY
126572011-10-26 Chong Yidong <cyd@gnu.org>
12658
12659 * subr.el (with-wrapper-hook): Rewrite doc.
12660
3f04efd6
MA
126612011-10-25 Michael Albinus <michael.albinus@gmx.de>
12662
12663 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12664 filenames "/method:foo:". (Bug#9793)
3f04efd6 12665
410488d3
SM
126662011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12669 (bug#9865).
12670
c1ebb47e
GM
126712011-10-24 Glenn Morris <rgm@gnu.org>
12672
12673 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12674
7f5c46c7
MA
126752011-10-24 Michael Albinus <michael.albinus@gmx.de>
12676
12677 * notifications.el: Add the requirement of a running D-Bus session
12678 bus to the Commentary.
12679
db2440b6
JL
126802011-10-24 Juri Linkov <juri@jurta.org>
12681
12682 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12683 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12684 (Bug#9364)
12685
feecf435
JL
126862011-10-24 Juri Linkov <juri@jurta.org>
12687
12688 * info.el (Info-following-node-name-re): Add newline to the list
12689 of allowed characters for leading space. (Bug#9824)
12690
a3839de2
SM
126912011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12692
acc825c5
SM
12693 * progmodes/octave-inf.el (inferior-octave-mode-map):
12694 Fix C-c C-h binding.
a3839de2
SM
12695 * progmodes/octave-mod.el (octave-help): Remove.
12696
09388e76
MA
126972011-10-23 Michael Albinus <michael.albinus@gmx.de>
12698
12699 Sync with Tramp 2.2.3.
12700
12701 * net/tramp-cache.el (top): Pacify byte-compiler using
12702 `init-file-user' and `site-run-file'.
12703
12704 * net/trampver.el: Update release number.
12705
86c60681
CY
127062011-10-23 Chong Yidong <cyd@gnu.org>
12707
12708 * files.el (toggle-read-only): Remove obsolete comment about
12709 version control.
12710
12711 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12712 for toggle-read-only. Note that this hasn't called vc-next-action
12713 since 2008-05-02, though it wasn't documented at the time.
12714
a3839de2
SM
12715 * vc/ediff-init.el (ediff-toggle-read-only-function):
12716 Use toggle-read-only.
86c60681 12717
cd5495ff
AM
127182011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12719
12720 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12721 of c-parse-state.
12722
00b77525 12723 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12724 correct faulty logical expression.
cd5495ff
AM
12725 (c-parse-state-state, c-record-parse-state-state):
12726 (c-replay-parse-state-state): New defvar/defuns.
12727 (c-debug-parse-state): Use new functions.
12728
42ee24ed
MR
127292011-10-22 Martin Rudalics <rudalics@gmx.at>
12730
12731 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12732 last fix. Use window-in-direction correctly.
42ee24ed 12733
a7dee7e7
CY
127342011-10-21 Chong Yidong <cyd@gnu.org>
12735
12736 * progmodes/idlwave.el (idlwave-mode):
12737 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12738 require-final-newline; that's done in prog-mode.
12739 Suggested by Stefan Monnier.
a7dee7e7 12740
e07b9a6d
MR
127412011-10-21 Martin Rudalics <rudalics@gmx.at>
12742
12743 * mouse.el (mouse-drag-window-above)
12744 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12745 (mouse-drag-mode-line-1, mouse-drag-header-line)
12746 (mouse-drag-vertical-line-rightward-window): Remove.
12747 (mouse-drag-line): New function.
12748 (mouse-drag-mode-line, mouse-drag-header-line)
12749 (mouse-drag-vertical-line): Call mouse-drag-line.
12750 * window.el (window-at-side-p, windows-at-side): New functions.
12751
7e1361d9
UM
127522011-10-21 Ulrich Mueller <ulm@gentoo.org>
12753
12754 * tar-mode.el (tar-grind-file-mode):
12755 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12756
30fcaf3a
CY
127572011-10-21 Chong Yidong <cyd@gnu.org>
12758
12759 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12760 * progmodes/vera-mode.el (vera-mode):
12761 Use mode-require-final-newline.
30fcaf3a 12762
516eddb0
GM
127632011-10-20 Glenn Morris <rgm@gnu.org>
12764
db22a3c2 12765 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12766
10d5f513
CS
127672011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12768
12769 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12770
ac6c8639
CY
127712011-10-20 Chong Yidong <cyd@gnu.org>
12772
12773 * emulation/cua-base.el (cua-mode):
12774 * mail/footnote.el (footnote-mode):
12775 * mail/mailabbrev.el (mail-abbrevs-mode):
12776 * net/xesam.el (xesam-minor-mode):
12777 * progmodes/bug-reference.el (bug-reference-mode):
12778 * progmodes/cap-words.el (capitalized-words-mode):
12779 * progmodes/compile.el (compilation-minor-mode)
12780 (compilation-shell-minor-mode):
12781 * progmodes/gud.el (gud-tooltip-mode):
12782 * progmodes/hideif.el (hide-ifdef-mode):
12783 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12784 * progmodes/subword.el (subword-mode):
12785 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12786 * progmodes/which-func.el (which-function-mode):
12787 * term/tvi970.el (tvi970-set-keypad-mode):
12788 * term/vt100.el (vt100-wide-mode):
12789 * textmodes/flyspell.el (flyspell-mode):
12790 * textmodes/ispell.el (ispell-minor-mode):
12791 * textmodes/nroff-mode.el (nroff-electric-mode):
12792 * textmodes/paragraphs.el (use-hard-newlines):
12793 * textmodes/refill.el (refill-mode):
12794 * textmodes/reftex.el (reftex-mode):
12795 * textmodes/rst.el (rst-minor-mode):
12796 * textmodes/sgml-mode.el (html-autoview-mode)
12797 (sgml-electric-tag-pair-mode):
12798 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12799 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12800 * emulation/crisp.el (crisp-mode):
12801 * emacs-lisp/eldoc.el (eldoc-mode):
12802 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12803 minor mode behavior.
12804
aa42ab43
JL
128052011-10-19 Juri Linkov <juri@jurta.org>
12806
12807 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12808 the list of hard-coded chars with escape-glyph face.
12809
89400f1d
SM
128102011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12813
305c07f6
MA
128142011-10-19 Michael Albinus <michael.albinus@gmx.de>
12815
12816 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12817 running process.
12818
13754b54
GM
128192011-10-19 Glenn Morris <rgm@gnu.org>
12820
12821 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12822 Ignore ignored files. (Bug#9726)
12823
06e21633
CY
128242011-10-19 Chong Yidong <cyd@gnu.org>
12825
12826 Doc fix for minor modes, stating that an omitted argument enables
12827 the mode unconditionally when called from Lisp.
12828
12829 * abbrev.el (abbrev-mode):
12830 * allout.el (allout-mode):
12831 * autoinsert.el (auto-insert-mode):
12832 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12833 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12834 (global-auto-revert-mode):
12835 * battery.el (display-battery-mode):
12836 * composite.el (global-auto-composition-mode)
12837 (auto-composition-mode):
12838 * delsel.el (delete-selection-mode):
12839 * desktop.el (desktop-save-mode):
12840 * dired-x.el (dired-omit-mode):
12841 * dirtrack.el (dirtrack-mode):
12842 * doc-view.el (doc-view-minor-mode):
12843 * double.el (double-mode):
12844 * electric.el (electric-indent-mode, electric-pair-mode):
12845 * emacs-lock.el (emacs-lock-mode):
12846 * epa-hook.el (auto-encryption-mode):
12847 * follow.el (follow-mode):
12848 * font-core.el (font-lock-mode):
12849 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12850 * help.el (temp-buffer-resize-mode):
12851 * hilit-chg.el (highlight-changes-mode)
12852 (highlight-changes-visible-mode):
12853 * hi-lock.el (hi-lock-mode):
12854 * hl-line.el (hl-line-mode, global-hl-line-mode):
12855 * icomplete.el (icomplete-mode):
12856 * ido.el (ido-everywhere):
12857 * image-file.el (auto-image-file-mode):
12858 * image-mode.el (image-minor-mode):
12859 * iswitchb.el (iswitchb-mode):
12860 * jka-cmpr-hook.el (auto-compression-mode):
12861 * linum.el (linum-mode):
12862 * longlines.el (longlines-mode):
12863 * master.el (master-mode):
12864 * mb-depth.el (minibuffer-depth-indicate-mode):
12865 * menu-bar.el (menu-bar-mode):
12866 * minibuf-eldef.el (minibuffer-electric-default-mode):
12867 * mouse-sel.el (mouse-sel-mode):
12868 * msb.el (msb-mode):
12869 * mwheel.el (mouse-wheel-mode):
12870 * outline.el (outline-minor-mode):
12871 * paren.el (show-paren-mode):
12872 * recentf.el (recentf-mode):
12873 * reveal.el (reveal-mode, global-reveal-mode):
12874 * rfn-eshadow.el (file-name-shadow-mode):
12875 * ruler-mode.el (ruler-mode):
12876 * savehist.el (savehist-mode):
12877 * scroll-all.el (scroll-all-mode):
12878 * scroll-bar.el (scroll-bar-mode):
12879 * server.el (server-mode):
12880 * shell.el (shell-dirtrack-mode):
12881 * simple.el (auto-fill-mode, transient-mark-mode)
12882 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12883 (line-number-mode, column-number-mode, size-indication-mode)
12884 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12885 * strokes.el (strokes-mode):
12886 * time.el (display-time-mode):
12887 * t-mouse.el (gpm-mouse-mode):
12888 * tool-bar.el (tool-bar-mode):
12889 * tooltip.el (tooltip-mode):
12890 * type-break.el (type-break-mode-line-message-mode)
12891 (type-break-query-mode):
12892 * view.el (view-mode):
12893 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12894 (global-whitespace-mode, global-whitespace-newline-mode):
12895 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12896
a3839de2
SM
12897 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12898 Fix autogenerated docstring.
06e21633 12899
5214e501
JL
129002011-10-19 Juri Linkov <juri@jurta.org>
12901
12902 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12903 by checking environment variables "DESKTOP_SESSION" and
12904 "XDG_CURRENT_DESKTOP". (Bug#9779)
12905
195f8db9
JL
129062011-10-19 Juri Linkov <juri@jurta.org>
12907
12908 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12909 (browse-url-chromium-program, browse-url-chromium-arguments):
12910 New defcustoms.
12911 (browse-url-default-browser): Check for `browse-url-chromium' and
12912 call `browse-url-chromium-program'.
12913 (browse-url-chromium): New command. (Bug#9779)
12914
343a34ff
JB
129152011-10-18 Juanma Barranquero <lekktu@gmail.com>
12916
12917 * facemenu.el (list-colors-duplicates): On Windows, detect more
12918 duplicates by assuming that only colors matching "^System" are
12919 special "system colors". (Bug#9722)
12920
6978a151
SM
129212011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12924 to distinguish the author from the committer.
12925
6a80b297
MA
129262011-10-18 Michael Albinus <michael.albinus@gmx.de>
12927
12928 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12929
b31a5677
JK
129302011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12931
12932 * international/mule.el (sgml-html-meta-auto-coding-function):
12933 Add support for detecting encoding in HTML5 specified only as
12934 <meta charset="UTF-8">. Implementation just makes http-equiv and
12935 content-type parts from HTML4 encoding string optional. (Bug#9716)
12936
80c6d77f
GM
129372011-10-18 Glenn Morris <rgm@gnu.org>
12938
12939 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12940
08b0fee8
CY
129412011-10-18 Chong Yidong <cyd@gnu.org>
12942
12943 * faces.el (cursor): Doc fix.
12944
67e729a5
CY
129452011-10-17 Chong Yidong <cyd@gnu.org>
12946
12947 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12948
343a34ff 129492011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12950
12951 * dirtrack.el (dirtrack): Support shell buffers with path
12952 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12953
0bc06380
TZ
129542011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12955
12956 * json.el: Bump version to 1.3 and note change in History.
12957 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12958
8b79f3e0
SM
129592011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12960
5a7c536b
SM
12961 * comint.el (comint-insert-input, comint-send-input)
12962 (comint-get-old-input-default, comint-backward-matching-input)
12963 (comint-next-prompt): Use nil instead of `input' for field property of
12964 past user input (bug#114).
12965
96a8a0df
SM
12966 * minibuffer.el (completion--replace): Inherit surrounding properties
12967 (bug#114).
12968 (minibuffer-complete-and-exit): Use it.
12969
8b79f3e0
SM
12970 * comint.el (comint--table-subvert): Quote the all-completions output
12971 (bug#9160).
12972
b8f7ff0d
MR
129732011-10-17 Martin Rudalics <rudalics@gmx.at>
12974
8b79f3e0 12975 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12976
b8f7ff0d 12977 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12978 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12979 entries and separate them from frame entries.
12980
c235b555
GM
129812011-10-15 Glenn Morris <rgm@gnu.org>
12982
12983 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12984 Doc fixes.
12985
6bbfa6e1
CY
129862011-10-15 Chong Yidong <cyd@stupidchicken.com>
12987
8b79f3e0
SM
12988 * net/network-stream.el (network-stream-open-starttls):
12989 Improve detection of failure due to lack of TLS support.
ec5c990d 12990
6bbfa6e1
CY
12991 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12992 putting the input text in front and in bold.
12993
98488977
SM
129942011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12995
3d1337be
SM
12996 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12997
ee0b45e4
SM
12998 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12999 empty buffer.
13000
98488977
SM
13001 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13002 unread-command-events rather than pushing yet-another event.
13003
186f4720
EZ
130042011-10-14 Eli Zaretskii <eliz@gnu.org>
13005
13006 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13007 the explanation of the possible choices. Make the options passed
13008 to completing-read shorter.
13009
8b7a997c
AM
130102011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13011
13012 * textmodes/flyspell.el (flyspell-large-region): Make sure
13013 extended character mode is used if defined (Bug#1339).
13014
12587bbb
EZ
130152011-10-13 Eli Zaretskii <eliz@gnu.org>
13016
13017 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13018 character info for LRE, LRO, RLE, and RLO characters by appending
13019 an invisible PDF.
12587bbb 13020
bad41229
SM
130212011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13022
13023 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13024 even in case of error; add debug spec; simplify data flow.
13025 (with-timeout-handler): Remove.
13026
28dbc92f
MA
130272011-10-12 Michael Albinus <michael.albinus@gmx.de>
13028
13029 Fix Bug#6019, Bug#9315.
13030
13031 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13032 complete `buffer-file-name', the local file name part could look
13033 remotely (for example on VMS).
13034
13035 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13036 `tramp-run-real-handler'.
13037 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13038 already quoted by '"'.
13039
13040 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13041 Let `file-name-handler-alist' be nil, the local file name part
13042 could look remotely (for example on VMS).
13043
e1b0b23a
SM
130442011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13045
13046 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13047 from here...
13048 (flyspell-post-command-hook): ...to here.
13049
a120bde9
SM
130502011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13053 if not needed.
13054 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13055 using completion. Protect against "slow" callers.
13056 Remove the "message hack".
13057
7ce7717b
JL
130582011-10-11 Juri Linkov <juri@jurta.org>
13059
13060 * isearch.el (isearch-lazy-highlight-word): New variable.
13061 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13062 Use it. (Bug#9727)
13063
c02ee9d6
GM
130642011-10-11 Glenn Morris <rgm@gnu.org>
13065
13066 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13067 like f90-previous-statement does.
13068
93e616fd 130692011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13070
1f190e73 13071 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13072 only in interactive use, to avoid error.
13073
af7b6078
SM
130742011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * minibuffer.el (completion-file-name-table): Fix last change,
13077 i.e. ignore normal errors but not the other ones.
13078
0563dae9
MR
130792011-10-10 Martin Rudalics <rudalics@gmx.at>
13080
13081 * window.el (special-display-buffer-names)
13082 (special-display-regexps): Remove some remnants of earlier
13083 changes from doc-strings.
366ca7f3
MR
13084 (quit-windows-on): New function.
13085
13086 * vc/vc.el (vc-revert, vc-rollback):
13087 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13088 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13089 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13090
49677495
MR
130912011-10-09 Martin Rudalics <rudalics@gmx.at>
13092
13093 * window.el (frame-auto-hide-function): Add version tag.
13094 (Bug#9699)
13095
56f2d1e1
MA
130962011-10-09 Michael Albinus <michael.albinus@gmx.de>
13097
13098 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13099 condition.
13100
112a6592
LL
131012011-10-09 Leo Liu <sdl.web@gmail.com>
13102
13103 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13104 (Bug#9701)
13105
0812589b
GM
131062011-10-08 Glenn Morris <rgm@gnu.org>
13107
13108 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13109 before the first code statement zero indent. (Bug#9690)
13110
b2b0776e
CY
131112011-10-08 Chong Yidong <cyd@stupidchicken.com>
13112
13113 * simple.el (count-words-region): Always count in the region.
13114 Report the number of lines and characters too.
13115 (count-words): New command, which counts in the buffer if the
13116 region is inactive, as count-words-region used to.
13117 (count-words--message): New function. Handle plurals.
13118 (count-lines-region): Make it an alias for count-words-region.
13119
13120 * bindings.el (esc-map): Replace count-lines-region with
13121 count-words-region.
13122
c557cd6b
MR
131232011-10-08 Martin Rudalics <rudalics@gmx.at>
13124
13125 * window.el (window--delete): Delete dedicated frame
13126 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13127 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13128
61a57ef4 131292011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13130
3a7d293b 13131 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13132
c3833279
CY
131332011-10-07 Chong Yidong <cyd@stupidchicken.com>
13134
13135 * bindings.el ([M-left],[M-right]): Bind to left-word and
13136 right-word respectively.
13137
21ce8245
GM
131382011-10-07 Glenn Morris <rgm@gnu.org>
13139
13140 * cus-start.el (debug-on-quit): Fix custom type.
13141
6d823bb2
LMI
131422011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13143
0181e193
LMI
13144 * subr.el (define-key-after): Clarify that the function is not
13145 useful for non-menu keymaps.
13146
6d823bb2
LMI
13147 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13148
8e3459ce 131492011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13150
21ce8245 13151 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13152 in current minibuffer (Fix bug with recursive minibuffers).
13153
a1c2d21e
CY
131542011-10-06 Chong Yidong <cyd@stupidchicken.com>
13155
13156 * progmodes/gdb-mi.el (gdb): Doc fix.
13157
5a4cf282
MR
131582011-10-05 Martin Rudalics <rudalics@gmx.at>
13159
13160 * window.el (frame-auto-hide-function): New option replacing
13161 frame-auto-delete. Suggested by Stefan Monnier.
13162 (window--delete): Call frame-auto-hide-function instead of
13163 investigating frame-auto-delete.
c96111ea
MR
13164 (window-point-1, set-window-point-1): New functions.
13165 (window-in-direction, record-window-buffer, window-state-get-1)
13166 (display-buffer-record-window): Use window-point-1 instead of
13167 window-point.
13168 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13169
9854542e
SM
131702011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13171
13172 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13173
8943cfb0
GM
131742011-10-05 Glenn Morris <rgm@gnu.org>
13175
13176 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13177 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13178
647ab967
LL
131792011-10-05 Leo Liu <sdl.web@gmail.com>
13180
13181 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13182 works with buffer object.
13183
3ddfbced
SM
131842011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13185
13186 * mpc.el (mpc-tool-bar-map): Add labels.
13187
bdfa5dd2
GM
131882011-10-04 Glenn Morris <rgm@gnu.org>
13189
13190 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13191
0e2070b5
MR
131922011-10-04 Martin Rudalics <rudalics@gmx.at>
13193
13194 * window.el (window--delete): New function.
13195 (frame-auto-delete): Resuscitate option.
13196 (bury-buffer, replace-buffer-in-windows)
13197 (quit-window): Rewrite using window--delete.
13198 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13199 Pass display-buffer-mark-dedicated to window--display-buffer-2
13200 (Bug#9639).
13201
3dc61a09
SM
132022011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13203
915a9b64
SM
13204 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13205 returns a list (bug#9554). Add remote file name completion.
13206 * comint.el (comint--table-subvert): Curry and get quote&unquote
13207 functions as arguments.
13208 (comint--complete-file-name-data): Adjust call accordingly.
13209 * pcomplete.el (pcomplete--table-subvert): Remove.
13210 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13211
3dc61a09
SM
13212 * minibuffer.el (completion-table-case-fold): Use currying.
13213 (completion--styles-type, completion--cycling-threshold-type):
13214 New constants.
13215 (completion-styles, completion-category-overrides)
13216 (completion-cycle-threshold): Use them.
13217 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13218 completion-table-case-fold.
13219
8ea0a993
SB
132202011-10-03 Stephen Berman <stephen.berman@gmx.net>
13221
13222 * minibuffer.el (completion-category-overrides): Fix type of styles
13223 and add more user friendly tags (bug#9660).
13224
8c24b7f6
SM
132252011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13226
13227 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13228 (mule-input-method-string): New widget.
13229 (default-input-method, language-info-custom-alist): Use it.
13230
428fe61a
SM
132312011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13232
32c1fffd
SM
13233 * pcomplete.el: Require comint.
13234 (pcomplete--common-suffix): Remove.
13235 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13236 (pcomplete--table-subvert): Sync with comint--table-subvert.
13237 (pcomplete--entries): Use comint-completion-file-name-table.
13238 * comint.el (comint-unquote-filename): Simplify.
13239 (comint-completion-file-name-table): New function (bug#9616).
13240 (comint--complete-file-name-data): Use it.
13241
428fe61a
SM
13242 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13243 (pcmpl-gnu-tar-buffer): Remove.
13244 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13245 around. Make sure pcomplete-suffix-list is only changed temporarily.
13246 Don't look inside the tar's file if it's too large.
428fe61a 13247
04c52e2f
CY
132482011-10-01 Chong Yidong <cyd@stupidchicken.com>
13249
ce3cefcc
CY
13250 * cus-edit.el (custom-mode-map):
13251 * epa.el (epa-key-list-mode-map):
13252 * man.el (Man-mode-map):
13253 * startup.el (splash-screen-keymap):
13254 * simple.el (special-mode-map): Use scroll-up-command and
13255 scroll-down-command.
13256
13257 * progmodes/idlw-help.el (idlwave-help-mode-map):
13258 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13259 * net/newst-plainview.el (newsticker-mode-map):
13260 * emulation/ws-mode.el (wordstar-mode-map):
13261 * emulation/vi.el (vi-com-map):
13262 * calc/calc-graph.el (calc-graph-show-dumb):
13263 * term/sun.el (terminal-init-sun):
13264 * term/ns-win.el (global-map):
13265 * progmodes/grep.el (grep-mode-map):
13266 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13267 * mail/rmail.el (rmail-mode-map):
13268 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13269
04c52e2f
CY
13270 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13271 custom-safe-themes as special.
13272
79adf8c8
JD
132732011-10-01 Julien Danjou <julien@danjou.info>
13274
13275 * notifications.el (notifications-notify): Fix docstring.
13276
63bd50d3
PS
132772011-10-01 Per Starbäck <per@starback.se>
13278
13279 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13280
199e4c7e
MR
132812011-09-30 Martin Rudalics <rudalics@gmx.at>
13282
13283 * startup.el (command-line-1): Fix last fix by inserting
13284 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13285 (Bug#9605) and (Bug#9636)
199e4c7e 13286
fe5f08dd
EZ
132872011-09-29 Eli Zaretskii <eliz@gnu.org>
13288
13289 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13290 window is hscrolled, move by logical lines. (Bug#9607)
13291 (line-move-visual): Update the doc string to the above effect.
13292
b5516bbd
MR
132932011-09-29 Martin Rudalics <rudalics@gmx.at>
13294
ccee00c0
MR
13295 * window.el (display-buffer-record-window): When WINDOW is the
13296 selected window use `point' instead of `window-point'. (Bug#9626)
13297
b5516bbd
MR
13298 * startup.el (command-line-1): Use insert-before-markers when
13299 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13300
b5516bbd
MR
13301 * help.el (help-window): Remove variable.
13302
52aa0014
GM
133032011-09-29 Glenn Morris <rgm@gnu.org>
13304
13305 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13306
df9a7357
JB
133072011-09-29 Juanma Barranquero <lekktu@gmail.com>
13308
13309 * descr-text.el (describe-char-categories): Accept category
13310 descriptions more than one line long.
13311
a8406c20
SM
133122011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13313
88d9610c
SM
13314 * simple.el (delete-trailing-whitespace): Fix last change.
13315
a5daf810
SM
13316 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13317 Don't confuse "y => 3" as the beginning of a `y' operation.
13318
a8406c20
SM
13319 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13320 object has more than 4 slots (bug#9613).
13321
a239d4e9
JB
133222011-09-28 Juanma Barranquero <lekktu@gmail.com>
13323
13324 * subr.el (with-output-to-temp-buffer):
13325 * net/quickurl.el (quickurl, quickurl-browse-url):
13326 Fix typos in docstrings.
13327
693fbdb6
EZ
133282011-09-27 Eli Zaretskii <eliz@gnu.org>
13329
13330 * minibuffer.el (completion-styles)
13331 (completion-category-overrides): Cross reference each other in doc
13332 strings.
13333
8b457e28
GM
133342011-09-27 Glenn Morris <rgm@gnu.org>
13335
13336 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13337 to split-string. (Bug#9606)
13338
85a16208
LMI
133392011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13340
13341 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13342 (bug#9615).
13343
502f9ebd
CY
133442011-09-27 Chong Yidong <cyd@stupidchicken.com>
13345
13346 * emacs-lisp/package.el (list-packages): Fix echo area message.
13347
7690bdea
LL
133482011-09-27 Leo Liu <sdl.web@gmail.com>
13349
13350 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13351
e2ee6f30
MA
133522011-09-25 Michael Albinus <michael.albinus@gmx.de>
13353
13354 * net/dbus.el (dbus-unregister-object): Don't release services for
13355 registered signals. (Bug#9581)
13356
f3f98342
TZ
133572011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13358
13359 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13360 function that picks between cfengine 2 and 3 support
13361 automatically. Update docs accordingly.
13362
dd7aa8dd
KH
133632011-09-22 Kenichi Handa <handa@m17n.org>
13364
13365 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13366 ZERO.
13367 (indian-itrans-v5-table-for-tamil): New variable.
13368 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13369
3f2b07f8
KM
133702011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13371
13372 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13373 that's true if the current command involved collapsing of text.
13374 It's reset to false at the beginning of the next command.
13375 (allout-post-command-business): Move the cursor to the beginning
13376 of entry if the cursor is hidden and collapsing activity just
13377 happened.
13378
371d6a61
CY
133792011-09-24 Chong Yidong <cyd@stupidchicken.com>
13380
13381 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13382 tracking (Bug#9541).
13383
2ac2721a
UJ
133842011-09-24 Ulf Jasper <ulf.jasper@web.de>
13385
13386 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13387 (newsticker-show-news): Automatically load html rendering package
13388 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13389 because w3m-fill-column is let-bound" and the error "Symbol's value
13390 as variable is void: w3m-fill-column".
2ac2721a 13391
fac7ae53
MA
133922011-09-24 Michael Albinus <michael.albinus@gmx.de>
13393
13394 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13395 Release services only if they are defined. (Bug#9581)
13396
e08b633b
RS
133972011-09-23 Richard Stallman <rms@gnu.org>
13398
e488d29c
RS
13399 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13400 distinguish start of paragraph from start of its text.
13401
19c38752
RS
13402 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13403
e08b633b
RS
13404 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13405 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13406 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13407
0a39f27e
AS
134082011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13409
13410 * international/mule-diag.el (mule-diag): Insert a newline after
13411 each fontset description.
13412
db4e950d
SM
134132011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * simple.el (delete-trailing-whitespace):
13416 Document last change; simplify.
13417
eca3f3ea
PW
134182011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13419
d68e189a
PW
13420 * simple.el (delete-trailing-whitespace): Also delete
13421 extra newlines at the end of the buffer.
13422
eca3f3ea
PW
13423 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13424 (picture-newline): Use forward-line so as to ignore fields.
13425
01c157cc
SM
134262011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13427
13428 * subr.el (with-wrapper-hook): Fix edebug spec.
13429
022de23e
LMI
134302011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13431
13432 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13433 (bug#4538).
13434
91683089
MA
134352011-09-23 Michael Albinus <michael.albinus@gmx.de>
13436
eca3f3ea
PW
13437 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13438 Fix nasty bug using wrong cached values.
91683089 13439
5bdd6fa4
AM
134402011-09-23 Alan Mackenzie <acm@muc.de>
13441
13442 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13443
97adfb97
CY
134442011-09-23 Chong Yidong <cyd@stupidchicken.com>
13445
13446 * window.el (pop-to-buffer): Ensure right window is selected if we
13447 chose another frame.
13448
d4ef2b50
EZ
134492011-09-22 Eli Zaretskii <eliz@gnu.org>
13450
13451 * simple.el (what-cursor-position): Use get-char-property-change
13452 and next-single-char-property-change, to be able to show display
13453 properties that come from overlays as well as text properties.
13454
72258fe5
CY
134552011-09-22 Chong Yidong <cyd@stupidchicken.com>
13456
13457 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13458
13459 * cmuscheme.el (run-scheme, switch-to-scheme):
13460 * cus-edit.el (customize-group, custom-buffer-create)
13461 (customize-browse):
13462 * info.el (info):
13463 * shell.el (shell):
13464 * mail/sendmail.el (mail):
13465 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13466
8f098516
RS
134672011-09-22 Richard Stallman <rms@gnu.org>
13468
13469 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13470 move back only to line beg, don't move back over blank lines.
13471
e74f1bb6
MA
134722011-09-22 Michael Albinus <michael.albinus@gmx.de>
13473
13474 * files.el (copy-directory): Set directory attributes only in case
13475 they could be retrieved from the source directory. (Bug#9565)
13476
bfeef8b6
DK
134772011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13478
13479 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13480 (hs-find-block-beginning, hs-hide-level-recursive):
13481 Ignore strings as well as comments. (Bug#9502)
13482
7e423bb8
AS
134832011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13484
13485 * progmodes/sql.el (sql-comint-postgres):
13486 Convert port number to a string. (Bug#9566)
13487
b4d72fcf
MR
134882011-09-22 Martin Rudalics <rudalics@gmx.at>
13489
13490 * window.el (quit-window): Undedicate window when switching to
13491 previous buffer. Reported by Thierry Volpiatto
13492 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13493 (special-display-popup-frame): When popping up a new frame reset
13494 its previous buffers to nil. Simplify code.
b4d72fcf 13495
a7b88dc6
MA
134962011-09-21 Michael Albinus <michael.albinus@gmx.de>
13497
13498 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13499 and process filter, as done also in `shell-command'.
13500
cf4eacfd
MR
135012011-09-21 Martin Rudalics <rudalics@gmx.at>
13502
eca3f3ea 13503 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13504 Call set-window-start with NOFORCE argument t.
13505 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13506 (quit-window): Reword doc-string. Handle new format of
13507 quit-restore parameter. Don't delete window if it has a
13508 previous buffer we can show instead of the present one.
13509 (display-buffer-record-window): Rewrite using a new format for
13510 the quit-restore window parameter
13511 (special-display-popup-frame, display-buffer-same-window)
13512 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13513 (display-buffer-pop-up-window, display-buffer-use-some-window):
13514 Adapt symbol passed to display-buffer-record-window.
13515 * help.el (help-window-setup): Handle new format of quit-restore
13516 parameter.
13517
8d28cb95
SM
135182011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13519
94ab793f
SM
13520 * faces.el (face-list): Fix docstring (bug#9564).
13521
8d28cb95
SM
13522 * window.el (display-buffer--action-function-custom-type):
13523 Don't include internal functions in the Custom interface.
13524
3820edeb
JL
135252011-09-20 Juri Linkov <juri@jurta.org>
13526
13527 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13528 (Info-forward-node, Info-backward-node, Info-next-preorder)
13529 (Info-last-preorder): Use it. (Bug#9528)
13530
5147931d
JL
135312011-09-20 Juri Linkov <juri@jurta.org>
13532
13533 * info.el (Info-last-preorder): Visit last menu item only when
13534 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13535
cf499a1a
JD
135362011-09-20 Julien Danjou <julien@danjou.info>
13537
13538 * password-cache.el (password-cache-remove): Remove entries even if the
13539 value is nil, so that password with a nil value (negative caching) is
13540 possible to invalidate.
13541
f84e2fe2
LM
135422011-09-20 Lawrence Mitchell <wence@gmx.li>
13543
13544 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13545 all whitespace around breakpoint. (Bug#9553)
13546 (f90-find-breakpoint): Only break at whitespace inside a comment.
13547
78054a46
SM
135482011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * minibuffer.el (completion-file-name-table): Keep track of errors.
13551 (completion-table-with-predicate): Handle the case where pred1 is nil.
13552 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13553
345083b2
SM
135542011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13555
e24e27be
SM
13556 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13557 (debugger-return-value): Signal an error if the debugging context does
13558 not await any return value.
13559
345083b2
SM
13560 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13561 * image-mode.el (image-toggle-display-text)
13562 (image-toggle-display-image): Stay away from evil `intangible'.
13563
08d355e3
LL
135642011-09-19 Leo Liu <sdl.web@gmail.com>
13565
13566 * replace.el (occur-revert-arguments): Make it permanent-local.
13567 (occur-mode): Don't call font-lock-defontify.
13568
f01da43f
CY
135692011-09-19 Chong Yidong <cyd@stupidchicken.com>
13570
13571 * net/ldap.el (ldap-search-internal): Don't push empty search
13572 result (Bug#9508).
13573
b6072fa6
SM
135742011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13577
443d6696
MA
135782011-09-19 Michael Albinus <michael.albinus@gmx.de>
13579
13580 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13581 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13582
7cc6e154
JL
135832011-09-18 Juri Linkov <juri@jurta.org>
13584
13585 * buff-menu.el (Buffer-menu-mode-map):
13586 * dired.el (dired-mode-map):
13587 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13588 (lisp-interaction-mode-map):
13589 * emacs-lisp/package.el (package-menu-mode-map):
13590 * epa.el (epa-key-list-mode-map):
13591 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13592 (menu-bar-options-menu):
13593 * outline.el (outline-mode-menu-bar-map):
13594 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13595 * vc/vc-dir.el (vc-dir-menu-map):
13596 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13597 Capitalize non-function content words in menu item strings.
13598
13599 * dired.el (dired-mode-map): Add menu item for
13600 `image-dired-dired-toggle-marked-thumbs'.
13601
80302a81
JL
136022011-09-18 Juri Linkov <juri@jurta.org>
13603
13604 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13605 to `isearch-case-fold-search' and restore its original value
13606 after the `isearch-mode' call.
13607
46c5cf66
JL
136082011-09-18 Juri Linkov <juri@jurta.org>
13609
13610 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13611 because `zgrep' returns 1 for successful matches (bug#9226).
13612
d18b513b
JL
136132011-09-18 Juri Linkov <juri@jurta.org>
13614
13615 * info.el (Info-extract-menu-node-name): Check the second match
13616 for empty string (second test-case of bug#9528).
13617 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13618 intermediate nodes to the history (first test-case of bug#9528).
13619
72753f87
JL
136202011-09-18 Juri Linkov <juri@jurta.org>
13621
13622 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13623 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13624
c9384295
JL
136252011-09-18 Juri Linkov <juri@jurta.org>
13626
1154d12e
JB
13627 * info.el (Info-file-supports-index-cookies):
13628 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13629 outputs one more line for long file names (bug#4142).
c9384295 13630
d473dce8
CY
136312011-09-18 Chong Yidong <cyd@stupidchicken.com>
13632
13633 * newcomment.el (comment-normalize-vars): If prompting for
13634 comment-start, set comment-start-skip too (Bug#8424).
13635
2176854d
JB
136362011-09-18 Johan Bockgård <bojohan@gnu.org>
13637
13638 * icomplete.el: Fix previous fix of Bug#5849.
13639 (icomplete-mode): Don't set completion-show-inline-help.
13640 (icomplete-minibuffer-setup): Set completion-show-inline-help
13641 locally during icompletion.
13642
3aace4e4
CY
136432011-09-18 Chong Yidong <cyd@stupidchicken.com>
13644
c940224f
CY
13645 * woman.el (woman2-process-escapes): Don't delete unrecognized
13646 escapes (Bug#7843).
13647
3aace4e4
CY
13648 * files.el (inhibit-first-line-modes-regexps): Add image files.
13649 (hack-local-variables-prop-line): Return nil for malformed
13650 prop-lines (Bug#9044).
13651
710dec63
MA
136522011-09-18 Michael Albinus <michael.albinus@gmx.de>
13653
13654 * net/tramp.el (top): Don't require 'shell.
13655 (tramp-methods): Fix docstring.
13656 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13657 Return complete remote file name. Handle "smb" case.
13658 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13659 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13660
13661 * net/tramp-compat.el (top): Require 'shell.
13662
13663 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13664 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13665 `tramp-current-host'.
13666 (tramp-get-remote-tmpdir): Remove.
13667
13668 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13669 `tramp-tmpdir' entries.
13670 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13671 (tramp-smb-handle-file-attributes): Ignore errors.
13672 (tramp-smb-wait-for-output): Check also for process end.
13673
5d5ac8ec
LMI
136742011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13675
13676 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13677 when sending QUIT (bug#9312).
13678
8c0f49f0
CY
136792011-09-17 Chong Yidong <cyd@stupidchicken.com>
13680
13681 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13682 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13683 occur-mode-display-occurrence.
13684 (occur-edit-mode): Add usage message.
13685 (occur-cease-edit): New command.
13686 (occur-after-change-function): Use text properties to find the
13687 position of the prefix text.
13688 (occur-engine): Set stickiness of prefix text properties.
13689
8f1383f7
GM
136902011-09-17 Glenn Morris <rgm@gnu.org>
13691
13692 * progmodes/etags.el (complete-tag):
13693 Fix call to completion-in-region. (Bug#9526)
13694
744ba0e3
JL
136952011-09-17 Juri Linkov <juri@jurta.org>
13696
13697 * textmodes/ispell.el (ispell-word): Add to the error message
13698 the word, ispell program name and current dictionary (bug#9121).
13699 (ispell-tex-arg-end): Capitalize "error" in the error message.
13700
d9bbf400
AS
137012011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13702
13703 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13704 check. (Bug#4251)
13705
8da11505
JL
137062011-09-17 Juri Linkov <juri@jurta.org>
13707
13708 * window.el (window-safe-min-height, window-safe-min-width):
13709 Fix typos (followup to bug#9522).
13710
a91adc7e
SJ
137112011-09-17 Sven Joachim <svenjoac@gmx.de>
13712
13713 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13714
064f328a
EZ
137152011-09-16 Eli Zaretskii <eliz@gnu.org>
13716
13717 * simple.el (line-move): If goal-column is set, move by logical
13718 lines, not by display lines. (Bug#971)
13719 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13720 to reflect the above change.
13721
e69df516
SM
137222011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * image.el (imagemagick-register-types): Use regexp-opt.
13725
cbb0f9ab
CY
137262011-09-15 Chong Yidong <cyd@stupidchicken.com>
13727
13728 * window.el (display-buffer-base-action): Rename from
13729 display-buffer-default-action. Make default value empty.
13730 (display-buffer-overriding-action): Convert to defvar.
13731 (display-buffer-fallback-action): New var.
13732
25322144
CY
137332011-09-15 Chong Yidong <cyd@stupidchicken.com>
13734
13735 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13736 declaration.
13737 (package--add-to-archive-contents): If there is a duplicate entry
13738 with an older version, remove it.
13739 (package-menu-mark-delete, package-menu-mark-install)
13740 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13741 (package-menu-mark-obsolete-for-deletion):
13742 Use package-menu-get-status instead of a regexp search.
25322144
CY
13743 (package-menu-get-status): Use tabulated-list-entry.
13744 (package-menu-mark-upgrades): New command.
d770725a 13745 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13746 (package-menu-execute): Do installation before deletion.
13747 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13748 instead of checking major-mode.
13749 (package-menu--find-upgrades): New function.
13750
7520339c
LMI
137512011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13752
13753 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13754 passwords in the log buffer.
65a046c4
LMI
13755 (smtpmail-process-filter): Update the process marker so that the
13756 "broken by peer" status message is inserted in the right place.
7520339c 13757
d3c30954
SM
137582011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13759
3fe48822
SM
13760 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13761 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13762 bibtex-completion-at-point-function.
13763 (bibtex-completion-at-point-function): Use them.
13764
1b8b3954
SM
13765 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13766
d3c30954
SM
13767 * mpc.el (mpc-constraints-tag-lookup): New function.
13768 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13769 also to browser "album|playlist".
13770
72779976
JL
137712011-09-14 Juri Linkov <juri@jurta.org>
13772
13773 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13774 (isearch-edit-string): Use length of `isearch-string' when
13775 `isearch-fail-pos' returns nil.
13776 (isearch-message): Remove duplicate code and call
13777 `isearch-fail-pos' with arg `t'.
13778
a0bf2bcd
CY
137792011-09-14 Chong Yidong <cyd@stupidchicken.com>
13780
17bb0a2d
CY
13781 * replace.el (occur-mode-goto-occurrence): Don't force using other
13782 window (Bug#9499).
13783
a0bf2bcd
CY
13784 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13785
f678e0b6
MR
137862011-09-14 Martin Rudalics <rudalics@gmx.at>
13787
13788 * window.el (display-buffer-window): Remove.
13789 (display-buffer-record-window): Use help-setup window parameter
13790 instead of variable display-buffer-window.
13791 (display-buffer-function, special-display-buffer-names)
13792 (special-display-function): Mention help-setup parameter instead
13793 of display-buffer-window in doc-string.
d3c30954
SM
13794 * help.el (help-window-setup): New argument help-window.
13795 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13796 Reword some messages.
13797 (with-help-window): Pass window used for displaying the buffer
13798 to help-window-setup. Don't set display-buffer-window.
13799
8e39b2e8
GM
138002011-09-13 Glenn Morris <rgm@gnu.org>
13801
13802 * emacs-lisp/debug.el (debugger-make-xrefs):
13803 Preserve point. (Bug#9462)
13804
85e9c04b
CY
138052011-09-13 Chong Yidong <cyd@stupidchicken.com>
13806
13807 * window.el (window-deletable-p): Use next-frame.
13808
1b36ed6a
MR
138092011-09-13 Martin Rudalics <rudalics@gmx.at>
13810
13811 * window.el (window-auto-delete): Remove.
13812 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13813 dedication and previous buffers.
1b36ed6a
MR
13814 (switch-to-prev-buffer): Don't delete window.
13815 (delete-windows-on): Delete a window's frame if and only if the
13816 window is dedicated.
13817 (replace-buffer-in-windows): Delete buffer's window or frame if
13818 and only if window is dedicated.
13819 (quit-window): Handle quit-restore as before last change.
4d61f28d 13820 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13821
ef8ef9fb
CY
138222011-09-13 Chong Yidong <cyd@stupidchicken.com>
13823
13824 * window.el (window-deletable-p): Never delete the last frame on a
13825 given terminal.
13826
b2cba41e
GM
138272011-09-13 Glenn Morris <rgm@gnu.org>
13828
13829 * help.el (describe-key-briefly): Copy previous standard-output change.
13830
51553db6 138312011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13832
13833 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13834
b7556719
GM
138352011-09-13 Glenn Morris <rgm@gnu.org>
13836
13837 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13838 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13839
64b51947
CY
138402011-09-12 Chong Yidong <cyd@stupidchicken.com>
13841
13842 * dired-aux.el (dired-mark-read-string): Don't return default
13843 value on empty input (Bug#9361).
13844 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13845 Omit initial minibuffer contents.
13846 (dired-do-chmod): Signal an error on empty input.
13847 (dired-mark-read-string): Don't return default on empty input.
13848
13849 * files.el (file-modes-symbolic-to-number): Doc fix.
13850
393a301e
SM
138512011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 * international/mule-cmds.el (ucs-completions): Remove.
13854 (read-char-by-name): Use complete-with-action instead; add metadata.
13855
fa5660f9
CY
138562011-09-11 Chong Yidong <cyd@stupidchicken.com>
13857
13858 * window.el (display-buffer--action-function-custom-type)
13859 (display-buffer--action-custom-type): New vars.
13860 (display-buffer-alist, display-buffer-default-action)
13861 (display-buffer-overriding-action): Add defcustom types.
13862
4a592f66
CY
13863 * frame.el (delete-other-frames): Doc fix (Bug#276).
13864
73d56dbd
LMI
138652011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13866
13867 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13868
37ac18a3
CY
138692011-09-11 Chong Yidong <cyd@stupidchicken.com>
13870
13871 Change modes that used same-window-* vars to use switch-to-buffer.
13872
13873 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13874 Use switch-to-buffer.
13875
13876 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13877 (customize-browse, custom-buffer-create-other-window):
13878 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13879
13880 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13881 (Info-prev, Info-up, Info-speedbar-goto-node)
13882 (info-display-manual): Use switch-to-buffer.
13883 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13884
13885 * mail/sendmail.el (mail): Use switch-to-buffer.
13886 (mail-recover): Use switch-to-buffer-other-window.
13887
13888 * cmuscheme.el (run-scheme, switch-to-scheme):
13889 * ielm.el (ielm):
13890 * shell.el (shell):
13891 * net/rlogin.el (rlogin):
13892 * net/telnet.el (telnet, rsh):
13893 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13894
10195bd6
AS
138952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13896
13897 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13898
b322f63a
LMI
138992011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13900
39d7fed6
LMI
13901 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13902 so don't mention it (bug#9301).
ba5a81f1 13903 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13904
ee0e9f11
LMI
13905 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13906 match `x', `w32' and `ns', like the manual says (bug#9029).
13907
0b1c89c1 13908 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13909 (process-kill-buffer-query-function): Mention the buffer name in
13910 the query.
0b1c89c1 13911
77549ea8
LMI
13912 * image-mode.el (image-next-line): The line parameter is mandatory
13913 (bug#9258).
13914
803ef892
LMI
13915 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13916 which can be useful (bug#9301).
13917
12980837
LMI
13918 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13919
91054f8f
LMI
13920 * subr.el (match-string): Mention that the current buffer should
13921 be the same as the search was done in (bug#9282).
13922
b322f63a
LMI
13923 * facemenu.el: Disable the remove-* commands if the mark isn't
13924 active (bug#9162).
13925
3199b96f
CY
139262011-09-10 Chong Yidong <cyd@stupidchicken.com>
13927
13928 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13929 of display-buffer.
13930 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13931
13932 * replace.el (occur-mode-goto-occurrence)
13933 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13934 and display-buffer.
13935
13936 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13937 display-buffer.
13938
13939 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13940 special-display and same-window variables.
13941 (mail-other-window): Use switch-to-buffer-other-window.
13942 (mail-other-frame): USe switch-to-buffer-other-frame.
13943
393a301e
SM
13944 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13945 Use display-buffer-other-frame.
3199b96f
CY
13946 (gdb-display-gdb-buffer): Use pop-to-buffer.
13947
13948 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13949
13950 * progmodes/python.el: Don't set same-window-buffer-names.
13951
13952 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13953
13954 * window.el (display-buffer-alist): Add *Python*.
13955
8319e0bf
CY
139562011-09-10 Chong Yidong <cyd@stupidchicken.com>
13957
13958 * window.el (display-buffer-alist): Add entry for buffers
13959 previously handled same-window-*.
13960 (display-buffer-alist, display-buffer-default-action)
13961 (display-buffer-overriding-action): Mark as risky.
13962 (display-buffer-alist): Document action function changes.
13963 (display-buffer--same-window-action)
13964 (display-buffer--other-frame-action): New variables.
13965 (switch-to-buffer, display-buffer-other-frame): Use them.
13966 (display-buffer): Rename reuse-frame entry to reusable-frames.
13967 (display-buffer-reuse-selected-window): Function deleted.
13968 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13969 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13970 (display-buffer-special): New function.
13971 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13972 display-buffer-reuse-or-pop-window. Split off special-display
13973 part into display-buffer-special.
13974 (display-buffer-use-some-window): Don't perform any special
13975 pop-up-frames handling.
13976 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13977 (display-buffer--maybe-same-window): Rename from
0d3ff375 13978 display-buffer-maybe-same-window.
8319e0bf 13979
919a69aa
CY
13980 * info.el: Don't set same-window-regexps.
13981 (info-setup): New function.
13982 (info-other-window, info): Call it.
13983
13984 * cus-edit.el: Don't set same-window-regexps.
13985 (customize-group): New argument.
13986 (customize-group-other-window): Use it.
13987 (customize-face, customize-face-other-window): Likewise.
13988 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13989
8319e0bf
CY
13990 * net/rlogin.el:
13991 * net/telnet.el:
13992 * progmodes/gud.el: Don't set same-window-regexps.
13993
13994 * cmuscheme.el:
13995 * ielm.el:
13996 * shell.el:
13997 * mail/sendmail.el:
13998 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13999
25173000
JL
140002011-09-10 Juri Linkov <juri@jurta.org>
14001
14002 * isearch.el (isearch-edit-string): Remove obsolete mention of
14003 `C-w' (`isearch-yank-word-or-char') from docstring.
14004 (isearch-query-replace): Fix typo in docstring (bug#9466).
14005
056e44ef
JL
140062011-09-10 Juri Linkov <juri@jurta.org>
14007
14008 * paren.el (show-paren-function): Don't show escaped parens.
14009 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14010
c3760c17
EZ
140112011-09-10 Eli Zaretskii <eliz@gnu.org>
14012
14013 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14014 (mm-default-file-encoding): Remove autoload forms, they are
14015 replaced with autoload cookies in mml.el and mm-encode.el.
14016 (mail-add-attachment): New command.
14017 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14018 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14019 the doc string.
14020 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14021
fece895e
RT
140222011-09-10 Reuben Thomas <rrt@sc3d.org>
14023
e69df516
SM
14024 * simple.el (count-words-region): Use buffer if there's no region
14025 (bug#9429).
fece895e 14026
5e68ce4a
JL
140272011-09-09 Juri Linkov <juri@jurta.org>
14028
14029 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14030 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14031 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14032
0a6b9622
AM
140332011-09-09 Alan Mackenzie <acm@muc.de>
14034
14035 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14036 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14037
14a29deb
EZ
140382011-09-09 Eli Zaretskii <eliz@gnu.org>
14039
14040 Fix for Savannah bug#9392.
14041 * simple.el (mail-encode-mml): New defvar.
14042
14043 * mail/rmail.el (mail-encode-mml): Add a defvar.
14044 (rmail-enable-mime-composing): Default to t.
14045 (rmail-forward): Use MIME method of forwarding only if both
14046 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14047 Set mail-encode-mml non-nil if the MIME method was used.
14048
14049 * mail/sendmail.el (mml-to-mime): Add autoload form.
14050 (mail-encode-mml): Add a defvar.
14051 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14052 to nil.
14053 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14054 message through mml-to-mime, and reset mail-encode-mml to nil.
14055
28c45130
GM
140562011-09-09 Glenn Morris <rgm@gnu.org>
14057
14058 * woman.el (woman-if-body): When processing an .el block,
14059 do not delete the next .el block as well. (Bug#9447)
69f4b618 14060 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14061
9b1c252e
MR
140622011-09-08 Martin Rudalics <rudalics@gmx.at>
14063
14064 * window.el (window-deletable-p): Make sure window is live before
14065 invoking window-prev-buffers.
14066
567457e3
LL
140672011-09-08 Leo Liu <sdl.web@gmail.com>
14068
14069 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14070
97f05794
JL
140712011-09-08 Juri Linkov <juri@jurta.org>
14072
14073 * progmodes/compile.el (compilation-environment): Make it
14074 a defcustom (bug#8340).
14075
8b0874b5
MR
140762011-09-08 Martin Rudalics <rudalics@gmx.at>
14077
14078 * window.el (frame-auto-delete): Rename to window-auto-delete.
14079 Make it control auto-deletion of windows and/or frames.
14080 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14081 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14082 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14083 Rewrite handling of case when window/frame can be deleted.
14084 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14085 argument t. (Bug#9456)
8b0874b5 14086
4feb6e73
CY
140872011-09-07 Chong Yidong <cyd@stupidchicken.com>
14088
14089 * help-mode.el (help-mode): Restore autoload.
14090
91ab9c13
JL
140912011-09-07 Juri Linkov <juri@jurta.org>
14092
14093 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14094 `compilation-environment'. Set buffer-local
14095 `compilation-environment' to `thisenv' later after (funcall mode).
14096 (Bug#8340)
14097
14098 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14099 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14100 instead of replacing its value. (Bug#8340)
14101
0527e251
JL
141022011-09-07 Juri Linkov <juri@jurta.org>
14103
14104 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14105 based on text properties put by `grep-filter' instead of matching
14106 escape sequences.
14107 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14108 to the value of `grep-error-screen-columns' (bug#9438).
14109
249f792c
JL
141102011-09-07 Juri Linkov <juri@jurta.org>
14111
14112 * simple.el (next-error-highlight, next-error-highlight-no-select):
14113 Doc fix (bug#9432).
14114
ff7271b9
OT
141152011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14116
14117 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14118 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14119
183fc730
LL
141202011-09-07 Leo Liu <sdl.web@gmail.com>
14121
14122 * net/rcirc.el (rcirc-mode): Conditionally initialize
14123 rcirc-input-ring.
14124
77694924
SM
141252011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14126
14127 * emacs-lisp/find-func.el (find-function-C-source): Only set
14128 find-function-C-source-directory after checking that we found a source
14129 file there (bug#9440).
14130
d809b8eb
AM
141312011-09-06 Alan Mackenzie <acm@muc.de>
14132
14133 * isearch.el (isearch-other-meta-char): Wherever a key list is
14134 unread, "unread" the prefix arg, too. This fixes bug #8901.
14135
453de99f
OG
141362011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14137
14138 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14139
90439906
JL
141402011-09-05 Juri Linkov <juri@jurta.org>
14141
14142 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14143
f62bd846
JL
141442011-09-05 Juri Linkov <juri@jurta.org>
14145
14146 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14147 keeping point where processing of grep matches begins, and
14148 continue to delete remaining escape sequences from the same point.
14149 (grep-filter): Make leading zero optional in "0?1;31m" because
14150 git-grep emits "\033[1;31m" escape sequences unlike expected
14151 "\033[01;31m" as GNU Grep does (bug#9408).
14152 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14153
045820ec
JL
141542011-09-05 Juri Linkov <juri@jurta.org>
14155
14156 * subr.el (y-or-n-p): Capitalize "yes".
14157
f5e29b9b
MA
141582011-09-04 Michael Albinus <michael.albinus@gmx.de>
14159
14160 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14161 `tramp-cache-unload-hook' where appropriate.
14162 (tramp-methods): Rename `tramp-remote-sh' to
14163 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14164 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14165
14166 * net/tramp-sh.el (top): Don't require 'shell.
14167 (tramp-methods): Add `tramp-remote-shell' and
14168 `tramp-remote-shell-args' entries.
14169 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14170 (tramp-sh-handle-shell-command): Remove.
14171 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14172 Use `tramp-remote-shell'.
14173
2784c434
CY
141742011-09-03 Chong Yidong <cyd@stupidchicken.com>
14175
393a301e 14176 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14177 (sendmail-query-once): Save directly to send-mail-function.
14178 Update message-send-mail-function too.
14179
14180 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14181
464cdf56
CS
141822011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14183
14184 * progmodes/python.el (python-mode-map): Use correct function to
14185 start python interpreter from menu-bar (as reported by Geert
14186 Kloosterman).
14187 (inferior-python-mode-map): Fix typo.
393a301e 14188 (python-shell-map): Remove.
464cdf56 14189
d37e5c87
DD
141902011-09-03 Deniz Dogan <deniz@dogan.se>
14191
14192 * net/rcirc.el (rcirc-print): Simplify code for
14193 rcirc-scroll-show-maximum-output. There is no need to walk
14194 through all windows to find the right one.
14195
f3ada0ee
CS
141962011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14197
14198 * help.el (help-return-method): Doc fix.
14199
1f3c99ca
MR
142002011-09-03 Martin Rudalics <rudalics@gmx.at>
14201
14202 * window.el (window-deletable-p): Don't return a non-nil value
14203 when there's a buffer that was shown in the window before.
14204 (Bug#9419)
393a301e
SM
14205 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14206 Set window's previous buffers to nil.
1f3c99ca 14207
a3cf097f
EZ
142082011-09-03 Eli Zaretskii <eliz@gnu.org>
14209
14210 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14211 newline before and after the tag line, so it doesn't interfere
14212 with determining the paragraph direction of bidirectional text.
14213
3d03de90
LL
142142011-09-03 Leo Liu <sdl.web@gmail.com>
14215
14216 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14217
c3313451
CY
142182011-09-02 Chong Yidong <cyd@stupidchicken.com>
14219
393a301e 14220 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14221 (pop-to-buffer): Change interactive spec. Pass second argument
14222 directly to display-buffer.
14223 (display-buffer): Fix interactive spec. Use functionp to
14224 distinguish between a function and a list of functions.
14225
14226 * abbrev.el (edit-abbrevs):
14227 * arc-mode.el (archive-extract):
14228 * autoinsert.el (auto-insert):
14229 * bookmark.el (bookmark-bmenu-list):
14230 * files.el (find-file):
14231 * view.el (view-buffer):
14232 * progmodes/compile.el (compilation-goto-locus):
14233 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14234
89894cd8
CY
142352011-09-02 Chong Yidong <cyd@stupidchicken.com>
14236
14237 * window.el (display-buffer-alist): Doc fix.
14238 (display-buffer): Add docstring. Don't treat
14239 display-buffer-default specially.
14240 (display-buffer-reuse-selected-window)
14241 (display-buffer-same-window, display-buffer-maybe-same-window)
14242 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14243 (display-buffer-pop-up-window)
14244 (display-buffer-reuse-or-pop-window)
14245 (display-buffer-use-some-window): New functions.
14246 (display-buffer-default-action): Use them.
393a301e 14247 (display-buffer-default): Delete.
89894cd8
CY
14248 (pop-to-buffer-1): Fix choice of actions.
14249
ae0bc9fb
SM
142502011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14251
14252 * minibuffer.el (completion--insert-strings): Don't get confused by
14253 completion entries that end with an LF char.
14254
e9d90883
EZ
142552011-09-01 Eli Zaretskii <eliz@gnu.org>
14256
14257 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14258
437014c8
CY
142592011-09-01 Chong Yidong <cyd@stupidchicken.com>
14260
14261 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14262 (display-buffer-same-window, display-buffer-other-window):
14263 New functions.
437014c8
CY
14264 (pop-to-buffer-1): New function. Use the above.
14265 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14266 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14267
14268 * view.el (view-buffer-other-window, view-buffer-other-frame):
14269 Just use pop-to-buffer.
14270
a5e063d5
TV
142712011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14272
14273 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14274
793d32bb
WH
142752011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14276
14277 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14278
d65e4c15
RS
142792011-08-31 Richard Stallman <rms@gnu.org>
14280
14281 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14282 of the separation of rmail-view-buffer from rmail-buffer.
14283 If you say no to "replace original", the decrypt is in the
14284 view buffer. If you say yes, the decrypt goes into the
14285 rmail buffer also.
14286
f818cd2a
MR
142872011-08-31 Martin Rudalics <rudalics@gmx.at>
14288
14289 * window.el (display-buffer-window): Rewrite doc-string.
14290 (display-buffer-record-window): New function.
14291 (display-buffer-macro-specifiers)
14292 (display-buffer-even-window-sizes, display-buffer-set-height)
14293 (display-buffer-set-width, display-buffer-in-window)
14294 (display-buffer-reuse-window, display-buffer-split-specifiers)
14295 (display-buffer-side-specifiers, display-buffer-split-window-1)
14296 (display-buffer-split-window, display-buffer-split-atom-window)
14297 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14298 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14299 (display-buffer-other-window-means-other-frame)
14300 (display-buffer-normalize-special)
14301 (display-buffer-normalize-default)
14302 (display-buffer-normalize-argument)
14303 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14304 (display-buffer-normalize-specifiers, display-buffer-frame)
14305 (display-buffer-same-window, display-buffer-same-frame)
14306 (display-buffer-other-window)
14307 (display-buffer-same-frame-other-window)
14308 (display-buffer-other-frame, pop-to-buffer-same-window)
14309 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14310 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14311 (switch-to-buffer-same-frame)
14312 (switch-to-buffer-other-window-same-frame)
14313 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14314 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14315 (display-buffer-alist-set): Remove.
14316 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14317 (special-display-regexps, special-display-function):
14318 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14319 parameter.
14320 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14321 (special-display-frame-alist, special-display-popup-frame)
14322 (same-window-buffer-names, same-window-regexps, same-window-p)
14323 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14324 (split-window-preferred-function, split-height-threshold)
14325 (split-width-threshold, window-splittable-p)
14326 (split-window-sensibly, window--try-to-split-window)
14327 (window--frame-usable-p, even-window-heights)
14328 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14329 (window--display-buffer-2, display-buffer-other-frame):
14330 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14331 (display-buffer-default, display-buffer-assq-regexp): New functions.
14332 (display-buffer-alist): Rewrite doc-string.
14333 (display-buffer-default-action)
14334 (display-buffer-overriding-action): New variables.
14335 (display-buffer, switch-to-buffer): Rewrite.
14336 (pop-to-buffer): Restore Emacs 23 behavior but use
14337 window-normalize-buffer-to-display.
14338 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14339 Restore Emacs 23 behavior but use
14340 window-normalize-buffer-to-switch-to.
14341 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14342 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14343 Rewrite using Emacs 23 options.
f818cd2a 14344
5bc3b51d
MA
143452011-08-31 Michael Albinus <michael.albinus@gmx.de>
14346
14347 * net/tramp.el (tramp-root-regexp): Remove.
14348 (tramp-completion-file-name-regexp-unified)
14349 (tramp-completion-file-name-regexp-separate)
14350 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14351 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14352 (tramp-drop-volume-letter): Simplify definition.
14353 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14354
b1a4f8e1
SM
143552011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14356
14357 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14358 (bug#9356).
14359
5664fa7b
RT
143602011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14361
b1a4f8e1 14362 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14363
9a45d6c3
JL
143642011-08-29 Juri Linkov <juri@jurta.org>
14365
14366 * isearch.el (isearch-done): Don't display message "Mark saved"
14367 when arg `edit' is non-nil to prevent its flicker in the echo area.
14368
fb87e0fb
CY
143692011-08-28 Chong Yidong <cyd@stupidchicken.com>
14370
14371 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14372 obsolete packages for deletion.
14373
09ac1c2a
CS
143742011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14375
14376 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14377 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14378 view-mode from help-mode.
14379 (help-xref-override-view-map): Remove.
14380 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14381 view-mode is not used anymore.
14382
7a1ff57f
CY
143832011-08-28 Chong Yidong <cyd@stupidchicken.com>
14384
14385 * server.el (server-port): Doc fix.
14386
b9696605
CY
14387 * cus-theme.el (custom-theme-choose-mode): Inherit from
14388 special-mode (Bug#9124).
14389 (custom-theme-choose-mode-map): Add special-mode to parent.
14390
ef8cdf8c
AM
143912011-08-28 Alan Mackenzie <acm@muc.de>
14392
14393 * progmodes/cc-fonts.el
14394 (c-make-font-lock-BO-decl-search-function): New function.
14395 (c-basic-matchers-after - "Fontify the clauses after various
14396 keywords"): Extract the three keyword lists for the 3 erroneous
14397 constructs from the list of four, and use the new function above
14398 in place of an old one.
14399
27de4e20
DD
144002011-08-28 Deniz Dogan <deniz@dogan.se>
14401
14402 * net/rcirc.el (rcirc-insert-prev-input)
14403 (rcirc-insert-next-input): Remove unused argument.
14404
356a3681
SM
144052011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14406
14407 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14408
3fc9b218
AM
144092011-08-27 Alan Mackenzie <acm@muc.de>
14410
14411 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14412 handle function pointer parameters properly.
14413
538a061c
MR
144142011-08-27 Martin Rudalics <rudalics@gmx.at>
14415
14416 * window.el (display-buffer-reuse-window): Fix case where
14417 selected window was reused with non-nil OTHER-WINDOW argument.
14418 (Bug#9381)
14419
35b1c40c
DD
144202011-08-27 Deniz Dogan <deniz@dogan.se>
14421
14422 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14423 oftc's NickServ messages.
14424
2f6a3e79
GM
144252011-08-27 Glenn Morris <rgm@gnu.org>
14426
14427 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14428
7254299e
CY
144292011-08-26 Chong Yidong <cyd@stupidchicken.com>
14430
14431 * emacs-lisp/package.el (package-install): Call package-initialize
14432 if called interactively.
14433
f8ccf167
LL
144342011-08-26 Leo Liu <sdl.web@gmail.com>
14435
14436 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14437
3e8cd5ce
JL
144382011-08-25 Juri Linkov <juri@jurta.org>
14439
14440 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14441 `search-whitespace-regexp' (bug#9364).
14442
93eb7113
JL
144432011-08-25 Juri Linkov <juri@jurta.org>
14444
14445 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14446 `regexp-search-ring' to their global values to protect from
14447 updating by `read-from-minibuffer' (bug#9185).
14448
f65d1611
JL
144492011-08-25 Juri Linkov <juri@jurta.org>
14450
14451 * textmodes/ispell.el (ispell-command-loop): Add newline
14452 at the end of the "Use option `i'..." line.
14453
f1cf7a31
JL
144542011-08-25 Juri Linkov <juri@jurta.org>
14455
14456 * battery.el (display-battery-mode): If `battery-status-function'
14457 or `battery-mode-line-format' is nil, display the message and set
14458 `display-battery-mode' to nil (bug#9363).
14459
0c95fcf7
EZ
144602011-08-25 Eli Zaretskii <eliz@gnu.org>
14461
14462 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14463 bidi-string-mark-left-to-right; they are unnecessary now.
14464
a2ebe600
DD
144652011-08-25 Deniz Dogan <deniz@dogan.se>
14466
14467 * net/quickurl.el: Documentation typo fixes.
14468
e4ed06f1
CY
144692011-08-25 Chong Yidong <cyd@stupidchicken.com>
14470
14471 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14472
e5f1c99e
GM
144732011-08-25 Glenn Morris <rgm@gnu.org>
14474
b2948976
GM
14475 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14476
e5f1c99e
GM
14477 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14478 (smtpmail-via-smtp): Handle nil response from smtp.
14479
f22f4808
JL
144802011-08-24 Juri Linkov <juri@jurta.org>
14481
14482 * proced.el (proced-marked): Inherit from `error' instead of
14483 `font-lock-warning-face'.
14484
14485 * ibuffer.el (ibuffer-marked-face): Change default face from
14486 `font-lock-warning-face' to `warning'.
14487 (ibuffer-deletion-face): Change default face from
14488 `font-lock-type-face' to `error'.
14489
14490 * battery.el (battery-update): Use the face `error' instead of
14491 `font-lock-warning-face' (bug#6117).
14492
6a93965e
JL
144932011-08-24 Juri Linkov <juri@jurta.org>
14494
14495 * faces.el (success): Change face color from "Green3" to
14496 "ForestGreen" on light background (bug#9353).
14497
1ed43b09
CY
144982011-08-24 Chong Yidong <cyd@stupidchicken.com>
14499
5664fa7b
RT
14500 * window.el (quit-window): Rename from quit-restore-window.
14501 Use same arglist as old quit-window.
1ed43b09
CY
14502 (frame-auto-delete): Doc fix.
14503
14504 * view.el (view-mode-exit): Use quit-window.
14505
11dcdbb2
JL
145062011-08-24 Juri Linkov <juri@jurta.org>
14507
14508 * isearch.el (isearch-ring-adjust1): Start visiting previous
14509 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14510 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14511 for empty search string (when the last search string is reused
14512 automatically) to adjust the isearch ring to the last element and
14513 prepare the correct index for further M-p commands (bug#9185).
14514
de62b4df
KH
145152011-08-24 Kenichi Handa <handa@m17n.org>
14516
14517 * international/ucs-normalize.el: If decomposition property of
14518 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14519 nil.
14520 (nfd, nfkd): Likewise.
14521
963b492b
SM
145222011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14523
14524 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14525 from process filters aren't reliably transmitted to the surrounding
14526 accept-process-output.
14527 (mpc-proc-check): New function.
14528 (mpc-proc-sync): Use it (bug#8293)
14529
93b6b5e1
SM
145302011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14531
14532 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14533 Add compatibility functions (bug#9313).
14534
bca633fb
EZ
145352011-08-23 Eli Zaretskii <eliz@gnu.org>
14536
b177498a
EZ
14537 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14538
6df6ae42 14539 * international/uni-bidi.el: Regenerate.
bca633fb 14540
0902a04e
KH
145412011-08-23 Kenichi Handa <handa@m17n.org>
14542
14543 * international/charprop.el:
14544 * international/uni-bidi.el:
14545 * international/uni-category.el:
14546 * international/uni-combining.el:
14547 * international/uni-comment.el:
14548 * international/uni-decimal.el:
14549 * international/uni-decomposition.el:
14550 * international/uni-digit.el:
14551 * international/uni-lowercase.el:
14552 * international/uni-mirrored.el:
14553 * international/uni-name.el:
14554 * international/uni-numeric.el:
14555 * international/uni-old-name.el:
14556 * international/uni-titlecase.el:
14557 * international/uni-uppercase.el: Regenerate.
14558
3bbf23bc
MR
145592011-08-23 Martin Rudalics <rudalics@gmx.at>
14560
14561 * help.el (help-window-setup): Fix message displayed when other
14562 window is reused. (Bug#9341)
14563
b3fd59bd
SM
145642011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14565
1802e444
SM
14566 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14567 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14568
b3fd59bd
SM
14569 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14570 Mark obsolete.
14571 * shell.el (shell-parse-pcomplete-arguments): New function.
14572 (shell-completion-vars): Use it instead (bug#9160).
14573
4eb61348
SM
145742011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14575
867cab74
SM
14576 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14577 strings and comments (bug#9333).
14578
4eb61348
SM
14579 * emacs-lisp/debug.el (debug-arglist): New function.
14580 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14581 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14582
262a1439
JL
145832011-08-22 Juri Linkov <juri@jurta.org>
14584
56ee679c
JL
14585 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14586 Revert regexp that highlights output switches to its old
14587 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14588
262a1439
JL
14589 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14590 to check for empty output (bug#9226).
14591
f13f86fb
CY
145922011-08-22 Chong Yidong <cyd@stupidchicken.com>
14593
14594 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14595 symbol-constituent as the default, as that stops font-lock from
14596 working properly (Bug#8843).
14597
c65c9622
LMI
145982011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14599
14600 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14601 `coding-system-for-*' around the process open call to avoid
14602 auth-source side effects.
e7f2c178 14603 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14604 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14605 probe hangs.
c65c9622 14606
23a8a5ab
CY
146072011-08-21 Chong Yidong <cyd@stupidchicken.com>
14608
ff98b2dd
CY
14609 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14610
23a8a5ab
CY
14611 * emacs-lisp/find-func.el (find-function-noselect): New arg
14612 lisp-only.
14613
14614 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14615 signal an error for built-in functions (Bug#6664).
14616
f5e3c598
LMI
146172011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14618
14619 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14620 (smtpmail-try-auth-methods): Use it.
14621
a3f2468a
CY
146222011-08-21 Chong Yidong <cyd@stupidchicken.com>
14623
2c34e8da
CY
14624 * font-lock.el (font-lock-fontify-region)
14625 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14626 (font-lock-default-unfontify-buffer)
14627 (font-lock-default-fontify-region)
14628 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14629
b3fd59bd
SM
14630 * progmodes/compile.el (compilation-error-properties):
14631 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14632 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14633 `ant' regexp.
ee31aabc 14634
a3f2468a
CY
14635 * net/browse-url.el (browse-url-firefox): Don't call
14636 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14637
8e999f70
GM
146382011-08-20 Glenn Morris <rgm@gnu.org>
14639
c21a496a
GM
14640 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14641
59ee0542
GM
14642 * tutorial.el (tutorial--default-keys): Update some default bindings.
14643
8e999f70
GM
14644 * files.el (hack-local-variables): Fully ignore case for "mode:".
14645
e3715033
AM
146462011-08-20 Alan Mackenzie <acm@muc.de>
14647
14648 Resolve invalid use of a regexp in regexp-opt.
14649
4d61f28d
JB
14650 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14651 detection for a java annotation.
e3715033 14652
4d61f28d 14653 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14654 detection for a java annotation.
14655
4d61f28d
JB
14656 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14657 handling for java.
e3715033
AM
14658 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14659
04ed2e9c
CY
146602011-08-20 Chong Yidong <cyd@stupidchicken.com>
14661
14662 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14663 (Bug#9274).
14664
826cee64
AM
146652011-08-20 Alan Mackenzie <acm@muc.de>
14666
58179cce 14667 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14668 such a construct. Mainly for when jit-lock etc. starts a chunk
14669 here.
14670
58179cce 14671 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14672 variable.
58179cce 14673 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14674 c-make-font-lock-search-function.
14675 (c-make-font-lock-search-function): Use the above function.
14676 (c-make-font-lock-context-search-function): New function.
14677 (c-cpp-matchers): Enhance the preprocessor expression case with
14678 the above function
14679 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14680 which takes an expression.
14681
14682 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14683
13009bd8
MR
146842011-08-20 Martin Rudalics <rudalics@gmx.at>
14685
14686 * window.el (display-buffer-reuse-window)
14687 (display-buffer-pop-up-window): Don't reuse or split a side
14688 window.
14689
9234ff7f
GM
146902011-08-19 Glenn Morris <rgm@gnu.org>
14691
14692 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14693 Downcase "Mode:". (Bug#9331)
9234ff7f 14694
f635daa1
CY
146952011-08-18 Chong Yidong <cyd@stupidchicken.com>
14696
14697 * international/characters.el: Add L and R categories.
14698
14699 * subr.el (bidi-string-mark-left-to-right): Rename from
14700 string-mark-left-to-right. Use category search.
14701
14702 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14703
bc987f8b
JL
147042011-08-18 Juri Linkov <juri@jurta.org>
14705
14706 * faces.el (error, warning, success): New faces with definitions
14707 copied from old default values of `font-lock-warning-face',
14708 `compilation-warning', `compilation-info' (bug#6117).
14709
14710 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14711
14712 * progmodes/compile.el (compilation-error): Inherit from `error'.
14713 (compilation-warning): Inherit from `warning'.
14714 (compilation-info): Inherit from `success'.
14715
14716 * dired.el (dired-marked): Inherit from `warning'.
14717 (dired-flagged): Inherit from `error'.
14718
57173b96
LMI
147192011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14720
3e79eb87
LMI
14721 * mail/smtpmail.el (auth-source): Require to avoid problems with
14722 binding variables (bug#9298). Also clean up some unused
14723 autoloads.
14724
b3fd59bd
SM
14725 * net/network-stream.el (network-stream-open-starttls):
14726 Support using starttls.el without using gnutls-cli.
57173b96 14727
02b404de
JL
147282011-08-17 Juri Linkov <juri@jurta.org>
14729
14730 * progmodes/grep.el (rgrep): Handle the case when
14731 `grep-find-command' is a cons cell (bug#9278).
14732
8c9177f2
MR
147332011-08-17 Martin Rudalics <rudalics@gmx.at>
14734
14735 * window.el (display-buffer-pop-up-frame): Run frame creation
14736 function with BUFFER current (as special-display-popup-frame
14737 does). Reported by Drew Adams.
14738
3644a0ab
DU
147392011-08-17 Daiki Ueno <ueno@unixuser.org>
14740
14741 * epa-mail.el: Simplify GnuPG group expansion using
14742 epg-expand-group.
14743 (epa-mail-group-alist, epa-mail-group-modtime)
14744 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14745 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14746 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14747 Remove.
14748
5e617bc2 147492011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14750
14751 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14752
9c4aeabf
AM
147532011-08-16 Alan Mackenzie <acm@muc.de>
14754
14755 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14756 Correct, to avoid the inside of macros.
14757
3a99bf64
RS
147582011-08-16 Richard Stallman <rms@gnu.org>
14759
04963aa8
RS
14760 * epa-mail.el: Handle GnuPG group definitions.
14761 (epa-mail-group-alist, epa-mail-group-modtime)
14762 (epa-mail-gnupg-conf-file): New variables.
14763 (epa-mail-parse-groups, epa-mail-sync-groups)
14764 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14765 (epa-mail-expand-recipients): New functions.
14766 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14767
177549d0
RS
14768 * mail/rmail.el (rmail-epa-decrypt): New command.
14769
fe38beef
RS
14770 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14771 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14772 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14773 (epa-decrypt-armor-in-region): Make error message clearer.
14774
934eacb9
SM
147752011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14776
14777 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14778 and "a2b" to "ab" for `prefix'.
14779
d024fb4e
CY
147802011-08-14 Chong Yidong <cyd@stupidchicken.com>
14781
14782 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14783 filter groups.
de148fee
CY
14784 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14785 Fourquet (Bug#8804).
d024fb4e 14786
62f1ca49
JB
147872011-08-12 Juanma Barranquero <lekktu@gmail.com>
14788
14789 * startup.el (argi): Declare as global variable (bug#9275).
14790
9ccaaa4b
CY
147912011-08-12 Chong Yidong <cyd@stupidchicken.com>
14792
14793 * subr.el (string-mark-left-to-right): Search the entire string
14794 for RTL script, not just the terminating character. Doc fix.
14795
a3dae87a
SM
147962011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14797
6cd18349
SM
14798 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14799 New function.
14800 (js--regexp-literal, js-syntax-propertize-function): Remove.
14801 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14802 (js-mode-map): Don't rebind electric keys.
14803 (js-insert-and-indent): Remove.
14804 (js-mode): Setup electric-layout and electric-indent instead.
14805
a3dae87a
SM
14806 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14807
9d5cb631
DU
148082011-08-12 Daiki Ueno <ueno@unixuser.org>
14809
14810 * epa.el (epa-progress-callback-function): Fix the logic of
14811 displaying progress.
14812 * epa-file.el (epa-file-insert-file-contents): Make progress
14813 display more user-friendly.
14814 (epa-file-write-region): Ditto.
14815
3e26a4a2
CY
148162011-08-10 Chong Yidong <cyd@stupidchicken.com>
14817
14818 * subr.el (string-mark-left-to-right): New function.
14819
14820 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14821 Use string-mark-left-to-right.
14822 (list-buffers-noselect): Caller changed.
14823
a3dae87a
SM
14824 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14825 Use string-mark-left-to-right.
3e26a4a2
CY
14826 (tabulated-list-print): Recenter after moving point.
14827
ac8cf6e6
JL
148282011-08-10 Juri Linkov <juri@jurta.org>
14829
14830 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14831 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14832 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14833
8d96c9a4
CY
148342011-08-09 Chong Yidong <cyd@stupidchicken.com>
14835
14836 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14837 (Bug#7554).
14838
7be1c708 148392011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14840
14841 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14842 character. (Bug#6594)
14843
37e11a63
CY
148442011-08-08 Chong Yidong <cyd@stupidchicken.com>
14845
839dde57
CY
14846 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14847 (image-dired--with-db-file): New macro.
14848 (image-dired-write-tags, image-dired-remove-tag)
14849 (image-dired-create-gallery-lists, image-dired-write-comments)
14850 (image-dired-get-comment, image-dired-mark-tagged-files)
14851 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14852 (image-dired-gallery-generate): Use insert-file-contents.
14853
37e11a63
CY
14854 * time.el (display-time-world-list, display-time-world-display):
14855 * time-stamp.el (time-stamp-string):
14856 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14857 set-time-zone-rule (Bug#7337).
14858
0b4946c4
DU
148592011-08-08 Daiki Ueno <ueno@unixuser.org>
14860
14861 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14862 (epg-error-to-string, epg-errors-to-string): New function.
14863 (epg-wait-for-completion): Reverse errors list.
14864 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14865 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14866 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14867 (epg-sign-keys, epg-generate-key-from-file)
14868 (epg-generate-key-from-string): Format errors by using
14869 epg-errors-to-string (bug#9255).
14870 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14871
75bfc667
JL
148722011-08-07 Juri Linkov <juri@jurta.org>
14873
14874 * faces.el (list-faces-display): Remove extra angle bracket
14875 from `help-mode-map'.
14876
14877 * info.el (Info-history-toc-nodes): Doc fix.
14878
14879 * longlines.el (longlines-mode): Doc fix.
14880
673e08bb
SM
148812011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14882
4640dd88
SM
14883 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14884 of statements and in a few more cases (bug#9183).
14885
673e08bb
SM
14886 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14887 New functions.
14888 (cl-transform-lambda): Use them (bug#9239).
14889
89b3f019
MR
148902011-08-05 Martin Rudalics <rudalics@gmx.at>
14891
14892 * window.el (display-buffer-same-window)
14893 (display-buffer-same-frame, display-buffer-other-window)
14894 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14895 (pop-to-buffer-other-window)
14896 (pop-to-buffer-same-frame-other-window)
14897 (pop-to-buffer-other-frame): Make them defuns.
14898 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14899
640c8776
SM
149002011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14901
14902 * subr.el (make-composed-keymap): Move from C. Change calling
14903 convention, and improve docstring to bring attention to a subtle point.
14904 * minibuffer.el (completing-read-default): Adjust accordingly.
14905
63648a95
MA
149062011-08-03 Michael Albinus <michael.albinus@gmx.de>
14907
14908 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14909 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14910
14911 * net/trampver.el: Update release number.
14912
b796c9b7
SM
149132011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14914
14915 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14916 "in" (bug#9190).
14917
2239d7d5
LMI
149182011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14919
e07dd7c3
LMI
14920 * mail/sendmail.el (sendmail-query-once): Restore the current
14921 buffer after querying (bug#9074).
14922
0e6a2bd7
LMI
14923 * dired.el (dired-flagged): Use different faces for marked and
14924 flagged files (bug#6117).
14925
ce887515
LMI
14926 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14927 (bug#4433).
14928
92f2affc
LMI
14929 * ido.el (ido-mode): Switch off the message if called
14930 non-interactively.
14931
57d5aff0
LMI
14932 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14933 before 587, since it appears that that's more likely to work for
14934 more people.
14935
98cd6c18 14936 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14937 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14938 exist.
14939
b96dec83
LMI
14940 * info.el: Remove the `Info-beginning-of-buffer' function
14941 (bug#8325).
14942
b796c9b7
SM
14943 * net/network-stream.el (network-stream-open-starttls):
14944 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14945
d90e2ea0
MR
149462011-08-01 Martin Rudalics <rudalics@gmx.at>
14947
14948 * window.el (display-buffer-in-window): Don't set dedicated status
14949 of window here (Bug#9215).
14950 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14951 (display-buffer-pop-up-side-window)
b796c9b7 14952 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14953
cca09170
SM
149542011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14957 before binding generated-autoload-file.
14958
027b979c
DD
149592011-08-01 Deniz Dogan <deniz@dogan.se>
14960
14961 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14962
3c7ee4f3
MA
149632011-07-30 Michael Albinus <michael.albinus@gmx.de>
14964
14965 Sync with Tramp 2.2.2.
14966
14967 * net/trampver.el: Update release number.
14968
2cc8e51a
JL
149692011-07-30 Juri Linkov <juri@jurta.org>
14970
14971 * dired-aux.el (dired-touch-initial): Remove function.
14972 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14973 current time, and `default' to the last modification time of the
14974 current marked file (bug#6887).
14975
a514d856
JM
149762011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14977
14978 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14979 numeric argument to read-number (bug#9163).
a514d856 14980
8a7eddd7
MA
149812011-07-27 Michael Albinus <michael.albinus@gmx.de>
14982
14983 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14984 connection process, it could be nil.
14985
1ddd96f5
LL
149862011-07-27 Leo Liu <sdl.web@gmail.com>
14987
14988 Simplify url handling in rcirc-mode.
14989
14990 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14991 (rcirc-browse-url-at-mouse): Remove.
14992 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14993
b248a85d
AM
149942011-07-26 Alan Mackenzie <acm@muc.de>
14995
14996 Fontify bitfield declarations properly.
14997
14998 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14999 (c-symbol-chars): Now exported as a lang variable.
15000 (c-not-primitive-type-keywords): New lang variable.
15001
15002 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15003 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15004 parsed as a bitfield declaration.
b248a85d 15005
b796c9b7
SM
15006 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15007 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15008 (c-punctuation-in): New function.
15009 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15010 declarations properly.
15011
68575ab0
UJ
150122011-07-26 Ulf Jasper <ulf.jasper@web.de>
15013
15014 * calendar/icalendar.el (icalendar--all-events): Take care of
15015 multiple vcalendars in a single file.
b796c9b7 15016 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15017
0f0a88b9
DD
150182011-07-25 Deniz Dogan <deniz@dogan.se>
15019
15020 * image.el (insert-image): Clarifying docstring.
15021
0b3f36df
MA
150222011-07-24 Michael Albinus <michael.albinus@gmx.de>
15023
15024 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15025 `tramp-send-command-and-check' if there is no error.
15026 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15027
a9901f61
AM
150282011-07-22 Alan Mackenzie <acm@muc.de>
15029
15030 Prevent cc-langs.elc being loaded at run time.
15031
15032 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15033 cc-langs.
15034
4d61f28d 15035 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15036 "(require 'cc-langs)". Quote a form so it will evaluate at
15037 (cc-mode's) compilation time.
15038
11d074b2
MA
150392011-07-22 Michael Albinus <michael.albinus@gmx.de>
15040
15041 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15042 loading. (Bug#9114)
15043
938b94c8
MR
150442011-07-21 Martin Rudalics <rudalics@gmx.at>
15045
15046 * window.el (display-buffer-pop-up-window)
15047 (display-buffer-pop-up-side-window)
15048 (display-buffer-in-side-window): Call display-buffer-set-height
15049 and display-buffer-set-width after setting the new window's
b796c9b7 15050 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15051
bfa4f190
SS
150522011-07-20 Sam Steingold <sds@gnu.org>
15053
15054 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15055 (etags-tags-included-tables): Call `convert-standard-filename' on
15056 the file names contained in TAGS so that windows Emacs can handle
15057 TAGS files created by cygwin ctags.
15058
8ca42262
LMI
150592011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15060
15061 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15062 which apparently didn't work.
15063
5db2afd2 150642011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15065
5db2afd2
RW
15066 * proced.el (proced-send-signal): For *Marked Processes* buffer
15067 put point at beginning of buffer.
15068
92e15d10
SB
150692011-07-19 Stephen Berman <stephen.berman@gmx.net>
15070
15071 * proced.el (proced-format): Make header lines align with the text
15072 (bug#1779).
15073
1bfd59e5
LMI
150742011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15075
15076 * view.el (view-buffer): Allow running in `special' modes if we're
15077 visiting a file (bug#8615).
15078
f5aae37c
MR
150792011-07-19 Martin Rudalics <rudalics@gmx.at>
15080
15081 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15082 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15083 New functions.
f5aae37c
MR
15084 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15085 more accurately.
15086
bf2c1571
AM
150872011-07-18 Alan Mackenzie <acm@muc.de>
15088
15089 Fontify declarators properly when, e.g., a jit-lock chunk begins
15090 inside a declaration.
15091
15092 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15093
b796c9b7
SM
15094 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15095 New function.
bf2c1571
AM
15096 (c-complex-decl-matchers): Insert reference to
15097 c-font-lock-enclosing-decls.
15098
15099 * progmodes/cc-engine.el (c-backward-single-comment):
15100 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15101 to nil around calls to (forward-comment -1).
15102
4e190b80
LMI
151032011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15104
12dc863d
LMI
15105 * image.el (put-image): Doc typo fix.
15106
a762e966
LMI
15107 * progmodes/etags.el (tags-search): Doc typo fix.
15108
4e190b80
LMI
15109 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15110 password if we get errors 550 to 554.
15111
f019fb21
LMI
151122011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15113
b796c9b7 15114 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15115
81746738
LMI
15116 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15117 indentation character (bug#6380).
15118
3ee3a1b5
LMI
15119 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15120
c82f64de
LMI
15121 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15122 to clarify what the problem is (bug#4291).
15123
f019fb21
LMI
15124 * simple.el (current-kill): Clarify what
15125 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15126 (auto-fill-mode): Document `auto-fill-function' in relation to
15127 `auto-fill-mode' (bug#2470).
f019fb21 15128
0794775d
LM
151292011-07-16 Lawrence Mitchell <wence@gmx.li>
15130
15131 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15132 method if slot is read-only (bug#9035).
15133
be39b8cc
MR
151342011-07-16 Martin Rudalics <rudalics@gmx.at>
15135
b796c9b7 15136 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15137 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15138 selected before, see discussion of (Bug#8615), (Bug#6954).
15139 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15140
6ccf7859
GM
151412011-07-15 Glenn Morris <rgm@gnu.org>
15142
15143 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15144 Respect help-form.
6ccf7859 15145
87e86684
LM
151462011-07-09 Lawrence Mitchell <wence@gmx.li>
15147
15148 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15149 (gnutls-negotiate): Use it.
15150
d6066239
LMI
151512011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15152
b796c9b7
SM
15153 * net/gnutls.el (gnutls-negotiate):
15154 Upcase `gnutls-algorithm-priority'.
d6066239 15155
bd23ebc0
GM
151562011-07-15 Glenn Morris <rgm@gnu.org>
15157
c65bca65
GM
15158 * jka-compr.el (jka-compr-verbose): Move from here...
15159 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15160 Add missing :version tag.
15161 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15162
478615cc
LMI
151632011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15164
7b41decb
LMI
15165 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15166 (gnutls-negotiate): Use it.
15167
dbc44fcd
LMI
15168 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15169
06789f97
LMI
15170 * info.el (Info-beginning-of-buffer): New command.
15171 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15172 announcing `b' as the key (bug#8325).
ab896c37 15173 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15174
c39da690
LMI
15175 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15176
3aa5f34b
LMI
15177 * international/mule-cmds.el
15178 (describe-specified-language-support): Make the error message
15179 clearer (bug#8905).
15180
4bf0979f
LMI
15181 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15182
478615cc
LMI
15183 * isearch.el (isearch-barrier): Add a doc string, since it's
15184 mentioned in a function doc string (bug#8678).
15185
75c68aa1
MR
151862011-07-15 Martin Rudalics <rudalics@gmx.at>
15187
15188 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15189 buffer argument (Bug#9083) and self-identifying label argument.
15190
a7c33da2
GM
151912011-07-15 Glenn Morris <rgm@gnu.org>
15192
15193 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15194
2f5c6024
LMI
151952011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15196
15197 * man.el (Man-fontify-manpage): Fix message when formatting the
15198 man page (bug#7929).
15199
0bb23927 152002011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15201
15202 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15203 argument LRM; if non-nil, append an invisible LRM character to the
15204 buffer name.
15205 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15206 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15207 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15208 paragraph direction.
cce4b0a7 15209
621ef9ab
LMI
152102011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15211
d1583c48
LMI
15212 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15213 the man page name (bug#7929).
15214
6a57fb5f
LMI
15215 * image.el (put-image): Mention the `put-image' overlay property
15216 (bug#7834).
15217
d7956b14
LMI
15218 * scroll-bar.el (set-scroll-bar-mode): Mention that
15219 `scroll-bar-mode' lists the values (bug#7772).
15220
5b2d4a66
LMI
15221 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15222 command (bug#7729).
15223
7509a874
LMI
15224 * rect.el (apply-on-rectangle): Return the point after the last
15225 operation.
15226 (string-rectangle): Go to the point after the last operation
15227 (bug#7522).
15228
4fe74b19
LMI
15229 * printing.el (pr-toggle-region): Clarify the documentation
15230 slightly (bug#7493).
15231
b796c9b7
SM
15232 * time.el (display-time-update):
15233 Allow `display-time-mail-function' to return nil (bug#7158).
15234 Fix suggested by Detlev Zundel.
ab283561 15235
fc233c9d
LMI
15236 * vc/diff.el (diff): Clarify the order the file names are read
15237 (bug#7111).
15238
43f5740b
LMI
15239 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15240 the doc string (bug#7015).
15241
f2182a76
LMI
15242 * font-lock.el (font-lock-maximum-decoration): Mention what
15243 numeric levels mean (bug#6935).
15244
621ef9ab
LMI
15245 * startup.el (initial-buffer-choice): Don't mention the `none'
15246 selection, which is against policy.
15247
adc47434
MR
152482011-07-14 Martin Rudalics <rudalics@gmx.at>
15249
b796c9b7
SM
15250 * window.el (display-buffer-normalize-special):
15251 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15252
7e5bfb8f
EZ
152532011-07-14 Eli Zaretskii <eliz@gnu.org>
15254
15255 * subr.el (version<, version<=, version=): Mention "-CVS" and
15256 "-12345" alpha version numbers.
15257
27fa387a
CY
152582011-07-14 Chong Yidong <cyd@stupidchicken.com>
15259
15260 * bindings.el: Add advertised binding for set-mark-command
15261 (Bug#5772).
15262
8bdfa064
CY
152632011-07-14 Chong Yidong <cyd@stupidchicken.com>
15264
15265 * bindings.el (mode-line-other-buffer):
15266 * bookmark.el (bookmark-bmenu-2-window):
15267 * bs.el (bs-cycle-next, bs-cycle-previous):
15268 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15269 switch-to-buffer.
15270
15271 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15272 Delete.
8bdfa064 15273
5eba16a3
JB
152742011-07-14 Juanma Barranquero <lekktu@gmail.com>
15275
15276 * follow.el (follow-debug-message, follow-redisplay):
15277 * jka-cmpr-hook.el (with-auto-compression-mode):
15278 Fix typos in docstrings.
15279
15853710
LMI
152802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15281
a28e4607
LMI
15282 * subr.el (with-silent-modifications): Clarify somewhat what the
15283 macro inhibits (bug#6525).
15284
15853710
LMI
15285 * simple.el (eval-expression): Note what it does if called
15286 interactively (bug#6495).
15287
bee0fcef
CY
152882011-07-13 Chong Yidong <cyd@stupidchicken.com>
15289
b796c9b7
SM
15290 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15291 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15292
15293 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15294 Remove switch-to-buffer.
15295
58274504
LMI
152962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15297
bd2fcc8d
LMI
15298 * files.el (make-directory): Clarify that an error will be raised
15299 if there's an error (bug#6397).
15300
0f04b32c
LMI
15301 * startup.el (initial-buffer-choice): Add `none' as a choice
15302 (bug#6234).
15303
465c5fc8
LMI
15304 * subr.el (add-hook): Clarify section about buffer-local hooks
15305 (bug#6218).
15306
58274504
LMI
15307 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15308
bead9a43
JB
153092011-07-13 Juanma Barranquero <lekktu@gmail.com>
15310
15311 * tabify.el (untabify): Preserve the current column so that point
15312 doesn't move (bug#6032).
15313
3af98a7b
LMI
153142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15315
b796c9b7
SM
15316 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15317 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15318
6240145a
GM
153192011-07-13 Glenn Morris <rgm@gnu.org>
15320
15321 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15322 (dired-insert-directory): Give a message the first time
15323 if ls is found not to support --dired.
15324
1d8c2ccc
LMI
153252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15326
15327 * simple.el (toggle-truncate-lines): Clarify what is toggled
15328 (bug#5580). Text by Drew Adams.
15329
5fc4038e
CY
153302011-07-13 Chong Yidong <cyd@stupidchicken.com>
15331
15332 * simple.el (blink-matching-open): Make the error message from the
15333 last change less verbose.
15334
bf6012e5
DN
153352011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15336
15337 * font-lock.el (font-lock-comment-face): Use the high contrast
15338 "yellow" color for font-lock-comment-face on low color terminals
15339 using a dark background color (bug#4221).
15340
343c3b5a
LMI
153412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15342
7e9505c5
LMI
15343 * dired.el (dired-insert-set-properties): Make the doc string
15344 reflect what it does now (bug#5325).
15345
c26fdcf5
LMI
15346 * simple.el (blink-matching-open): Say that we were unable to find
15347 the match within the limit, if we're limited (bug#5122).
15348
bb388cc5
LMI
15349 * international/mule-cmds.el (prefer-coding-system): Add an
15350 example (bug#4869).
15351
343c3b5a
LMI
15352 * progmodes/etags.el (tags-search): Document `file-list-form'
15353 (bug#4731).
15354
2a517d45
LM
153552011-07-13 Lawrence Mitchell <wence@gmx.li>
15356
15357 * net/browse-url.el (browse-url-default-browser)
15358 (browse-url-browser-function): Make the default browser choice a
15359 bit more logical (bug#4300). Also clean up the doc string.
15360
b6c78ef2
JB
153612011-07-13 Juanma Barranquero <lekktu@gmail.com>
15362
15363 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15364 binary endings (bug#4440).
15365
1c4dd947
LMI
153662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15367
a2014063
LMI
15368 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15369 which can be pretty annoying (bug#8971).
15370
9c9c2d88
LMI
15371 * jka-compr.el (jka-compr-verbose): New variable, and use
15372 throughout (bug#8971).
15373
1c4dd947
LMI
15374 * info.el (Info-find-file): Fall back on the installation
15375 directory if we can't find the info node anywhere else.
15376
a1c9f41b
SO
153772011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15378
15379 * vc/vc.el (vc-revert-file):
15380 Don't set file time-stamp in the past. (Bug#5181)
15381
536f3d36
LMI
153822011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15383
7152b011
LMI
15384 * files.el (after-find-file): Give a better error message when
15385 trying to find a symlink that points to a file that doesn't exist
15386 (bug#4398).
15387
536f3d36
LMI
15388 * progmodes/cc-vars.el: Remove (probably) misleading comment
15389 (bug#4396).
15390
460c0fba
JB
153912011-07-12 Johan Bockgård <bojohan@gnu.org>
15392
15393 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15394
7a6bda45
CY
153952011-07-12 Chong Yidong <cyd@stupidchicken.com>
15396
15397 * mouse-sel.el: Hack restoring functionality, while keeping
15398 compatibility with 2010-07-03 changes to mouse selection.
15399 (mouse-sel-primary-overlay): New var.
15400 (mouse-sel-selection-alist): Use it.
15401 (mouse-sel-mode): Doc fix; remove points that are default features
15402 of mouse.el.
15403
c79598ef
JB
154042011-07-12 Johan Bockgård <bojohan@gnu.org>
15405
15406 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15407 Fix previous fix (bug#2490).
15408
ff8be6ef
RW
154092011-07-12 Roland Winkler <winkler@gnu.org>
15410
b796c9b7
SM
15411 * textmodes/bibtex.el (bibtex-initialize):
15412 Use pop-to-buffer-same-window.
ff8be6ef
RW
15413 (bibtex-search-entries): Fix interactive call.
15414
296ba3ee
LMI
154152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15416
f5242a02 15417 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15418 Fontise bytecomp Error lines more correctly (bug#2490).
15419 Fix suggested by Johan Bockgård.
f5242a02 15420
296ba3ee
LMI
15421 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15422
15423 * dired-x.el (dired-guess-default): Use `delete-dups'.
15424
f69fd0d2
CY
154252011-07-12 Chong Yidong <cyd@stupidchicken.com>
15426
15427 * dired.el (dired-mark-prompt):
15428 * dired-aux.el (dired-read-shell-command): Doc fix.
15429
eab5dc07
LMI
154302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15431
b796c9b7
SM
15432 * mail/sendmail.el (sendmail-query-once):
15433 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15434 emacs -Q.
15435
15436 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15437
eab5dc07
LMI
15438 * cus-edit.el (custom-file): Take an optional no-error variable.
15439 (customize-save-variable): Set the variable, and give a warning if
15440 running under "emacs -q".
15441
a1e65d42
JB
154422011-07-11 Juanma Barranquero <lekktu@gmail.com>
15443
15444 * loadhist.el (unload-feature-special-hooks):
15445 Add `auto-coding-functions', `fill-nobreak-predicate' and
15446 `find-directory-functions' (bug#5327).
15447
1d52da10
LMI
154482011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15449
be958f1d
LMI
15450 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15451
5bedb26c
LMI
15452 * cus-edit.el (custom-guess-name-alist): -alist variables should
15453 use the `alist' type (bug#3120). Suggested by Drew Adams.
15454
1d52da10
LMI
15455 * printing.el: Add documentation to all the `pr-toggle-' commands.
15456
cd394be1 154572011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15458
15459 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15460 backends where it makes sense (bug#2623).
15461
dcc88d8a
LMI
154622011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15463
c3de9feb
LMI
15464 * dired-x.el (dired-guess-default): Remove duplicate shell command
15465 entries (bug#2028).
8a93078b 15466 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15467 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15468
dcc88d8a
LMI
15469 * subr.el (remove-duplicates): New conveniency function.
15470
505e3645
LMI
154712011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15472
15473 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15474 (bug#1526).
15475
154762011-07-10 Martin Rudalics <rudalics@gmx.at>
15477
15478 * window.el (display-buffer-normalize-default): Don't invert
15479 meaning of even-window-heights. Reported by Eli Zaretskii
15480 <eliz@gnu.org>.
15481
455e4fa1
BR
154822011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15483
15484 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15485
8e0bc3e9
CY
154862011-07-10 Chong Yidong <cyd@stupidchicken.com>
15487
15488 * window.el (display-buffer): Fix arguments to
15489 display-buffer-reuse-window in last change.
15490
fa7c3228
CY
15491 * faces.el (link): Use a less saturated blue on light backgrounds.
15492
15493 * startup.el (fancy-startup-text, fancy-about-text)
15494 (fancy-startup-tail): Use font-lock faces, for background safety.
15495
c0a7f300
BN
154962011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15497
b796c9b7
SM
15498 * emulation/viper-cmd.el (viper-change-state-to-vi):
15499 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15500
4dc2a129
MR
155012011-07-09 Martin Rudalics <rudalics@gmx.at>
15502
15503 * window.el (display-buffer-default-specifiers): Remove.
15504 (display-buffer-macro-specifiers): Remove default specifiers.
15505 (display-buffer-alist): Default to nil.
b796c9b7 15506 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15507 (display-buffer-pop-up-window): Allow splitting internal
15508 windows. Check whether a live window was created.
15509 (display-buffer-other-window-means-other-frame)
15510 (display-buffer-normalize-arguments): Rename to
15511 display-buffer-normalize-argument and rewrite. Set the
15512 other-window specifier.
15513 (display-buffer-normalize-special): New function.
15514 (display-buffer-normalize-options): Rename to
15515 display-buffer-normalize-default and rewrite.
15516 (display-buffer-normalize-options-inhibit): Remove.
15517 (display-buffer-normalize-specifiers): Rewrite.
15518 (display-buffer): Process other-window specifier and call
15519 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15520 more faithfully.
b796c9b7 15521 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15522 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15523 (display-buffer-in-window, display-buffer-alist-set):
15524 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15525 <tassilo@member.fsf.org>.
15526
2d43b8c9
LL
155272011-07-09 Leo Liu <sdl.web@gmail.com>
15528
15529 * register.el (insert-register): Restore accidental change on
15530 2011-06-26. (Bug#9028)
15531
7f9b7c53
GM
155322011-07-09 Glenn Morris <rgm@gnu.org>
15533
15534 * subr.el (remq): Handle the empty list. (Bug#9024)
15535
f042cfd8
AS
155362011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15537
15538 * mail/sendmail.el (send-mail-function): No longer delay custom
15539 initialization.
15540 * custom.el (custom-initialize-delay): Doc fix.
15541
856b2f11
SM
155422011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15543
15544 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15545
afae1d68
MA
155462011-07-08 Michael Albinus <michael.albinus@gmx.de>
15547
15548 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15549 human-friendly prompt.
15550
0757af94
SM
155512011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15552
15553 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15554 provided by a particular plugin.
15555
d760b731
LMI
155562011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15557
15558 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15559 save customizations (with "emacs -Q"), just set the variable
15560 instead of erroring out.
15561
15562 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15563
cd79ce90
JL
155642011-07-08 Juri Linkov <juri@jurta.org>
15565
15566 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15567 (archive-zip-update-case): Use 7z if found by `executable-find'.
15568 The order of searching the available programs is the same as in
15569 `archive-zip-extract' (bug#8968).
15570
14cc04aa
CY
155712011-07-07 Chong Yidong <cyd@stupidchicken.com>
15572
15573 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15574 (menu-bar-options-menu): Tweak descriptions.
15575
0a1848ec
LMI
155762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15577
15578 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15579 menu items into verb phrases (bug#1421). Also refill to fit under
15580 80 columns.
15581
f5bd0689
CY
155822011-07-07 Chong Yidong <cyd@stupidchicken.com>
15583
538e85c6
CY
15584 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15585 (Info-read-node-name): Doc fix (Bug#1084).
15586
f5bd0689
CY
15587 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15588 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15589 (end-of-sexp, beginning-of-sexp)
15590 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15591 (forward-symbol, forward-same-syntax, word-at-point)
15592 (sentence-at-point): Doc fix (Bug#1144).
15593
56ec5115
LMI
155942011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15595
f3f8e37f
LMI
15596 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15597 should cover it (bug#1281).
15598
0757af94 15599 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15600
e9fce1ac 15601 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15602 negotiation fails, then possibly try again with a non-encrypted
15603 connection (bug#9017).
15604
56ec5115
LMI
15605 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15606 be used.
15607
c2f9aec8
RS
156082011-07-07 Richard Stallman <rms@gnu.org>
15609
15610 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15611 property, and handle its changed format.
15612 Look for the correct line number.
15613 Use file's line contents (but not past first =) to find
15614 correct line in message.
15615
ef7b981d 156162011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15617
15618 * international/characters.el (build-unicode-category-table):
15619 Delete it.
0757af94 15620 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15621
0757af94 15622 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15623 to src/chartab.c.
15624 (get-char-code-property): Call unicode-property-table-internal to
15625 load a file. Call get-unicode-property-internal where necessary.
15626 (put-char-code-property): Call unicode-property-table-internal to
15627 load a file. Call put-unicode-property-internal where necessary.
15628 put-unicode-property-internal where necessary.
0757af94
SM
15629 (char-code-property-description):
15630 Call unicode-property-table-internal to load a file.
c805dec0
KH
15631
15632 * international/charprop.el:
15633 * international/uni-bidi.el:
15634 * international/uni-category.el:
15635 * international/uni-combining.el:
15636 * international/uni-comment.el:
15637 * international/uni-decimal.el:
15638 * international/uni-decomposition.el:
15639 * international/uni-digit.el:
15640 * international/uni-lowercase.el:
15641 * international/uni-mirrored.el:
15642 * international/uni-name.el:
15643 * international/uni-numeric.el:
15644 * international/uni-old-name.el:
15645 * international/uni-titlecase.el:
15646 * international/uni-uppercase.el: Regenerate.
15647
15648 * loadup.el: Load international/charprop.el before
15649 international/characters.
15650
e14b388a
CY
156512011-07-07 Chong Yidong <cyd@stupidchicken.com>
15652
15653 * window.el (next-buffer, previous-buffer): Signal an error if
15654 called from a minibuffer window.
15655
15656 * bindings.el: Revert 2011-07-04 change.
15657
354cf0ba
RS
156582011-07-06 Richard Stallman <rms@gnu.org>
15659
15660 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15661 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15662 Treat markers like ints.
15663 (rmail-mime-entity): Doc fix.
15664
a48868a7
LMI
156652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15666
4906cd3d
LMI
15667 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15668 defcustom again for backwards compatibility.
15669
e0457abe
LMI
15670 * simple.el (shell-command-on-region): Fill.
15671
d67f7e1f
LMI
15672 * dired-aux.el (dired-kill-line): Add a doc string.
15673
fe204702
LMI
15674 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15675 to "\\sw\\|\\s_" (bug#358).
15676
a48868a7
LMI
15677 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15678 (dired-unmark-backward): Ditto.
15679 (dired-flag-backup-files): Ditto.
15680
15681 * dired-x.el (dired-mark-sexp): Ditto.
15682
aa8a705c
RS
156832011-07-06 Richard Stallman <rms@gnu.org>
15684
15685 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15686 (rmail-mime-entity): New arg TRUNCATED.
15687 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15688 New functions.
15689 (rmail-mime-save): Warn if entity is truncated.
15690 (rmail-mime-toggle-hidden): Likewise, for showing.
15691 (rmail-mime-process-multipart): Record when an entity is truncated.
15692
a9a936b9
RS
15693 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15694 if ENTITY is a string.
15695
1f2b92cb
LMI
156962011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15697
f4f73198 15698 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15699 of faces when `M-C-x'-ing their definitions (bug#8378).
15700 Also clean up the code slightly.
f4f73198 15701
12b16734 15702 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15703 because that makes the colors go away.
12b16734 15704
f0691d22
LMI
15705 * mail/sendmail.el (send-mail-function): Change the default to
15706 `sendmail-query-once'.
9e87df06 15707 (sendmail-query-once): Add an autoload cookie.
f0691d22 15708
1f2b92cb
LMI
15709 * net/network-stream.el (network-stream-open-starttls): Try using
15710 a plain connection even if the server offered STARTTLS, and we
15711 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15712 capability. This should make smtpmail.el work in slightly more
15713 configurations.
15714
1cdd2a1b
MA
157152011-07-06 Michael Albinus <michael.albinus@gmx.de>
15716
15717 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15718 New defun.
15719 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15720
fbcc67e2
MM
157212011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15722
15723 * progmodes/sql.el: Version 3.0
0757af94 15724 (sql-product-alist): Add product :completion-object,
fbcc67e2 15725 :completion-column, and :statement attributes.
0757af94 15726 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15727 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15728 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15729 ansi keywords.
15730 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15731 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15732 (sql-oracle-show-reserved-words): New function for development.
15733 (sql-product-font-lock): Simplify for source code buffers.
15734 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15735 New functions.
15736 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15737 (sql-mode-map): Add statement movement functions.
15738 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15739 New variable.
fbcc67e2
MM
15740 (sql-statement-regexp, sql-beginning-of-statement)
15741 (sql-end-of-statement, sql-signum): New functions.
0757af94 15742 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15743 (sql-show-sqli-buffer): Bug fix.
15744 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15745 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15746 with sql-interactive-mode.
15747 (sql-save-connection): Save buffer local settings.
0757af94 15748 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15749 (sql-product-interactive): Bug fix.
15750 (sql-preoutput-hold): New variable.
15751 (sql-interactive-remove-continuation-prompt): Bug fixes.
15752 (sql-debug-redirect): New variable.
15753 (sql-str-literal): New function.
15754 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15755 Redesign.
fbcc67e2
MM
15756 (sql-oracle-save-settings, sql-oracle-restore-settings)
15757 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15758 (sql-completion-object, sql-completion-column)
15759 (sql-completion-sqlbuf): New variables.
15760 (sql-build-completions-1, sql-build-completions)
15761 (sql-try-completion): New functions.
15762 (sql-read-table-name): Use them.
15763 (sql-contains-names): New buffer local variable.
15764 (sql-list-all, sql-list-table): Use it.
15765 (sql-oracle-completion-types): New variable.
15766 (sql-oracle-completion-object, sql-sqlite-completion-object)
15767 (sql-postgres-completion-object): New functions.
15768
d4eaeab1
GM
157692011-07-06 Glenn Morris <rgm@gnu.org>
15770
15771 * window.el (pop-to-buffer): Doc fix.
15772
322b7dab 157732011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15774
15775 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15776
322b7dab 157772011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15778
322b7dab 15779 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15780
322b7dab 15781 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15782
605dd5bf
CY
157832011-07-05 Chong Yidong <cyd@stupidchicken.com>
15784
15785 * button.el (button): Inherit from link face. Suggested by Dan
15786 Nicolaescu.
15787
7dbfa719
SM
157882011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15789
3db614b0
SM
15790 * progmodes/gdb-mi.el: Fit in 80 columns.
15791 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15792 switch-to-buffer.
15793
7dbfa719
SM
15794 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15795 if imenu is simply not configured (bug#8941).
15796
919d884a
KM
157972011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15798
15799 * allout.el (allout-post-undo-hook): New allout outline-change
15800 event hook to signal undo activity.
15801 (allout-post-command-business): Run allout-post-undo-hook if an
15802 undo just occurred.
7dbfa719
SM
15803 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15804 * allout-widgets.el (allout-widgets-after-undo-function):
15805 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15806 in the vicinity of an undo.
15807 (allout-widgets-mode): Include allout-widgets-after-undo-function
15808 on the new allout-post-undo-hook.
15809
450a0f09
SM
158102011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15811
15812 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15813 Let define-derived-mode define it.
15814 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15815 cycles of abbrev-table inheritance (bug#8998).
15816
2de69e00
RW
158172011-07-05 Roland Winkler <winkler@gnu.org>
15818
15819 * textmodes/bibtex.el: Add support for biblatex.
15820 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15821 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15822 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15823 (bibtex-entry-alist, bibtex-field-alist): New variables.
15824 (bibtex-entry-field-alist): Obsolete alias for
15825 bibtex-BibTeX-entry-alist.
15826 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15827 (bibtex-set-dialect): New command.
15828 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15829 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15830 Bind via bibtex-set-dialect.
2de69e00
RW
15831 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15832 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15833 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15834 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15835 Define via bibtex-set-dialect.
450a0f09
SM
15836 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15837 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15838 (bibtex-vec-push, bibtex-vec-incr): New functions.
15839 (bibtex-format-entry, bibtex-field-list)
15840 (bibtex-print-help-message, bibtex-validate)
15841 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15842
2dcdbdd9
SM
158432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15844
15845 * progmodes/compile.el (compilation-goto-locus):
15846 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15847 * bs.el (bs-cycle-next, bs-cycle-previous):
15848 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15849 * bindings.el (mode-line-other-buffer):
15850 * autoinsert.el (auto-insert):
15851 * arc-mode.el (archive-extract):
15852 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15853
b27640fe
JB
158542011-07-05 Juanma Barranquero <lekktu@gmail.com>
15855
15856 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15857 Fix check of `emacs-lock-unlockable-modes'.
15858 Coerce true values of `emacs-lock--try-unlocking' to t.
15859
53bbe3ad
JB
158602011-07-05 Juanma Barranquero <lekktu@gmail.com>
15861
15862 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15863 * emacs-lock.el: New file.
15864
1d3cdbc7
JD
158652011-07-05 Julien Danjou <julien@danjou.info>
15866
15867 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15868 than `boundp' to check if face is set.
15869
9173deec
JB
158702011-07-05 Juanma Barranquero <lekktu@gmail.com>
15871
15872 * register.el (registerv-make):
15873 * window.el (window-min-height): Fix typos in docstrings.
15874
869795d6
JD
158752011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15876
9173deec 15877 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15878 Update doc string.
15879
b768cdcd
JB
158802011-07-04 Juanma Barranquero <lekktu@gmail.com>
15881
15882 * server.el (server-execute): Catch quit and call
15883 `server-return-error' to pass the error back to emacsclient and
15884 close the connection (bug#8942).
15885
13aa217b
KM
158862011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15887
15888 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15889 insecure exception for current topic. Also note that auto-saves
15890 are handled differently.
15891
5d3385a0 15892 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15893 State variables for tracking auto-save inhibition situation.
15894
15895 (allout-write-contents-hook-handler): Rename from
15896 'allout-write-file-hook-handler', and describe how it depends on
15897 write-contents-functions sensitivity to non-nil value to prevent
15898 file write.
15899
15900 (allout-auto-save-hook-handler): Remove. auto-save does not check
15901 this in individual buffers, only in the starting buffer, so this
15902 is not the right way for us to inhibit auto-save in a buffer
15903 according to its condition.
15904
15905 (allout-mode): Use new allout-write-contents-hook-handler, and
15906 only with write-contents-functions. Remove auto-save provisions -
15907 they're implemented elsewhere.
15908
15909 (allout-before-change-handler): If undo is in progress, note that
15910 for attention of allout-post-command-business.
15911
15912 (allout-post-command-business): If the command we're following was
15913 an undo, check for change in the status of encrypted items and
15914 adjust auto-save inhibitions accordingly.
15915
15916 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15917 according to whether there are or aren't any plain-text topics
15918 pending encryption.
15919
2dcdbdd9 15920 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15921 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15922 if there are plain-text topics pending encryption.
13aa217b
KM
15923
15924 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15925 buffer-saved-size and some allout state to not inhibit auto-saves
15926 if there are no longer any plain-text topics pending encryption.
15927
0757af94
SM
15928 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15929 No longer provide for exemption of the current topic.
13aa217b 15930
ac89b32c
JL
159312011-07-04 Juri Linkov <juri@jurta.org>
15932
15933 Add 7z operations to delete and save changed members (bug#8968).
15934 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15935 New defcustoms.
15936 (archive-7z-write-file-member): New function.
15937 (archive-7z-summarize): Fix the number of dashes in the
15938 listing output.
15939
8fa39615
SM
159402011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15941
15942 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15943 (bug#8958).
15944
2f11b3f1
CY
159452011-07-04 Chong Yidong <cyd@stupidchicken.com>
15946
d66fef2b
CY
15947 * bindings.el: Ignore next-buffer and previous-buffer in
15948 minibuffer-local-map.
15949
2f11b3f1
CY
15950 * font-lock.el (font-lock-builtin-face): Change light background
15951 color to dark slate blue (Bug#6693).
15952
f932a347
WD
159532011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15954
15955 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15956
c8af70e1
SM
159572011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15958
15959 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15960 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15961 Add switch-to-buffer.
15962
f158badc
LMI
159632011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15964
15965 * isearch.el (isearch-search-fun-function): Clarify further the
15966 meaning of the function returned.
15967
6d95bd46
MA
159682011-07-04 Michael Albinus <michael.albinus@gmx.de>
15969
15970 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15971
15972 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15973 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15974 Use it.
15975 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15976 `tramp-default-remote-path' does not exist.
15977 (tramp-send-command-and-read): New optional argument NOERROR.
15978 (tramp-open-connection-setup-interactive-shell)
15979 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15980 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15981 (tramp-process-sentinel): Flush also process' connection property.
15982 (tramp-sh-handle-start-file-process): Do not set process
15983 sentinel. It is done now ...
15984 (tramp-maybe-open-connection): ... here. (Bug#8929)
15985
909e6b67
MK
159862011-07-04 MON KEY <monkey@sandpframing.com>
15987
15988 * play/animate.el (animate-string): Doc fixes and allow changing
15989 the buffer name (bug#5417).
15990
159912011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15992
c8af70e1 15993 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15994
f34755dc
PE
159952011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15996
396cec72
PE
15997 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15998 This is simpler and helps future-proof the code.
15999 (timer-until): Use time-subtract and float-time.
08235028 16000 (timer--time-less-p): Use time-less-p.
f34755dc 16001
56e6cc31
JB
160022011-07-04 Juanma Barranquero <lekktu@gmail.com>
16003
3abb79e5
JB
16004 * type-break.el (timep): Use the value of `float-time' to avoid a
16005 byte-compiler warning.
16006
56e6cc31
JB
16007 * server.el (server-eval-and-print): Return any result, even nil.
16008
7b9430b4
PE
160092011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16010
16011 * type-break.el: Accept time formats that the builtins accept.
16012 (timep, type-break-time-difference): Accept any format that
16013 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16014 This is simpler and helps future-proof the code.
16015 (type-break-time-difference): Round rather than ignoring
16016 subseconds components.
16017
3034e9e7
LMI
160182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16019
16020 * info.el (Info-apropos-matches): Make non-interactive, since it
16021 doesn't seem to do anything useful as a command (bug#8829).
16022
1485f4c0
CY
160232011-07-03 Chong Yidong <cyd@stupidchicken.com>
16024
16025 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16026 Move from faces.el.
1485f4c0
CY
16027 (frame-default-terminal-background): New function.
16028
16029 * custom.el (custom-push-theme): Don't record faces in `changed'
16030 theme; this doesn't work correctly for per-frame face settings.
16031 (disable-theme): Use face-set-after-frame-default to reset faces.
16032 (custom--frame-color-default): New function.
16033
9fa3dd45
LMI
160342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16035
c8af70e1 16036 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16037 (bug#8769).
16038
6cbbc20c
KR
160392011-03-29 Kevin Ryde <user42@zip.com.au>
16040
16041 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16042 `perl-Test2' extend to match possible "fail #N" rep count
16043 (bug#8377).
16044
c7f98048
LMI
160452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16046
65676592
LMI
16047 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16048 `smtpmail-via-smtp' now returns the error instead of nil.
16049
c7f98048
LMI
16050 * isearch.el (isearch-search-fun-function): Clarify the doc string
16051 (bug#8101).
16052
56e6cc31 160532011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16054
16055 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16056 unnecessary spaces (bug#8987).
16057
2b216704
LMI
160582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16059
16060 * net/network-stream.el (open-network-stream): Use the
16061 :end-of-capability command thoughout.
16062
160632011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16064
16065 * net/network-stream.el (open-network-stream): Add the
16066 :end-of-capability command parameter, used by pop3.el.
16067
36adf6ce
LMI
160682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16069
1ca0da0e
LMI
16070 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16071
fc00f69c
LMI
16072 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16073 for list)" (bug#6475).
16074
28fd8759 16075 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16076 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16077 an error (bug#6297).
16078
0dd8b6da
LMI
16079 * man.el (Man-reference-regexp): Allow matching possible
16080 word-wrapped references (bug#6289).
16081
ce1438d6
LMI
16082 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16083 for consistency with the other vc buffers (bug#6197).
16084 (vc-checkin): Ditto.
16085
16086 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16087
36adf6ce
LMI
16088 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16089
e83cc1f7
LMI
160902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16091
8a20ca4c
LMI
16092 * custom.el (defcustom): Clarify that :set is only used in the
16093 Customize user interface (bug#6089).
16094
83319045
LMI
16095 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16096 associated with a file, refuse to run instead of erroring out
16097 (bug#6084).
16098
a8392169
LMI
16099 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16100 the doc string, since it appears that using `fill-column' always
16101 controls the width (bug#7845).
16102
e83cc1f7
LMI
16103 * simple.el (shell-command-on-region): Say where the error output
16104 went if `shell-command-default-error-buffer' is set (bug#6857).
16105
e47ca23b
KM
161062011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16107
16108 * allout.el (allout-yank-processing): Adjust cursor position for
16109 backwards-deleted space.
16110
16111 (allout-rebullet-heading): Register changes with
16112 allout-exposure-changed-hook, so the modified topic is properly
16113 decorated.
16114
5cf56143
LMI
161152011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16116
08549772
LMI
16117 * minibuffer.el (completion-in-region): Document PREDICATE
16118 (bug#7136).
16119
48e96771
LMI
16120 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16121 of keyword/argument pairs (bug#6904).
16122
c8af70e1
SM
16123 * replace.el (multi-occur):
16124 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16125
e17d05e2
LMI
161262011-07-02 Drew Adams <drew.adams@oracle.com>
16127
16128 * dired.el (dired-mark-if): Make the message about whether it's
16129 marking or unmarking clearer (bug#8523).
16130
063b0e45
LMI
161312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16132
16133 * disp-table.el (display-table-print-array): New function.
16134 (describe-display-table): Use it to print the vectors more pretty
16135 (Bug#8859).
16136
28545e04
MR
161372011-07-02 Martin Rudalics <rudalics@gmx.at>
16138
16139 * window.el (window-state-get-1): Don't assign clone numbers.
16140 Add clone-of item to list of window parameters.
16141 (window-state-put-2): Don't process clone numbers.
16142 (display-buffer-alist): Fix doc-string.
16143
3349e122
SM
161442011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16145
16146 * subr.el (remq): Don't allocate if it's not needed.
16147 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16148 (keymap--merge-bindings): New functions.
16149 (keymap-canonicalize): Use them to refine the canonicalization.
16150 * minibuffer.el (minibuffer-local-completion-map)
16151 (minibuffer-local-must-match-map): Move initialization from C.
16152 (minibuffer-local-filename-completion-map): Move initialization from C;
16153 don't inherit from anything here.
16154 (minibuffer-local-filename-must-match-map): Make obsolete.
16155 (completing-read-default): Use make-composed-keymap to combine
16156 minibuffer-local-filename-completion-map with either
16157 minibuffer-local-must-match-map or
16158 minibuffer-local-filename-completion-map.
16159
d224ac83
GM
161602011-07-01 Glenn Morris <rgm@gnu.org>
16161
3de63bf8
GM
16162 * type-break.el (type-break-time-sum): Use dolist.
16163
d224ac83
GM
16164 * textmodes/flyspell.el (flyspell-word-search-backward):
16165 Replace CL function.
16166
1a1e3f32
SM
161672011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16168
fe3f64d5
SM
16169 * mouse.el (mouse--strip-first-event): New function.
16170 (function-key-map): Use it to map fringe clicks to normal clicks
16171 by default.
16172
eb604e34
SM
16173 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16174 (vc-bzr-revision-completion-table): Add support for annotate and date.
16175
1a1e3f32
SM
16176 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16177 inherit from parent.
16178
5bd35902
LMI
161792011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16180
ace6c69c 16181 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16182 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16183
191e2bed
LMI
16184 * dired.el (dired-mode): Fix up the doc string as suggested by
16185 Drew Adams (bug#8817).
16186
5bd35902
LMI
16187 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16188 cookie, since the manual says that it should be possible to add
16189 this function to `find-file-hook' (bug#8709).
16190
eee8207a
TZ
161912011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16192
16193 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16194 here. Noted Ted Zlatanov as the maintainer.
16195 (cfengine-common-settings, cfengine-common-syntax): New functions
16196 to set up common things between `cfengine-mode' and
16197 `cfengine3-mode'.
16198 (cfengine3-mode): New mode.
16199 (cfengine3-defuns cfengine3-defuns-regex
16200 (cfengine3-class-selector-regex cfengine3-category-regex)
16201 (cfengine3-vartypes cfengine3-font-lock-keywords)
16202 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16203 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16204
36b148cf
MA
162052011-07-01 Michael Albinus <michael.albinus@gmx.de>
16206
16207 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16208
16209 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16210
0bf4ba9a
MR
162112011-07-01 Martin Rudalics <rudalics@gmx.at>
16212
16213 * window.el (same-window-buffer-names, same-window-regexps)
16214 (same-window-p, special-display-frame-alist)
16215 (special-display-popup-frame, special-display-function)
16216 (special-display-buffer-names, special-display-regexps)
16217 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16218 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16219 (split-window-preferred-function, split-height-threshold)
16220 (split-width-threshold, even-window-heights)
16221 (display-buffer-mark-dedicated, window-splittable-p)
16222 (split-window-sensibly, window-safely-shrinkable-p):
16223 Un-obsolete.
16224 (display-buffer): Don't spread args with function specifier
16225 because special-display-popup-frame won't like it.
16226
35837f51
PE
162272011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16228
d0672f86
PE
16229 Time-stamp simplifications and fixes.
16230 These improve accuracy slightly, and future-proof the code
16231 against some potential changes to current-time format.
16232
b9444d97
PE
16233 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16234 by using time-since and float-time.
16235
0ef923dc
PE
16236 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16237 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16238 + NNN microseconds".
16239
2f81380d
PE
16240 * type-break.el (type-break-time-sum): Rewrite using time-add.
16241
845b5c3e
PE
16242 * play/hanoi.el (hanoi-current-time-float): Remove.
16243 All uses replaced by float-time.
16244
ee6f1be0
PE
16245 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16246 This yields a more-accurate answer.
16247 (rng-time-to-float): Remove; no longer needed.
16248
fe955043
PE
16249 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16250
5777162a
PE
16251 * calendar/timeclock.el (timeclock-seconds-to-time):
16252 Defalias to seconds-to-time, since they're the same thing.
16253
3103f8b6 16254 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16255 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16256 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16257
0e61a35f
SM
162582011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16259
16260 * window.el (bury-buffer): Don't iconify the only frame.
16261 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16262 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16263
ddd63a1e
CY
162642011-07-01 Chong Yidong <cyd@stupidchicken.com>
16265
0e61a35f
SM
16266 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16267 Add mouse-yank-primary.
ddd63a1e 16268
055f4923
TZ
162692011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16270
16271 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16272
6a2fb145
SM
162732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16274
16275 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16276 (find-library-name): Use it to find relative load names when provided
16277 absolute file name (bug#8803).
16278
fd4983f2
LMI
162792011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16280
887d14ad
LMI
16281 * textmodes/flyspell.el (flyspell-word): Consider words that
16282 differ only in case as potential doublons (bug#5687).
16283
c53dc7fc
LMI
16284 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16285 Remove two rather uninteresting debugging-like messages to make
16286 debbugs.el more silent.
16287
fd4983f2
LMI
16288 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16289 a password-like phrase.
16290
7a71b18d 162912011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16292
16293 * progmodes/cc-guess.el: New file.
16294
6a2fb145 16295 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16296
16297 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16298 derived from `c-basic-common-init'.
16299
16300 * progmodes/cc-mode.el (top-level): Require cc-guess.
16301 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16302
1fa280a3
LM
163032011-06-30 Lawrence Mitchell <wence@gmx.li>
16304
16305 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16306
e6597158
AM
163072011-06-30 Alan Mackenzie <acm@muc.de>
16308
1fa280a3
LM
16309 * progmodes/cc-engine.el (c-guess-continued-construct):
16310 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16311 lock is disabled. Name this case as "CASE G".
16312
68ba37fb
KM
163132011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16314
16315 * allout.el (allout-yank-processing): Fix injection of extra space
16316 between bullet and non-whitespace character in first topic when
16317 pasting, ensuring that the actual spacing in the pasted topic
16318 following the bullet char is preserved. This extra space was
16319 causing pasted encrypted topics to get a decrypted status even
16320 when the content was actually still encrypted. Now the decryption
16321 status from before the paste is preserved.
16322
16323 (allout-flag-region): Set all allout overlays so they evaporate
16324 when reduced to zero length (evanescent), to prevent overlay
16325 leakage.
16326
887a0b34
GM
163272011-06-30 Glenn Morris <rgm@gnu.org>
16328
94b9acce
GM
16329 * w32-fns.el (w32-charset-info-alist): Declare.
16330
1d9b46d4
GM
16331 * find-dired.el (find-grep-options): Simplify.
16332
cc232200
GM
16333 * term/ns-win.el (ns-set-resource): Declare.
16334
28e77c46
GM
16335 * ses.el (row, col): Declare dynamic variables honestly.
16336
887a0b34
GM
16337 * textmodes/reftex-parse.el (index-tags): Declare.
16338
658d8eb8
CY
163392011-06-30 Chong Yidong <cyd@stupidchicken.com>
16340
16341 * cus-edit.el (customize-push-and-save): New function.
16342
16343 * files.el (hack-local-variables-confirm): Use it.
16344
1fa280a3
LM
16345 * custom.el (load-theme): New arg NO-CONFIRM.
16346 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16347 (custom-enabled-themes): Doc fix.
16348
16349 * cus-theme.el (customize-create-theme)
16350 (custom-theme-merge-theme): Callers to load-theme changed.
16351
bb617717
LMI
163522011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16353
d61bdd5d
LMI
16354 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16355 short URLs have at least one dot in them (bug #7614).
16356
bb617717
LMI
16357 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16358 nil, because using a pty is apparently too slow (bug #895).
16359
2f31f37a
LMI
163602011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16361
16362 * mail/sendmail.el (sendmail-query-once): New function.
16363 (sendmail-query-once-function): New variable.
16364
3076b24e
GM
163652011-06-29 Glenn Morris <rgm@gnu.org>
16366
faf2a174
GM
16367 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16368
3076b24e
GM
16369 * ses.el (top-level): Require cl when compiling.
16370 (ses-set-localvars): Fix error statement.
16371 Call it at compile time to silence a storm of warnings.
16372
5386012d
MR
163732011-06-29 Martin Rudalics <rudalics@gmx.at>
16374
16375 * window.el (normalize-live-buffer): Rename to
16376 window-normalize-buffer.
16377 (normalize-live-frame): Rename to window-normalize-frame.
16378 (normalize-any-window): Rename to window-normalize-any-window.
16379 (normalize-live-window): Rename to window-normalize-live-window.
16380 (make-window-atom): Rename to window-make-atom.
16381 (window-resize-reset): Rename to window--resize-reset.
16382 (window-resize-reset-1): Rename to window--resize-reset-1.
16383 (resize-mini-window): Rename to window--resize-mini-window.
16384 (resize-subwindows-skip-p): Rename to
16385 window--resize-subwindows-skip-p.
16386 (resize-subwindows-normal): Rename to
16387 window--resize-subwindows-normal.
16388 (resize-subwindows): Rename to window--resize-subwindows.
16389 (resize-other-windows): Rename to window--resize-siblings.
16390 (resize-this-window): Rename to window--resize-this-window.
16391 (resize-root-window): Rename to window--resize-root-window.
16392 (resize-root-window-vertically): Rename to
16393 window--resize-root-window-vertically.
16394 (normalize-buffer-to-display): Rename to
16395 window-normalize-buffer-to-display.
16396 (normalize-buffer-to-switch-to): Rename to
16397 window-normalize-buffer-to-switch-to.
16398 Correspondingly update all callers of the functions listed
16399 above.
16400 (display-buffer-alist, display-buffer-normalize-arguments)
16401 (display-buffer-normalize-options, display-buffer)
16402 (display-buffer-alist-set): Use "function" instead of
16403 "fun-with-args".
16404
1176868d
CY
164052011-06-28 Chong Yidong <cyd@stupidchicken.com>
16406
16407 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16408 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16409 debbugs.gnu.org. Mention acknowledgment email.
16410
20a7a65f
LMI
164112011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16412
16413 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16414 buffer multibyteness, since it shouldn't matter.
16415
5f45cca5
MR
164162011-06-28 Martin Rudalics <rudalics@gmx.at>
16417
16418 * window.el (display-buffer-in-side-window): Handle dedicated
16419 windows as in display-buffer-reuse-window.
16420 (display-buffer-normalize-alist): Use value of override
16421 specifier.
16422 (display-buffer-normalize-specifiers): Use value of
16423 other-window-means-other-frame specifier.
16424 (display-buffer-alist): Rewrite some texts in widgets.
16425 (display-buffer): Spread arguments when calling function
16426 specified by fun-with-args.
16427
ad85fe1f
DD
164282011-06-28 Deniz Dogan <deniz@dogan.se>
16429
1fa280a3
LM
16430 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16431 Unnest `let'.
da68c4c8 16432
ad85fe1f
DD
16433 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16434 selectors (Bug#5732).
ec49bd31 16435 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16436
a08cc025
JA
164372011-06-27 Jari Aalto <jari.aalto@cante.net>
16438
16439 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16440 (eshell-ls-date-format): New defcustom.
16441 (eshell-ls-file): Use it.
16442
e2b551c5
SM
164432011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16444
16445 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16446
8982b231
KY
164472011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16448
16449 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16450 (ange-ftp-make-tmp-name): New arg.
16451 (ange-ftp-file-local-copy): Use it.
16452
36c9fa27
J
164532011-06-27 Jambunathan K <kjambunathan@gmail.com>
16454
16455 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16456 no-conversion (Bug#8870).
16457
d68443dc
MR
164582011-06-27 Martin Rudalics <rudalics@gmx.at>
16459
16460 * window.el (window-right, window-left, window-child)
16461 (window-child-count, window-last-child)
16462 (window-iso-combination-p, walk-window-tree-1)
16463 (window-atom-check-1, window-tree-1, delete-window)
16464 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16465 new naming conventions - window-vchild, window-hchild,
16466 window-next and window-prev are now called window-top-child,
16467 window-left-child, window-next-sibling and window-prev-sibling
16468 respectively.
d615d6d2
MR
16469 (resize-window-reset): Rename to window-resize-reset.
16470 (resize-window-reset-1): Rename to window-resize-reset-1.
16471 (resize-window): Rename to window-resize.
16472 (window-min-height, window-min-width)
16473 (resize-mini-window, resize-this-window, resize-root-window)
16474 (resize-root-window-vertically, adjust-window-trailing-edge)
16475 (enlarge-window, shrink-window, maximize-window)
16476 (minimize-window, delete-window, quit-restore-window)
16477 (split-window, balance-windows, balance-windows-area-adjust)
16478 (balance-windows-area, window-state-put-2)
16479 (display-buffer-even-window-sizes, display-buffer-set-height)
16480 (display-buffer-set-width, set-window-text-height)
16481 (fit-window-to-buffer): Rename all "resize-window" prefixed
16482 calls to use the "window-resize" prefix convention.
16483 (display-buffer-alist): Fix symbol for label specifier.
16484 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16485 corresponding specifier.
16486 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16487
b6458526
VB
164882011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16489
16490 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16491 convention.
16492 (ses-call-printer): Does not pass an empty string to formatter when the
16493 cell is empty to keep from barking printer Calc math-format-value.
16494
d31fd9ac
RS
164952011-06-27 Richard Stallman <rms@gnu.org>
16496
43d5bf84
RS
16497 * battery.el (battery-mode-line-limit): New variable.
16498 (battery-update): Handle it.
16499
d31fd9ac
RS
16500 * mail/rmailmm.el (rmail-mime-process-multipart):
16501 Handle truncated messages.
16502
819a6054
GM
165032011-06-27 Glenn Morris <rgm@gnu.org>
16504
16505 * progmodes/flymake.el (flymake-err-line-patterns):
16506 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16507
cedc73f2
VB
165082011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16509
819a6054 16510 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16511 (ses--clean-!, ses--clean-_): New functions.
16512 (ses-range): Add configurability of readout order, and conversion
16513 to Calc vector.
16514
5e5d49b6
VB
16515 * ses.el (ses-repair-cell-reference-all): New function.
16516 (ses-cell-symbol): Set macro as safe, so that it can be used in
16517 formulas.
16518
56e6cc31 16519 * ses.el: Update cycle detection algorithm.
90ca8b49 16520 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16521 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16522 (ses-set-localvars): New function.
16523 (ses-make-cell): Add property-list as a cell element.
16524 (ses-cell-property-get-fun, ses-cell-property-get)
16525 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16526 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16527 New functions.
90ca8b49
VB
16528 (ses-cell-property-set, ses-cell-property-pop)
16529 (ses-cell-property-get-handle): New macro.
16530 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16531 New aliases, used for code readability.
16532 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16533 cycle detection.
16534 (ses-self-reference-early-detection): New defcustom.
fac916bf 16535 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16536 (ses-mode): Use ses-set-localvars.
16537 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16538 before lauching the update processing.
16539 (ses-initialize-Dijkstra-attempt): New function.
16540 (ses-recalculate-cell): Update for cycle detection based on
16541 Dijkstra algorithm.
16542
2bb63e81
VB
16543 * ses.el: Fix commenting and indenting convention.
16544
c9d29fb8
SM
165452011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16546
16547 * bs.el (bs-cycle-next): Complete last change.
16548
d8e4b68b
JB
165492011-06-27 Drew Adams <drew.adams@oracle.com>
16550
16551 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16552
40098786
LMI
165532011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16554
c9d29fb8
SM
16555 * net/network-stream.el (network-stream-open-starttls):
16556 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16557 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16558
40098786
LMI
16559 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16560 to binary to possibly avoid line encoding issues on Windows (among
16561 other things).
16562
468d09d4
LMI
165632011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16564
16565 * net/network-stream.el (open-network-stream): Return an :error
16566 saying what the problem was, if possible.
16567
16568 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16569 server.
16570
16571 * net/network-stream.el (network-stream-open-starttls): If we
16572 wanted to use STARTTLS, and the server offered it, but we weren't
16573 able to because we had no STARTTLS support, then close the connection.
16574 (open-network-stream): Return an :error element, if present.
16575
16f07dd7
CY
165762011-06-26 Chong Yidong <cyd@stupidchicken.com>
16577
88821ca0
CY
16578 * hl-line.el (hl-line-sticky-flag): Doc fix.
16579 (global-hl-line-sticky-flag): New option (Bug#8323).
16580 (global-hl-line-highlight): Obey it.
16581
16f07dd7
CY
16582 * vc/vc.el (vc-revert-show-diff): Default to t.
16583
6b5ccddf
KM
165842011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16585
c9d29fb8
SM
16586 * allout-widgets.el (allout-widgets-post-command-business):
16587 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16588 undecorated when an isearch is continued past, and isearch
16589 automatically collapses them. This leads to "widget leaks", where
16590 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16591 hidden widgets can slow down cursor travel, substantially.
16592 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16593 so we're doing without this nicety.
16594
16595 (allout-widgets-tally-string): Don't try to do a hash-table-count
16596 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16597 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16598 *Messages* when allout-widgets-maintain-tally is t.
16599
355f2e07
MR
166002011-06-26 Martin Rudalics <rudalics@gmx.at>
16601
16602 * window.el (display-buffer-normalize-argument): Rename to
16603 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16604 LABEL argument. Respect special-display-function when popping up
16605 a new frame. Fix code searching for a window showing the buffer
16606 on another frame.
c9d29fb8
SM
16607 (display-buffer-normalize-specifiers):
16608 Call display-buffer-normalize-arguments.
355f2e07
MR
16609 (display-buffer-in-window): Don't undedicate the window if its
16610 buffer remains the same.
16611 Reported by Drew Adams <drew.adams@oracle.com>.
16612 (display-buffer-alist): Add choice for same-window macro
16613 specfier.
16614 (display-buffer): Mention special meaning of LABEL argument in
16615 doc-string. Fix quoting. Don't pop up a new frame even as
16616 fallback.
16617
7ca8fc42
JB
166182011-06-26 Juanma Barranquero <lekktu@gmail.com>
16619
16620 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16621 avoid deleting the current window in some cases (bug#8911).
16622
bc312254
AS
166232011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16624
16625 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16626 (Bug#8934)
16627
2db18f3f
LMI
166282011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16629
c9d29fb8
SM
16630 * net/network-stream.el (network-stream-open-starttls):
16631 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16632 (network-stream-open-tls): Ditto.
16633
6302e0d3
LL
166342011-06-26 Leo Liu <sdl.web@gmail.com>
16635
16636 * register.el (registerv): New struct.
16637 (registerv-make): New function.
c9d29fb8
SM
16638 (jump-to-register, describe-register-1, insert-register):
16639 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16640 struct. (Bug#8415)
16641
5fdd4046
CY
166422011-06-26 Chong Yidong <cyd@stupidchicken.com>
16643
2afef60a
CY
16644 * vc/vc.el (vc-revert-show-diff): New defcustom.
16645 (vc-diff-internal): New arg specifying diff buffer.
16646 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16647 reuse an existing *vc-diff* buffer (Bug#8927).
16648
5fdd4046
CY
16649 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16650
e93db24a
GM
166512011-06-26 Glenn Morris <rgm@gnu.org>
16652
16653 * progmodes/f90.el (f90-critical-indent): New option.
16654 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16655 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16656 (f90-mode): Doc fix.
16657 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16658 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16659 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16660 (f90-match-end): Handle block, critical.
16661
eefff499
GM
166622011-06-25 Glenn Morris <rgm@gnu.org>
16663
f6ba4cc9
GM
16664 * calendar/diary-lib.el (diary-included-files): Doc fix.
16665 (diary-include-files): New function, extracted from
16666 diary-include-other-diary-files and diary-mark-included-diary-files.
16667 (diary-include-other-diary-files, diary-mark-included-diary-files):
16668 Just call diary-include-files.
16669 (diary-mark-entries): Reset diary-included-files on first call.
16670
16712304
GM
16671 * calendar/diary-lib.el (diary-mark-entries)
16672 (diary-mark-included-diary-files):
16673 Visit included diary-files in temp buffers.
16674
5d8e0d43
GM
16675 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16676 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16677 (f90-start-block-re, f90-imenu-generic-expression)
16678 (f90-looking-at-program-block-start, f90-no-block-limit):
16679 Add support for submodules.
16680
ccf7a5d5
GM
16681 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16682 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16683
11fdef7d 166842011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16685
16686 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16687 buffer-file-type before setting its value, to avoid disastrous
eefff499 16688 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16689
74f53697
JB
166902011-06-25 Juanma Barranquero <lekktu@gmail.com>
16691
16692 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16693
16694 * ses.el (ses-unload-function):
16695 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16696
16697 * proced.el (proced-unload-function):
16698 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16699
18a4ce5e
AR
167002011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16701
16702 * server.el (server-create-window-system-frame): Add parameters arg.
16703 (server-process-filter): Doc fix. Handle frame-parameters.
16704
519d22cc
JB
167052011-06-25 Juanma Barranquero <lekktu@gmail.com>
16706
16707 Fix bug#8730, bug#8781.
16708
16709 * loadhist.el (unload--set-major-mode): New function.
16710 (unload-feature): Use it.
16711
16712 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16713 (python-unload-function): New function.
16714
c206f5b0
SM
167152011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16716
16717 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16718
f9ad64f3
GS
167192011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16720
16721 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16722 the candidates list.
16723
7d0da90e
JB
167242011-06-24 Juanma Barranquero <lekktu@gmail.com>
16725
16726 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16727
14b4e83d
RS
167282011-06-23 Richard Stallman <rms@gnu.org>
16729
16730 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16731 (rmail-variables): Set next-error-move-function.
16732 (rmail-what-message): Take argument POS.
16733 (rmail-next-error-move): New function.
16734
273d2baf
SM
167352011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16736
16737 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16738 messages for adjacent non-terminals.
16739
56c2cc9a
RS
167402011-06-23 Richard Stallman <rms@gnu.org>
16741
16742 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16743 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16744 (rmail-start-mail): Don't specify use of rmail-mail-return;
16745 that's done by mail-bury now.
16746 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16747
d59eb518
MA
167482011-06-23 Michael Albinus <michael.albinus@gmx.de>
16749
16750 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16751 SIZE is a number.
16752
02cfc6d6
MR
167532011-06-23 Martin Rudalics <rudalics@gmx.at>
16754
16755 * window.el (get-lru-window, get-mru-window)
16756 (get-largest-window): Never return a minibuffer window.
16757 (display-buffer-pop-up-window): Fix a bug that could lead to
16758 reusing the minibuffer window.
16759 (display-buffer): Pass original specifier argument to
16760 display-buffer-function instead of the normalized one.
16761 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16762
4e323265
LL
167632011-06-22 Leo Liu <sdl.web@gmail.com>
16764
16765 * minibuffer.el (completing-read-function)
1f9f395d 16766 (completing-read-default): Move from minibuf.c.
4e323265 16767
7a70468f
RS
167682011-06-22 Richard Stallman <rms@gnu.org>
16769
50718fc2
RS
16770 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16771 to Rmail even if not started by a special Rmail command.
16772
7a70468f
RS
16773 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16774 Copy the buffer currently showing just one message.
16775
297dde5a
RW
167762011-06-22 Roland Winkler <winkler@gnu.org>
16777
16778 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16779 (bibtex-clean-entry): First delete the old key so that a
16780 customized algorithm for generating the new key does not get
16781 confused by the old key.
16782 (bibtex-url): Obey regexp of first step.
16783 (bibtex-search-entries): Do not use add-to-list with local
16784 list-var.
16785
97bb1093
LMI
167862011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16787
16788 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16789 stored a user name, then query for the password first, instead of
16790 waiting for SMTP to give an error message and the trying again.
16791
1c0f1a19
JD
167922011-06-22 Lawrence Mitchell <wence@gmx.li>
16793
16794 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16795 BUFFER in call-process.
16796
396f7c9d
LMI
167972011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16798
16799 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16800 QUIT twice.
ddb7ffee
LMI
16801 (smtpmail-try-auth-methods): Require user name and password from
16802 auth-source.
396f7c9d 16803
8998d1b3
MR
168042011-06-22 Martin Rudalics <rudalics@gmx.at>
16805
16806 * window.el (display-buffer-default-specifiers)
16807 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16808 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16809 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16810
16811 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16812 (special-display-frame-alist, special-display-popup-frame):
16813 Remove duplicate declarations. These are now in window.el.
16814
4ea31e07
LMI
168152011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16816
c9d29fb8
SM
16817 * mail/smtpmail.el (smtpmail-via-smtp):
16818 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16819 server supports it. SMTP servers that support STARTTLS commonly
16820 require it.
16821
16822 * net/network-stream.el (network-stream-open-starttls): Support
16823 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16824 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16825
95f41d9a
LMI
16826 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16827 upgrades with `open-network-stream', and rely solely on
16828 auth-source for all credentials. Big changes throughout the file,
16829 but in particular:
c9d29fb8
SM
16830 (smtpmail-auth-credentials): Remove.
16831 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16832 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16833 MAIL FROM, too.
95f41d9a 16834
c9d29fb8
SM
16835 * net/network-stream.el (network-stream-open-starttls):
16836 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16837 STARTTLS.
16838 (auth-source): Require.
16839 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16840 (network-stream-certificate): Change cert-cert to cert and
16841 cert-key to key.
4ea31e07 16842
065ec2c7
MA
168432011-06-21 Michael Albinus <michael.albinus@gmx.de>
16844
16845 * net/tramp-cache.el (top): Don't load the persistency file when
16846 "emacs -Q" has been called.
16847
cd93b359
DR
168482011-06-21 Tim Harper <timcharper@gmail.com>
16849
d8e4b68b
JB
16850 * term/ns-win.el (ns-initialize-window-system):
16851 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16852 resource to NO as it is not yet supported by the NS port.
16853
ae9c0411
JB
168542011-06-21 Juanma Barranquero <lekktu@gmail.com>
16855
16856 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16857 (list-dynamic-libraries): ...not here.
16858
7f3f739f
LL
168592011-06-21 Leo Liu <sdl.web@gmail.com>
16860
16861 * subr.el (sha1): Implement sha1 using secure-hash.
16862
327c8fb1
MR
168632011-06-21 Martin Rudalics <rudalics@gmx.at>
16864
16865 * window.el (display-buffer-alist): In default value do not
16866 enforce searching a window on any but the selected frame.
16867 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16868 (display-buffer-select-window): Remove function.
16869 (display-buffer-in-window): When a window on another frame gets
16870 reused, do not select it any more but just raise its frame if
16871 necessary (Bug#8851) and (Bug#8856).
16872 (display-buffer-normalize-options): Handle pop-up-frames related
16873 options more faithfully.
16874 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16875 window if it is on another frame.
c9d29fb8
SM
16876 (display-buffer-alist, display-buffer-default-specifiers):
16877 Don't make new frame unsplittable by default.
9e9de014
MR
16878 (display-buffer-normalize-argument): Fix doc-string typo and use
16879 'same-frame-other-window instead of 'other-window when associating
16880 with display-buffer-macro-specifiers.
327c8fb1 16881
7cf3f556
VB
168822011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16883
16884 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16885 New functions.
16886 (5x5-mode-map, 5x5-mode-menu): Bind them.
16887 (5x5-draw-grid): Tweak the solver's rendering.
16888
60a406cf
SM
168892011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16890
16891 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16892 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16893
d8e4b68b 168942011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16895
16896 * menu-bar.el: Use function variable instead of switch-to-buffer.
16897 (menu-bar-select-buffer-function): New variable.
60a406cf 16898 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16899
478d6f95
SM
169002011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16901
16902 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16903 variable's status.
16904
ca530739
JD
169052011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16906
16907 * x-dnd.el (x-dnd-version-from-flags)
16908 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16909 and long as number (Bug#8899).
16910 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16911
bcd70d97
SM
169122011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16913
60a406cf 16914 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16915 (completion-try-completion, completion-all-completions): Compute the
16916 metadata argument if it's missing; make it optional (bug#8795).
16917
60a406cf 16918 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16919 (widget-complete): Use new :completion-function property.
16920 (widget-completions-at-point): New function.
16921 (default): Use :completion-function instead of :complete.
60a406cf
SM
16922 (widget-default-completions): Rename from widget-default-complete;
16923 Rewrite.
bcd70d97
SM
16924 (widget-string-complete, widget-file-complete, widget-color-complete):
16925 Remove functions.
16926 (file, symbol, function, variable, coding-system, color):
16927 * international/mule-cmds.el (default-input-method, charset)
16928 (language-info-custom-alist):
16929 * cus-edit.el (face): Use new property :completions.
16930
16931 * progmodes/pascal.el (pascal-completions-at-point): New function.
16932 (pascal-mode): Use it.
16933 (pascal-mode-map): Use completion-at-point.
16934 (pascal-toggle-completions): Make obsolete.
16935 (pascal-complete-word, pascal-show-completions):
16936 * progmodes/octave-mod.el (octave-complete-symbol):
16937 Redefine as obsolete alias.
16938 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16939 Signal absence of completion info for old Octave,
16940 (inferior-octave-complete): Redefine as obsolete alias.
16941 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16942 (meta-completions-at-point): Rename from meta-complete-symbol and
16943 adapt it for use on completion-at-point-functions.
16944 (meta-common-mode): Use it.
16945 (meta-looking-at-backward, meta-match-buffer): Remove.
16946 (meta-complete-symbol): Redefine as obsolete alias.
16947 (meta-common-mode-map): Use completion-at-point.
16948 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16949 (makefile-mode-map): Use completion-at-point.
16950 (makefile-completions-at-point): Rename from makefile-complete and
16951 adapt it for use on completion-at-point-functions.
16952 (makefile-mode): Use it.
16953 (makefile-complete): Redefine as obsolete alias.
16954
aebf69c8
DD
169552011-06-20 Deniz Dogan <deniz@dogan.se>
16956
16957 * net/rcirc.el: Delete trailing whitespaces once and for all.
16958
bfbbb27d
DC
169592011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16960
16961 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16962
d264a46b
CY
169632011-06-19 Chong Yidong <cyd@stupidchicken.com>
16964
4ca009e5
CY
16965 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16966
d264a46b
CY
16967 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16968
fbf5b3ce
MR
169692011-06-19 Martin Rudalics <rudalics@gmx.at>
16970
16971 * window.el (display-buffer-other-window-means-other-frame):
16972 Call display-buffer-normalize-alist.
16973 (display-buffer-normalize-specifiers-1): Rename to
16974 display-buffer-normalize-argument. New argument other-frame.
16975 Rewrite.
16976 (display-buffer-normalize-specifiers-2): Rename to
16977 display-buffer-normalize-options.
16978 (display-buffer-normalize-alist-1): New function.
16979 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16980 display-buffer-normalize-alist.
16981 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16982 (display-buffer-normalize-options-inhibit): New variable.
16983 (display-buffer-normalize-specifiers): Rewrite calling
16984 display-buffer-normalize-alist,
16985 display-buffer-normalize-argument, and
16986 display-buffer-normalize-options. Don't call the latter if
16987 display-buffer-normalize-options-inhibit is non-nil.
16988 (frame-auto-delete): New option.
16989 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16990 (window-list-no-nils, window-state-ignored-parameters)
16991 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16992 (window-state-put-1, window-state-put-2, window-state-put):
16993 New functions.
9a028c23
MR
16994 (display-buffer-normalize-options): Move special-display-p group
16995 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16996
6d10d800
CY
169972011-06-18 Chong Yidong <cyd@stupidchicken.com>
16998
6420d28b
CY
16999 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17000 groups (Bug#8776).
17001 (rx-submatch-n): New function.
17002 (rx): Document it.
17003
ddb8b596
CY
17004 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17005 (Bug#8768).
17006
17007 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17008
77080289
CY
17009 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17010
61dfb316
CY
17011 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17012 anytime existing face settings are present (Bug#8889).
17013
6d10d800
CY
17014 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17015 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17016 Remove unused argument.
17017
be3fb2b8
MR
170182011-06-18 Martin Rudalics <rudalics@gmx.at>
17019
bcd70d97
SM
17020 * window.el (display-buffer-default-specifiers):
17021 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17022 pop-up-window-min-width, and another reuse-window specifier
17023 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17024 (display-buffer-normalize-specifiers-2):
17025 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17026 pop-up-windows is unset. Add a reuse-window specifier for the
17027 case popping up a new window fails.
17028 (special-display-popup-frame): Remove double quoting.
28dec25a 17029 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17030
1c6d8c76
SM
170312011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17032
17033 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17034 according to comint-completion-addsuffix.
17035
17036 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17037 (pcomplete-suffix-list): Mark as obsolete.
17038 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17039 pcomplete-seen in the closure.
17040 (pcomplete-comint-setup): Setup completion-at-point as well.
17041 (pcomplete--entries): New function.
17042 (pcomplete--env-regexp): New var.
17043 (pcomplete-entries): Rewrite to work with partial-completion and
17044 without relying on pcomplete-suffix-list.
17045 (pcomplete-pare-list): Remove, unused.
17046
25aef8b8
MR
170472011-06-17 Martin Rudalics <rudalics@gmx.at>
17048
17049 * window.el (display-buffer-alist): Set pop-up-window-min-height
17050 and pop-up-window-min-width in default value. Reported by
17051 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17052 other-window-means-other-frame.
17053 (display-buffer-macro-specifiers): Comment out entry for
17054 other-window specifier.
17055 (display-buffer-other-window-means-other-frame): New function.
17056 (display-buffer-normalize-specifiers-1): New arguments
17057 buffer-name and label. Treat other-window case specially.
17058 (display-buffer-normalize-specifiers-2): Treat other-window case
17059 specially.
17060 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17061 (display-buffer-normalize-specifiers):
17062 Call display-buffer-normalize-specifiers-3.
25aef8b8 17063
dbad4f69
MR
170642011-06-17 Martin Rudalics <rudalics@gmx.at>
17065
17066 * window.el (same-window-p): Fix two typos introduced when
17067 adding with-no-warnings.
d1067961
MR
17068 (display-buffer-normalize-specifiers-1): Don't check
17069 pop-up-frames for 'unset initialization.
17070 (display-buffer-normalize-specifiers-2): Major rewrite using
17071 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17072 (pop-up-frames, display-buffer-reuse-frames)
17073 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17074 Suggested by David Engster <deng@randomsample.de>.
17075 (even-window-heights): Initialize to 'unset.
17076 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17077 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17078 other window case.
dbad4f69 17079
9b9c9e3a
MR
170802011-06-16 Martin Rudalics <rudalics@gmx.at>
17081
bcd70d97
SM
17082 * window.el (display-buffer-normalize-specifiers-1):
17083 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17084 second argument of display-buffer (Bug#8865).
981d5c09
MR
17085 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17086 (switch-to-buffer-other-window-same-frame)
17087 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17088 Adams (Bug#8875).
9c2755e9
MR
17089 (display-buffer): Don't check noninteractive when calling
17090 display-buffer-pop-up-frame.
17091 (display-buffer-pop-up-frame): Never pop up a frame in
17092 noninteractive mode (Bug#8857).
67222e1d
MR
17093 (enlarge-window, shrink-window): Don't report an error when the
17094 window can't be resized as requested (Bug#8862).
9b9c9e3a 17095
2b75be67
SM
170962011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17097
9ffdd3ba
SM
17098 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17099
cb581a67
SM
17100 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17101
2b75be67
SM
17102 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17103
8c0e3589
AM
171042011-06-15 Alan Mackenzie <acm@muc.de>
17105
cb581a67
SM
17106 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17107 for declarators, disable knr checking to speed up for normal files.
17108 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17109
b96e6cde
LMI
171102011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17111
4bba86e6
LMI
17112 * net/network-stream.el (open-network-stream): Add the keyword
17113 :always-query-capabilities for the case where you want to force a
17114 `plain' network connection, but the protocol still requires the
17115 capabilitiy command (i.e., SMTP and EHLO).
17116
2b75be67 17117 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17118 consistency with other `-live-p' functions.
17119
efdcdbf8
SM
171202011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17121
17122 * window.el (same-window-buffer-names, same-window-regexps)
17123 (special-display-frame-alist, special-display-popup-frame)
17124 (special-display-function, special-display-buffer-names)
17125 (special-display-regexps, pop-up-frame-alist)
17126 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17127 (pop-up-windows, split-window-preferred-function)
17128 (split-height-threshold, split-width-threshold, even-window-heights)
17129 (display-buffer-mark-dedicated): Don't encourage the use of
17130 display-buffer-alist from Elisp code.
17131
c5cde042
DN
171322011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17133
17134 * progmodes/python.el (python-mode): Derive from prog-mode.
17135 * progmodes/ps-mode.el (ps-mode):
17136 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17137 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17138 * progmodes/ld-script.el (ld-script-mode): Likewise.
17139
baa1c9ab
MR
171402011-06-15 Martin Rudalics <rudalics@gmx.at>
17141
17142 * window.el (display-buffer-alist): Trim default value to avoid
17143 popping up a new frame (Bug#8857) or reusing an arbitrary window
17144 on another frame.
17145 (display-buffer): Do not fall back on popping up a new frame in
17146 batch mode (Bug#8857).
17147
c5dd5a51
CY
171482011-06-14 Chong Yidong <cyd@stupidchicken.com>
17149
17150 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17151 (custom-theme-summary): New function.
17152 (customize-themes): Use it.
17153
d647b7c4
GM
171542011-06-13 Glenn Morris <rgm@gnu.org>
17155
17156 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17157
9481c002
MR
171582011-06-13 Martin Rudalics <rudalics@gmx.at>
17159
357f93d2
MR
17160 * help.el (help-window): Remove variable.
17161 (help-window-point-marker, temp-buffer-max-height)
17162 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17163 (help-print-return-message): Don't set help-window.
17164 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17165 (help-window-setup-finish): Remove.
17166 (help-window-display-message, help-window-setup)
17167 (with-help-window): Major rewrite based on new
17168 display-buffer-window variable.
17169
17170 * help-mode.el (help-mode-finish): Remove help-window related
17171 code.
17172
17173 * view.el (view-exits-all-viewing-windows): Remove reference to
17174 view-return-to-alist in doc-string.
17175 (view-return-to-alist): Make obsolete.
17176 (view-buffer): Call pop-to-buffer-same-window and remove
17177 undo-window code.
17178 (view-buffer-other-window): Call pop-to-buffer-other-window and
17179 simplify code. Ignore second argument.
17180 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17181 simplify code. Ignore second argument.
17182 (view-return-to-alist-update): Make obsolete.
17183 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17184 Rewrite using quit-restore window parameters.
2b75be67
SM
17185 (view-mode-exit): Rename second argument to EXIT-ONLY.
17186 Rewrite using quit-restore-window.
357f93d2
MR
17187 (View-exit, View-exit-and-edit, View-leave, View-quit)
17188 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17189 appropriate arguments.
17190 (view-end-message): Use quit-restore window parameter.
17191
9481c002
MR
17192 * window.el (display-buffer-function): Rewrite doc-string.
17193 (display-buffer-window, display-buffer-alist): New variables.
17194 (display-buffer-split-specifiers)
17195 (display-buffer-side-specifiers)
17196 (display-buffer-macro-specifiers): New constants.
17197 (display-buffer-even-window-sizes, display-buffer-set-height)
17198 (display-buffer-set-width, display-buffer-select-window)
17199 (display-buffer-in-window, display-buffer-reuse-window)
17200 (display-buffer-split-window-1, display-buffer-split-window)
17201 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17202 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17203 (display-buffer-in-side-window, normalize-buffer-to-display)
17204 (display-buffer-normalize-specifiers-1)
17205 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17206 (display-buffer-normalize-specifiers, display-buffer-frame):
17207 New functions.
9481c002
MR
17208 (display-buffer): Major rewrite.
17209 (display-buffer-other-window, display-buffer-other-frame)
17210 (pop-to-buffer, switch-to-buffer-other-window)
17211 (switch-to-buffer-other-frame): Rewrite.
17212 (display-buffer-same-window, display-buffer-same-frame)
17213 (display-buffer-same-frame-other-window)
17214 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17215 (pop-to-buffer-other-window)
17216 (pop-to-buffer-same-frame-other-window)
17217 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17218 (switch-to-buffer-other-window-same-frame): New functions.
17219 (same-window-p, special-display-p): Rewrite disabling warnings.
17220 Make obsolete.
17221 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17222 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17223 Make obsolete
17224 (same-window-buffer-names, same-window-regexps)
17225 (special-display-frame-alist, special-display-popup-frame)
17226 (special-display-function, special-display-buffer-names)
17227 (special-display-regexps, pop-up-frame-alist)
17228 (pop-up-frame-function, split-window-preferred-function)
17229 (split-height-threshold, split-width-threshold)
17230 (even-window-heights): Make obsolete.
17231
9db51aca
GM
172322011-06-12 Glenn Morris <rgm@gnu.org>
17233
17234 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17235 Misc simplifications.
9db51aca 17236
39cffb44
MR
172372011-06-12 Martin Rudalics <rudalics@gmx.at>
17238
17239 * window.el (window-safely-shrinkable-p): Restore function which
17240 was inadvertently removed in change from 2011-06-11. Declare as
17241 obsolete.
17242
2b75be67
SM
17243 * calendar/calendar.el (calendar-generate-window):
17244 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17245 window-safely-shrinkable-p.
17246
a8955be7
GM
172472011-06-12 Glenn Morris <rgm@gnu.org>
17248
17249 * progmodes/fortran.el (fortran-mode-syntax-table):
17250 * progmodes/f90.el (f90-mode-syntax-table):
17251 Set % to punctuation. (Bug#8820)
17252 (f90-find-tag-default): Remove, no longer needed.
17253
f0d4059d
DC
172542011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17255
17256 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17257
1100a63c
CY
172582011-06-11 Chong Yidong <cyd@stupidchicken.com>
17259
17260 * image.el (image-animated-p): Return animation delay in seconds.
17261 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17262 (image-animate-timeout): Remove DELAY argument. Don't assume
17263 every subimage has the same delay; get it from image-animated-p.
17264 (image-animate): Caller changed.
17265
def722bf
MA
172662011-06-11 Michael Albinus <michael.albinus@gmx.de>
17267
17268 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17269 to ignored backtrace functions.
17270
0a2bb1a9
GM
172712011-06-11 Glenn Morris <rgm@gnu.org>
17272
17273 * calendar/appt.el (appt-disp-window-function): Doc fix.
17274 (appt-check): Handle overlapping appointments. (Bug#8337)
17275
6198ccd0
MR
172762011-06-11 Martin Rudalics <rudalics@gmx.at>
17277
17278 * window.el (window-tree-1, window-tree): New functions, moving
17279 the latter to window.el.
17280 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17281 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17282 (bw-refresh-edges): Remove.
17283 (balance-windows-1, balance-windows-2): New functions.
17284 (balance-windows): Rewrite in terms of window tree functions,
17285 balance-windows-1 and balance-windows-2.
17286 (bw-adjust-window): Remove.
17287 (balance-windows-area-adjust): New function with functionality of
17288 bw-adjust-window but using resize-window.
2b75be67
SM
17289 (set-window-text-height): Rewrite doc-string.
17290 Use normalize-live-window and resize-window.
17291 (enlarge-window-horizontally, shrink-window-horizontally):
17292 Rename argument to DELTA.
6198ccd0
MR
17293 (window-buffer-height): New function.
17294 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17295 Rewrite using new window resize routines.
2b75be67
SM
17296 (kill-buffer-and-window, mouse-autoselect-window-select):
17297 Use ignore-errors instead of condition-case.
6198ccd0
MR
17298 (quit-window): Call delete-frame instead of delete-windows-on
17299 for the only buffer on frame.
17300
9397e56f
MR
173012011-06-10 Martin Rudalics <rudalics@gmx.at>
17302
17303 * loadup.el (top-level): Load window before files for the sake
17304 of replace-buffer-in-windows.
17305
17306 * files.el (read-buffer-to-switch)
17307 (switch-to-buffer-other-window)
2b75be67
SM
17308 (switch-to-buffer-other-frame, display-buffer-other-frame):
17309 Move to window.el.
9397e56f
MR
17310
17311 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17312 (previous-buffer): Move to window.el.
17313
17314 * bindings.el (unbury-buffer): Move to window.el.
17315
17316 * window.el (delete-other-windows-vertically): Move after
17317 definition of delete-other-windows.
17318 (other-window, delete-windows-on, replace-buffer-in-windows):
17319 Move here from window.c.
17320 (record-window-buffer, unrecord-window-buffer)
17321 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17322 (switch-to-next-buffer): New functions.
17323 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17324 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17325 (previous-buffer): Move here from simple.el.
17326 Call switch-to-prev-buffer.
9397e56f
MR
17327 (bury-buffer): Move here from buffer.c. Switch to previous
17328 buffer when window cannot be deleted.
17329 (unbury-buffer): Move here from bindings.el.
17330 (ctl-x-map): Move binding for other-window from window.c to
17331 here.
17332 (read-buffer-to-switch, switch-to-buffer-other-window)
17333 (switch-to-buffer-other-frame): Move here from files.el.
17334 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17335 (switch-to-buffer): Move here from buffer.c.
17336 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17337
562dd5e9
MR
173382011-06-10 Martin Rudalics <rudalics@gmx.at>
17339
17340 * window.el (window-min-height, window-min-width): Move here
17341 from window.c. Add defcustoms and rewrite doc-strings.
17342 (resize-mini-window, resize-window): New functions.
17343 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17344 Move here from window.c.
17345 (maximize-window, minimize-window): New functions.
17346 (delete-window, delete-other-windows, split-window): Move here
17347 from window.c.
17348 (window-split-min-size): New function.
17349 (split-window-keep-point): Mention split-window-above-each-other
17350 instead of split-window-vertically.
2b75be67 17351 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17352 Rename split-window-vertically to split-window-above-each-other
17353 and provide defalias for old definition.
17354 (split-window-side-by-side, split-window-horizontally):
17355 Rename split-window-horizontally to split-window-side-by-side
17356 and provide defalias for the old definition.
562dd5e9
MR
17357 (ctl-x-map): Move bindings for delete-window,
17358 delete-other-windows and enlarge-window here from window.c.
17359 Replace bindings for split-window-vertically and
17360 split-window-horizontally by bindings for
17361 split-window-above-each-other and split-window-side-by-side.
17362
17363 * cus-start.el (all): Remove entries for window-min-height and
17364 window-min-width. Add entries for window-splits and
17365 window-nest.
17366
f0da764a
GM
173672011-06-09 Glenn Morris <rgm@gnu.org>
17368
80675c21
GM
17369 * calendar/appt.el (appt-mode-line): New function.
17370 (appt-check, appt-disp-window): Use it.
17371
f0da764a
GM
17372 * files.el (hack-one-local-variable-eval-safep):
17373 Allow minor-modes with explicit +/-1 arguments.
17374
59f623b7
TZ
173752011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17376
17377 * term/xterm.el (xterm): Add defgroup.
17378 (xterm-extra-capabilities): Add defcustom to supply known xterm
17379 capabilities, skip querying them, or query them (default).
17380 (terminal-init-xterm): Use it.
17381 (terminal-init-xterm-modify-other-keys): New function to set up
17382 modifyOtherKeys support to simplify `terminal-init-xterm'.
17383
9aab8e0d
MR
173842011-06-09 Martin Rudalics <rudalics@gmx.at>
17385
17386 * window.el (resize-window-reset, resize-window-reset-1)
17387 (resize-subwindows-skip-p, resize-subwindows-normal)
17388 (resize-subwindows, resize-other-windows, resize-this-window)
17389 (resize-root-window, resize-root-window-vertically)
17390 (window-deletable-p, window-or-subwindow-p)
17391 (frame-root-window-p): New functions.
17392
e8b08aee
GM
173932011-06-09 Glenn Morris <rgm@gnu.org>
17394
17395 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17396 (ange-ftp-get-files): Use it.
17397
254c37a5
AK
173982011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17399
17400 * mail/sendmail.el (mail-recover-1, mail-recover):
17401 * files.el (recover-file, recover-session):
17402 Handle dired-listing-switches not being just a single short option.
17403
35d7dbd3
GM
174042011-06-09 Glenn Morris <rgm@gnu.org>
17405
17406 * calendar/appt.el (appt-display-message, appt-disp-window):
17407 Handle lists of appointments.
17408
387522b2
MR
174092011-06-08 Martin Rudalics <rudalics@gmx.at>
17410
2b75be67
SM
17411 * window.el (one-window-p): Move down in code.
17412 Rewrite doc-string.
17413 (window-current-scroll-bars): Rewrite doc-string.
17414 Normalize live window argument.
387522b2
MR
17415 (walk-windows, get-window-with-predicate, count-windows):
17416 Rewrite doc-string. Use window-list-1.
17417 (window-in-direction-2, window-in-direction, get-mru-window):
17418 New functions.
17419
d8e4b68b 174202011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17421
17422 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17423 Doc fix (Bug#8713).
17424
174252011-06-08 Chong Yidong <cyd@stupidchicken.com>
17426
17427 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17428
174292011-06-08 Juanma Barranquero <lekktu@gmail.com>
17430
17431 * loadhist.el (unload-feature-special-hooks):
17432 Add `comint-output-filter-functions'.
17433
0de12c52
IK
174342011-06-08 Ivan Kanis <gnu@kanis.fr>
17435
17436 * calendar/appt.el (appt-check): Move some initializations into the let.
17437
f3d1777e
MR
174382011-06-08 Martin Rudalics <rudalics@gmx.at>
17439
17440 * window.el (window-height): Defalias to window-total-height.
17441 (window-width): Defalias to window-body-width.
17442
18af70d0
CY
174432011-06-07 Chong Yidong <cyd@stupidchicken.com>
17444
17445 * image-mode.el (image-toggle-animation): New command.
17446 (image-mode-map): Bind it to RET.
17447 (image-mode): Update message.
17448 (image-toggle-display-image): Avoid a spurious cache flush.
17449 (image-transform-rotation): Doc fix.
17450 (image-transform-properties): Return quickly in the normal case.
17451 (image-animate-loop): Rename from image-animate-max-time.
17452
2b75be67 17453 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17454 (create-animated-image): Remove unnecessary function.
17455 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17456 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17457 (image-animate-timer): Use car-safe.
17458 (image-animate-timeout): Rename argument.
17459
190b47e6
MR
174602011-06-07 Martin Rudalics <rudalics@gmx.at>
17461
17462 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17463 window.c. Rename first argument to ALL-FRAMES.
17464 Rephrase doc-strings.
17465 (get-buffer-window-list): Rewrite using window-list-1.
17466 Rephrase doc-string.
a1511caf
MR
17467 (window-safe-min-height, window-safe-min-width): New constants.
17468 (window-size-ignore, window-min-size, window-min-size-1)
17469 (window-sizable, window-sizable-p, window-size-fixed-1)
17470 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17471 (window-max-delta-1, window-max-delta, window-resizable)
17472 (window-resizable-p, window-total-height, window-total-width)
17473 (window-body-width): New functions.
17474 (window-full-height-p, window-full-width-p): Rewrite using
17475 window-total-size.
17476 (window-body-height): Rewrite using window-body-size.
190b47e6 17477
85cc1f11
MR
174782011-06-06 Martin Rudalics <rudalics@gmx.at>
17479
17480 * window.el (window-right, window-left, window-child)
17481 (window-child-count, window-last-child, window-any-p)
17482 (normalize-live-buffer, normalize-live-frame)
17483 (normalize-any-window, normalize-live-window)
17484 (window-iso-combination-p, window-iso-combined-p)
17485 (window-iso-combinations)
17486 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17487 (windows-with-parameter, window-with-parameter)
17488 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17489 (window-atom-check, window-side-check, window-check):
17490 New functions.
85cc1f11
MR
17491 (ignore-window-parameters, window-sides, window-sides-vertical)
17492 (window-sides-slots): New variables.
17493 (window-size-fixed): Move down in code. Minor doc-string fix.
17494
e7156492
AS
174952011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17496
17497 * comint.el (comint-dynamic-complete-as-filename)
17498 (comint-dynamic-complete-filename): Correctly call
17499 completion-in-region.
17500
7e821d0d
DD
175012011-06-05 Deniz Dogan <deniz@dogan.se>
17502
17503 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17504 in last change.
17505
ac09b8a1
DD
175062011-06-05 Deniz Dogan <deniz@dogan.se>
17507
17508 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17509 (rcirc): Use it to prompt for encryption.
17510
34699b85
RW
175112011-06-05 Roland Winkler <winkler@gnu.org>
17512
17513 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17514 (bibtex-search-entries): New command bound to C-c C-a.
17515 (bibtex-display-entries): New function.
17516
004dedd3
RW
175172011-06-05 Roland Winkler <winkler@gnu.org>
17518
17519 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17520 (bibtex-insert-kill): After yanking insert newline if necessary.
17521 (bibtex-initialize): Call bibtex-string-files-init only once.
17522 (bibtex-mode): Do not call easy-menu-add.
17523 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17524 (bibtex-yank): Set arg properly if nil.
17525
022fe7ce
RW
175262011-06-05 Roland Winkler <winkler@gnu.org>
17527
2b75be67
SM
17528 * textmodes/bibtex.el (bibtex-search-entry-globally):
17529 New variable.
022fe7ce
RW
17530 (bibtex-search-entry): Use it.
17531
b7c3692a
RW
175322011-06-05 Roland Winkler <winkler@gnu.org>
17533
17534 * textmodes/bibtex.el (bibtex-entry-format): New option
17535 sort-fields.
17536 (bibtex-format-entry, bibtex-reformat): Honor this option.
17537 (bibtex-parse-entry): Return fields in proper order.
17538
8eda563d
JB
175392011-06-05 Juanma Barranquero <lekktu@gmail.com>
17540
17541 * doc-view.el (doc-view-remove-if): Move computation of result out
17542 of `dolist' to silence misleading lexical-binding warning.
17543
7dbe3dbc
CY
175442011-06-04 Chong Yidong <cyd@stupidchicken.com>
17545
17546 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17547 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17548
0c33dd17
MA
175492011-06-04 Michael Albinus <michael.albinus@gmx.de>
17550
17551 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17552 "SunOS 5.10".
17553
f8f91c2b
MA
175542011-06-04 Michael Albinus <michael.albinus@gmx.de>
17555
17556 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17557 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17558 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17559 (tramp-parse-putty):
17560 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17561 (tramp-completion-function-alist-ssh)
17562 (tramp-completion-function-alist-telnet)
17563 (tramp-completion-function-alist-su)
17564 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17565 cookie.
17566
17567 * net/tramp-ftp.el:
17568 * net/tramp-sh.el:
17569 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17570 load "tramp.el" `tramp-set-completion-function'.
17571
e17d9003
SM
175722011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17573
17574 * shell.el: Require and use pcomplete.
17575 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17576 (shell-completion-vars): Set pcomplete-default-completion-function.
17577
6c4cab03
DD
175782011-06-04 Deniz Dogan <deniz@dogan.se>
17579
17580 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17581 `memq' (Bug#8799).
17582
ea9fafe0
SM
175832011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17584
17585 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17586
b3e945d3
JB
175872011-06-02 Juanma Barranquero <lekktu@gmail.com>
17588
17589 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17590 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17591 * vc/log-view.el (log-view-beginning-of-defun):
17592 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17593 (smerge-refine-forward, smerge-refine-chopup-region):
17594 Silence warning for unused `dotimes' counter variables.
17595
7d520089
SM
175962011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17597
17598 * net/tramp.el (tramp-with-progress-reporter): Rename from
17599 with-progress-reporter. Use `declare'.
17600 * net/tramp-smb.el:
17601 * net/tramp-sh.el:
17602 * net/tramp-gvfs.el: Update all uses.
17603
a1c2400f
JB
176042011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17605
17606 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17607 buffer isn't killed before making it current.
17608
2403c841
SM
176092011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17610
17611 Silence various byte-compiler warnings.
17612 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17613 `access-type' and new obsolescence format.
17614 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17615 new format.
17616 (byte-compile-check-variable): New `access-type' argument.
17617 Only warn if the access-type is obsolete.
17618 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17619 (byte-compile-variable-set): Adjust callers.
17620 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17621 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17622 setting it as obsolete.
17623 * simple.el (minibuffer-completing-symbol):
17624 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17625 access as obsolete.
17626 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17627 obsolete yet.
17628 * international/quail.el (quail-mouse-choose-completion): Remove unused
17629 code referring to obsolete var.
17630 (quail-choose-completion-string): Remove.
17631 * server.el (server-clients-with, server-kill-buffer-query-function)
17632 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17633 * proced.el (proced-send-signal):
17634 * emacs-lisp/lisp.el (lisp-complete-symbol):
17635 Replace completion-annotate-function with completion-extra-properties.
17636
2462470b
SM
176372011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17638
fb5b2591
SM
17639 * simple.el (goto-line): Use read-number.
17640 (overriding-map-is-bound): Remove.
17641 (saved-overriding-map): Change default.
17642 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17643 Take the map as argument.
17644 (universal-argument, negative-argument, digit-argument): Use it.
17645 (restore-overriding-map): Adjust.
17646 (do-auto-fill): Use fill-forward-paragraph.
17647 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17648
fd6fa53f
SM
17649 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17650 (minibuffer-inactive-mode): New major mode.
17651 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17652 the *Messages* buffer" hack.
17653 (mouse-popup-menubar): Don't burp if the event is a normal key.
17654
2462470b
SM
17655 Miscellaneous tweaks.
17656 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17657 lexical scoping as in subr.el's dolist and dotimes.
17658 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17659 Silence compiler warning.
17660 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17661 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17662 * international/ccl.el (ccl-compile): Trivial simplification.
17663 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17664 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17665 `printflag' argument.
17666 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17667 Purecopy the whole obsolescence data.
17668
108bf785
LL
176692011-06-01 Leo Liu <sdl.web@gmail.com>
17670
17671 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17672 improve doc-string as suggested by Marco Pessotto
17673 <melmothx@gmail.com>.
17674 (rcirc-print): Fix last change.
17675
30a23501
SM
176762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17677
17678 * minibuffer.el (complete-with-action): Return nil for the metadata and
17679 boundaries of non-functional tables.
17680 (completion-table-dynamic): Return nil for the metadata.
17681 (completion-table-with-terminator): Add default case, using
17682 complete-with-action.
17683 (completion--metadata): New function.
17684 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17685 to try and avoid pathological performance problems.
17686 (completion--embedded-envvar-table): Return `category' metadata.
17687
bcd54f83
LMI
176882011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17689
17690 * subr.el (process-alive-p): New tiny convenience function.
17691
e227544d
SM
176922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17693
17694 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17695 content but also its previous major mode.
17696
e8296fdc
HE
176972011-05-31 Helmut Eller <eller.helmut@gmail.com>
17698
4d61f28d 17699 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17700 *Backtrace* buffer when we exit with C-M-c.
17701
620c53a6
SM
177022011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17703
17704 * minibuffer.el: Add metadata method to completion tables.
17705 (completion-category-overrides): New defcustom.
17706 (completion-metadata, completion--field-metadata)
17707 (completion-metadata-get, completion--styles)
17708 (completion--cycle-threshold): New functions.
17709 (completion-try-completion, completion-all-completions):
17710 Add `metadata' argument to choose completion-styles.
17711 (completion--do-completion): Use metadata to choose cycling.
17712 (completion-all-sorted-completions): Use metadata for sorting.
17713 Remove :completion-cycle-penalty which is not needed any more.
17714 (completion--try-word-completion): Add `metadata' argument.
17715 (minibuffer-completion-help): Check metadata for annotation function
17716 and sorting.
17717 (completion-file-name-table): Return `category' metadata.
17718 (minibuffer-completing-file-name): Make obsolete.
17719 * simple.el (minibuffer-completing-symbol): Make obsolete.
17720 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17721 completion-try-completion.
17722
1257e755
SM
177232011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17724
17725 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17726
3767e706
LL
177272011-05-30 Leo Liu <sdl.web@gmail.com>
17728
17729 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17730 (rcirc-print): Decode all incoming messages (bug#8744).
17731 (rcirc-decode-coding-system): Allow value nil for automatic coding
17732 system detection.
3767e706 17733
d1a5d56a
GM
177342011-06-01 Glenn Morris <rgm@gnu.org>
17735
17736 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17737
e8cbec34
CY
177382011-05-29 Chong Yidong <cyd@stupidchicken.com>
17739
17740 * image.el (image-animate-max-time): Allow nil and t values.
17741 Default to nil.
17742 (create-animated-image): Doc fix.
17743 (image-animate-start): Remove second arg; just use
17744 image-animate-max-time.
17745 (image-animate-timeout): Doc fix. Args changed.
17746
17747 * image-mode.el (image-toggle-display-image): Ensure that the
17748 image spec passed to the animate timer is the same object as in
58179cce 17749 the buffer's display property (Bug#6981).
e8cbec34
CY
17750 (image-transform-properties): Doc fix.
17751
17752 * image.el (image-animate-max-time): Default to nil.
17753
159daf87
MR
177542011-05-29 Martin Rudalics <rudalics@gmx.at>
17755
17756 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17757 entire buffer list (Bug#8184).
17758
d66c4c7c
CY
177592011-05-29 Chong Yidong <cyd@stupidchicken.com>
17760
17761 * image.el (imagemagick-types-inhibit)
17762 (imagemagick-register-types): Doc fix.
17763
80aec780
DD
177642011-05-29 Deniz Dogan <deniz@dogan.se>
17765
17766 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17767 default.
17768
1dd3c2d9
CY
177692011-05-29 Chong Yidong <cyd@stupidchicken.com>
17770
17771 * select.el: Don't perform clipboard-manager saving in hooks;
17772 leave the hooks empty.
17773
60e56523
LL
177742011-05-28 Leo Liu <sdl.web@gmail.com>
17775
17776 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17777 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17778 (occur-edit-mode): New major mode (Bug#8463).
17779 (occur-after-change-function): New function.
17780 (occur-engine): Give Occur tags a read-only property.
17781
2b1e1a22
KR
177822011-05-28 Kevin Ryde <user42@zip.com.au>
17783
17784 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17785
5d344e88
CY
177862011-05-28 Chong Yidong <cyd@stupidchicken.com>
17787
8e6ca83d
CY
17788 * bindings.el (help-echo): Make the initial non-indicator dash
17789 empty on graphical terminals (Bug#7295).
17790
5d344e88
CY
17791 * files.el (auto-mode-alist): Move config rule after the
17792 in-stripping one (Bug#8547).
17793
bfbbace7
CY
17794 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17795
fbeba6e2
CY
17796 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17797 setting (Bug#8740).
17798
60ed8c72
AA
177992011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17800
4ac619f0
AA
17801 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17802 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17803 (Bug#8539).
60ed8c72 17804
23db196e
CY
178052011-05-28 Chong Yidong <cyd@stupidchicken.com>
17806
17807 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17808
5012f24c
DK
178092011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17810
17811 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17812 (hs-hide-block-at-point, hs-find-block-beginning)
17813 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17814 (Bug#8279).
17815
6a639b16
GM
178162011-05-28 Glenn Morris <rgm@gnu.org>
17817
17818 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17819
d43eaf2c
CY
178202011-05-28 Chong Yidong <cyd@stupidchicken.com>
17821
5199bde1
CY
17822 * help-fns.el (describe-function-1): If the function is a derived
17823 major mode, print the parent mode.
17824
d43eaf2c
CY
17825 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17826 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17827
423428a8
SM
178282011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17829
0ff8e1ba 17830 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17831 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17832 * progmodes/etags.el (tags-completion-at-point-function):
17833 * info-look.el (info-lookup-completions-at-point): Mark as
17834 non-exclusive.
17835 (info-complete): Adjust accordingly.
17836
423428a8
SM
17837 * info-look.el: Convert to lexical-binding and completion-at-point.
17838 (info-lookup-completions-at-point): New function.
17839 (info-complete): Use it and completion-in-region.
17840
b74aa22b
DA
178412011-05-28 Drew Adams <drew.adams@oracle.com>
17842
17843 * isearch.el: Let M-e start with point at the first mismatched char.
17844 (isearch-fail-pos): New function.
17845 (isearch-edit-string): Use it.
17846
66e2e71d
DK
178472011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17848
17849 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17850
b1890b0f 178512011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17852
17853 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17854 traversal functions for avl-trees.
17855 (avl-tree--stack): New struct.
17856 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17857 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17858 (avl-tree--do-enter): Add optional `updatefun' arg.
17859 Change return value.
eb95d01d 17860 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17861 (avl-tree--do-delete): Add `test' and `nilflag' args.
17862 Change return value.
eb95d01d
TC
17863 (avl-tree-member): Add optional `nilflag'
17864 (avl-tree-member-p): New function.
17865 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17866 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17867 (avl-tree-stack-empty-p): New functions.
17868
3769ddcf
TC
17869 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17870 avl-tree--del-balance1 and make it work both ways.
17871 (avl-tree--del-balance2): Remove.
17872 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17873 make it work both ways.
17874 (avl-tree--enter-balance2): Remove.
17875 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17876 New macros.
17877 (avl-tree--mapc, avl-tree-map): Add direction argument.
17878
eb95d01d 178792011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17880
17881 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17882
a9f737ee
CY
178832011-05-27 Chong Yidong <cyd@stupidchicken.com>
17884
17885 * select.el: Support clipboard managers with built-in function
17886 x-clipboard-manager-save, via delete-frame-functions and
17887 kill-emacs-hook.
17888 (xselect-convert-to-targets): Add MULTIPLE target to list.
17889 (xselect-convert-to-save-targets): New function.
17890
c92a1e54
KH
178912011-05-27 Kenichi Handa <handa@m17n.org>
17892
17893 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17894 let-binding rfc2047-encode-encoded-words to nil.
17895
e145f188
GM
178962011-05-27 Glenn Morris <rgm@gnu.org>
17897
5ec8a862
GM
17898 * mail/emacsbug.el: Don't require url-util.
17899
4b29d9fb
GM
17900 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17901
e145f188
GM
17902 * files.el (set-auto-mode):
17903 Also respect mode: entries at the end of the file. (Bug#8586)
17904
7d15102b
GM
179052011-05-26 Glenn Morris <rgm@gnu.org>
17906
98f593b8
GM
17907 * files.el (hack-local-variables-prop-line, hack-local-variables):
17908 Downcase mode names, as seems to be traditional.
27b48e63 17909 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17910
7d15102b
GM
17911 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17912 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17913
51d5b4ec
JD
179142011-05-25 Julien Danjou <julien@danjou.info>
17915
17916 * textmodes/rst.el (rst-define-level-faces): Do not define face
17917 symbol if it is already defined.
17918
91513f63
VB
179192011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17920
17921 * play/5x5.el (5x5-new-game, 5x5-randomize):
17922 Reset 5x5-solver-output to nil when a new grid is cast.
17923 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17924 these debugging traces, as defmacro breaks the compiled code.
17925
4d90d6d0
DK
179262011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17927
17928 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17929
e1b90ef6
LL
179302011-05-24 Leo Liu <sdl.web@gmail.com>
17931
17932 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17933 (vc-bzr-sha1): Adapt.
17934
d8e4b68b 17935 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17936
17937 * bindings.el: Provide sha1 feature.
17938
db0406bb 179392011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17940
17941 * mail/sendmail.el: Require `rfc2047'.
17942 (mail-insert-from-field): Do not perform RFC2047 encoding.
17943 (mail-encode-header): New function.
17944 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17945 buffer to the return value of select-message-coding-system.
17946 Call mail-encode-header.
b8d747b9
KH
17947
17948 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17949
db0406bb 179502011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17951
4d90d6d0
DK
17952 * mail/supercite.el (sc-default-cite-frame):
17953 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17954
eb8a5e9b
GM
179552011-05-24 Glenn Morris <rgm@gnu.org>
17956
f8630703
GM
17957 * progmodes/python.el (brm-menu): Declare.
17958
8831bbed
GM
17959 * emulation/viper.el (viper-set-hooks): Declare.
17960
eb8a5e9b
GM
17961 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17962 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17963 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17964 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17965 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17966 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17967
a2a25d24
SM
179682011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17969
17970 Add an :exit-function for completion-at-point.
17971
17972 * minibuffer.el (completion--done): New fun.
17973 (completion--do-completion): Use it. New arg `expect-exact'.
17974 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17975 since completion--do-completion does it for us now.
17976 (minibuffer-force-complete): Use completion--done and
17977 completion--replace. Handle sole-completion case with more care.
17978 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17979 (completion-extra-properties): New var.
17980 (completion-annotate-function): Make obsolete.
17981 (minibuffer-completion-help): Adjust accordingly.
17982 Use completion-list-insert-choice-function.
17983 (completion-at-point, completion-help-at-point):
17984 Bind completion-extra-properties.
17985 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17986 * simple.el (completion-list-insert-choice-function): New var.
17987 (completion-setup-function): Preserve it.
17988 (choose-completion): Pay attention to it, shuffle the code a bit.
17989 (choose-completion-string): New arg `insert-function'.
17990
17991 * textmodes/bibtex.el: Convert to lexical binding.
17992 (bibtex-mode-map): Use completion-at-point.
17993 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17994 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17995 (bibtex-complete): Define as obsolete alias.
17996 (bibtex-complete-internal): Remove.
17997 (bibtex-format-entry): Remove unused sub-group in regexp.
17998 * shell.el (shell--command-completion-data)
17999 (shell-environment-variable-completion):
18000 * pcomplete.el (pcomplete-completions-at-point):
18001 * comint.el (comint--complete-file-name-data): Use :exit-function
18002 instead of completion-table-with-terminator so it also works for
18003 choose-completion.
18004
e44e373d
SM
180052011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18006
4f91a816
SM
18007 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18008
782fc819
SM
18009 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18010 (bug#8710).
18011
e44e373d
SM
18012 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18013
381987c3
KM
180142011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18015
18016 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18017 customization variable and implement: If non-nil, auto-fill will
18018 be inhibited while on topic's header line.
18019
b776bc70
VB
180202011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18021
18022 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18023 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18024 always have a solution in grid size = 5 cases.
18025 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18026 (5x5-solver-output, 5x5-log-buffer): New vars.
18027 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18028 Make these variables buffer local to achieve 5x5 multi-session-ness.
18029 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18030 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18031 (5x5-solve-suggest): New funs.
18032 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18033 randomize a grid so that we ensure that there is always a solution.
18034 (5x5-make-random-grid): Allow other movement than flipping.
18035
7de88b6e
KR
180362011-05-23 Kevin Ryde <user42@zip.com.au>
18037
18038 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18039 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18040 advice and passes PREDICATE.
18041
b1ef1257
SM
180422011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18043
bbca48fe
SM
18044 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18045 byte-compile-lambda if it's actually a lambda.
18046
b1ef1257
SM
18047 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18048 Fix function quoting. Use backquote better.
18049
92a9cc65
YS
180502011-05-22 Yuanle Song <sylecn@gmail.com>
18051
18052 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18053 matching (Bug#8516).
18054
f0fb8059
JA
180552011-01-22 Jari Aalto <jari.aalto@cante.net>
18056
18057 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18058 different face (Bug#8178).
18059
d5b44c93
CY
180602011-05-22 Chong Yidong <cyd@stupidchicken.com>
18061
18062 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18063 defface (Bug#8144).
18064
79106a44
SM
180652011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18066
9c848d8a
SM
18067 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18068 funcall as well (bug#8712). Warn when performing those conversions.
18069 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18070
79106a44
SM
18071 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18072
88dfa756
GM
180732011-05-22 Glenn Morris <rgm@gnu.org>
18074
18075 * files.el (hack-local-variables-prop-line): Small simplifications.
18076 (hack-local-variables, hack-local-variables-prop-line):
18077 If MODE-ONLY, return the mode, rather than just `t'.
18078
b7cf2c79
SM
180792011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18080
18081 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18082
3f1a8558
GM
180832011-05-21 Glenn Morris <rgm@gnu.org>
18084
7e4ccca3
GM
18085 * files.el (hack-local-variables-prop-line, hack-local-variables):
18086 If only interested in the mode, don't bother doing the other stuff.
18087
637d46ca
GM
18088 * image-mode.el (image-after-revert-hook):
18089 Redraw all frames on which the image is visible. (Bug#8567)
18090
973d955b
GM
18091 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18092
3f1a8558
GM
18093 * wid-edit.el (widget-checklist-match-inline):
18094 Fix 2011-04-19 change. (Bug#8649)
18095
96479927
SM
180962011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18097
1dcf791f
SM
18098 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18099 Also allow singlespace after single-letter capitals followed by a dot.
18100
96479927
SM
18101 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18102 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18103
35fd0881
N
181042011-05-20 Nix <nix@esperi.org.uk>
18105
18106 * files.el (basic-save-buffer-2):
18107 Fix handling of break-hardlink-on-save with non-existent files.
18108
82745640
DD
181092011-05-19 Deniz Dogan <deniz@dogan.se>
18110
18111 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18112 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18113
4a720484
GM
181142011-05-19 Glenn Morris <rgm@gnu.org>
18115
d1f21341
GM
18116 * progmodes/f90.el (f90-type-def-re):
18117 Handle "type, bind(c)". (Bug#8691)
18118
4a720484
GM
18119 * emacs-lisp/autoload.el (batch-update-autoloads):
18120 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18121
2fb0a219
MA
181222011-05-18 Michael Albinus <michael.albinus@gmx.de>
18123
18124 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18125 property for the correct connection in case of multihops.
18126
e565dd37
GM
181272011-05-18 Glenn Morris <rgm@gnu.org>
18128
c2571358 18129 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18130 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18131
e565dd37
GM
18132 Rationalize calendar handling of day and month abbrev-arrays.
18133 * calendar/calendar.el (calendar-customized-p): New function.
18134 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18135 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18136 Add :set function.
18137 (calendar-abbrev-length, calendar-day-abbrev-array)
18138 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18139 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18140 Elements may no longer be nil.
18141 (calendar-day-name, calendar-month-name):
18142 Update for changed nature of abbrev arrays.
18143 * calendar/diary-lib.el (diary-name-pattern):
18144 Update for changed nature of abbrev arrays.
18145 (diary-mark-entries-1): Update calendar-make-alist calls.
18146 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18147 * calendar/cal-html.el (cal-html-day-abbrev-array):
18148 Simply inherit from calendar-day-abbrev-array.
18149
1d99a745
SM
181502011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18151
18152 * progmodes/grep.el (grep-mode): Disable default
18153 compilation-directory-matcher setting (bug#8684).
18154
7c1d9aa0
MA
181552011-05-17 Michael Albinus <michael.albinus@gmx.de>
18156
18157 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18158 instead of "head" and "tail". There were problems with SunOS 5.9,
18159 and it performs better.
18160
3952e9d8
GM
181612011-05-17 Glenn Morris <rgm@gnu.org>
18162
2dd12e7f
GM
18163 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18164
e4157b9c
GM
18165 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18166 Replace obsolete function.
18167
8e249bbd
GM
18168 * shell.el (pcomplete-parse-arguments-function): Declare.
18169
3952e9d8
GM
18170 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18171 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18172 (appt-check): Doc fixes.
18173 (appt-disp-window-function, appt-delete-window-function):
18174 Remove needless special case in custom :type.
18175 (appt-display-count): Default to 0, not nil.
18176 (appt-check): Reset appt-display-count to 0, not nil.
18177
c71a0d48 181782011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18179
c71a0d48
GM
18180 * progmodes/python.el (python-font-lock-keywords):
18181 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18182
31d55be9
SM
181832011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18186
3bfacb2f
KR
181872011-05-16 Kevin Ryde <user42@zip.com.au>
18188
18189 * info-look.el (makefile-automake-mode): New setups, looking in
18190 automake manual, then makefile-mode.
18191 (makefile-mode): Remove automake manual, have it just in
18192 makefile-automake-mode since there's various things different or
18193 not relevant to plain make.
18194 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18195 believe a hypothetical automake-mode would go to makefile-mode,
18196 not the other way around.
18197
c8e83751
CY
181982011-05-15 Chong Yidong <cyd@stupidchicken.com>
18199
5e9e35cd
CY
18200 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18201 hunk-end tags (Bug#8672).
18202
c8e83751
CY
18203 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18204 vc-annotate-show-diff-revision-at-line (Bug#8671).
18205
50b23e5a
GM
182062011-05-14 Glenn Morris <rgm@gnu.org>
18207
7210a739
GM
18208 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18209 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18210 (change-log-font-lock-keywords): Also handle multiple author lines
18211 with leading tabs. (Bug#8644)
7210a739 18212
4691905a
GM
18213 * calendar/appt.el (appt-check): Rename some local variables.
18214 Some simplification/reordering.
18215
50b23e5a
GM
18216 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18217 (feedmail-sendmail-f-doesnt-sell-me-out)
18218 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18219 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18220 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18221 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18222 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18223 (feedmail-binmail-gnulinuxish-template):
18224 Rename from feedmail-binmail-linuxish-template.
18225 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18226 Use insert-buffer-substring.
18227
215cda7c
BC
182282011-05-14 Bill Carpenter <bill@carpenter.org>
18229
18230 * mail/feedmail.el (feedmail-patch-level): Increase.
18231 (feedmail-debug): New custom group.
18232 (feedmail-confirm-outgoing-timeout)
18233 (feedmail-sendmail-f-doesnt-sell-me-out)
18234 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18235 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18236 (feedmail-sender-line, feedmail-from-line)
18237 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18238 (feedmail-spray-this-address)
215cda7c
BC
18239 (feedmail-spray-address-fiddle-plex-list)
18240 (feedmail-queue-use-send-time-for-date)
18241 (feedmail-queue-use-send-time-for-message-id)
18242 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18243 (feedmail-buffer-eating-function):
18244 Doc fixes.
18245 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18246 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18247 (feedmail-message-action-scroll-down): New functions.
18248 (feedmail-queue-directory, feedmail-queue-draft-directory):
18249 Use expand-file-name.
18250 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18251 Remove C-v help entry.
18252 (feedmail-queue-buffer-file-name): New variable.
18253 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18254 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18255 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18256 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18257 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18258 (feedmail-message-action-toggle-spray)
18259 (feedmail-run-the-queue-no-prompts)
18260 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18261 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18262 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18263 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18264 (feedmail-envelope-deducer, feedmail-fiddle-from)
18265 (feedmail-fiddle-sender, feedmail-default-date-generator)
18266 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18267 (feedmail-fiddle-spray-address)
18268 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18269 (feedmail-fiddle-list-of-fiddle-plexes)
18270 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18271 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18272 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18273 Change default. Doc fix.
18274 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18275 (feedmail-binmail-linuxish-template): New constant.
18276 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18277 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18278 (feedmail-send-it): Add debug call.
18279 Use feedmail-queue-buffer-file-name, and
18280 feedmail-send-it-immediately-wrapper.
18281 (feedmail-message-action-send): Add debug call.
18282 Use feedmail-send-it-immediately-wrapper.
18283 (feedmail-queue-express-to-queue): Add debug call.
18284 Run feedmail-queue-express-hook.
18285 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18286 (feedmail-message-action-help-blat):
18287 Rename from feedmail-queue-send-edit-prompt-help-first.
18288 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18289 Check line-endings. Handle errors better.
18290 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18291 Doc fix. Add debug call.
18292 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18293 Use feedmail-queue-send-edit-prompt-inner.
18294 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18295 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18296 from feedmail-queue-send-edit-prompt.
18297 (feedmail-queue-send-edit-prompt-help)
18298 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18299 (feedmail-tidy-up-slug): Add debug call.
18300 Respect feedmail-queue-slug-suspect-regexp.
18301 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18302 (feedmail-dump-message-to-queue): Add debug call.
18303 Expand queue-directory.
18304 (feedmail-dump-message-to-queue): Change message slightly.
18305 Use feedmail-say-chatter.
18306 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18307 (feedmail-send-it-immediately-wrapper): New function.
18308 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18309 Insert empty string rather than newline. Handle full-frame case.
18310 Use catch/throw. Use feedmail-say-chatter.
18311 (feedmail-fiddle-from): Try mail-host-address.
18312 (feedmail-default-message-id-generator): Doc fix.
18313 Bind system-time-locale. Handle missing end.
18314 (feedmail-fiddle-x-mailer): Add debug call.
18315 Handle feedmail-x-mailer-line being nil.
18316 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18317 Add debug call. Use buffer-substring-no-properties.
18318 (feedmail-say-debug, feedmail-say-chatter): New functions.
18319 (feedmail-find-eoh): Give an explicit error.
18320
42c7e61e
UJ
183212011-05-13 Ulf Jasper <ulf.jasper@web.de>
18322
c2571358 18323 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18324 family from helvetica to sans.
c2571358 18325 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18326 etc/images/newsticker.
18327
c2571358 18328 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18329 family from helvetica to sans.
18330
18331 * net/newst-plainview.el (newsticker-new-item-face)
18332 (newsticker-old-item-face, newsticker-immortal-item-face)
18333 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18334 (newsticker-statistics-face): Change default family from
42c7e61e 18335 helvetica to sans.
c2571358 18336 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18337 etc/images/newsticker.
18338
5d3385a0
JB
18339 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18340 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18341 auto-marking.
18342
8497a297
DV
183432011-05-13 Didier Verna <didier@xemacs.org>
18344
18345 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18346 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18347 TODO entries.
8497a297
DV
18348 (lisp-lambda-list-keyword-parameter-indentation)
18349 (lisp-lambda-list-keyword-parameter-alignment)
18350 (lisp-lambda-list-keyword-alignment): New customizable user options.
18351 (lisp-indent-defun-method): Improve docstring.
18352 (extended-loop-p): Fix comment.
18353 (lisp-indent-lambda-list-keywords-regexp): New variable.
18354 (lisp-indent-lambda-list): New function.
18355 (lisp-indent-259): Use it.
18356 (lisp-indent-defmethod): Support for more than one
18357 method qualifier and properly indent methods lambda-lists.
18358 (defgeneric): Provide a missing common-lisp-indent-function property.
18359
f278f87f
SM
183602011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18361
18362 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18363 bounds for the empty string (bug#8667).
18364
5233edd7
GM
183652011-05-13 Glenn Morris <rgm@gnu.org>
18366
5237a44f
GM
18367 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18368
8340026c 18369 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18370 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18371
5233edd7 18372 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18373 (appt-time-msg-list): Doc fix.
a5464014 18374 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18375
92d10796
AS
183762011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18377
18378 * progmodes/ld-script.el (ld-script-keywords)
18379 (ld-script-builtins): Update keywords list.
18380
914a0ae1
SM
183812011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18382
c89be45f
SM
18383 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18384
914a0ae1
SM
18385 * shell.el (shell-completion-vars): New function.
18386 (shell-mode):
18387 * simple.el (read-shell-command): Use it.
18388 (blink-matching-open): No need for " [...]" in minibuffer-message.
18389
98dc3df3
GM
183902011-05-12 Glenn Morris <rgm@gnu.org>
18391
18392 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18393 (appt-check): Simplify.
18394
d2fc7e3d 183952011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18396
4d61f28d 18397 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18398 literal "/dev/null".
18399
d2fc7e3d 184002011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18401
18402 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18403 Fix typo.
18404
d2fc7e3d 184052011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18406
3f254caa
SM
18407 * progmodes/which-func.el (which-function):
18408 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18409 which might not be defined (Bug#8260).
18410
d45885f7
GM
184112011-05-12 Glenn Morris <rgm@gnu.org>
18412
18413 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18414 Let byte-compile-initial-macro-environment always take precedence.
18415
488086f4
SM
184162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18417
18418 * net/rcirc.el: Add support for SSL/TLS connections.
18419 (rcirc-server-alist): New field `encryption'.
18420 (rcirc): Check `encryption' settings.
18421 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18422 Merge make-local-variable into `set'.
18423 (rcirc--connection-open-p): New function.
18424 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18425 the process is not a network process (e.g. running gnutls-cli).
18426 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18427 Make rcirc-(en|de)code-coding-system local here.
18428 (rcirc-mode): Merge make-local-variable into `set'.
18429 (rcirc-parent-buffer): Make permanent buffer-local.
18430 (rcirc-multiline-minor-mode): Don't do it here.
18431 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18432 there's no server buffer.
18433
7d3b9d44
GM
184342011-05-11 Glenn Morris <rgm@gnu.org>
18435
f64049c6
GM
18436 * newcomment.el (comment-kill): Prefix "unused" local.
18437
93c9df73
GM
18438 * term/w32console.el (get-screen-color): Declare.
18439
7d3b9d44
GM
18440 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18441 Handle symbol elements of byte-compile-initial-macro-environment.
18442
9e2dd53f
LL
184432011-05-10 Leo Liu <sdl.web@gmail.com>
18444
488086f4
SM
18445 * bookmark.el (bookmark-bmenu-mode-map):
18446 Bind bookmark-bmenu-search to `/'.
8b340240 18447
9e2dd53f 18448 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18449 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18450 (Footnote-unicode): New function.
18451 (footnote-style-alist): Add unicode style to the list.
18452 (footnote-style): Doc fix.
9e2dd53f 18453
79b70037
GM
184542011-05-10 Jim Meyering <meyering@redhat.com>
18455
18456 Fix doubled-word typos.
18457 * international/quail.el (quail-insert-kbd-layout): and and -> and
18458 * kermit.el: and and -> and
18459 * net/ldap.el (ldap-search-internal): to to -> to
18460 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18461 * progmodes/js.el (js-mode): and and -> and
18462 * textmodes/artist.el (artist-move-to-xy): at at -> at
18463 (artist-draw-region-trim-line-endings): if if -> if
18464 And Safetyc -> Safety.
18465 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18466
b8f82dc1 184672011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18468 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18469
18470 * files.el (hack-one-local-variable-eval-safep):
18471 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18472
4f99f44b
GM
184732011-05-10 Glenn Morris <rgm@gnu.org>
18474
18475 * calendar/diary-lib.el (diary-list-entries-hook)
18476 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18477 (diary-nongregorian-marking-hook, diary-list-entries)
18478 (diary-include-other-diary-files, diary-mark-entries)
18479 (diary-mark-included-diary-files): Doc fixes.
18480
84f29e6b
JB
184812011-05-09 Juanma Barranquero <lekktu@gmail.com>
18482
18483 * misc.el: Require tabulated-list.el during compilation.
18484
9bedd73a
CY
184852011-05-09 Chong Yidong <cyd@stupidchicken.com>
18486
488086f4
SM
18487 * progmodes/compile.el (compilation-start):
18488 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18489 (compilation-filter-hook): Doc fix.
18490
797c735c
DD
184912011-05-09 Deniz Dogan <deniz@dogan.se>
18492
18493 * wdired.el: Remove outdated installation comment. Fix usage
18494 comment.
18495
5f4b1dfe
JB
184962011-05-09 Juanma Barranquero <lekktu@gmail.com>
18497
18498 * misc.el: Implement new command `list-dynamic-libraries'.
18499 (list-dynamic-libraries--loaded-only-p): New variable.
18500 (list-dynamic-libraries--refresh): New function.
18501 (list-dynamic-libraries): New command.
18502
4c44026c
CY
185032011-05-09 Chong Yidong <cyd@stupidchicken.com>
18504
488086f4
SM
18505 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18506 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18507 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18508 higher priority to avoid clobbering by gnu.
18509
027f966d
CY
185102011-05-08 Chong Yidong <cyd@stupidchicken.com>
18511
18512 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18513 if the face has existing theme settings (Bug#8454).
18514
085f5d7d
CY
185152011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18516
488086f4
SM
18517 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18518 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18519
2a86a00c
RS
18520 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18521 special file names `.' and `..' (Bug#8259).
18522
d9c54a06
CY
185232011-05-08 Chong Yidong <cyd@stupidchicken.com>
18524
488086f4
SM
18525 * progmodes/grep.el (grep-mode-font-lock-keywords):
18526 Remove buffer-changing entries.
d9c54a06
CY
18527 (grep-filter): New function.
18528 (grep-mode): Add it to compilation-filter-hook.
18529
18530 * progmodes/compile.el (compilation-filter-hook)
18531 (compilation-filter-start): New defvars.
18532 (compilation-filter): Call compilation-filter-hook prior to
18533 updating the process mark.
18534
c4662635
SM
185352011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18536
18537 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18538
b0512a1d
EZ
185392011-05-07 Eli Zaretskii <eliz@gnu.org>
18540
605c9376
EZ
18541 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18542 mailclient-send-it even if window-system is nil. (Bug#8595)
18543
c4662635
SM
18544 * term/w32console.el (terminal-init-w32console):
18545 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18546 background-mode. (Bug#8597)
18547
d1dc2cc2
SM
185482011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18549
18550 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18551 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18552 New functions.
18553 (defgeneric, eieio--defmethod): Use them.
18554 (eieio-defgeneric): Remove.
18555 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18556
915d1300
GM
185572011-05-07 Glenn Morris <rgm@gnu.org>
18558
a3961c3e
GM
18559 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18560 Use let rather than let*.
18561 (timeclock-find-discrep): Remove unused local.
18562
314347b9
GM
18563 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18564
915d1300
GM
18565 * calendar/appt.el (appt-time-msg-list): Doc fix.
18566
275b59b0
NF
185672011-05-06 Noah Friedman <friedman@splode.com>
18568
18569 * apropos.el (apropos-print-doc): Only use
18570 emacs-lisp-docstring-fill-column when it is bound to an integer,
18571 per that variable's documentation.
18572
6c19f744
SM
185732011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18574
18575 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18576 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18577
60f884b2
GM
185782011-05-06 Glenn Morris <rgm@gnu.org>
18579
5006e634
GM
18580 * calendar/appt.el (appt-message-warning-time): Doc fix.
18581 (appt-warning-time-regexp): New option.
18582 (appt-make-list): Respect appt-message-warning-time.
18583
548d0a63
GM
18584 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18585 New options.
18586 (diary-add-to-list): Strip comments from the displayed string.
18587 (diary-mode): Set comment-start and comment-end.
18588
60f884b2
GM
18589 * vc/diff-mode.el (smerge-refine-subst): Declare.
18590 (diff-refine-hunk): Don't require smerge-mode when compiling.
18591
989681bb
JB
185922011-05-06 Juanma Barranquero <lekktu@gmail.com>
18593
18594 * simple.el (list-processes): Return nil as the docstring says.
18595
a6bc05e1
MA
185962011-05-05 Michael Albinus <michael.albinus@gmx.de>
18597
18598 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18599 to "".
18600 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18601 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18602 determining of binary transfer. (Bug#7383)
18603
23c22e9a
MA
186042011-05-05 Michael Albinus <michael.albinus@gmx.de>
18605
c4662635
SM
18606 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18607 Fix port computation bug. (Bug#8618)
23c22e9a 18608
0bff894f
GM
186092011-05-05 Glenn Morris <rgm@gnu.org>
18610
b8296902
GM
18611 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18612
1f522ce8
GM
18613 * simple.el (shell-dynamic-complete-functions)
18614 (comint-dynamic-complete-functions): Declare.
18615
cf5bee67
GM
18616 * net/network-stream.el (gnutls-negotiate):
18617 * simple.el (tabulated-list-print): Fix declarations.
18618
18619 * progmodes/gud.el (syntax-symbol, syntax-point):
18620 Remove unnecessary and incorrect declarations.
18621
0bff894f 18622 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18623 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18624
9869b3ae
SM
186252011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18626
18627 Fix earlier half-done eieio-defmethod change (bug#8338).
18628 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18629 Streamline and change calling convention.
18630 (defmethod): Adjust accordingly and simplify.
18631 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18632 new eieio--defmethod.
18633 (slot-boundp): Minor CSE simplification.
18634
9c1d5ac5
MZ
186352011-05-05 Milan Zamazal <pdm@zamazal.org>
18636
18637 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18638 (glasses-make-readable): Use glasses-separate-capital-groups.
18639
455c834e
JB
186402011-05-05 Juanma Barranquero <lekktu@gmail.com>
18641
18642 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18643 (warning-series): Doc fix.
18644 (display-warning): Don't try to create the buffer if we just found it.
18645
9ed7c8cb
CY
186462011-05-04 Chong Yidong <cyd@stupidchicken.com>
18647
18648 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18649 (autoload-find-generated-file): New function.
18650 (generate-file-autoloads): Bind generated-autoload-file to
18651 buffer-file-name.
9869b3ae
SM
18652 (update-file-autoloads, update-directory-autoloads):
18653 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18654 output file (Bug#7989).
18655 (batch-update-autoloads): Doc fix.
18656
0898ca10
JB
186572011-05-04 Juanma Barranquero <lekktu@gmail.com>
18658
18659 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18660
31dfb76c
GM
186612011-05-04 Glenn Morris <rgm@gnu.org>
18662
f330b642
GM
18663 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18664 function, so it follows changes in calendar-date-style.
18665 (diary-fancy-date-matcher): New function.
18666 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18667 (diary-fancy-font-lock-fontify-region-function):
18668 Use diary-fancy-date-pattern as a function.
18669
31dfb76c
GM
18670 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18671 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18672
48e79d6a
TZ
186732011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18674
18675 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18676 instead of positional arguments. Allow :keylist and :crlfiles
18677 arguments.
18678 (open-gnutls-stream): Call it.
18679
18680 * net/network-stream.el (network-stream-open-starttls): Adjust to
18681 call `gnutls-negotiate' with :process and :hostname arguments.
18682
dd5a5ee0
SM
186832011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18684
ef80fc09
SM
18685 * minibuffer.el (completion--message): New function.
18686 (completion--do-completion, minibuffer-complete)
18687 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18688 (completion--do-completion): Don't ignore completion-auto-help when in
18689 icomplete-mode.
18690
dd5a5ee0
SM
18691 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18692 internal encoding (e.g. tibetan zero is not whitespace).
18693 (global-whitespace-mode): Prefer save-current-buffer.
18694 (whitespace-trailing-regexp): Remove useless save-match-data.
18695 (whitespace-empty-at-bob-regexp): Minor simplification.
18696
b7d22a83
CY
186972011-05-03 Chong Yidong <cyd@stupidchicken.com>
18698
18699 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18700
5192af46
AM
187012011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18702
18703 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18704 Use `concat' to create string for insertion.
5192af46 18705
5767d190
SM
187062011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18707
18708 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18709 Avoid open-line which runs post-self-insert-hook.
18710 (bibtex-fill-entry): Remove unused `end' var.
18711
bf242939
AM
187122011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18713
5767d190
SM
18714 * textmodes/ispell.el (ispell-add-per-file-word-list):
18715 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18716
25666126
LL
187172011-05-03 Leo Liu <sdl.web@gmail.com>
18718
18719 * isearch.el (isearch-yank-pop): New command.
5767d190 18720 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18721 (isearch-forward): Mention it.
18722
52d3c2d0
SM
187232011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18724
1bcace58
SM
18725 * simple.el (minibuffer-complete-shell-command): Remove.
18726 (minibuffer-local-shell-command-map): Use completion-at-point.
18727 (read-shell-command): Setup completion vars here instead.
18728 (read-expression-map): Bind TAB to symbol completion.
18729
52d3c2d0
SM
18730 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18731 error directly rather via storing it into `results'.
18732
35813471
LL
187332011-05-02 Leo Liu <sdl.web@gmail.com>
18734
18735 * vc/diff.el: Fix description.
18736
e793a940
LMI
187372011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18738
18739 * server.el (server-eval-at): New function.
18740
8de66e05
LMI
187412011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18742
18743 * net/network-stream.el (open-network-stream): Take a :nowait
18744 parameter and pass it on to `make-network-process'.
18745 (network-stream-open-plain): Ditto.
18746
dcb79f20
AS
187472011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18748
18749 * faces.el (face-spec-set-match-display): Don't match toolkit
18750 options on terminal frames.
18751
14a7fbd8
SM
187522011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18753
7eabc1be
SM
18754 * progmodes/pascal.el: Use lexical binding.
18755 (pascal-mode-map): Remove author preferences.
18756
14a7fbd8
SM
18757 * pcomplete.el (pcomplete-std-complete): Don't abuse
18758 completion-at-point.
18759
50f84510
JB
187602011-04-28 Juanma Barranquero <lekktu@gmail.com>
18761
6e087a44
JB
18762 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18763 removing code that has been dead since 1991 or so.
18764
50f84510
JB
18765 * startup.el (command-line): When warning about "_emacs", use a
18766 delayed warning to allow the user to filter it out.
18767
0ba690bd
DD
187682011-04-28 Deniz Dogan <deniz@dogan.se>
18769
18770 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18771 user has not joined.
18772
08abfaad
SM
187732011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18774
18775 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18776 aren't any completions at point.
18777
638f053a
JB
187782011-04-28 Juanma Barranquero <lekktu@gmail.com>
18779
18780 * subr.el (display-delayed-warnings): New function.
18781 (delayed-warnings-hook): New variable.
18782
8fff8daa
SM
187832011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18784
08abfaad
SM
18785 * minibuffer.el (completion-at-point, completion-help-at-point):
18786 Don't presume that a given completion-at-point-function will always
18787 use the same calling convention.
18788
8fff8daa
SM
18789 * pcomplete.el (pcomplete-completions-at-point):
18790 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18791 pcomplete-seen is non-nil.
18792 (pcomplete-comint-setup): Also recognize the new comint/shell
18793 completion functions.
18794 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18795 pcomplete-seen is non-nil.
18796
841a1577 187972011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18798
841a1577 18799 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18800 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18801 the first character in the entry. This allows for code to add its
211ec907
UJ
18802 own uid to the entry.
18803 (icalendar--convert-float-to-ical): Add export of
18804 `diary-float'-entries save for those with the optional DAY
18805 argument.
18806
2a782793
DC
188072011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18808
18809 * subr.el (shell-quote-argument): Use alternate escaping strategy
18810 when we spot a variable reference in a string.
18811
0438ce91
DC
188122011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18813
18814 * cus-start.el (all): Define customization for debug-on-event.
18815
841a1577 188162011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18817
18818 * subr.el (shell-quote-argument): Escape correctly under Windows.
18819
d090ed6c
SM
188202011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18821
18822 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18823
bfd31217
MA
188242011-04-25 Michael Albinus <michael.albinus@gmx.de>
18825
d090ed6c
SM
18826 * net/tramp.el (tramp-process-actions): Add POS argument.
18827 Delete region between POS and (pos).
bfd31217 18828
d090ed6c
SM
18829 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18830 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18831 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18832
18833 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18834 position in `tramp-process-actions' call.
18835
18836 * net/trampver.el: Update release number.
18837
e92f3bd3
SM
188382011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18839
850256b5
SM
18840 * custom.el (defcustom): Obey lexical-binding.
18841
e92f3bd3
SM
18842 Fix octave-inf completion problems reported by Alexander Klimov.
18843 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18844 Inherit from octave-mode-syntax-table.
18845 (inferior-octave-mode): Set info-lookup-mode.
18846 (inferior-octave-completion-at-point): New function.
18847 (inferior-octave-complete): Use it and completion-in-region.
18848 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18849 comint-filename-completion.
18850 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18851 symbol elements which shouldn't be word elements.
18852 (octave-font-lock-keywords, octave-beginning-of-defun)
18853 (octave-function-header-regexp): Adjust regexps accordingly.
18854 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18855
cd22b309
JB
188562011-04-25 Juanma Barranquero <lekktu@gmail.com>
18857
18858 * net/gnutls.el (gnutls-errorp): Declare before first use.
18859
8b492194
TZ
188602011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18861
18862 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18863 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18864 default trustfile exists before going to use it. Add missing
5a5fa834 18865 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18866 Reported by Claudio Bley <claudio.bley@gmail.com>.
18867 (open-gnutls-stream): Add usage example.
18868
18869 * net/network-stream.el (network-stream-open-starttls): Give host
18870 parameter to `gnutls-negotiate'.
18871 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18872 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18873
841a1577 188742011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18875
cd22b309
JB
18876 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18877 Use correct match group (bug#8438).
05842630 18878
3ba7869c
CY
188792011-04-24 Chong Yidong <cyd@stupidchicken.com>
18880
512e3ae1
CY
18881 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18882 (package-menu--generate): New arg specifying packages to show.
18883 (package-menu-refresh, package-menu-execute, list-packages):
18884 Callers changed.
18885 (package-show-package-list): New function, replacing deleted
18886 package--list-packages (renamed because it is non-internal).
18887
18888 * finder.el (finder-list-matches): Use package-show-package-list
18889 instead of deleted package--list-packages.
18890
e92f3bd3
SM
18891 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18892 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18893 (vc-annotate-mode-map): Bind it to RET.
18894
7031be6d
UR
188952011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18896
18897 * progmodes/etags.el (next-file): Don't use set-buffer to change
18898 buffers (Bug#8478).
18899
4ef177aa
CY
189002011-04-24 Chong Yidong <cyd@stupidchicken.com>
18901
c8d173eb
CY
18902 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18903
4ef177aa
CY
18904 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18905 (apropos-accumulator): Doc fix.
18906 (apropos-function, apropos-macro, apropos-command)
18907 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18908 (apropos-plist): Add face property.
18909 (apropos-symbols-internal): Fix indentation.
18910 (apropos-print): Simplify help, and recognize apropos-multi-type.
18911 (apropos-print-doc): Use button-type-get to extract the button's
18912 face property. Fill docstring (Bug#8352).
18913
4ffd0d6b 189142011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18915
18916 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18917
c6c32125 18918 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18919 (mpuz-mode-map): Use mapc.
c6c32125
JB
18920 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18921 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18922 Fix typos in docstrings.
18923
58d468b4
JB
18924 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18925 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18926
6470c3c6
JB
18927 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18928
4ffd0d6b 189292011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18930
18931 * minibuffer.el (completion--do-completion): Avoid the "Next char
18932 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18933
3ad8bad0
CY
18934 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18935 mouse-2 into unread-command-events, it is interpreted correctly.
18936
71d73c9c 18937 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18938 (image-toggle-display): Doc fix.
71d73c9c 18939
841a1577 189402011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18941
4ffd0d6b
GM
18942 * textmodes/page.el (what-page): Use line-number-at-pos to
18943 calculate line number (Bug#6825).
6e1dbaa9 18944
c2fb1b60
JB
189452011-04-22 Juanma Barranquero <lekktu@gmail.com>
18946
18947 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18948 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18949 Pass argument NO-DEFAULT to `find-tag-interactive'.
18950
e02f48d7
JB
189512011-04-22 Juanma Barranquero <lekktu@gmail.com>
18952
18953 Lexical-binding cleanup.
18954
18955 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18956 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18957 * progmodes/ada-prj.el (ada-prj-initialize-values)
18958 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18959 (ada-prj-show-value):
18960 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18961 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18962 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18963 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18964 * progmodes/bug-reference.el (bug-reference-push-button):
18965 * progmodes/fortran.el (fortran-line-length):
18966 * progmodes/glasses.el (glasses-change):
18967 * progmodes/octave-mod.el (octave-fill-paragraph):
18968 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18969 (python-pdbtrack-grub-for-buffer, python-sentinel):
18970 * progmodes/sql.el (sql-save-connection):
18971 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18972 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18973 Mark unused parameters.
18974
18975 * progmodes/compile.el (compilation--flush-directory-cache)
18976 (compilation--flush-parse, compile-internal): Mark unused parameters.
18977 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18978 (compilation-next-error-function): Remove unused variable `timestamp'.
18979
18980 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18981 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18982
18983 * progmodes/dcl-mode.el (dcl-end-of-command):
18984 Remove unused variable `start'.
18985 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18986 (dcl-option-value-basic, dcl-option-value-offset)
18987 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18988 Mark unused parameters.
18989 (dcl-save-local-variable): Remove unused variable `val'.
18990 (mode): Declare.
18991
18992 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18993 Mark unused parameters.
18994 (delphi-ignore-changes): Move before first use.
18995 (delphi-charset-token-at): Remove unused variable `start'.
18996 (delphi-else-start): Remove unused variable `if-count'.
18997 (delphi-comment-block-start, delphi-comment-block-end):
18998 Remove unused variable `kind'.
18999 (delphi-indent-line): Remove unused variable `new-point'.
19000
19001 * progmodes/ebrowse.el (ebrowse-files-list)
19002 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19003 Mark unused parameters. Don't quote `lambda'.
19004 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19005 Don't quote `lambda'.
19006 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19007 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19008 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19009 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19010 Use `ignore-errors'.
19011 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19012 (ebrowse-view/find-file-and-search-pattern)
19013 (ebrowse-view/find-member-declaration/definition):
19014 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19015 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19016 Rename parameter PREFIX-ARG to PREFIX.
19017 (ebrowse-tags-read-name): Remove unused variables `start' and
19018 `member-info'.
19019 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19020 to `tags-file'.
19021
19022 * progmodes/etags.el (local-find-tag-hook): Declare.
19023 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19024 Mark unused parameters.
19025
19026 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19027 (executable-interpret): Mark unused parameter.
19028
19029 * progmodes/flymake.el (flymake-process-sentinel)
19030 (flymake-after-change-function)
19031 (flymake-create-temp-with-folder-structure)
19032 (flymake-get-include-dirs-dot): Mark unused parameters.
19033 (flymake-safe-delete-directory): Remove unused variable `err'.
19034
19035 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19036 (speedbar-timer-fn, speedbar-line-text)
19037 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19038 (speedbar-center-buffer-smartly): Declare functions.
19039 (gdb-find-watch-expression): Remove unused variable `array'.
19040 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19041 (gdb-starting): Mark unused parameters.
19042 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19043 (gdb-table-string): Remove unused variable `res'.
19044 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19045 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19046 (gdb-display-buffer): Remove unused variable `cur-size'.
19047
19048 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19049 allow lexical-binding compilation.
19050 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19051 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19052 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19053 Mark unused parameters.
19054 (gud-gdb-marker-filter): Remove unused variable `match'.
19055 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19056 lambda expressions and funcall them, instead of using `fset'.
19057
19058 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19059 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19060
19061 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19062 variable `header-beg'; use `let'.
19063
19064 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19065 `restart', `last-sexp' and `at-do'.
19066
19067 * progmodes/js.el (js--debug): Mark unused parameter.
19068 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19069 (js--splice-into-items): Remove unused variable `item'.
19070 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19071
19072 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19073 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19074 (makefile-complete): Remove unused variable `try'.
19075 (makefile-fill-paragraph, makefile-match-function-end):
19076 Mark unused parameters.
19077
19078 * progmodes/octave-inf.el (inferior-octave-complete):
19079 Remove unused variable `proc'.
19080 (inferior-octave-output-digest): Mark unused parameter.
19081
19082 * progmodes/perl-mode.el (perl-calculate-indent):
19083 Remove unused variable `err'.
19084
19085 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19086 (prolog-indent-line): Mark unused parameters.
19087 (prolog-indent-line): Remove unused variable `beg'.
19088
19089 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19090 (reporter-dont-compact-list): Declare.
19091
19092 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19093 Remove unused variable `char'.
19094 (sh-debug): Mark unused parameter.
19095 (sh-get-indent-info): Remove unused variable `start'.
19096 (sh-calculate-indent): Remove unused variable `var'.
19097
19098 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19099 (simula-electric-keyword): Remove unused variable `null'.
19100 (simula-search-backward, simula-search-forward): Remove unused
19101 variables `begin' and `end'.
19102
19103 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19104 Remove unused variable `pos'.
19105 (vera-electric-tab, vera-comment-uncomment-region):
19106 Mark unused parameters.
19107 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19108
7ede3b65
CY
191092011-04-22 Chong Yidong <cyd@stupidchicken.com>
19110
19111 * emacs-lisp/package.el (package--builtins, package-alist)
19112 (package-load-descriptor, package-built-in-p, package-activate)
19113 (define-package, package-installed-p)
19114 (package-compute-transaction, package-buffer-info)
19115 (package--push): Doc fix. Distinguish more clearly between
19116 version strings and version lists.
19117
121656e9
JB
191182011-04-21 Juanma Barranquero <lekktu@gmail.com>
19119
19120 Lexical-binding cleanup.
19121
19122 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19123 (5x5-make-mutate-best):
19124 * play/fortune.el (fortune-in-buffer):
19125 * play/gomoku.el (gomoku-init-display):
19126 * play/solitaire.el (solitaire, solitaire-do-check):
19127 * play/tetris.el (tetris-default-update-speed-function):
19128 Mark unused parameters.
19129
19130 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19131 (bubbles--shift): Remove unused variable `char-org'.
19132 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19133 (bubbles--show-images): Remove unused variable `char'.
19134
19135 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19136 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19137 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19138 (decipher-analyze-buffer): Use ?\s.
19139 (decipher-make-checkpoint): Remove unused variable `mapping'.
19140
19141 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19142
19143 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19144 Remove unused variable `result'; use `let'.
19145
19146 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19147 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19148 (gametree-children-shown-p, gametree-compute-reduced-score):
19149 Use `ignore-errors'.
19150
19151 * play/handwrite.el (ps-lpr-switches): Declare.
19152 (handwrite): Remove unused variables `pmin' and `lastp'.
19153
19154 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19155
19156 * play/landmark.el (landmark-init-display)
19157 (landmark-update-naught-weights): Mark unused parameters.
19158 (landmark-y): Remove unused variable `noise'. Simplify.
19159 (landmark-human-plays): Remove unused variable `score'.
19160
19161 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19162 (mpuz-try-proposal): Remove unused variable `game'.
19163
19164 * play/zone.el (life-patterns): Declare.
19165
80f499c7
JB
191662011-04-20 Juanma Barranquero <lekktu@gmail.com>
19167
19168 * vc/vc.el (ediff-vc-internal): Declare function.
19169
024ff170
SM
191702011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19171
c0a193ea
SM
19172 * shell.el: Use lexical-binding and std completion UI.
19173 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19174 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19175 comint-preoutput-filter-functions rather than on
19176 comint-output-filter-functions.
19177 (shell-command-completion, shell--command-completion-data)
19178 (shell-filename-completion, shell-environment-variable-completion)
19179 (shell-c-a-p-replace-by-expanded-directory): New functions.
19180 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19181 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19182 (shell-dynamic-complete-environment-variable): Use them.
19183 (shell-dynamic-complete-as-environment-variable)
19184 (shell-dynamic-complete-as-command): Remove.
19185 (shell-match-partial-variable): Match past point.
19186 * comint.el: Clean up use of completion-at-point-functions.
19187 (comint-completion-at-point): New function.
19188 (comint-mode): Use it completion-at-point-functions.
19189 (comint-dynamic-complete): Make it obsolete.
19190 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19191 (comint-c-a-p-replace-by-expanded-history): New function.
19192 (comint-dynamic-complete-functions)
19193 (comint-replace-by-expanded-history): Use it.
19194 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19195 termination strings. Try harder to avoid second try-completion.
19196 (completion-in-region-mode-map): Disable bindings that don't work yet.
19197
2dbaa080
SM
19198 * comint.el: Use lexical-binding. Require CL.
19199 (comint-dynamic-complete-functions): Use comint-filename-completion.
19200 (comint-completion-addsuffix): Tweak custom type.
19201 (comint-filename-completion, comint--common-suffix)
19202 (comint--common-quoted-suffix, comint--table-subvert)
19203 (comint--complete-file-name-data): New functions.
19204 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19205 (comint-dynamic-list-filename-completions): Use them.
19206 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19207
2dbaa080
SM
19208 * minibuffer.el (completion-in-region-mode):
19209 Keep completion-in-region-mode--predicate global.
19210 (completion-in-region--postch):
19211 Assume completion-in-region-mode--predicate is not null.
19212
c79a6f38
SM
19213 * progmodes/flymake.el (flymake-start-syntax-check-process):
19214 Obey `dir'. Simplify.
19215
024ff170
SM
19216 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19217 we're in VC after all.
19218
1c6c854e
CS
192192011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19220
19221 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19222 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19223 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19224
bed7f140
SM
192252011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19226
332e62ab
SM
19227 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19228 add sanity check.
19229
bed7f140
SM
19230 * obsolete/erc-hecomplete.el: Make obsolete.
19231 * obsolete/: Standardize obsolescence info in the header.
19232
f195c582
GM
192332011-04-20 Glenn Morris <rgm@gnu.org>
19234
19235 * calendar/solar.el (solar-horizontal-coordinates):
19236 Use the longitude argument rather than `calendar-longitude'.
19237 (solar-date-next-longitude): Remove unused locals.
19238
cb79b8c0
VJL
192392011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19240
19241 * whitespace.el: New version 13.2.1.
19242
192432011-04-20 felix <EmacsWiki> (tiny change)
19244
d8e4b68b 19245 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19246 switching between major modes on a file.
19247
602ea69d
SM
192482011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19249
19250 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19251 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19252 multi-line comments as well.
19253
06b60517
JB
192542011-04-19 Juanma Barranquero <lekktu@gmail.com>
19255
19256 Lexical-binding cleanup.
19257
19258 * arc-mode.el (archive-mode-revert):
19259 * cmuscheme.el (scheme-interactively-start-process):
19260 * custom.el (custom-initialize-delay):
19261 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19262 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19263 * emacs-lock.el (emacs-lock-clear-sentinel):
19264 * ezimage.el (defezimage):
19265 * follow.el (follow-avoid-tail-recenter):
19266 * fringe.el (set-fringe-mode-1):
19267 * generic-x.el (bat-generic-mode-compile):
19268 * help-mode.el (help-info-variable, help-do-xref)
19269 (help-mode-revert-buffer):
19270 * help.el (view-emacs-todo):
19271 * iswitchb.el (iswitchb-completion-help):
19272 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19273 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19274 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19275 * locate.el (locate-update):
19276 * longlines.el (longlines-encode-region)
19277 (longlines-after-change-function):
19278 * outline.el (outline-isearch-open-invisible):
19279 * ps-def.el (declare-function, charset-dimension, char-width)
19280 (encode-char):
19281 * ps-mule.el (ps-mule-plot-string):
19282 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19283 (recentf-edit-list-select, recentf-edit-list-validate)
19284 (recentf-open-files-action):
19285 * rect.el (delete-whitespace-rectangle-line)
19286 (rectangle-number-line-callback):
19287 * register.el (window-configuration-to-register)
19288 (frame-configuration-to-register):
19289 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19290 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19291 (xselect-convert-to-targets, xselect-convert-to-delete)
19292 (xselect-convert-to-filename, xselect-convert-to-charpos)
19293 (xselect-convert-to-lineno, xselect-convert-to-colno)
19294 (xselect-convert-to-os, xselect-convert-to-host)
19295 (xselect-convert-to-user, xselect-convert-to-class)
19296 (xselect-convert-to-name, xselect-convert-to-integer)
19297 (xselect-convert-to-atom, xselect-convert-to-identity):
19298 * subr.el (declare, ignore, process-kill-without-query)
19299 (text-clone-maintain):
19300 * terminal.el (te-get-char, te-tic-sentinel):
19301 * tool-bar.el (tool-bar-make-keymap):
19302 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19303 * type-break.el (type-break-mode, type-break-noninteractive-query):
19304 * view.el (View-back-to-mark):
19305 * wid-browse.el (widget-browse-action, widget-browse-widget)
19306 (widget-browse-widgets, widget-browse-sexp):
19307 * widget.el (define-widget-keywords):
19308 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19309 Mark unused parameters.
19310
19311 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19312 (align-areas): Remove unused variable `look'.
19313 (align-region): Remove unused variables `real-end' and `pos-list'.
19314
19315 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19316
19317 * bindings.el (mode-line-modified, mode-line-remote):
19318 Mark unused parameters.
19319 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19320
19321 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19322 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19323
19324 * comint.el (comint-history-isearch-pop-state)
19325 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19326 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19327 (comint-substitute-in-file-name): Doc fix.
19328
19329 * completion.el (cmpl-statistics-block): Mark unused parameter.
19330 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19331 (save-completions-to-file, load-completions-from-file):
19332 Remove unused local variable `e'.
19333
19334 * composite.el (compose-chars): Remove unused variable `len'.
19335 (lgstring-insert-glyph): Remove unused variable `g'.
19336 (compose-glyph-string): Remove unused variables `ascent',
19337 `descent', `lbearing' and `rbearing'.
19338 (compose-glyph-string-relative): Remove unused variables
19339 `lbearing', `rbearing' and `wadjust'.
19340 (compose-gstring-for-graphic): Remove unused variables `header',
19341 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19342 (compose-gstring-for-terminal): Remove unused variables `header'
19343 and `nchars'. Use `let', not `let*'.
19344
19345 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19346 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19347 (Custom-buffer-done, custom-buffer-create-internal)
19348 (custom-browse-visibility-action, custom-browse-group-tag-action)
19349 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19350 (widget-magic-mouse-down-action, custom-toggle-parent)
19351 (custom-add-parent-links, custom-toggle-hide-variable)
19352 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19353 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19354 (custom-face-menu-create, custom-variable-menu-create, get)
19355 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19356 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19357 (customize-apropos): Remove unused variable `tests'.
19358 (custom-group-value-create): Remove unused variable `hidden-p'.
19359 (sort-fold-case): Declare.
19360
19361 * cus-theme.el (custom-reset-standard-faces-list)
19362 (custom-reset-standard-variables-list): Declare.
19363 (customize-create-theme, custom-theme-revert, custom-theme-write)
19364 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19365 Mark unused parameters.
19366
19367 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19368
19369 * delim-col.el (delimit-columns-max): Move defvar before first use.
19370
19371 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19372 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19373
19374 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19375 (auto-insert): Declare.
19376 (desktop-restore-file-buffer): Rename desktop-* parameters;
19377 mark unused ones.
19378 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19379 (desktop-buffer): Rename desktop-* parameters.
19380
19381 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19382 (dframe-reposition-frame-xemacs, dframe-help-echo)
19383 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19384 Mark unused parameters.
19385
19386 * dired-aux.el (backup-extract-version-start, overwrite-query)
19387 (overwrite-backup-query, rename-regexp-query)
19388 (rename-non-directory-query): Declare.
19389 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19390 (dired-add-entry): Remove unused variable `orig-file-name'.
19391 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19392 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19393 `dired-copy-preserve-time' directly.
19394 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19395 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19396
19397 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19398 (dired-virtual-revert, dired-make-relative-symlink):
19399 Mark unused parameters.
19400 (manual-program): Declare.
19401 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19402 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19403 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19404
19405 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19406
19407 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19408
19409 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19410 Declare.
19411
19412 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19413
19414 * electric.el (Electric-command-loop): Rename parameter
19415 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19416
19417 * expand.el (expand-in-literal): Remove unused variable `here'.
19418
19419 * facemenu.el (facemenu-add-new-color):
19420 Remove unused variable `docstring'.
19421
19422 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19423 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19424 (face-attr-construct): Mark unused parameter. Doc fix.
19425 (read-color): Remove unused variable `hex-string'.
19426
19427 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19428 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19429 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19430 (display-buffer-other-frame): Remove unused variable `old-window'.
19431 (kill-buffer-hook): Declare.
19432 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19433 Mark unused parameters.
19434 (after-find-file): Pass 1 to `auto-save-mode', not t.
19435
19436 * files-x.el (auto-insert): Declare.
19437 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19438
19439 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19440 variable `buf'. Mark unused parameter.
06b60517
JB
19441 (find-lisp-insert-directory): Mark unused parameter.
19442
19443 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19444 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19445 (format-common-tail): Remove, unused.
19446 (format-deannotate-region): Remove unused variable `loc'.
19447 (format-annotate-region): Remove unused variable `p'.
19448 (format-annotate-single-property-change): Remove unused variables
19449 `default' and `tail'.
19450
19451 * forms.el (read-file-filter): Declare.
19452 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19453
19454 * frame.el (frame-creation-function-alist): Mark unused parameter.
19455 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19456
19457 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19458 Remove unused parameters.
19459 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19460 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19461
19462 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19463 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19464 (hfy-prepare-tag-map): Mark unused parameters.
19465 (htmlfontify-buffer): Use `called-interactively-p'.
19466
19467 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19468 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19469 (ibuffer-do-occur): Mark unused parameters.
19470 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19471 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19472
19473 * ibuffer.el: Don't quote `lambda'.
19474 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19475 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19476 Mark unused parameters.
19477
19478 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19479 (ido-completing-read): Mark unused parameters.
19480 (ido-copy-current-word): Mark unused parameters;
19481 remove unused variable `name'.
19482 (ido-sort-merged-list): Remove unused parameter `dirs'.
19483
19484 * ielm.el (ielm-input-sender): Mark unused parameter.
19485 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19486 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19487 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19488 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19489 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19490
19491 * image-dired.el (image-dired-display-thumbs): Remove unused
19492 variables `curr-file' and `count'.
19493 (image-dired-remove-tag): Remove unused variable `start'.
19494 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19495 variable `curr-file'
19496 (image-dired-rotate-original): Remove unused variable `temp-file'.
19497 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19498 Remove unused variable `file'.
19499 (image-dired-gallery-generate): Remove unused variable `curr'.
19500 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19501
19502 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19503
19504 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19505
19506 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19507
19508 * isearch.el (minibuffer-history-symbol): Declare.
19509 (isearch-edit-string): Remove unused variable `err'.
19510 (isearch-message-prefix, isearch-message-suffix):
19511 Mark unused parameters.
19512
19513 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19514
19515 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19516
19517 * makesum.el (double-column): Remove unused variable `cnt'.
19518
19519 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19520 (ido-ignore-item-temp-list): Declare.
19521
19522 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19523 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19524 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19525 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19526 `mouse-col-delta'.
19527
19528 * mouse-sel.el (mouse-extend-internal):
19529 Remove unused variable `orig-window-frame'.
19530
19531 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19532 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19533 Move declarations before first use.
19534 (pcomplete-opt): Mark unused parameters; doc fix.
19535
19536 * proced.el (proced-revert): Mark unused parameter.
19537 (proced-send-signal): Remove unused variable `err'.
19538
19539 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19540 Rename parameter PREFIX-ARG to ARG.
19541 (ps-basic-plot-string, ps-basic-plot-whitespace):
19542 Mark unused parameters.
19543
19544 * replace.el (replace-count): Define.
19545 (occur-revert-function): Mark unused parameters.
19546 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19547 (isearch-case-fold-search, isearch-string): Declare.
19548 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19549 bind `case-fold-search'. Remove unused variables `beg' and `end',
19550 and simplify.
19551 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19552 COUNT and bind `replace-count'.
19553 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19554 to COUNT.
19555
19556 * savehist.el (print-readably, print-string-length): Declare.
19557
19558 * shadowfile.el (shadow-expand-cluster-in-file-name):
19559 Remove unused variable `cluster'.
19560 (shadow-copy-file): Remove unused variable `i'.
19561 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19562 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19563 (shadow-define-literal-group, shadow-define-regexp-group)
19564 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19565
19566 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19567 (shell): Use `called-interactively-p'.
19568 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19569
19570 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19571 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19572 (delete-backward-char): Remove unused variable `ocol'.
19573 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19574 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19575 (event-apply-hyper-modifier, event-apply-shift-modifier)
19576 (event-apply-control-modifier, event-apply-meta-modifier):
19577 Mark unused parameters.
19578 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19579 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19580
19581 * speedbar.el (speedbar-ignored-directory-expressions)
19582 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19583 (speedbar-find-file, speedbar-dir-follow)
19584 (speedbar-directory-buttons-follow, speedbar-tag-find)
19585 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19586 (speedbar-buffers-line-directory, speedbar-buffer-click):
19587 Mark unused parameters.
19588 (speedbar-tag-file): Remove unused variable `mode'.
19589 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19590
19591 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19592
19593 * talk.el (talk): Remove unused variable `display'.
19594
19595 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19596 (tar-write-region-annotate): Mark unused parameter.
19597
19598 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19599 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19600 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19601 warning by another.
19602
19603 * time-stamp.el (time-stamp-string-preprocess):
19604 Remove unused variable `require-padding'.
19605
19606 * tree-widget.el (widget-glyph-enable): Declare.
19607 (tree-widget-action): Mark unused parameter.
19608
19609 * w32-fns.el (x-get-selection): Mark unused parameter.
19610 (autoload-make-program, generated-autoload-file): Declare.
19611
19612 * wdired.el (wdired-revert): Mark unused parameters.
19613 (wdired-xcase-word): Remove unused variable `err'.
19614
19615 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19616 (whitespace-help-scroll): Remove unused variable `data-help'.
19617
19618 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19619 (widget-image-insert, widget-after-change, default)
19620 (widget-default-format-handler, widget-default-notify)
19621 (widget-default-prompt-value, widget-info-link-action)
19622 (widget-url-link-action, widget-function-link-action)
19623 (widget-variable-link-action, widget-file-link-action)
19624 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19625 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19626 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19627 (widget-insert-button-action, widget-delete-button-action, visibility)
19628 (widget-documentation-link-action, widget-documentation-string-action)
19629 (widget-const-prompt-value, widget-regexp-match, symbol)
19630 (widget-coding-system-prompt-value)
19631 (widget-key-sequence-value-to-external, sexp)
19632 (widget-sexp-value-to-internal, character, vector, cons)
19633 (widget-choice-prompt-value, widget-boolean-prompt-value)
19634 (widget-color--choose-action): Mark unused parameters.
19635 (widget-item-match-inline, widget-choice-match-inline)
19636 (widget-checklist-match, widget-checklist-match-inline)
19637 (widget-group-match): Rename parameter VALUES to VALS.
19638 (widget-field-value-set): Remove unused variable `size'.
19639 (widget-color-action): Remove unused variables `value' and `start'.
19640
19641 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19642 variable `dir'. Doc fix.
06b60517
JB
19643 (windmove-find-other-window): Don't pass it.
19644
19645 * window.el (count-windows): Mark unused parameter.
19646 (bw-adjust-window): Remove unused variable `err'.
19647
19648 * woman.el (woman-file-name): Remove unused variable `default'.
19649 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19650 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19651 (global-font-lock-mode): Declare.
19652 (woman-decode-region): Mark unused parameter.
19653 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19654
19655 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19656 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19657 (x-dnd-handle-moz-url): Remove unused variable `title'.
19658 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19659
19660 * xml.el (xml-parse-tag, xml-parse-attlist):
19661 Remove unused variable `pos'.
19662
bc4f7f3d
GM
196632011-04-19 Glenn Morris <rgm@gnu.org>
19664
19665 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19666 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19667 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19668 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19669 * calendar/cal-html.el (cal-html-insert-minical):
19670 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19671 (calendar-mark-date-pattern):
19672 Prefix "unused" locals.
19673
19674 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19675 optional argument `style'.
19676
19677 * calendar/appt.el (appt-make-list):
19678 * calendar/cal-china.el (calendar-chinese-date-string):
19679 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19680 (diary-hebrew-yahrzeit):
19681 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19682 * calendar/calendar.el (calendar-generate-window):
19683 * calendar/time-date.el (time-to-days):
19684 Remove unused local variables.
19685
16a43933
CY
196862011-04-18 Chong Yidong <cyd@stupidchicken.com>
19687
19688 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19689 glyphless-char-display table.
19690 (tabulated-list-glyphless-char-display): New var.
19691
7eed1860
SS
196922011-04-18 Sam Steingold <sds@gnu.org>
19693
19694 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19695 to acknowledgments.
19696
4d2d1ccd
GM
196972011-04-17 Glenn Morris <rgm@gnu.org>
19698
19699 * calendar/diary-lib.el (diary-sexp-entry):
19700 * calendar/holidays.el (holiday-sexp):
19701 Set debug-on-error rather than the removed stack-trace-on-error.
19702
239da61d
GM
197032011-04-16 Glenn Morris <rgm@gnu.org>
19704
19705 * progmodes/f90.el: Use lexical-binding.
19706 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19707
8b05752a
SM
197082011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19709
daca8ba5
SM
19710 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19711 (mail-mode): Setup mailalias completion here instead.
19712 * mail/mailalias.el: Use lexical-binding.
19713 (pattern, mailalias-done): Declare dynamic.
19714 (mail-completion-at-point-function): New function, from mail-complete.
19715 (mail-complete): Use it.
19716 (mail-completion-expand): New function.
19717 (mail-get-names): Use it.
19718 (mail-directory, mail-directory-process, mail-directory-stream):
19719 Don't use `pattern' for lexically bound arg.
19720
6f542485
SM
19721 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19722
037e7c3f
SM
19723 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19724 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19725 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19726
8b05752a
SM
19727 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19728 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19729 (byte-interactive-p): Define them again, for use when inlining
19730 old code.
19731
49093f60
JB
197322011-04-15 Juanma Barranquero <lekktu@gmail.com>
19733
19734 * loadup.el: Use `string-to-number', not `string-to-int'.
19735
b5b8e7de
SM
197362011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19737
19738 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19739 gud-gdb-complete-command.
19740 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19741 (gud-gdb-completion-at-point): New function.
19742 (gud-gdb-completions): Remove.
19743
f42efeb5
MA
197442011-04-14 Michael Albinus <michael.albinus@gmx.de>
19745
49093f60
JB
19746 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19747 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19748 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19749 whether `executable-find' is bound.
f42efeb5
MA
19750
19751 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19752
e240cc21
SM
197532011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19754
19755 * minibuffer.el (completion-in-region-mode-predicate)
19756 (completion-in-region-mode--predicate): New vars.
19757 (completion-in-region, completion-in-region--postch)
19758 (completion-in-region-mode): Use them.
19759 (completion--capf-wrapper): Also return the hook function.
19760 (completion-at-point, completion-help-at-point):
19761 Adjust and provide a predicate.
c2bd2ab0
SM
19762
19763 Preserve arg names for advice of subr and lexical functions (bug#8457).
19764 * help-fns.el (help-function-arglist): Consolidate the subr and
19765 new-byte-code cases. Add argument `preserve-names' to extract names
19766 from the docstring when needed.
19767 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19768 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19769 (ad-arglist): Use help-function-arglist's new arg.
19770 (ad-definition-type): Use cond.
19771
c183f693
JB
197722011-04-13 Juanma Barranquero <lekktu@gmail.com>
19773
06641a47
JB
19774 * autorevert.el (auto-revert-handler):
19775 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19776 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19777 Don't quote lambda.
19778
c183f693
JB
19779 * image-mode.el (image-transform-set-scale):
19780 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19781
1e3b6001
G
197822011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19783
19784 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19785 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19786 Upgrades via gnutls-cli are too slow to be done opportunistically.
19787
2d6af8dd
JB
197882011-04-12 Juanma Barranquero <lekktu@gmail.com>
19789
19790 * dframe.el (dframe-current-frame): Remove spurious quote.
19791
c0749a51
GM
197922011-04-12 Glenn Morris <rgm@gnu.org>
19793
088d0d61
GM
19794 * calendar/cal-tex.el (cal-tex-end-document):
19795 Try to automatically use latin1 input if needed.
19796
c0749a51
GM
19797 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19798 Don't try to cons a mark onto an empty element.
19799
5c90fde0
LL
198002011-04-11 Leo Liu <sdl.web@gmail.com>
19801
19802 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19803 buffers.
19804 (ido-kill-buffer-at-head): Support killing virtual buffers.
19805
369e974d
CY
198062011-04-10 Chong Yidong <cyd@stupidchicken.com>
19807
19808 * minibuffer.el (completion-show-inline-help): New var.
19809 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19810 (minibuffer-force-complete, minibuffer-complete-word):
19811 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19812
19813 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19814 to avoid interference from inline help (Bug#5849).
19815
37f1c930
LL
198162011-04-10 Leo Liu <sdl.web@gmail.com>
19817
099c39a4
JB
19818 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19819 Fix typo.
37f1c930 19820
a32d4040
CY
198212011-04-09 Chong Yidong <cyd@stupidchicken.com>
19822
19823 * image-mode.el (image-toggle-display-image): Signal an error if
19824 not in Image mode.
19825 (image-transform-mode, image-transform-resize)
19826 (image-transform-set-rotation): Doc fix.
daca8ba5 19827 (image-transform-set-resize): Delete.
a32d4040
CY
19828 (image-transform-set-scale, image-transform-fit-to-height)
19829 (image-transform-fit-to-width): Handle image-toggle-display-image
19830 and image-transform-resize directly.
19831
099c39a4 198322011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19833
19834 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19835 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19836 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19837 (doc-view-mode-map): Add bindings for the new functions.
19838
099c39a4 198392011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19840
4d61f28d 19841 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19842 Fix typo in docstring.
19843
3726838a
EZ
198442011-04-08 Eli Zaretskii <eliz@gnu.org>
19845
04f33f1e
EZ
19846 * files.el (file-size-human-readable): Produce one digit after
19847 decimal, like "ls -lh" does.
19848
19849 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19850 the file size representation.
19851
3726838a
EZ
19852 * simple.el (list-processes): If async subprocesses are not
19853 available, error out with a clear error message.
19854
cbb59342
CY
198552011-04-08 Chong Yidong <cyd@stupidchicken.com>
19856
19857 * help.el (help-form-show): New function, to be called from C.
19858 Put help-form output in a buffer named differently than *Help*.
19859
e3971c44
EZ
198602011-04-08 Eli Zaretskii <eliz@gnu.org>
19861
19862 * files.el (file-size-human-readable): New function.
19863
19864 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19865 computing the representation inline. Don't require `cl'.
19866
12544bbe
GM
198672011-04-08 Glenn Morris <rgm@gnu.org>
19868
a1de6c6a
GM
19869 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19870
3c4671f4
GM
19871 * net/browse-url.el (browse-url-firefox):
19872 Test system-type, not system-configuration.
19873
b605679c
GM
19874 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19875 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19876 Use log-edit-empty-buffer-p. (Bug#7598)
19877
56442f0c
GM
19878 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19879 (rlogin-mode-map): Initialize in the defvar.
19880 (rlogin): Use ignore-errors.
19881
12544bbe
GM
19882 * replace.el (occur-mode-map): Some fixes for menu items.
19883
eb237b0f
AH
198842011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19885
19886 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19887
7d668f2c
CY
198882011-04-06 Chong Yidong <cyd@stupidchicken.com>
19889
e67a13ab
CY
19890 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19891 issuing unused warnings.
19892
19893 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19894 macro directly.
19895
7d668f2c
CY
19896 * simple.el: Lisp reimplement of list-processes. Based on an
19897 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19898 (process-menu-mode): New major mode.
19899 (list-processes--refresh, list-processes):
19900 (process-menu-visit-buffer): New functions.
19901
19902 * files.el (save-buffers-kill-emacs): Don't assume any return
19903 value of list-processes, which is undocumented anyway.
19904
a83ec3c9
CY
199052011-04-06 Chong Yidong <cyd@stupidchicken.com>
19906
19907 * emacs-lisp/tabulated-list.el: New file.
19908
e91a96fe
CY
19909 * emacs-lisp/package.el: Use Tabulated List mode.
19910 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19911 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19912 table format using Tabulated List mode variables.
19913 (package--push): New macro, replacing package-list-maybe-add.
19914 (package-menu--generate): Use package--push. Renamed from
19915 package--generate-package-list.
19916 (package-menu-refresh, list-packages): Use it.
daca8ba5 19917 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19918 Return insertion data instead of inserting it directly.
099c39a4
JB
19919 (package-menu-describe-package, package-menu-execute):
19920 Use tabulated-list-get-id.
e91a96fe
CY
19921 (package-menu-mark-delete, package-menu-mark-install)
19922 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19923 (package-menu-mark-obsolete-for-deletion):
19924 Use tabulated-list-put-tag.
e91a96fe
CY
19925 (package--list-packages, package-menu-revert)
19926 (package-menu-get-package, package-menu-get-version)
19927 (package-menu-sort-by-column): Functions deleted.
19928 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19929 (package-menu--status-predicate, package-menu--version-predicate)
19930 (package-menu--name-predicate)
19931 (package-menu--description-predicate): Handle arguments in the
19932 Tabulated List format.
19933 (package-list-packages-no-fetch): Call list-packages.
19934
3e214b50
JB
199352011-04-06 Juanma Barranquero <lekktu@gmail.com>
19936
19937 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19938 (after-find-file): Don't bind it.
3e214b50
JB
19939 (revert-buffer-in-progress-p): New variable.
19940 (revert-buffer): Bind it.
19941 Pass nil for `after-find-file-from-revert-buffer'.
19942
19943 * saveplace.el (save-place-find-file-hook): Use new variable
19944 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19945
3f0f1700
GM
199462011-04-06 Glenn Morris <rgm@gnu.org>
19947
c0274801
GM
19948 * Makefile.in (AUTOGEN_VCS): New variable.
19949 (autoloads): Use $AUTOGEN_VCS.
19950
3f0f1700
GM
19951 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19952 * calendar/calendar.el (calendar-mode-map):
19953 Check for toolkit scroll bars. (Bug#8305)
19954
41ea9e48
CY
199552011-04-05 Chong Yidong <cyd@stupidchicken.com>
19956
19957 * minibuffer.el (completion-in-region--postch)
19958 (completion-in-region-mode): Remove unnecessary messages.
19959
6194c800
JB
199602011-04-05 Juanma Barranquero <lekktu@gmail.com>
19961
33256f14
JB
19962 * font-lock.el (font-lock-refresh-defaults):
19963 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19964 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19965
6194c800
JB
19966 * info.el (Info-directory-list, Info-read-node-name-2)
19967 (Info-split-parameter-string): Doc fixes.
19968 (Info-virtual-nodes): Reflow docstring.
19969 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19970 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19971 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19972 Fix typos in docstrings.
19973 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19974 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19975 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19976 (Info-restore-desktop-buffer): Mark unused parameters.
19977 (Info-directory-find-file, Info-directory-find-node)
19978 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19979 (Info-virtual-index-find-node, Info-apropos-find-file)
19980 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19981 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19982 (Info-virtual-index): Remove unused local variable `nodename'.
19983
b87a8200 199842011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19985
b87a8200
DD
19986 * net/rcirc.el: Update my e-mail address.
19987 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19988
3b2ff876
CY
199892011-04-05 Chong Yidong <cyd@stupidchicken.com>
19990
19991 * startup.el (command-line): Save the cursor's theme-face
19992 directly, instead of using face-override-spec.
19993
19994 * custom.el (load-theme): Minor optimization in assigning faces.
19995
8d17e7ca
JB
199962011-04-04 Juanma Barranquero <lekktu@gmail.com>
19997
19998 * help-fns.el (describe-variable): Complete all variables having
19999 documentation, including keywords.
20000 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20001
2fbc1934
JB
200022011-04-04 Juanma Barranquero <lekktu@gmail.com>
20003
20004 Convert to lexical-binding.
20005
20006 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20007 (bs--get-marked-string, bs--get-modified-string)
20008 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20009 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20010 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20011
20012 * ehelp.el (electric-help-execute-extended)
20013 (electric-help-ctrl-x-prefix):
20014 * hexl.el (hexl-revert-buffer-function):
20015 * linum.el (linum-after-change, linum-after-scroll):
20016 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20017
20018 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20019
74f50695
DU
200202011-04-04 Daiki Ueno <ueno@unixuser.org>
20021
20022 * epa-dired.el:
20023 * epa-mail.el:
20024 * epa-hook.el:
20025 * epa-file.el:
20026 * epa.el:
20027 * epg.el: Use lexical binding.
20028
c11325f7
CY
200292011-04-03 Chong Yidong <cyd@stupidchicken.com>
20030
0d9e9a12
CY
20031 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20032
c11325f7 20033 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20034 dictionary case for flyspell-mark-duplications-exceptions.
20035 Use regexp matching for languages.
c11325f7
CY
20036 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20037 default dictionary (Bug#7926).
20038
da91b5f2
CY
200392011-04-02 Chong Yidong <cyd@stupidchicken.com>
20040
099c39a4
JB
20041 * emacs-lisp/package.el (package--with-work-buffer):
20042 Recognize https URLs.
da91b5f2 20043
099c39a4
JB
20044 * net/network-stream.el: Move from gnus/proto-stream.el.
20045 Change prefix to network-stream throughout.
da91b5f2
CY
20046 (open-protocol-stream): Merge into open-network-stream, leaving
20047 open-protocol-stream as an alias. Handle nil BUFFER args.
20048
20049 * subr.el (open-network-stream): Move to net/network-stream.el.
20050
afa8e9f6
GM
200512011-04-02 Glenn Morris <rgm@gnu.org>
20052
1d2e369d
GM
20053 * find-dired.el (find-exec-terminator): New option.
20054 (find-ls-option): Test for -ls support.
20055 (find-ls-subdir-switches): Test for -b in find-ls-option.
20056 (find-dired, find-grep-dired): Doc fixes.
20057 (find-dired): Use find-exec-terminator.
20058
8abb7da8 20059 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20060 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20061 (find-name-arg): Remove purecopy.
8abb7da8 20062
f3ca7378
GM
20063 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20064 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20065 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20066 accordingly. Don't add the null-device if not needed.
20067
afa8e9f6
GM
20068 * files.el (save-some-buffers): Doc fix.
20069
35eae264
EZ
200702011-04-02 Eli Zaretskii <eliz@gnu.org>
20071
20072 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20073
26b51db5
JB
200742011-04-01 Juanma Barranquero <lekktu@gmail.com>
20075
20076 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20077 Use `dolist' rather than `mapcar'.
20078
7200d79c
SM
200792011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20080
03408648 20081 Add lexical binding.
7200d79c 20082
03408648
SM
20083 * subr.el (apply-partially): Use new closures rather than CL.
20084 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20085 (dolist, dotimes): Use slightly different expansion for lexical code.
20086 (functionp): Move to C.
20087 (letrec): New macro.
20088 (with-wrapper-hook): Use it and apply-partially instead of CL.
20089 (eval-after-load): Preserve lexical-binding.
20090 (save-window-excursion, with-output-to-temp-buffer): Turn them
20091 into macros.
7200d79c 20092
03408648
SM
20093 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20094
20095 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20096 than the arglist.
20097 (help-add-fundoc-usage): Don't add `Not documented'.
20098 (help-function-arglist): Handle closures, subroutines, and new
20099 byte-code-functions.
20100 (help-make-usage): Remove leading underscores.
20101 (describe-function-1): Handle closures.
20102 (describe-variable): Use special-variable-p for completion.
20103
20104 * files.el (lexical-binding): Declare safe.
f488fb65 20105
03408648
SM
20106 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20107 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20108 (pcase): Add `let' pattern.
20109 Change memoization so it actually works.
20110 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20111 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20112 <let>: New case.
f488fb65 20113
03408648
SM
20114 * emacs-lisp/macroexp.el: Use lexical binding.
20115 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20116 Don't convert ' to #' without checking that it's indeed quoting
20117 a lambda.
20118
20119 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20120 Use eval-sexp-add-defvars.
03408648
SM
20121 (eval-sexp-add-defvars): New fun.
20122
20123 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20124
20125 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20126 Don't autoload.
20127 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20128 than the internal `byte-compile-lambda'.
20129 (defmethod): Don't hide code under quotes.
20130 (eieio-defmethod): New `code' argument.
20131
20132 * emacs-lisp/eieio-comp.el: Remove.
20133
20134 * emacs-lisp/edebug.el (edebug-eval-defun)
20135 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20136 (edebug-toggle): Avoid `eval'.
20137
20138 * emacs-lisp/disass.el (disassemble-internal): Handle new
20139 `closure' objects.
20140 (disassemble-1): Handle new byte codes.
20141
20142 * emacs-lisp/cl.el (pushnew): Silence warning.
20143
20144 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20145 (cl-byte-compile-throw): Remove.
20146 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20147
20148 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20149 closures.
20150
20151 * emacs-lisp/cconv.el: New file.
20152
20153 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20154 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20155 (byte-compile-initial-macro-environment):
20156 Handle declare-function here.
20157 (byte-compile--lexical-environment): New var.
20158 (byte-stack-ref, byte-stack-set, byte-discardN)
20159 (byte-discardN-preserve-tos): New lap codes.
20160 (byte-interactive-p): Don't use any more.
20161 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20162 New macros.
20163 (byte-compile-lapcode): Use them and handle new lap codes.
20164 (byte-compile-obsolete): Remove.
20165 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20166 (byte-compile-arglist-warn): Check late def of inlinable funs.
20167 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20168 since they should have been expanded by now.
20169 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20170 (byte-compile-from-buffer): Remove unused second arg.
20171 (byte-compile-preprocess): New function.
20172 (byte-compile-toplevel-file-form): New function to distinguish
20173 file-form calls from outside from file-form calls from hunk-handlers.
20174 (byte-compile-file-form): Simplify.
20175 (byte-compile-file-form-defsubst): Remove.
20176 (byte-compile-file-form-defmumble): Simplify now that
20177 byte-compile-lambda always returns a byte-code-function.
20178 (byte-compile): Preprocess.
20179 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20180 Remove, not used any more.
20181 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20182 (byte-compile-make-args-desc): New funs.
20183 (byte-compile-lambda): Handle lexical functions. Always return
20184 a byte-code-function.
20185 (byte-compile-reserved-constants): New var, to make up room for
20186 closed-over variables.
20187 (byte-compile-constants-vector): Obey it.
20188 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20189 (byte-compile-macroexpand-declare-function): New function.
20190 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20191 byte-code-functions.
20192 (byte-compile-form): Check obsolescence here.
20193 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20194 (byte-compile-variable-ref): Remove.
20195 (byte-compile-dynamic-variable-op): New fun.
20196 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20197 (byte-compile-variable-set): New funs.
20198 (byte-compile-discard): Add 2 args.
20199 (byte-compile-stack-ref, byte-compile-stack-set)
20200 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20201 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20202 macroexpand-all instead.
20203 (byte-compile-quote-form): Remove.
20204 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20205 (byte-compile-bind, byte-compile-unbind): New funs.
20206 (byte-compile-let): Handle let* and lexical binding.
20207 (byte-compile-let*): Remove.
20208 (byte-compile-catch, byte-compile-unwind-protect)
20209 (byte-compile-track-mouse, byte-compile-condition-case):
20210 Handle a new :fun-body form, used for lexical scoping.
20211 (byte-compile-save-window-excursion)
20212 (byte-compile-with-output-to-temp-buffer): Remove.
20213 (byte-compile-defun): Simplify.
20214 (byte-compile-stack-adjustment): New fun.
20215 (byte-compile-out): Use it.
20216 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20217
20218 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20219 handler any more.
20220
20221 * emacs-lisp/byte-opt.el: Use lexical binding.
20222 (byte-inline-lapcode): Remove (to bytecomp).
20223 (byte-compile-inline-expand): Pay attention to inlining to/from
20224 lexically bound code.
20225 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20226 any more.
20227 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20228 any more and don't call compiler-macros.
20229 (byte-compile-splice-in-already-compiled-code): Remove.
20230 (byte-code): Don't inline any more.
20231 (disassemble-offset): Receive `bytes' as argument rather than via
20232 dynamic scoping.
20233 (byte-compile-tag-number): Declare before first use.
20234 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20235 `return' even if make-spliceable.
20236 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20237 obsolete interactive-p.
20238 (byte-optimize-lapcode): Optimize new lap-codes.
20239 Don't trip up on new form of `byte-constant' lap code.
20240
20241 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20242
20243 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20244
20245 * custom.el (custom-initialize-default, custom-declare-variable):
20246 Use `defvar'.
20247
20248 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20249 New variables.
20250 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20251 (COMPILE_FIRST): Add macroexp and cconv.
20252 * makefile.w32-in: Mirror changes in Makefile.in.
20253
20254 * vc/cvs-status.el:
20255 * vc/diff-mode.el:
20256 * vc/log-edit.el:
20257 * vc/log-view.el:
20258 * vc/smerge-mode.el:
20259 * textmodes/bibtex-style.el:
090bd7cb 20260 * textmodes/css-mode.el:
03408648
SM
20261 * startup.el:
20262 * uniquify.el:
da91b5f2
CY
20263 * minibuffer.el:
20264 * newcomment.el:
20265 * reveal.el:
20266 * server.el:
20267 * mpc.el:
20268 * emacs-lisp/smie.el:
20269 * doc-view.el:
20270 * dired.el:
03408648
SM
20271 * abbrev.el: Use lexical binding.
20272
0f0c1f27
EZ
202732011-04-01 Eli Zaretskii <eliz@gnu.org>
20274
20275 * info.el (info-display-manual): New function.
20276
c82b2579
SM
202772011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20278
20279 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20280
221ddf68
TH
202812011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20282
20283 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20284 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20285
cba6e77e
GM
202862011-03-31 Glenn Morris <rgm@gnu.org>
20287
e040639f
GM
20288 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20289
cba6e77e
GM
20290 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20291
6d0f1c9e
CS
202922011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20293
20294 * progmodes/python.el (python-default-interpreter)
20295 (python-python-command-args, python-jython-command-args)
20296 (python-which-shell, python-which-args, python-which-bufname)
20297 (python-file-queue, python-comint-output-filter-function)
20298 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20299 variables and functions.
20300
3e2d70fd
SM
203012011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20302
20303 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20304 (completion-in-region-mode): New minor mode.
20305 (completion-in-region): Use it.
20306 (completion-in-region--data, completion-in-region-mode-map): New vars.
20307 (completion-in-region--postch): New function.
20308 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20309 New vars.
20310 (completion--capf-wrapper): New function.
20311 (completion-at-point): Use it to track well-behavedness of
20312 hook functions.
20313 (completion-help-at-point): New command.
20314
f3e4086c
JM
203152011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20316
20317 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20318 syntax class to search for whitespace on a single line
20319 (Message-ID: <4D938140.4030905@redhat.com>).
20320
eb7ffc14
LL
203212011-03-30 Leo Liu <sdl.web@gmail.com>
20322
20323 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20324 New commands.
20325 (edit-abbrevs-map): Bind them here.
20326 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20327
d806ab68
KM
203282011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20329
20330 * allout.el (allout-hide-by-annotation, allout-flag-region):
20331 Reduce possibility of overlay leakage by making them volatile.
20332
20333 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20334 hash is not shared between buffers. Mode initialization is
20335 responsible for giving it a useful starting value.
20336 (allout-item-span): Reduce possibility of overlay leakage by
20337 making them volatile.
20338 (allout-widgets-count-buttons-in-region): Add diagnostic function
20339 for tracking down button overlay leaks.
20340
ea622834
LL
203412011-03-29 Leo Liu <sdl.web@gmail.com>
20342
20343 * ido.el (ido-read-internal): Use the default history var
20344 minibuffer-history if no HISTORY is specified.
20345
b62f8267
G
203462011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20347
03408648
SM
20348 * net/imap.el (imap-shell-open, imap-process-connection-type):
20349 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20350 Kerberos, SSL, other subprocesses.
20351
947b6566
LL
203522011-03-28 Leo Liu <sdl.web@gmail.com>
20353
20354 * abbrev.el (abbrev-table-empty-p): New function.
20355 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20356 nonempty ones. (Bug#5937)
20357
5ffb62aa
JD
203582011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20359
20360 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20361
7a097943
LL
203622011-03-27 Leo Liu <sdl.web@gmail.com>
20363
20364 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20365 for foreground and background colors.
20366 (ansi-color-make-color-map): Adapt.
20367
c5b40130
LL
203682011-03-25 Leo Liu <sdl.web@gmail.com>
20369
1f48f7d2
LL
20370 * midnight.el (midnight-time-float): Remove. Note it calculates
20371 the microsecond component incorrectly and seconds-to-time does the
20372 same job.
625897ec 20373 Remove redundant (require 'timer).
1f48f7d2 20374
c5b40130
LL
20375 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20376 (ido-completions): Remove unused arguments. (Bug#8329)
20377
d86d2721
SM
203782011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20379
20380 * minibuffer.el (completion--flush-all-sorted-completions):
20381 Remove itself from hook.
20382 (completion-at-point): Let the functions perform the completion
20383 immediately and return nil or t.
20384 * comint.el (comint-dynamic-complete-functions): Now identical to
20385 completion-at-point-functions.
20386 (comint-dynamic-list-input-ring): Remove unused var `index'.
20387 (comint--match-partial-filename, comint--unquote&expand-filename):
20388 New funs, split from comint-match-partial-filename.
20389 (comint-dynamic-complete): Use completion-at-point.
20390 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20391
e8974c48
DA
203922011-03-24 Drew Adams <drew.adams@oracle.com>
20393
20394 * thingatpt.el: Support `defun'.
20395
def71b5e
LL
203962011-03-23 Leo Liu <sdl.web@gmail.com>
20397
cb5af48e
LL
20398 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20399
def71b5e
LL
20400 * help-mode.el (help-mode-finish): Tweak regexp.
20401
927c53e7
GM
204022011-03-23 Glenn Morris <rgm@gnu.org>
20403
18d05bed
GM
20404 * eshell/esh-opt.el (eshell-eval-using-options):
20405 Do not bind unused local variable `eshell-option-stub'.
20406
927c53e7
GM
20407 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20408
9d0da923
JB
204092011-03-22 Juanma Barranquero <lekktu@gmail.com>
20410
20411 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20412 keymap variable in `with-no-warnings' to avoid a warning when the
20413 keymap has been already `defconst'ed.
20414
4b978a67
LL
204152011-03-22 Leo Liu <sdl.web@gmail.com>
20416
20417 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20418 encode all chars in abbrevs; otherwise use emacs-mule or
20419 utf-8-emacs. (Bug#8308)
20420
5fd62452
JB
204212011-03-22 Juanma Barranquero <lekktu@gmail.com>
20422
0b1596c6
JB
20423 * simple.el (backward-delete-char-untabify):
20424 Avoid warning about using `delete-backward-char'.
20425
5fd62452
JB
20426 * image.el (image-type-file-name-regexps): Make it variable.
20427 `imagemagick-register-types' modifies it, and the user may want
20428 to add new extensions for known image types.
20429 (imagemagick-register-types): Throw error if not using ImageMagick.
20430
0b4e93f1
LL
204312011-03-22 Leo Liu <sdl.web@gmail.com>
20432
20433 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20434 located before rcirc-prompt-end-marker.
20435 (rcirc-complete): Error if point is not after rcirc prompt.
20436 Handle the case when table is nil.
9882e214 20437 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20438
fccee4ab
CY
204392011-03-22 Chong Yidong <cyd@stupidchicken.com>
20440
20441 * custom.el (custom--inhibit-theme-enable): Make it affect only
20442 custom-theme-set-variables and custom-theme-set-faces.
20443 (provide-theme): Ignore custom--inhibit-theme-enable.
20444 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20445 (custom-enabling-themes): Delete variable.
d86d2721
SM
20446 (enable-theme): Accept only loaded themes as arguments.
20447 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20448 (custom-enabled-themes): Forbid themes from setting this.
20449 Eliminate use of custom-enabling-themes.
20450 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20451
af896da6
LL
204522011-03-21 Leo Liu <sdl.web@gmail.com>
20453
20454 * ido.el (ido-read-internal): Add ido-selected to history instead
20455 of user input.
20456
78f64af0
SM
204572011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20458
20459 * subr.el (deferred-action-list, deferred-action-function):
20460 Mark obsolete.
20461
b16ac1ec
LL
204622011-03-21 Leo Liu <sdl.web@gmail.com>
20463
810f7698
LL
20464 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20465 change on 2011-02-13 (bug#8309).
20466
b16ac1ec
LL
20467 * minibuffer.el (read-file-name-function): Change default value.
20468 (read-file-name--defaults): Rename from read-file-name-defaults.
20469 (read-file-name-default): Rename from read-file-name.
20470 (read-file-name): Call read-file-name-function.
20471
4e05e67e
GM
204722011-03-21 Glenn Morris <rgm@gnu.org>
20473
20474 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20475 Doc fixes.
20476
4359915b
CY
204772011-03-21 Chong Yidong <cyd@stupidchicken.com>
20478
20479 * cus-theme.el: Add missing provide statement.
20480 (customize-create-theme): Extract theme value correctly.
20481 (custom-theme-visit-theme): Autoload.
20482 (customize-create-theme): Prompt before inserting default faces.
20483
1fe275ee
JB
204842011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20485
20486 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20487 units and musical notes.
20488
cd394be1 204892011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20490
20491 * ido.el (ido-read-internal): Use completing-read-default.
20492 (ido-completing-read): Fix compatibility with completing-read.
20493
7d476bde
CO
204942011-03-20 Christian Ohler <ohler@gnu.org>
20495
20496 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20497 (ert-delete-all-tests): Use `called-interactively-p' rather than
20498 `interactive-p'.
20499 (ert--make-xrefs-region): Respect END.
20500
fe0fb33e
CY
205012011-03-19 Chong Yidong <cyd@stupidchicken.com>
20502
ff854b0b
CY
20503 * dired-aux.el (dired-create-directory): Signal an error if the
20504 directory already exists (Bug#8246).
20505
fe0fb33e
CY
20506 * facemenu.el (list-colors-display): Call list-faces-display
20507 inside with-help-window.
20508 (list-colors-print): Use display property to align the final
20509 column, instead of checking window-width.
20510
576bce32
EZ
205112011-03-19 Eli Zaretskii <eliz@gnu.org>
20512
4d61f28d 20513 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20514 windows-nt systems.
20515 (emerge-protect-metachars): Quote correctly for ms-dos and
20516 windows-nt systems.
20517
89c41d68 205182011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20519
20520 * info.el (info-initialize): Replace all uses of `:' with
20521 path-separator for compatibility with non-Unix systems.
20522 Cache quoting of path-separator. (Bug#8258)
20523
b14e3e21 205242011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20525
20526 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20527 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20528 (mouse-avoidance-mode): Fix typos in docstrings.
20529
4525ce3e
CY
205302011-03-19 Chong Yidong <cyd@stupidchicken.com>
20531
20532 * startup.el (package-subdirectory-regexp): Move from package.el.
20533 Omit \\` and \\', and let callers add them.
20534
20535 * emacs-lisp/package.el (package-strip-version)
20536 (package-load-all-descriptors): Add \\` and \\' to
20537 package-subdirectory-regexp before using it.
20538 (package-untar-buffer): New arg DIR; ensure that file untars only
20539 into this expected directory. Remove superfluous delete-region.
20540 (package-unpack): Caller changed.
20541 (package-tar-file-info): Use package-subdirectory-regexp.
20542
a904a09a 205432011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20544
a904a09a
SM
20545 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20546 diff-mode-shared-map (bug#8284).
20547 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20548
205492011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20550
20551 * calendar/time-date.el (format-seconds): Use assoc instead of
20552 assoc-string, since assoc-string doesn't exist in XEmacs.
20553
171fc304
JB
205542011-03-17 Juanma Barranquero <lekktu@gmail.com>
20555
20556 * custom.el (custom-known-themes): Reflow docstring.
20557 (custom-theme-load-path): Fix typo in docstring.
20558 (load-theme): Fix typo in error message.
20559 (custom-available-themes, custom-variable-theme-value):
20560 Use `let', not `let*'.
20561
d71990a1
JB
205622011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20563
20564 * calc/README: Mention inclusion of musical notes.
20565
20566 * calc/calc-units.el (calc-lu-quant): Rename from
20567 `calc-logunits-quantity'.
20568 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20569 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20570 (calc-db): Rename from `calc-dblevel'.
20571 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20572 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20573 (calc-np): Rename from `calc-nplevel'.
20574 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20575 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20576 (calc-lu-plus): Rename from `calc-logunits-add'.
20577 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20578 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20579 (calc-lu-minus): Rename from `calc-logunits-sub'.
20580 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20581 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20582 (calc-lu-times): Rename from `calc-logunits-mul'.
20583 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20584 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20585 (calc-lu-divide): Rename from `calc-logunits-div'.
20586 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20587 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20588
20589 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20590 functions being autoloaded.
20591
20592 * calc/calc.el (calc-lu-power-reference): Rename from
20593 `calc-logunits-power-reference'.
20594 (calc-lu-field-reference): Rename from
20595 `calc-logunits-field-reference'.
20596
7a71b18d
GM
20597 * calc/calc-help.el (calc-l-prefix-help):
20598 Mention musical note functions.
d71990a1 20599
40c2934b
SM
206002011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20601
20602 * minibuffer.el (completion-all-sorted-completions):
20603 Use :completion-cycle-penalty text property if present.
20604
b0911414
KM
206052011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20606
20607 * allout.el (allout-yank-processing): Adjust for new rebulleting
20608 regime so bullet being yanked is used without prompting the user
20609 for a choice.
20610
8a05b668
JB
206112011-03-16 Juanma Barranquero <lekktu@gmail.com>
20612
20613 * startup.el (command-line): Warn the user that _emacs is deprecated.
20614
5ba5fb81
JB
206152011-03-16 Juanma Barranquero <lekktu@gmail.com>
20616
20617 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20618 (delphi-verbose, delphi-comment-face, delphi-string-face)
20619 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20620 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20621 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20622 (delphi-new-comment-line, delphi-font-lock-defaults)
20623 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20624 Fix typos in docstrings.
20625
2dab465b
KM
206262011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20627
5ba5fb81 20628 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20629 Invert the roles of character and string values for INSTEAD, so a
20630 string is used for the more common case of a defaulting prompt.
20631
0adf5618
SM
206322011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20633
20634 * progmodes/ruby-mode.el (ruby-backward-sexp):
20635 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20636 * play/gamegrid.el (gamegrid-make-face):
20637 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20638 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20639 * notifications.el (notifications-notify):
20640 * net/xesam.el (xesam-search-engines):
20641 * net/quickurl.el (quickurl-list-insert):
20642 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20643
d72700e5
CY
206442011-03-15 Chong Yidong <cyd@stupidchicken.com>
20645
20646 * startup.el (command-line): Update package subdirectory regexp.
20647
49c5410a
SM
206482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20649
c6eee9aa
SM
20650 * allout.el (allout-abbreviate-flattened-numbering)
20651 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20652
49c5410a
SM
20653 * subr.el (read-char-choice): Only show the cursor after the prompt,
20654 not after the answer.
20655
047b2bb9
KR
206562011-03-15 Kevin Ryde <user42@zip.com.au>
20657
20658 * help-fns.el (variable-at-point): Skip leading quotes, if any
20659 (bug#8253).
20660
0a57d256
SM
206612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20662
20663 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20664 warning message.
20665
77c992bc
MA
206662011-03-14 Michael Albinus <michael.albinus@gmx.de>
20667
20668 * shell.el (shell): When called interactively, offer to change the
20669 shell file name on remote hosts.
20670
eebc475d
TZ
206712011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20672
20673 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20674 integration for LDAP parameters. The host, base, user or binddn,
20675 and secret tokens can be specified in a netrc file, for instance.
20676 This is optional because an `auth-source' parameter must be
20677 specified in the search attributes.
20678
9d05d1ba
JB
206792011-03-13 Juanma Barranquero <lekktu@gmail.com>
20680
20681 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20682
09d9db2c
GM
206832011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20684
20685 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20686 into declaration. Remove redundant and harmful binding.
20687
206882011-03-12 Eli Zaretskii <eliz@gnu.org>
20689
20690 * files.el (file-ownership-preserved-p): Pass `integer' as an
20691 explicit 2nd argument to `file-attributes'. If the file's owner
20692 is the Administrators group on Windows, and the current user is
20693 Administrator, consider that a match.
20694
20695 * server.el (server-ensure-safe-dir): Consider server directory
20696 safe on MS-Windows if its owner is the Administrators group while
20697 the current Emacs user is Administrator. Use `=' to compare
20698 numerical UIDs, since they could be integers or floats.
20699
219bd536
JB
207002011-03-12 Juanma Barranquero <lekktu@gmail.com>
20701
20702 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20703
f3afd36b
MA
207042011-03-12 Michael Albinus <michael.albinus@gmx.de>
20705
20706 Sync with Tramp 2.2.1.
20707
20708 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20709
20710 * net/trampver.el: Update release number.
20711
3aaaa6f1
SM
207122011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20713
94642599
SM
20714 * progmodes/compile.el (compilation--previous-directory): Fix up
20715 various nil/dead-marker mismatches (bug#8014).
20716 (compilation-directory-properties, compilation-error-properties):
20717 Don't call it at a position past the one we're about to change.
20718
3aaaa6f1
SM
20719 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20720 Disable obsolescence warnings in the file that declares it.
20721
14239447
KM
207222011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20723
099c39a4
JB
20724 * allout-widgets.el (allout-widgets-tally):
20725 Initialize allout-widgets-tally as a hash table rather than nil to
20726 prevent mode-line redisplay warnings. Also, clarify the module
20727 description and fix a comment typo.
14239447 20728
135e287c
JB
207292011-03-11 Juanma Barranquero <lekktu@gmail.com>
20730
20731 * help-fns.el (describe-variable): Don't complete keywords.
20732 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20733
ffbf300e
CY
207342011-03-10 Chong Yidong <cyd@stupidchicken.com>
20735
ba08b241
CY
20736 * emacs-lisp/package.el (package-version-join): Impose a standard
20737 string representation for pre/alpha/beta version lists.
20738 (package-unpack-single): Standardize the directory name by passing
20739 it through package-version-join.
20740 (package-strip-rcs-id): Accept any version string that does not
20741 signal an error in version-to-list.
ffbf300e 20742
f346fd6b
MA
207432011-03-10 Michael Albinus <michael.albinus@gmx.de>
20744
20745 * simple.el (delete-trailing-whitespace): Return nil for the
20746 benefit of `write-file-functions'.
20747
ccb55d27
GM
207482011-03-10 Glenn Morris <rgm@gnu.org>
20749
5ceaac0c
GM
20750 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20751
02da65ff
GM
20752 * vc/vc-git.el (vc-git-program): New option.
20753 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20754 (vc-git--call): Use it.
20755
b2f603cc
GM
20756 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20757
5772caab
GM
20758 * cus-edit.el (Custom-newline): If no button at point, look
20759 for a subgroup button at start-of-line. (Bug#2298)
20760
ccb55d27
GM
20761 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20762
ec6ecaed
JD
207632011-03-10 Julien Danjou <julien@danjou.info>
20764
20765 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20766 `cursor-type' is nil.
20767
9d5aa01d
JB
207682011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20769
20770 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20771
b6a5875b
KM
207722011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20773
7a71b18d 20774 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20775 preserves the existing header prefix, rebulleting it if necessary,
20776 rather than replacing it. This is necessary for proper operation
20777 of cooperative addons like allout-widgets.
1154d12e
JB
20778 (allout-make-topic-prefix, allout-rebullet-heading):
20779 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20780 value as alternate bullet to be used, instead of prompting the user
20781 for a bullet character.
b6a5875b 20782
ee545c35
MA
207832011-03-09 Michael Albinus <michael.albinus@gmx.de>
20784
d86d2721
SM
20785 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20786 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20787 `tramp-default-port'.
20788
c47971d7
DD
207892011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20790
20791 * net/rcirc.el (rcirc-handler-001): Remove useless
20792 with-rcirc-process-buffer.
20793 (rcirc-check-auth-status): Swap arguments to string-match.
20794
13522cb4
GM
207952011-03-09 Glenn Morris <rgm@gnu.org>
20796
0be6f4f1
GM
20797 * shell.el (shell-mode):
20798 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20799
13522cb4
GM
20800 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20801 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20802
515de2e3
CY
208032011-03-08 Chong Yidong <cyd@stupidchicken.com>
20804
20805 * emacs-lisp/package.el (package-refresh-contents)
20806 (package-menu-execute): Use condition-case-no-debug.
20807
b511b994
MA
208082011-03-08 Michael Albinus <michael.albinus@gmx.de>
20809
20810 * simple.el (shell-command-to-string): Use `process-file'.
20811
20812 * emacs-lisp/package.el (package-tar-file-info): Handle also
20813 remote files.
20814
d86d2721
SM
20815 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20816 Use `equal' for upload base check.
b511b994 20817
25bbfb31
AM
208182011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20819
20820 * textmodes/texinfo.el (texinfo-environments):
20821 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20822
be996521
GM
208232011-03-08 Glenn Morris <rgm@gnu.org>
20824
e9c8529f
GM
20825 * cus-start.el (cursor-in-non-selected-windows):
20826 Fix :set quoting oddness. (Bug#8192)
20827
be996521
GM
20828 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20829 in some setf expressions. (Bug#2159)
20830
2bb5649e
CY
208312011-03-08 Chong Yidong <cyd@stupidchicken.com>
20832
20833 * custom.el (custom-available-themes): Return themes in
20834 alphabetical order.
20835
33383987 20836See ChangeLog.15 for earlier changes.
e3d51b27
MR
20837
20838;; Local Variables:
20839;; coding: utf-8
e3d51b27
MR
20840;; End:
20841
acaf905b 20842 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20843
20844 This file is part of GNU Emacs.
20845
20846 GNU Emacs is free software: you can redistribute it and/or modify
20847 it under the terms of the GNU General Public License as published by
20848 the Free Software Foundation, either version 3 of the License, or
20849 (at your option) any later version.
20850
20851 GNU Emacs is distributed in the hope that it will be useful,
20852 but WITHOUT ANY WARRANTY; without even the implied warranty of
20853 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20854 GNU General Public License for more details.
20855
20856 You should have received a copy of the GNU General Public License
20857 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.